18 #ifndef sitkBinaryThresholdProjectionImageFilter_h
19 #define sitkBinaryThresholdProjectionImageFilter_h
84 SITK_RETURN_SELF_TYPE_HEADER
SetProjectionDimension (
unsigned int ProjectionDimension ) { this->m_ProjectionDimension = ProjectionDimension;
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetThresholdValue (
double ThresholdValue ) { this->m_ThresholdValue = ThresholdValue;
return *
this; }
103 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue ( uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
113 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue ( uint8_t BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
121 std::string
GetName()
const {
return std::string (
"BinaryThresholdProjectionImageFilter"); }
124 std::string ToString()
const;
136 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
144 unsigned int m_ProjectionDimension{0u};
146 double m_ThresholdValue{0.0};
148 uint8_t m_ForegroundValue{1u};
150 uint8_t m_BackgroundValue{0u};