![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkOtsuThresholdCalculator.h>
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 44 of file itkOtsuThresholdCalculator.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Private Attributes | |
OtsuMultipleThresholdsCalculator < THistogram >::Pointer | m_OtsuMultipleThresholdsCalculator |
Additional Inherited Members | |
![]() | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
![]() | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer<const Self> itk::OtsuThresholdCalculator< THistogram, TOutput >::ConstPointer |
Definition at line 51 of file itkOtsuThresholdCalculator.h.
typedef THistogram itk::OtsuThresholdCalculator< THistogram, TOutput >::HistogramType |
Type definition for the input image.
Definition at line 57 of file itkOtsuThresholdCalculator.h.
typedef TOutput itk::OtsuThresholdCalculator< THistogram, TOutput >::OutputType |
Definition at line 61 of file itkOtsuThresholdCalculator.h.
typedef SmartPointer<Self> itk::OtsuThresholdCalculator< THistogram, TOutput >::Pointer |
Definition at line 50 of file itkOtsuThresholdCalculator.h.
typedef OtsuThresholdCalculator itk::OtsuThresholdCalculator< THistogram, TOutput >::Self |
Standard class typedefs.
Definition at line 48 of file itkOtsuThresholdCalculator.h.
typedef HistogramThresholdCalculator<THistogram, TOutput> itk::OtsuThresholdCalculator< THistogram, TOutput >::Superclass |
Definition at line 49 of file itkOtsuThresholdCalculator.h.
|
inlineprotected |
Definition at line 70 of file itkOtsuThresholdCalculator.h.
References itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::New().
|
inlineoverrideprotectedvirtual |
Definition at line 74 of file itkOtsuThresholdCalculator.h.
|
inline |
for backward compatibility. Update() should be preferred.
Definition at line 64 of file itkOtsuThresholdCalculator.h.
|
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 >.
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
|
static |
Method for creation through the object factory.
Referenced by itk::OtsuThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::OtsuThresholdImageFilter().
|
overrideprotectedvirtual |
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::ProcessObject.
|
private |
Definition at line 79 of file itkOtsuThresholdCalculator.h.