19 #ifndef itkHistogramThresholdImageFilter_h
20 #define itkHistogramThresholdImageFilter_h
59 template<
typename TInputImage,
typename TOutputImage,
typename TMaskImage=TOutputImage>
114 InputImageType::ImageDimension );
116 OutputImageType::ImageDimension );
118 MaskImageType::ImageDimension );
127 this->
SetNthInput( 1, const_cast< TMaskImage * >( input ) );
133 return itkDynamicCastInDebugMode< MaskImageType * >
164 itkSetMacro(NumberOfHistogramBins,
unsigned int);
165 itkGetConstMacro(NumberOfHistogramBins,
unsigned int);
170 itkSetMacro(AutoMinimumMaximum,
bool);
171 itkGetConstMacro(AutoMinimumMaximum,
bool);
172 itkBooleanMacro(AutoMinimumMaximum);
178 itkSetMacro(MaskOutput,
bool);
179 itkGetConstMacro(MaskOutput,
bool);
180 itkBooleanMacro(MaskOutput);
198 #ifdef ITK_USE_CONCEPT_CHECKING
228 void operator=(const Self&);
234 #ifndef ITK_MANUAL_INSTANTIATION
235 #include "itkHistogramThresholdImageFilter.hxx"
CalculatorPointer m_Calculator
SmartPointer< const Self > ConstPointer
HistogramThresholdImageFilter Self
Threshold an image using a HistogramThresholdCalculator.
static const unsigned int MaskImageDimension
Statistics::Histogram< ValueRealType > HistogramType
OutputImageType::SizeType OutputSizeType
unsigned m_NumberOfHistogramBins
InputImageType::SizeType InputSizeType
InputImageType::RegionType InputImageRegionType
void SetMaskImage(const TMaskImage *input)
MaskImageType::Pointer MaskImagePointer
NumericTraits< InputPixelType >::ValueType ValueType
MaskImageType::PixelType MaskPixelType
HistogramType::SizeType HistogramSizeType
HistogramType::Pointer HistogramPointer
This class stores measurement vectors in the context of n-dimensional histogram.
bool m_AutoMinimumMaximum
MaskImageType::RegionType MaskImageRegionType
HistogramThresholdCalculator< HistogramType, InputPixelType > CalculatorType
Base class for all process objects that output image data.
CalculatorType::Pointer CalculatorPointer
const MaskImageType * GetMaskImage() const
OutputPixelType m_InsideValue
OutputImageType::RegionType OutputImageRegionType
HistogramType::MeasurementVectorType HistogramMeasurementVectorType
void SetInput1(const TInputImage *input)
InputPixelType m_Threshold
NumericTraits< ValueType >::RealType ValueRealType
virtual void SetInput(const InputImageType *image)
HistogramType::MeasurementType HistogramMeasurementType
OutputImageType::IndexType OutputIndexType
MaskImageType::SizeType MaskSizeType
Superclass::MeasurementVectorType MeasurementVectorType
OutputImageType::PixelType OutputPixelType
HistogramThresholdImageFilter()
~HistogramThresholdImageFilter()
InputImageType::PixelType InputPixelType
TMeasurement MeasurementType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
static const unsigned int OutputImageDimension
MaskPixelType m_MaskValue
HistogramType::ConstPointer HistogramConstPointer
OutputPixelType m_OutsideValue
SmartPointer< Self > Pointer
InputImageType::Pointer InputImagePointer
TOutputImage OutputImageType
TInputImage InputImageType
static const unsigned int InputImageDimension
MaskImageType::IndexType MaskIndexType
Base class for filters that take an image as input and produce an image as output.
InputImageType::IndexType InputIndexType
Control indentation during Print() invocation.
void SetInput2(const TMaskImage *input)
void GenerateData() override
OutputImageType::Pointer OutputImagePointer
Define additional traits for native types such as int or float.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
Base class to compute a threshold value based on the histogram of an image.
#define itkConceptMacro(name, concept)
void GenerateInputRequestedRegion() override
Base class for all data objects in ITK.
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override