#include <itkOtsuMultipleThresholdsCalculator.h>
Inheritance diagram for itk::OtsuMultipleThresholdsCalculator< TInputHistogram >:
[NOHEADER] | |
virtual const char * | GetNameOfClass () const |
Pointer | New () |
Public Types | |
typedef OtsuMultipleThresholdsCalculator | Self |
typedef HistogramAlgorithmBase< TInputHistogram > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputHistogram::MeasurementType | MeasurementType |
typedef TInputHistogram::FrequencyType | FrequencyType |
typedef NumericTraits< MeasurementType >::RealType | MeanType |
typedef NumericTraits< MeasurementType >::RealType | VarianceType |
typedef std::vector< MeanType > | MeanVectorType |
typedef std::vector< FrequencyType > | FrequencyVectorType |
typedef TInputHistogram::InstanceIdentifier | InstanceIdentifierType |
typedef std::vector< InstanceIdentifierType > | InstanceIdentifierVectorType |
typedef std::vector< MeasurementType > | OutputType |
Public Member Functions | |
const OutputType & | GetOutput () |
virtual void | SetNumberOfThresholds (unsigned long _arg) |
virtual unsigned long | GetNumberOfThresholds () |
Protected Member Functions | |
OtsuMultipleThresholdsCalculator () | |
virtual | ~OtsuMultipleThresholdsCalculator () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
bool | IncrementThresholds (InstanceIdentifierVectorType &thresholdIds, MeanType totalMean, MeanVectorType &classMean, FrequencyVectorType &classFrequency) |
You plug in the target histogram using SetInputHistogram method and specify the number of thresholds you want to be computed. Then call the GenerateData method to run the alogithm.
The thresholds are computed so that the between-class variance is maximized.
Definition at line 40 of file itkOtsuMultipleThresholdsCalculator.h.
|
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >. Definition at line 48 of file itkOtsuMultipleThresholdsCalculator.h. |
|
Definition at line 51 of file itkOtsuMultipleThresholdsCalculator.h. |
|
Definition at line 57 of file itkOtsuMultipleThresholdsCalculator.h. Referenced by itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::~OtsuMultipleThresholdsCalculator(). |
|
Definition at line 59 of file itkOtsuMultipleThresholdsCalculator.h. |
|
Definition at line 60 of file itkOtsuMultipleThresholdsCalculator.h. Referenced by itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::~OtsuMultipleThresholdsCalculator(). |
|
Definition at line 53 of file itkOtsuMultipleThresholdsCalculator.h. Referenced by itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::~OtsuMultipleThresholdsCalculator(). |
|
Definition at line 56 of file itkOtsuMultipleThresholdsCalculator.h. Referenced by itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::~OtsuMultipleThresholdsCalculator(). |
|
Definition at line 50 of file itkOtsuMultipleThresholdsCalculator.h. |
|
Typedef for the thresholds output Definition at line 68 of file itkOtsuMultipleThresholdsCalculator.h. Referenced by itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::~OtsuMultipleThresholdsCalculator(). |
|
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >. Definition at line 47 of file itkOtsuMultipleThresholdsCalculator.h. |
|
Standard class typedefs. Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >. Definition at line 45 of file itkOtsuMultipleThresholdsCalculator.h. |
|
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >. Definition at line 46 of file itkOtsuMultipleThresholdsCalculator.h. |
|
Definition at line 54 of file itkOtsuMultipleThresholdsCalculator.h. |
|
|
|
|
Calculates the thresholds and save them Implements itk::HistogramAlgorithmBase< TInputHistogram >. |
|
Standard Macros Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >. |
|
Set/Get the number of thresholds. |
|
Returns the thresholds vector |
|
Increment the thresholds of one position |
|
Standard Macros 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::HistogramAlgorithmBase< TInputHistogram >. |
|
Set/Get the number of thresholds. |