18 #ifndef itkBinaryThresholdProjectionImageFilter_h 19 #define itkBinaryThresholdProjectionImageFilter_h 51 template<
typename TInputPixel,
typename TOutputPixel >
91 template<
typename TInputImage,
typename TOutputImage >
94 Function::BinaryThresholdAccumulator<
95 typename TInputImage::PixelType,
96 typename TOutputImage::PixelType > >
102 typename TInputImage::PixelType,
126 itkSetMacro(ForegroundValue, OutputPixelType);
127 itkGetConstMacro(ForegroundValue, OutputPixelType);
132 itkSetMacro(BackgroundValue, OutputPixelType);
133 itkGetConstMacro(BackgroundValue, OutputPixelType);
138 itkSetMacro(ThresholdValue, InputPixelType);
139 itkGetConstMacro(ThresholdValue, InputPixelType);
142 #ifdef ITK_USE_CONCEPT_CHECKING 163 Superclass::PrintSelf(os, indent);
168 os << indent <<
"ForegroundValue: " 173 OutputPixelPrintType;
175 os << indent <<
"BackgroundValue: " 179 os << indent <<
"ThresholdValue: " 186 AccumulatorType accumulator(size);
205 void operator=(const Self &) ITK_DELETE_FUNCTION;
BinaryThresholdProjectionImageFilter Self
InputImageType::PixelType InputPixelType
TOutputPixel m_ForegroundValue
Superclass::AccumulatorType AccumulatorType
TOutputImage OutputImageType
OutputPixelType m_BackgroundValue
TInputPixel m_ThresholdValue
virtual AccumulatorType NewAccumulator(SizeValueType size) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SmartPointer< Self > Pointer
unsigned long SizeValueType
OutputImageType::PixelType OutputPixelType
Implements an accumulation of an image along a selected direction.
static ITK_CONSTEXPR_FUNC T max(const T &)
SmartPointer< const Self > ConstPointer
ProjectionImageFilter< TInputImage, TOutputImage, Function::BinaryThresholdAccumulator< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
virtual ~BinaryThresholdProjectionImageFilter()
void operator()(const TInputPixel &input)
~BinaryThresholdAccumulator()
TOutputPixel m_BackgroundValue
static ITK_CONSTEXPR_FUNC T NonpositiveMin()
BinaryThresholdProjectionImageFilter()
OutputPixelType m_ForegroundValue
Control indentation during Print() invocation.
BinaryThreshold projection.
void PrintSelf(std::ostream &os, Indent indent) const override
BinaryThresholdAccumulator(SizeValueType)
Define additional traits for native types such as int or float.
TInputImage InputImageType
#define itkConceptMacro(name, concept)
InputPixelType m_ThresholdValue