18#ifndef itkBinaryProjectionImageFilter_h
19#define itkBinaryProjectionImageFilter_h
49template <
typename TInputPixel,
typename TOutputPixel>
92template <
typename TInputImage,
typename TOutputImage>
97 Functor::BinaryAccumulator<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
148#ifdef ITK_USE_CONCEPT_CHECKING
171 os << indent <<
"ForegroundValue: " <<
static_cast<InputPixelPrintType
>(
m_ForegroundValue) << std::endl;
175 os << indent <<
"BackgroundValue: " <<
static_cast<OutputPixelPrintType
>(
m_BackgroundValue) << std::endl;
typename OutputImageType::PixelType OutputPixelType
~BinaryProjectionImageFilter() override=default
BinaryProjectionImageFilter()
void PrintSelf(std::ostream &os, Indent indent) const override
AccumulatorType NewAccumulator(SizeValueType size) const override
OutputPixelType m_BackgroundValue
InputPixelType m_ForegroundValue
typename InputImageType::PixelType InputPixelType
BinaryAccumulator(SizeValueType)
TInputPixel m_ForegroundValue
void operator()(const TInputPixel &input)
TOutputPixel m_BackgroundValue
~BinaryAccumulator()=default
Base class for all process objects that output image data.
TOutputImage OutputImageType
TInputImage InputImageType
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
static constexpr T NonpositiveMin()
static constexpr T max(const T &)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements an accumulation of an image along a selected direction.
TAccumulator AccumulatorType
void PrintSelf(std::ostream &os, Indent indent) const override
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType