![]() |
ITK
5.4.0
Insight Toolkit
|
#include <itkRobustAutomaticThresholdCalculator.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | GradientImageConstPointer = typename GradientImageType::ConstPointer |
using | GradientImagePointer = typename GradientImageType::Pointer |
using | GradientImageType = TGradientImage |
using | GradientPixelType = typename GradientImageType::PixelType |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageType = TInputImage |
using | InputPixelType = typename InputImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = RobustAutomaticThresholdCalculator |
using | Superclass = Object |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
void | Compute () |
virtual const char * | GetNameOfClass () const |
const InputPixelType & | GetOutput () const |
virtual double | GetPow () const |
virtual void | SetGradient (const GradientImageType *image) |
virtual void | SetPow (double _arg) |
virtual void | SetInput (const InputImageType *image) |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | 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 |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkTypeMacroNoParent (LightObject) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
RobustAutomaticThresholdCalculator () | |
~RobustAutomaticThresholdCalculator () override=default | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
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 | |
GradientImageConstPointer | m_Gradient {} |
InputImageConstPointer | m_Input {} |
InputPixelType | m_Output {} |
double | m_Pow { 1 } |
bool | m_Valid { false } |
Additional Inherited Members | |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Compute the robust automatic threshold.
This code was contributed in the Insight Journal paper: "Robust Automatic Threshold Selection" by Lehmann G. https://hdl.handle.net/1926/370 https://www.insight-journal.org/browse/publication/134
Definition at line 41 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 50 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImageConstPointer = typename GradientImageType::ConstPointer |
Definition at line 69 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImagePointer = typename GradientImageType::Pointer |
Definition at line 68 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientImageType = TGradientImage |
Definition at line 63 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GradientPixelType = typename GradientImageType::PixelType |
Definition at line 71 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 67 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImagePointer = typename InputImageType::Pointer |
Standard image type pointer within this class.
Definition at line 66 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputImageType = TInputImage |
Standard image type within this class.
Definition at line 62 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::InputPixelType = typename InputImageType::PixelType |
Definition at line 70 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Pointer = SmartPointer<Self> |
Definition at line 49 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Self = RobustAutomaticThresholdCalculator |
Standard class type aliases.
Definition at line 47 of file itkRobustAutomaticThresholdCalculator.h.
using itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Superclass = Object |
Definition at line 48 of file itkRobustAutomaticThresholdCalculator.h.
|
protected |
|
overrideprotecteddefault |
void itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::Compute | ( | ) |
Compute moments of a new or modified image. This method computes the moments of the image given as a parameter and stores them in the object. The values of these moments and related parameters can then be retrieved by using other methods of this object.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Object.
const InputPixelType& itk::RobustAutomaticThresholdCalculator< TInputImage, TGradientImage >::GetOutput | ( | ) | const |
|
virtual |
|
static |
Method for creation through the object factory.
|
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::Object.
|
inlinevirtual |
Definition at line 87 of file itkRobustAutomaticThresholdCalculator.h.
|
inlinevirtual |
Set the input image.
Definition at line 75 of file itkRobustAutomaticThresholdCalculator.h.
|
virtual |
|
staticconstexpr |
Extract the dimension of the image.
Definition at line 59 of file itkRobustAutomaticThresholdCalculator.h.
|
private |
Definition at line 123 of file itkRobustAutomaticThresholdCalculator.h.
|
private |
Definition at line 122 of file itkRobustAutomaticThresholdCalculator.h.
|
private |
Definition at line 120 of file itkRobustAutomaticThresholdCalculator.h.
|
private |
Definition at line 119 of file itkRobustAutomaticThresholdCalculator.h.
|
private |
Definition at line 118 of file itkRobustAutomaticThresholdCalculator.h.