18#ifndef itkBinaryThresholdProjectionImageFilter_h
19#define itkBinaryThresholdProjectionImageFilter_h
52template <
typename TInputPixel,
typename TOutputPixel>
95template <
typename TInputImage,
typename TOutputImage>
100 Function::BinaryThresholdAccumulator<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
148#ifdef ITK_USE_CONCEPT_CHECKING
172 os << indent <<
"ForegroundValue: " <<
static_cast<InputPixelPrintType
>(
m_ForegroundValue) << std::endl;
176 os << indent <<
"BackgroundValue: " <<
static_cast<OutputPixelPrintType
>(
m_BackgroundValue) << std::endl;
178 os << indent <<
"ThresholdValue: " <<
static_cast<InputPixelPrintType
>(
m_ThresholdValue) << std::endl;
BinaryThreshold projection.
BinaryThresholdProjectionImageFilter()
InputPixelType m_ThresholdValue
typename InputImageType::PixelType InputPixelType
~BinaryThresholdProjectionImageFilter() override=default
typename OutputImageType::PixelType OutputPixelType
OutputPixelType m_ForegroundValue
AccumulatorType NewAccumulator(SizeValueType size) const override
void PrintSelf(std::ostream &os, Indent indent) const override
OutputPixelType m_BackgroundValue
TOutputPixel m_BackgroundValue
BinaryThresholdAccumulator(SizeValueType)
TInputPixel m_ThresholdValue
TOutputPixel m_ForegroundValue
void operator()(const TInputPixel &input)
~BinaryThresholdAccumulator()=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