18 #ifndef itkOtsuMultipleThresholdsImageFilter_h
19 #define itkOtsuMultipleThresholdsImageFilter_h
55 template<
typename TInputImage,
typename TOutputImage >
94 itkStaticConstMacro(InputImageDimension,
unsigned int,
95 TInputImage::ImageDimension);
96 itkStaticConstMacro(OutputImageDimension,
unsigned int,
97 TOutputImage::ImageDimension);
117 itkSetMacro(ValleyEmphasis,
bool);
118 itkGetConstReferenceMacro(ValleyEmphasis,
bool);
119 itkBooleanMacro(ValleyEmphasis);
128 #ifdef ITK_USE_CONCEPT_CHECKING
140 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
142 void GenerateInputRequestedRegion() ITK_OVERRIDE;
144 void GenerateData() ITK_OVERRIDE;
153 bool m_ValleyEmphasis;
157 #ifndef ITK_MANUAL_INSTANTIATION
158 #include "itkOtsuMultipleThresholdsImageFilter.hxx"
HistogramGeneratorType::HistogramType HistogramType
itk::Statistics::ScalarImageToHistogramGenerator< TInputImage > HistogramGeneratorType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage::SizeType InputSizeType
TInputImage::Pointer InputImagePointer
TOutputImage::Pointer OutputImagePointer
TInputImage::IndexType InputIndexType
const ThresholdVectorType & GetThresholds() const
This class stores measurement vectors in the context of n-dimensional histogram.
OtsuMultipleThresholdsCalculator< HistogramType > OtsuCalculatorType
TInputImage::PixelType InputPixelType
std::vector< MeasurementType > OutputType
Computes Otsu's multiple thresholds for a histogram.
Base class for all process objects that output image data.
unsigned long SizeValueType
~OtsuMultipleThresholdsImageFilter() override
SmartPointer< const Self > ConstPointer
TInputImage::RegionType InputImageRegionType
Threshold an image using multiple Otsu Thresholds.
TOutputImage::IndexType OutputIndexType
SmartPointer< Self > Pointer
TOutputImage::PixelType OutputPixelType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
OtsuCalculatorType::OutputType ThresholdVectorType
ImageBaseType::SizeType SizeType
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
OtsuMultipleThresholdsImageFilter Self
TOutputImage::RegionType OutputImageRegionType
TOutputImage::SizeType OutputSizeType
ImageBaseType::IndexType IndexType