ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkOtsuMultipleThresholdsCalculator.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputHistogram::AbsoluteFrequencyType | FrequencyType |
typedef std::vector < FrequencyType > | FrequencyVectorType |
typedef TInputHistogram::InstanceIdentifier | InstanceIdentifierType |
typedef std::vector < InstanceIdentifierType > | InstanceIdentifierVectorType |
typedef NumericTraits < MeasurementType >::RealType | MeanType |
typedef std::vector< MeanType > | MeanVectorType |
typedef TInputHistogram::MeasurementType | MeasurementType |
typedef std::vector < MeasurementType > | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef OtsuMultipleThresholdsCalculator | Self |
typedef HistogramAlgorithmBase < TInputHistogram > | Superclass |
typedef NumericTraits < MeasurementType >::RealType | VarianceType |
Public Types inherited from itk::HistogramAlgorithmBase< TInputHistogram > | |
typedef TInputHistogram | InputHistogramType |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Public Member Functions | |
const OutputType & | GetOutput () |
Public Member Functions inherited from itk::HistogramAlgorithmBase< TInputHistogram > | |
const TInputHistogram * | GetInputHistogram () const |
void | SetInputHistogram (const TInputHistogram *histogram) |
void | Update () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual unsigned long | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Protected Member Functions | |
void | GenerateData () |
bool | IncrementThresholds (InstanceIdentifierVectorType &thresholdIds, MeanType totalMean, MeanVectorType &classMean, FrequencyVectorType &classFrequency) |
HistogramAlgorithmBase () | |
virtual | ~HistogramAlgorithmBase () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
SizeValueType | m_NumberOfThresholds |
OutputType | m_Output |
virtual const char * | GetNameOfClass () const |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
static Pointer | New () |
virtual void | SetNumberOfThresholds (SizeValueType _arg) |
virtual SizeValueType | GetNumberOfThresholds () const |
OtsuMultipleThresholdsCalculator () | |
virtual | ~OtsuMultipleThresholdsCalculator () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Additional Inherited Members |
Computes Otsu's thresholds for a histogram.
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 41 of file itkOtsuMultipleThresholdsCalculator.h.
typedef SmartPointer< const Self > itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::ConstPointer |
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >.
Definition at line 49 of file itkOtsuMultipleThresholdsCalculator.h.
typedef TInputHistogram::AbsoluteFrequencyType itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::FrequencyType |
Definition at line 52 of file itkOtsuMultipleThresholdsCalculator.h.
typedef std::vector< FrequencyType > itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::FrequencyVectorType |
Definition at line 58 of file itkOtsuMultipleThresholdsCalculator.h.
typedef TInputHistogram::InstanceIdentifier itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::InstanceIdentifierType |
Definition at line 60 of file itkOtsuMultipleThresholdsCalculator.h.
typedef std::vector< InstanceIdentifierType > itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::InstanceIdentifierVectorType |
Definition at line 61 of file itkOtsuMultipleThresholdsCalculator.h.
typedef NumericTraits< MeasurementType >::RealType itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::MeanType |
Definition at line 54 of file itkOtsuMultipleThresholdsCalculator.h.
typedef std::vector< MeanType > itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::MeanVectorType |
Definition at line 57 of file itkOtsuMultipleThresholdsCalculator.h.
typedef TInputHistogram::MeasurementType itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::MeasurementType |
Definition at line 51 of file itkOtsuMultipleThresholdsCalculator.h.
typedef std::vector< MeasurementType > itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::OutputType |
Typedef for the thresholds output
Definition at line 65 of file itkOtsuMultipleThresholdsCalculator.h.
typedef SmartPointer< Self > itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::Pointer |
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >.
Definition at line 48 of file itkOtsuMultipleThresholdsCalculator.h.
typedef OtsuMultipleThresholdsCalculator itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::Self |
Standard class typedefs.
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >.
Definition at line 46 of file itkOtsuMultipleThresholdsCalculator.h.
typedef HistogramAlgorithmBase< TInputHistogram > itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::Superclass |
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >.
Definition at line 47 of file itkOtsuMultipleThresholdsCalculator.h.
typedef NumericTraits< MeasurementType >::RealType itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::VarianceType |
Definition at line 55 of file itkOtsuMultipleThresholdsCalculator.h.
|
protected |
Set/Get the number of thresholds.
|
inlineprotectedvirtual |
Set/Get the number of thresholds.
Definition at line 79 of file itkOtsuMultipleThresholdsCalculator.h.
|
virtual |
Standard Macros
Reimplemented from itk::Object.
|
protectedvirtual |
Calculates the thresholds and save them
Implements itk::HistogramAlgorithmBase< TInputHistogram >.
|
virtual |
Standard Macros
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >.
|
virtual |
Set/Get the number of thresholds.
const OutputType& itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::GetOutput | ( | ) |
Returns the thresholds vector
|
protected |
Increment the thresholds of one position
|
static |
Standard Macros
Reimplemented from itk::Object.
|
protectedvirtual |
Set/Get the number of thresholds.
Reimplemented from itk::HistogramAlgorithmBase< TInputHistogram >.
|
virtual |
Set/Get the number of thresholds.
|
private |
Internal thresholds storage
Definition at line 94 of file itkOtsuMultipleThresholdsCalculator.h.
|
private |
Definition at line 95 of file itkOtsuMultipleThresholdsCalculator.h.