Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Threshold an image using the Otsu Threshold. More...
#include <Libs/vtkITK/itkNewOtsuThresholdImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::Pointer | InputImagePointer |
typedef TInputImage::RegionType | InputImageRegionType |
typedef TInputImage::IndexType | InputIndexType |
typedef TInputImage::PixelType | InputPixelType |
typedef TInputImage::SizeType | InputSizeType |
typedef TOutputImage::Pointer | OutputImagePointer |
typedef TOutputImage::RegionType | OutputImageRegionType |
typedef TOutputImage::IndexType | OutputIndexType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef TOutputImage::SizeType | OutputSizeType |
typedef SmartPointer< Self > | Pointer |
typedef NewOtsuThresholdImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
itkGetMacro (OutsideValue, OutputPixelType) | |
itkGetMacro (InsideValue, OutputPixelType) | |
itkGetMacro (NumberOfHistogramBins, unsigned long) | |
itkGetMacro (Omega, double) | |
itkGetMacro (Threshold, InputPixelType) | |
itkNewMacro (Self) | |
itkSetClampMacro (NumberOfHistogramBins, unsigned long, 1, NumericTraits< unsigned long >::max()) | |
itkSetMacro (OutsideValue, OutputPixelType) | |
itkSetMacro (InsideValue, OutputPixelType) | |
itkSetMacro (Omega, double) | |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
itkTypeMacro (NewOtsuThresholdImageFilter, ImageToImageFilter) | |
Protected Member Functions | |
void | GenerateData () override |
void | GenerateInputRequestedRegion () override |
NewOtsuThresholdImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~NewOtsuThresholdImageFilter () override=default | |
Threshold an image using the Otsu Threshold.
This filter creates a binary thresholded image that separates an image into foreground and background components. The filter computes the threshold using the OtsuThresholdImageCalculator and applies that threshold to the input image using the BinaryThresholdImageFilter. The NunberOfHistogram bins can be set for the Calculator. The InsideValue and OutsideValue can be set for the BinaryThresholdImageFilter.
Definition at line 42 of file itkNewOtsuThresholdImageFilter.h.
typedef SmartPointer<const Self> itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 50 of file itkNewOtsuThresholdImageFilter.h.
typedef TInputImage::Pointer itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Image related typedefs.
Definition at line 63 of file itkNewOtsuThresholdImageFilter.h.
typedef TInputImage::RegionType itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 68 of file itkNewOtsuThresholdImageFilter.h.
typedef TInputImage::IndexType itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::InputIndexType |
Definition at line 67 of file itkNewOtsuThresholdImageFilter.h.
typedef TInputImage::PixelType itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::InputPixelType |
Image pixel value typedef.
Definition at line 59 of file itkNewOtsuThresholdImageFilter.h.
typedef TInputImage::SizeType itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::InputSizeType |
Definition at line 66 of file itkNewOtsuThresholdImageFilter.h.
typedef TOutputImage::Pointer itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 64 of file itkNewOtsuThresholdImageFilter.h.
typedef TOutputImage::RegionType itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 71 of file itkNewOtsuThresholdImageFilter.h.
typedef TOutputImage::IndexType itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::OutputIndexType |
Definition at line 70 of file itkNewOtsuThresholdImageFilter.h.
typedef TOutputImage::PixelType itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 60 of file itkNewOtsuThresholdImageFilter.h.
typedef TOutputImage::SizeType itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::OutputSizeType |
Definition at line 69 of file itkNewOtsuThresholdImageFilter.h.
typedef SmartPointer<Self> itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 49 of file itkNewOtsuThresholdImageFilter.h.
typedef NewOtsuThresholdImageFilter itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::Self |
Standard Self typedef
Definition at line 47 of file itkNewOtsuThresholdImageFilter.h.
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 48 of file itkNewOtsuThresholdImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotected |
|
overrideprotected |
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkGetMacro | ( | OutsideValue | , |
OutputPixelType | |||
) |
Get the "outside" pixel value.
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkGetMacro | ( | InsideValue | , |
OutputPixelType | |||
) |
Get the "inside" pixel value.
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkGetMacro | ( | NumberOfHistogramBins | , |
unsigned | long | ||
) |
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkGetMacro | ( | Omega | , |
double | |||
) |
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkGetMacro | ( | Threshold | , |
InputPixelType | |||
) |
Get the computed threshold.
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkSetClampMacro | ( | NumberOfHistogramBins | , |
unsigned | long, | ||
1 | , | ||
NumericTraits< unsigned long > | ::max() | ||
) |
Set/Get the number of histogram bins. Defaults is 128.
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkSetMacro | ( | OutsideValue | , |
OutputPixelType | |||
) |
Set the "outside" pixel value. The default value NumericTraits<OutputPixelType>::ZeroValue().
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkSetMacro | ( | InsideValue | , |
OutputPixelType | |||
) |
Set the "inside" pixel value. The default value NumericTraits<OutputPixelType>::max()
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkSetMacro | ( | Omega | , |
double | |||
) |
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Image related typedefs.
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | OutputImageDimension | , |
unsigned | int, | ||
TOutputImage::ImageDimension | |||
) |
itk::NewOtsuThresholdImageFilter< TInputImage, TOutputImage >::itkTypeMacro | ( | NewOtsuThresholdImageFilter< TInputImage, TOutputImage > | , |
ImageToImageFilter | |||
) |
Runtime information support.
|
overrideprotected |