ITK
5.2.0
Insight Toolkit
|
#include <itkOtsuThresholdCalculator.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::HistogramThresholdCalculator< THistogram, TOutput > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
OtsuMultipleThresholdsCalculator< THistogram >::Pointer | m_OtsuMultipleThresholdsCalculator |
bool | m_ReturnBinMidpoint { false } |
virtual void | SetReturnBinMidpoint (bool _arg) |
virtual const bool & | GetReturnBinMidpoint () const |
virtual void | ReturnBinMidpointOn () |
virtual void | ReturnBinMidpointOff () |
void | Compute () |
OtsuThresholdCalculator () | |
~OtsuThresholdCalculator () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | GenerateData () override |
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 45 of file itkOtsuThresholdCalculator.h.
using itk::OtsuThresholdCalculator< THistogram, TOutput >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkOtsuThresholdCalculator.h.
using itk::OtsuThresholdCalculator< THistogram, TOutput >::HistogramType = THistogram |
Type definition for the input image.
Definition at line 63 of file itkOtsuThresholdCalculator.h.
using itk::OtsuThresholdCalculator< THistogram, TOutput >::OutputType = TOutput |
Definition at line 64 of file itkOtsuThresholdCalculator.h.
using itk::OtsuThresholdCalculator< THistogram, TOutput >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkOtsuThresholdCalculator.h.
using itk::OtsuThresholdCalculator< THistogram, TOutput >::Self = OtsuThresholdCalculator |
Standard class type aliases.
Definition at line 51 of file itkOtsuThresholdCalculator.h.
using itk::OtsuThresholdCalculator< THistogram, TOutput >::Superclass = HistogramThresholdCalculator<THistogram, TOutput> |
Definition at line 52 of file itkOtsuThresholdCalculator.h.
|
inlineprotected |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
Definition at line 81 of file itkOtsuThresholdCalculator.h.
References itk::OtsuMultipleThresholdsCalculator< TInputHistogram >::New().
|
overrideprotecteddefault |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
|
inline |
for backward compatibility. Update() should be preferred.
Definition at line 75 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 |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
Reimplemented from itk::ProcessObject.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::HistogramThresholdCalculator< THistogram, TOutput >.
|
virtual |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
|
static |
Method for creation through the object factory.
Referenced by itk::OtsuThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::OtsuThresholdImageFilter().
|
overrideprotectedvirtual |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
Reimplemented from itk::ProcessObject.
|
virtual |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
|
virtual |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
|
virtual |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
|
private |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
Definition at line 93 of file itkOtsuThresholdCalculator.h.
|
private |
Should the threshold value be mid-point of the bin or the maximum? Default is to return bin maximum.
Definition at line 97 of file itkOtsuThresholdCalculator.h.