00001 /*========================================================================= 00002 00003 Program: 3DMed 00004 Date: $Date: 2014-02-25 18:30:00 +0800 $ 00005 Version: $Version: 4.6.0 $ 00006 Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences 00007 00008 =========================================================================*/ 00009 00010 00011 #ifndef __mitkThresholdSegmentationFilter_h 00012 #define __mitkThresholdSegmentationFilter_h 00013 00014 #include "mitkSegmentationIncludes.h" 00015 #include "mitkVolumeToVolumeFilter.h" 00016 00021 class MITK_SEGMENTATION_API mitkThresholdSegmentationFilter : public mitkVolumeToVolumeFilter 00022 { 00023 public: 00024 MITK_TYPE(mitkThresholdSegmentationFilter,mitkVolumeToVolumeFilter) 00025 00026 00027 00028 00029 mitkThresholdSegmentationFilter(); 00030 00031 virtual void PrintSelf(ostream& os){}; 00032 00038 void SetLowThreshValue(double d){this->m_LowThresh = d;} 00039 00044 int GetLowThreshValue(){return this->m_LowThresh;} 00045 00051 void SetHighThreshValue(double d){this->m_HighThresh = d;} 00052 00057 int GetHighThreshValue(){return this->m_HighThresh;} 00058 00059 00060 protected: 00061 virtual ~mitkThresholdSegmentationFilter(){}; 00062 00063 virtual bool Execute(); 00064 00065 private: 00066 mitkThresholdSegmentationFilter(const mitkThresholdSegmentationFilter&); 00067 void operator=(const mitkThresholdSegmentationFilter&); 00068 00069 double m_LowThresh; 00070 double m_HighThresh; 00071 }; 00072 00073 00074 #endif 00075 00076