|
Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Computes the Otsu's threshold for an image. More...
#include <Libs/vtkITK/itkNewOtsuThresholdImageCalculator.h>


Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef TInputImage::ConstPointer | ImageConstPointer |
| typedef TInputImage::Pointer | ImagePointer |
| typedef TInputImage | ImageType |
| typedef TInputImage::PixelType | PixelType |
| typedef SmartPointer< Self > | Pointer |
| typedef NewOtsuThresholdImageCalculator | Self |
| typedef Object | Superclass |
Public Member Functions | |
| void | Compute (void) |
| itkGetMacro (Threshold, PixelType) | |
| itkGetMacro (NumberOfHistogramBins, unsigned long) | |
| itkGetMacro (Omega, double) | |
| itkNewMacro (Self) | |
| itkSetClampMacro (NumberOfHistogramBins, unsigned long, 1, NumericTraits< unsigned long >::max()) | |
| itkSetConstObjectMacro (Image, ImageType) | |
| itkSetMacro (Omega, double) | |
| itkTypeMacro (NewOtsuThresholdImageCalculator, Object) | |
Protected Member Functions | |
| NewOtsuThresholdImageCalculator () | |
| void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
| virtual | ~NewOtsuThresholdImageCalculator () |
Computes the Otsu's threshold for an image.
This calculator computes the Otsu's threshold which separates an image into foreground and background components. The method relies on a histogram of image intensities. The basic idea is to maximize the between-class variance.
This class is templated over the input image type.
Definition at line 28 of file itkNewOtsuThresholdImageCalculator.h.
| typedef SmartPointer<const Self> itk::NewOtsuThresholdImageCalculator< TInputImage >::ConstPointer |
Definition at line 35 of file itkNewOtsuThresholdImageCalculator.h.
| typedef TInputImage::ConstPointer itk::NewOtsuThresholdImageCalculator< TInputImage >::ImageConstPointer |
Const Pointer type for the image.
Definition at line 50 of file itkNewOtsuThresholdImageCalculator.h.
| typedef TInputImage::Pointer itk::NewOtsuThresholdImageCalculator< TInputImage >::ImagePointer |
Pointer type for the image.
Definition at line 47 of file itkNewOtsuThresholdImageCalculator.h.
| typedef TInputImage itk::NewOtsuThresholdImageCalculator< TInputImage >::ImageType |
Type definition for the input image.
Definition at line 44 of file itkNewOtsuThresholdImageCalculator.h.
| typedef TInputImage::PixelType itk::NewOtsuThresholdImageCalculator< TInputImage >::PixelType |
Type definition for the input image pixel type.
Definition at line 53 of file itkNewOtsuThresholdImageCalculator.h.
| typedef SmartPointer<Self> itk::NewOtsuThresholdImageCalculator< TInputImage >::Pointer |
Definition at line 34 of file itkNewOtsuThresholdImageCalculator.h.
| typedef NewOtsuThresholdImageCalculator itk::NewOtsuThresholdImageCalculator< TInputImage >::Self |
Standard class typedefs.
Definition at line 32 of file itkNewOtsuThresholdImageCalculator.h.
| typedef Object itk::NewOtsuThresholdImageCalculator< TInputImage >::Superclass |
Definition at line 33 of file itkNewOtsuThresholdImageCalculator.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 74 of file itkNewOtsuThresholdImageCalculator.h.
| void itk::NewOtsuThresholdImageCalculator< TInputImage >::Compute | ( | void | ) |
Compute the Otsu's threshold for the input image.
| itk::NewOtsuThresholdImageCalculator< TInputImage >::itkGetMacro | ( | Threshold | , |
| PixelType | |||
| ) |
Return the Otsu's threshold value.
| itk::NewOtsuThresholdImageCalculator< TInputImage >::itkGetMacro | ( | NumberOfHistogramBins | , |
| unsigned | long | ||
| ) |
| itk::NewOtsuThresholdImageCalculator< TInputImage >::itkGetMacro | ( | Omega | , |
| double | |||
| ) |
| itk::NewOtsuThresholdImageCalculator< TInputImage >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
| itk::NewOtsuThresholdImageCalculator< TInputImage >::itkSetClampMacro | ( | NumberOfHistogramBins | , |
| unsigned | long, | ||
| 1 | , | ||
| NumericTraits< unsigned long > | ::max() | ||
| ) |
Set/Get the number of histogram bins. Default is 128.
| itk::NewOtsuThresholdImageCalculator< TInputImage >::itkSetConstObjectMacro | ( | Image | , |
| ImageType | |||
| ) |
Set the input image.
| itk::NewOtsuThresholdImageCalculator< TInputImage >::itkSetMacro | ( | Omega | , |
| double | |||
| ) |
| itk::NewOtsuThresholdImageCalculator< TInputImage >::itkTypeMacro | ( | NewOtsuThresholdImageCalculator< TInputImage > | , |
| Object | |||
| ) |
Run-time type information (and related methods).
|
protected |
1.8.13