18 #ifndef sitkBinaryProjectionImageFilter_h
19 #define sitkBinaryProjectionImageFilter_h
85 SITK_RETURN_SELF_TYPE_HEADER
SetProjectionDimension (
unsigned int ProjectionDimension ) { this->m_ProjectionDimension = ProjectionDimension;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
104 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
112 std::string
GetName()
const {
return std::string (
"BinaryProjectionImageFilter"); }
115 std::string ToString()
const;
127 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
135 unsigned int m_ProjectionDimension{0u};
137 double m_ForegroundValue{1.0};
139 double m_BackgroundValue{0.0};