18 #ifndef itkBinaryProjectionImageFilter_h 19 #define itkBinaryProjectionImageFilter_h 49 template<
typename TInputPixel,
typename TOutputPixel >
89 template<
typename TInputImage,
typename TOutputImage >
92 Functor::BinaryAccumulator<
93 typename TInputImage::PixelType,
94 typename TOutputImage::PixelType > >
100 typename TInputImage::PixelType,
125 itkSetMacro(ForegroundValue, InputPixelType);
129 itkGetConstMacro(ForegroundValue, InputPixelType);
135 itkSetMacro(BackgroundValue, OutputPixelType);
141 itkGetConstMacro(BackgroundValue, OutputPixelType);
143 #ifdef ITK_USE_CONCEPT_CHECKING 163 Superclass::PrintSelf(os, indent);
168 os << indent <<
"ForegroundValue: " 173 OutputPixelPrintType;
175 os << indent <<
"BackgroundValue: " 182 AccumulatorType accumulator(size);
197 void operator=(const Self &) ITK_DELETE_FUNCTION;
virtual AccumulatorType NewAccumulator(SizeValueType size) const override
TOutputImage OutputImageType
ProjectionImageFilter< TInputImage, TOutputImage, Functor::BinaryAccumulator< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
TOutputPixel m_BackgroundValue
SmartPointer< Self > Pointer
virtual ~BinaryProjectionImageFilter()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
InputImageType::PixelType InputPixelType
BinaryProjectionImageFilter()
unsigned long SizeValueType
OutputImageType::PixelType OutputPixelType
Implements an accumulation of an image along a selected direction.
void PrintSelf(std::ostream &os, Indent indent) const override
static ITK_CONSTEXPR_FUNC T max(const T &)
SmartPointer< const Self > ConstPointer
OutputPixelType m_BackgroundValue
InputPixelType m_ForegroundValue
void operator()(const TInputPixel &input)
static ITK_CONSTEXPR_FUNC T NonpositiveMin()
TInputPixel m_ForegroundValue
BinaryProjectionImageFilter Self
TInputImage InputImageType
Control indentation during Print() invocation.
Superclass::AccumulatorType AccumulatorType
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
BinaryAccumulator(SizeValueType)