Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
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};
The Image class for SimpleITK.
std::string GetName() const
Self & SetBackgroundValue(double BackgroundValue)
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
Self & SetForegroundValue(double ForegroundValue)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image BinaryProjection(const Image &image1, unsigned int projectionDimension=0u, double foregroundValue=1.0, double backgroundValue=0.0)
Binary projection.
unsigned int GetProjectionDimension() const
Self & SetProjectionDimension(unsigned int ProjectionDimension)
double GetBackgroundValue() const
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
Image(Self::*)(const Image &image1) MemberFunctionType
BasicPixelIDTypeList PixelIDTypeList
double GetForegroundValue() const