18#ifndef itkOtsuMultipleThresholdsImageFilter_h
19#define itkOtsuMultipleThresholdsImageFilter_h
60template <
typename TInputImage,
typename TOutputImage>
119 itkSetMacro(ValleyEmphasis,
bool);
120 itkGetConstReferenceMacro(ValleyEmphasis,
bool);
121 itkBooleanMacro(ValleyEmphasis);
126 itkSetMacro(ReturnBinMidpoint,
bool);
127 itkGetConstReferenceMacro(ReturnBinMidpoint,
bool);
128 itkBooleanMacro(ReturnBinMidpoint);
163#ifndef ITK_MANUAL_INSTANTIATION
164# include "itkOtsuMultipleThresholdsImageFilter.hxx"
Control indentation during Print() invocation.
static constexpr T max(const T &)
Computes Otsu's multiple thresholds for a histogram.
std::vector< MeasurementType > OutputType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
OutputPixelType m_LabelOffset
OtsuMultipleThresholdsCalculator< HistogramType > OtsuCalculatorType
~OtsuMultipleThresholdsImageFilter() override=default
OtsuMultipleThresholdsImageFilter()
static constexpr unsigned int InputImageDimension
typename HistogramGeneratorType::HistogramType HistogramType
const ThresholdVectorType & GetThresholds() const
SizeValueType m_NumberOfHistogramBins
itk::Statistics::ScalarImageToHistogramGenerator< TInputImage > HistogramGeneratorType
typename OtsuCalculatorType::OutputType ThresholdVectorType
void PrintSelf(std::ostream &os, Indent indent) const override
typename TOutputImage::Pointer OutputImagePointer
OtsuMultipleThresholdsImageFilter Self
void GenerateInputRequestedRegion() override
static constexpr unsigned int OutputImageDimension
typename TOutputImage::SizeType OutputSizeType
SmartPointer< Self > Pointer
typename TInputImage::PixelType InputPixelType
typename TInputImage::RegionType InputImageRegionType
void GenerateData() override
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::SizeType InputSizeType
typename TOutputImage::IndexType OutputIndexType
typename TInputImage::Pointer InputImagePointer
ThresholdVectorType m_Thresholds
typename TInputImage::IndexType InputIndexType
SmartPointer< const Self > ConstPointer
SizeValueType m_NumberOfThresholds
typename TOutputImage::RegionType OutputImageRegionType
Implements transparent reference counting.
itk::Statistics::Histogram< double > HistogramType
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType