ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkOtsuThresholdCalculator.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef THistogram | HistogramType |
typedef TOutput | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef OtsuThresholdCalculator | Self |
typedef Object | Superclass |
Public Member Functions | |
void | Compute () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | GenerateData (void) |
OtsuThresholdCalculator () | |
virtual | ~OtsuThresholdCalculator () |
Private Member Functions | |
void | operator= (const Self &) |
OtsuThresholdCalculator (const Self &) |
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 histogram type.
Definition at line 43 of file itkOtsuThresholdCalculator.h.
typedef SmartPointer<const Self> itk::OtsuThresholdCalculator< THistogram, TOutput >::ConstPointer |
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
Definition at line 50 of file itkOtsuThresholdCalculator.h.
typedef THistogram itk::OtsuThresholdCalculator< THistogram, TOutput >::HistogramType |
Type definition for the input image.
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
Definition at line 56 of file itkOtsuThresholdCalculator.h.
typedef TOutput itk::OtsuThresholdCalculator< THistogram, TOutput >::OutputType |
output object type
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
Definition at line 60 of file itkOtsuThresholdCalculator.h.
typedef SmartPointer<Self> itk::OtsuThresholdCalculator< THistogram, TOutput >::Pointer |
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
Definition at line 49 of file itkOtsuThresholdCalculator.h.
typedef OtsuThresholdCalculator itk::OtsuThresholdCalculator< THistogram, TOutput >::Self |
Standard class typedefs.
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
Definition at line 47 of file itkOtsuThresholdCalculator.h.
typedef Object itk::OtsuThresholdCalculator< THistogram, TOutput >::Superclass |
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
Definition at line 48 of file itkOtsuThresholdCalculator.h.
itk::OtsuThresholdCalculator< THistogram, TOutput >::OtsuThresholdCalculator | ( | ) | [inline, protected] |
Definition at line 69 of file itkOtsuThresholdCalculator.h.
virtual itk::OtsuThresholdCalculator< THistogram, TOutput >::~OtsuThresholdCalculator | ( | ) | [inline, protected, virtual] |
Definition at line 70 of file itkOtsuThresholdCalculator.h.
itk::OtsuThresholdCalculator< THistogram, TOutput >::OtsuThresholdCalculator | ( | const Self & | ) | [private] |
void itk::OtsuThresholdCalculator< THistogram, TOutput >::Compute | ( | void | ) | [inline] |
for backward compatibility. Update() should be prefered.
Definition at line 63 of file itkOtsuThresholdCalculator.h.
virtual::itk::LightObject::Pointer itk::OtsuThresholdCalculator< THistogram, TOutput >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
void itk::OtsuThresholdCalculator< THistogram, TOutput >::GenerateData | ( | void | ) | [protected, virtual] |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
virtual const char* itk::OtsuThresholdCalculator< THistogram, TOutput >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
static Pointer itk::OtsuThresholdCalculator< THistogram, TOutput >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
void itk::OtsuThresholdCalculator< THistogram, TOutput >::operator= | ( | const Self & | ) | [private] |
Time when GenerateOutputInformation was last called.
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.