18#ifndef itkOtsuMultipleThresholdsImageFilter_h
19#define itkOtsuMultipleThresholdsImageFilter_h
60template <
typename TInputImage,
typename TOutputImage>
100 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
101 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
119 itkSetMacro(ValleyEmphasis,
bool);
120 itkGetConstReferenceMacro(ValleyEmphasis,
bool);
121 itkBooleanMacro(ValleyEmphasis);
126 itkSetMacro(ReturnBinMidpoint,
bool);
127 itkGetConstReferenceMacro(ReturnBinMidpoint,
bool);
128 itkBooleanMacro(ReturnBinMidpoint);
138#ifdef ITK_USE_CONCEPT_CHECKING
162 bool m_ValleyEmphasis{
false };
163 bool m_ReturnBinMidpoint{
false };
167#ifndef ITK_MANUAL_INSTANTIATION
168# include "itkOtsuMultipleThresholdsImageFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and produce an image as output.
typename InputImageType::Pointer InputImagePointer
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
static constexpr T max(const T &)
Computes Otsu's multiple thresholds for a histogram.
std::vector< MeasurementType > OutputType
Threshold an image using multiple Otsu Thresholds.
~OtsuMultipleThresholdsImageFilter() override=default
OtsuMultipleThresholdsImageFilter()
typename HistogramGeneratorType::HistogramType HistogramType
const ThresholdVectorType & GetThresholds() const
typename OtsuCalculatorType::OutputType ThresholdVectorType
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateInputRequestedRegion() override
typename TOutputImage::SizeType OutputSizeType
typename TInputImage::PixelType InputPixelType
void GenerateData() override
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::SizeType InputSizeType
typename TOutputImage::IndexType OutputIndexType
typename TInputImage::IndexType InputIndexType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
This class stores measurement vectors in the context of n-dimensional histogram.
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType