17 #ifndef itkNewOtsuThresholdImageFilter_h 18 #define itkNewOtsuThresholdImageFilter_h 20 #include "itkImageToImageFilter.h" 21 #include "itkFixedArray.h" 41 template<
class TInputImage,
class TOutputImage>
43 public ImageToImageFilter<TInputImage, TOutputImage>
48 typedef ImageToImageFilter<TInputImage,TOutputImage>
Superclass;
76 TInputImage::ImageDimension );
78 TOutputImage::ImageDimension );
96 NumericTraits<unsigned long>::max() );
97 itkGetMacro( NumberOfHistogramBins,
unsigned long );
109 void PrintSelf(std::ostream& os, Indent indent)
const ITK_OVERRIDE;
116 void operator=(const
Self&);
121 unsigned long m_NumberOfHistogramBins;
127 #ifndef ITK_MANUAL_INSTANTIATION 128 #include "itkNewOtsuThresholdImageFilter.txx" ~NewOtsuThresholdImageFilter()
Threshold an image using the Otsu Threshold.
itkGetMacro(OutsideValue, OutputPixelType)
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
itkSetMacro(OutsideValue, OutputPixelType)
TOutputImage::PixelType OutputPixelType
Simplified inverse ITK transforms.
itkSetClampMacro(NumberOfHistogramBins, unsigned long, 1, NumericTraits< unsigned long >::max())
TOutputImage::SizeType OutputSizeType
void GenerateData() ITK_OVERRIDE
TOutputImage::RegionType OutputImageRegionType
NewOtsuThresholdImageFilter Self
TOutputImage::IndexType OutputIndexType
TInputImage::PixelType InputPixelType
TInputImage::Pointer InputImagePointer
SmartPointer< const Self > ConstPointer
void GenerateInputRequestedRegion() ITK_OVERRIDE
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
TInputImage::SizeType InputSizeType
itkTypeMacro(NewOtsuThresholdImageFilter, ImageToImageFilter)
TInputImage::IndexType InputIndexType
TInputImage::RegionType InputImageRegionType
SmartPointer< Self > Pointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
NewOtsuThresholdImageFilter()
TOutputImage::Pointer OutputImagePointer