18#ifndef itkBinaryProjectionImageFilter_h
19#define itkBinaryProjectionImageFilter_h
49template <
typename TInputPixel,
typename TOutputPixel>
90template <
typename TInputImage,
typename TOutputImage>
95 Functor::BinaryAccumulator<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
165 os << indent <<
"ForegroundValue: " <<
static_cast<InputPixelPrintType
>(
m_ForegroundValue) << std::endl;
169 os << indent <<
"BackgroundValue: " <<
static_cast<OutputPixelPrintType
>(
m_BackgroundValue) << std::endl;
typename OutputImageType::PixelType OutputPixelType
Functor::BinaryAccumulator< typename TInputImage::PixelType, typename TOutputImage::PixelType > AccumulatorType
~BinaryProjectionImageFilter() override=default
BinaryProjectionImageFilter()
SmartPointer< Self > Pointer
BinaryProjectionImageFilter Self
void PrintSelf(std::ostream &os, Indent indent) const override
TInputImage InputImageType
AccumulatorType NewAccumulator(SizeValueType size) const override
ProjectionImageFilter< TInputImage, TOutputImage, Functor::BinaryAccumulator< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
OutputPixelType m_BackgroundValue
InputPixelType m_ForegroundValue
TOutputImage OutputImageType
SmartPointer< const Self > ConstPointer
typename InputImageType::PixelType InputPixelType
BinaryAccumulator(SizeValueType)
TInputPixel m_ForegroundValue
void operator()(const TInputPixel &input)
TOutputPixel m_BackgroundValue
~BinaryAccumulator()=default
Control indentation during Print() invocation.
static constexpr T NonpositiveMin()
static constexpr T max(const T &)
Functor::BinaryAccumulator< typename TInputImage::PixelType, typename TOutputImage::PixelType > AccumulatorType
void PrintSelf(std::ostream &os, Indent indent) const override
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType