#include <itkOtsuThresholdImageCalculator.h>
Inheritance diagram for itk::OtsuThresholdImageCalculator< TInputImage >:
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 Member Functions | |
virtual const char * | GetNameOfClass () const |
virtual void | SetImage (const ImageType *_arg) |
void | Compute (void) |
virtual PixelType | GetThreshold () |
virtual void | SetNumberOfHistogramBins (unsigned long _arg) |
virtual unsigned long | GetNumberOfHistogramBins () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
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. Referenced by itk::OtsuThresholdImageCalculator< TInputImage >::~OtsuThresholdImageCalculator(). |
|
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. Referenced by itk::OtsuThresholdImageCalculator< TInputImage >::~OtsuThresholdImageCalculator(). |
|
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. Referenced by itk::OtsuThresholdImageCalculator< TInputImage >::~OtsuThresholdImageCalculator(). |
|
Reimplemented from itk::Object. Definition at line 48 of file itkOtsuThresholdImageCalculator.h. |
|
|
|
|
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. Default is 128. |
|
Return the Otsu's threshold value. |
|
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 the input image. |
|
Set/Get the number of histogram bins. Default is 128. |