NIREP
|
00001 //Purpose: Figures out the Intensity Variance. 00002 00003 #pragma once 00004 #ifndef __nirepIV_H_ 00005 #define __nirepIV_H_ 00006 00007 #include "NIREPStatistics.h" 00008 #include "DisplayDescription.h" 00009 00010 class NIREPIntensityVariance : public NIREPStatistics 00011 { 00012 public: 00013 // Constructor with Evaluator reference 00014 NIREPIntensityVariance(NIREPEvaluator* eval) 00015 { this->evaluator = eval; result = NULL; }; 00016 00017 // Destructor 00018 ~NIREPIntensityVariance() {}; 00019 00020 // Implementation of the virtual function 00021 // Intensity Variance 00022 TextTable ComputeStatistic(const std::vector<std::string>& arg, DisplayDescription * displayDescription); 00023 00024 gec::SpatialData* ComputeIVImage(const std::vector<std::string>& arg, DisplayDescription * displayDescription); 00025 00026 protected: 00027 // Default constructor 00028 NIREPIntensityVariance() {}; 00029 00030 private: 00031 std::vector<std::string> datasetID; 00032 00033 void Expand(const std::vector<std::string>& arg); 00034 void Compute(const std::vector<std::string>& arg, DisplayDescription * displayDescription); 00035 00036 void RegisteredImageVariance(const std::vector<std::string>& arg, DisplayDescription * displayDescription); 00037 void ImageVariance(const std::vector<std::string>& arg, DisplayDescription * displayDescription); 00038 gec::Image* result; 00039 00040 }; 00041 00042 #endif // __nirepIV_H_ 00043