#include <itkOtsuThresholdImageCalculator.h>
Inheritance diagram for itk::OtsuThresholdImageCalculator:
Public Types | |
typedef OtsuThresholdImageCalculator | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | ImageType |
typedef TInputImage::Pointer | ImagePointer |
typedef TInputImage::ConstPointer | ImageConstPointer |
typedef TInputImage::PixelType | PixelType |
Public Methods | |
virtual const char * | GetClassName () const |
itkSetConstObjectMacro (Image, ImageType) | |
void | Compute (void) |
virtual PixelType | GetThreshold () |
virtual void | SetNumberOfHistogramBins (unsigned long _arg) |
virtual unsigned long | GetNumberOfHistogramBins () |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
OtsuThresholdImageCalculator () | |
virtual | ~OtsuThresholdImageCalculator () |
void | PrintSelf (std::ostream &os, Indent indent) const |
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 43 of file itkOtsuThresholdImageCalculator.h.
|
Reimplemented from itk::Object. Definition at line 50 of file itkOtsuThresholdImageCalculator.h. |
|
Const Pointer type for the image. Definition at line 65 of file itkOtsuThresholdImageCalculator.h. |
|
Pointer type for the image. Definition at line 62 of file itkOtsuThresholdImageCalculator.h. |
|
Type definition for the input image. Definition at line 59 of file itkOtsuThresholdImageCalculator.h. |
|
Type definition for the input image pixel type. Definition at line 68 of file itkOtsuThresholdImageCalculator.h. |
|
Reimplemented from itk::Object. Definition at line 49 of file itkOtsuThresholdImageCalculator.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 47 of file itkOtsuThresholdImageCalculator.h. |
|
Reimplemented from itk::Object. Definition at line 48 of file itkOtsuThresholdImageCalculator.h. |
|
|
|
Definition at line 87 of file itkOtsuThresholdImageCalculator.h. References HardConnectedComponentImageFilter::PrintSelf(). |
|
Compute the Otsu's threshold for the input image. |
|
Run-time type information (and related methods). Reimplemented from itk::Object. |
|
Set/Get the number of histogram bins. |
|
Return the Otsu's threshold value. |
|
Set the input image. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::Object. |
|
Set/Get the number of histogram bins. |