18 #ifndef itkOtsuMultipleThresholdsImageFilter_h
19 #define itkOtsuMultipleThresholdsImageFilter_h
55 template<
typename TInputImage,
typename TOutputImage >
96 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
97 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
116 itkSetMacro(ValleyEmphasis,
bool);
117 itkGetConstReferenceMacro(ValleyEmphasis,
bool);
118 itkBooleanMacro(ValleyEmphasis);
123 itkSetMacro(ReturnBinMidpoint,
bool);
124 itkGetConstReferenceMacro(ReturnBinMidpoint,
bool);
125 itkBooleanMacro(ReturnBinMidpoint);
134 #ifdef ITK_USE_CONCEPT_CHECKING
146 void PrintSelf(std::ostream & os,
Indent indent)
const override;
148 void GenerateInputRequestedRegion()
override;
150 void GenerateData()
override;
157 bool m_ValleyEmphasis{
false };
158 #if defined(ITKV4_COMPATIBILITY)
159 bool m_ReturnBinMidpoint{
true };
161 bool m_ReturnBinMidpoint{
false };
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "itkOtsuMultipleThresholdsImageFilter.hxx"
OutputPixelType m_LabelOffset
typename TOutputImage::PixelType OutputPixelType
typename OutputImageType::Pointer OutputImagePointer
typename TOutputImage::SizeType OutputSizeType
Define numeric traits for std::vector.
unsigned long SizeValueType
const ThresholdVectorType & GetThresholds() const
This class stores measurement vectors in the context of n-dimensional histogram.
std::vector< MeasurementType > OutputType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename OtsuCalculatorType::OutputType ThresholdVectorType
Computes Otsu's multiple thresholds for a histogram.
Base class for all process objects that output image data.
typename TInputImage::PixelType InputPixelType
typename TInputImage::SizeType InputSizeType
typename InputImageType::Pointer InputImagePointer
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
Threshold an image using multiple Otsu Thresholds.
typename TOutputImage::IndexType OutputIndexType
ThresholdVectorType m_Thresholds
typename InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
typename HistogramGeneratorType::HistogramType HistogramType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename TInputImage::IndexType InputIndexType