SimpleITK  1.1.0
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
itk::simple::ObjectnessMeasureImageFilter Class Reference

#include <sitkObjectnessMeasureImageFilter.h>

+ Inheritance diagram for itk::simple::ObjectnessMeasureImageFilter:
+ Collaboration diagram for itk::simple::ObjectnessMeasureImageFilter:

Public Types

typedef RealPixelIDTypeList PixelIDTypeList
 
typedef ObjectnessMeasureImageFilter Self
 
- Public Types inherited from itk::simple::ImageFilter< 1 >
typedef ImageFilter Self
 
- Public Types inherited from itk::simple::ProcessObject
typedef ProcessObject Self
 

Public Member Functions

SelfBrightObjectOff ()
 
SelfBrightObjectOn ()
 
Image Execute (const Image &image1)
 
Image Execute (const Image &image1, double alpha, double beta, double gamma, bool scaleObjectnessMeasure, unsigned int objectDimension, bool brightObject)
 
double GetAlpha () const
 
double GetBeta () const
 
bool GetBrightObject () const
 
double GetGamma () const
 
std::string GetName () const
 
unsigned int GetObjectDimension () const
 
bool GetScaleObjectnessMeasure () const
 
 ObjectnessMeasureImageFilter ()
 
SelfScaleObjectnessMeasureOff ()
 
SelfScaleObjectnessMeasureOn ()
 
SelfSetAlpha (double Alpha)
 
SelfSetBeta (double Beta)
 
SelfSetBrightObject (bool BrightObject)
 
SelfSetGamma (double Gamma)
 
SelfSetObjectDimension (unsigned int ObjectDimension)
 
SelfSetScaleObjectnessMeasure (bool ScaleObjectnessMeasure)
 
std::string ToString () const
 
virtual ~ObjectnessMeasureImageFilter ()
 
- Public Member Functions inherited from itk::simple::ImageFilter< 1 >
 ImageFilter ()
 
virtual ~ImageFilter ()=0
 
- Public Member Functions inherited from itk::simple::ProcessObject
virtual void Abort ()
 
virtual int AddCommand (itk::simple::EventEnum event, itk::simple::Command &cmd)
 Add a Command Object to observer the event. More...
 
virtual float GetProgress () const
 An Active Measurement of the progress of execution. More...
 
virtual bool HasCommand (itk::simple::EventEnum event) const
 Query of this object has any registered commands for event. More...
 
 ProcessObject ()
 
virtual void RemoveAllCommands ()
 Remove all registered commands. More...
 
virtual ~ProcessObject ()
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
virtual bool GetDebug () const
 
virtual void SetDebug (bool debugFlag)
 
virtual void SetNumberOfThreads (unsigned int n)
 
virtual unsigned int GetNumberOfThreads () const
 

Private Types

typedef Image(Self::* MemberFunctionType) (const Image &image1)
 

Private Member Functions

template<class TImageType >
Image ExecuteInternal (const Image &image1)
 

Private Attributes

double m_Alpha
 
double m_Beta
 
bool m_BrightObject
 
double m_Gamma
 
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
 
unsigned int m_ObjectDimension
 
bool m_ScaleObjectnessMeasure
 

Friends

struct detail::MemberFunctionAddressor< MemberFunctionType >
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::simple::ProcessObject
static bool GetGlobalDefaultDebug ()
 
static void GlobalDefaultDebugOff ()
 
static void GlobalDefaultDebugOn ()
 
static void SetGlobalDefaultDebug (bool debugFlag)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static void SetGlobalWarningDisplay (bool flag)
 
static bool GetGlobalWarningDisplay ()
 
static void SetGlobalDefaultNumberOfThreads (unsigned int n)
 
static unsigned int GetGlobalDefaultNumberOfThreads ()
 
static double GetGlobalDefaultCoordinateTolerance ()
 Access the global tolerance to determine congruent spaces. More...
 
static void SetGlobalDefaultCoordinateTolerance (double)
 Access the global tolerance to determine congruent spaces. More...
 
static double GetGlobalDefaultDirectionTolerance ()
 Access the global tolerance to determine congruent spaces. More...
 
static void SetGlobalDefaultDirectionTolerance (double)
 Access the global tolerance to determine congruent spaces. More...
 
- Protected Member Functions inherited from itk::simple::ProcessObject
virtual unsigned long AddITKObserver (const itk::EventObject &, itk::Command *)
 
virtual itk::ProcessObjectGetActiveProcess ()
 
virtual void OnActiveProcessDelete ()
 
virtual void onCommandDelete (const itk::simple::Command *cmd) SITK_NOEXCEPT
 
virtual void PreUpdate (itk::ProcessObject *p)
 
virtual void RemoveITKObserver (EventCommand &e)
 
- Protected Member Functions inherited from itk::simple::NonCopyable
 NonCopyable ()
 
- Static Protected Member Functions inherited from itk::simple::ImageFilter< 1 >
static void FixNonZeroIndex (TImageType *img)
 
- Static Protected Member Functions inherited from itk::simple::ProcessObject
template<class TImageType >
static TImageType::ConstPointer CastImageToITK (const Image &img)
 
template<class TPixelType , unsigned int VImageDimension, unsigned int VLength, template< typename, unsigned int > class TVector>
static Image CastITKToImage (itk::Image< TVector< TPixelType, VLength >, VImageDimension > *img)
 
template<class TImageType >
static Image CastITKToImage (TImageType *img)
 
static const itk::EventObjectGetITKEventObject (EventEnum e)
 
template<typename T >
static std::ostream & ToStringHelper (std::ostream &os, const T &v)
 
static std::ostream & ToStringHelper (std::ostream &os, const char &v)
 
static std::ostream & ToStringHelper (std::ostream &os, const signed char &v)
 
static std::ostream & ToStringHelper (std::ostream &os, const unsigned char &v)
 

Detailed Description

This is a composite filter which combines a computation of the hessian with computation of the objectness.

See also
itk::simple::ObjectnessMeasure for the procedural interface
itk::ObjectnessMeasureImageFilter for the Doxygen on the original ITK class.

Definition at line 42 of file sitkObjectnessMeasureImageFilter.h.

Member Typedef Documentation

◆ MemberFunctionType

typedef Image(Self::* itk::simple::ObjectnessMeasureImageFilter::MemberFunctionType) (const Image &image1)
private

Setup for member function dispatching

Definition at line 143 of file sitkObjectnessMeasureImageFilter.h.

◆ PixelIDTypeList

Define the pixels types supported by this filter

Definition at line 54 of file sitkObjectnessMeasureImageFilter.h.

◆ Self

Definition at line 44 of file sitkObjectnessMeasureImageFilter.h.

Constructor & Destructor Documentation

◆ ~ObjectnessMeasureImageFilter()

virtual itk::simple::ObjectnessMeasureImageFilter::~ObjectnessMeasureImageFilter ( )
virtual

Destructor

◆ ObjectnessMeasureImageFilter()

itk::simple::ObjectnessMeasureImageFilter::ObjectnessMeasureImageFilter ( )

Default Constructor that takes no arguments and initializes default parameters

Member Function Documentation

◆ BrightObjectOff()

Self& itk::simple::ObjectnessMeasureImageFilter::BrightObjectOff ( )
inline

Definition at line 119 of file sitkObjectnessMeasureImageFilter.h.

◆ BrightObjectOn()

Self& itk::simple::ObjectnessMeasureImageFilter::BrightObjectOn ( )
inline

Set the value of BrightObject to true or false respectfully.

Definition at line 118 of file sitkObjectnessMeasureImageFilter.h.

◆ Execute() [1/2]

Image itk::simple::ObjectnessMeasureImageFilter::Execute ( const Image image1)

Execute the filter on the input image

◆ Execute() [2/2]

Image itk::simple::ObjectnessMeasureImageFilter::Execute ( const Image image1,
double  alpha,
double  beta,
double  gamma,
bool  scaleObjectnessMeasure,
unsigned int  objectDimension,
bool  brightObject 
)

Execute the filter on the input image with the given parameters

◆ ExecuteInternal()

template<class TImageType >
Image itk::simple::ObjectnessMeasureImageFilter::ExecuteInternal ( const Image image1)
private

◆ GetAlpha()

double itk::simple::ObjectnessMeasureImageFilter::GetAlpha ( ) const
inline

Set/Get Alpha, the weight corresponding to R_A (the ratio of the smallest eigenvalue that has to be large to the larger ones). Smaller values lead to increased sensitivity to the object dimensionality.

Definition at line 66 of file sitkObjectnessMeasureImageFilter.h.

◆ GetBeta()

double itk::simple::ObjectnessMeasureImageFilter::GetBeta ( ) const
inline

Set/Get Beta, the weight corresponding to R_B (the ratio of the largest eigenvalue that has to be small to the larger ones). Smaller values lead to increased sensitivity to the object dimensionality.

Definition at line 76 of file sitkObjectnessMeasureImageFilter.h.

◆ GetBrightObject()

bool itk::simple::ObjectnessMeasureImageFilter::GetBrightObject ( ) const
inline

Enhance bright structures on a dark background if true, the opposite if false.

Definition at line 124 of file sitkObjectnessMeasureImageFilter.h.

◆ GetGamma()

double itk::simple::ObjectnessMeasureImageFilter::GetGamma ( ) const
inline

Set/Get Gamma, the weight corresponding to S (the Frobenius norm of the Hessian matrix, or second-order structureness)

Definition at line 86 of file sitkObjectnessMeasureImageFilter.h.

◆ GetName()

std::string itk::simple::ObjectnessMeasureImageFilter::GetName ( ) const
inlinevirtual

Name of this class

Implements itk::simple::ProcessObject.

Definition at line 126 of file sitkObjectnessMeasureImageFilter.h.

◆ GetObjectDimension()

unsigned int itk::simple::ObjectnessMeasureImageFilter::GetObjectDimension ( ) const
inline

Set/Get the dimensionality of the object (0: points (blobs), 1: lines (vessels), 2: planes (plate-like structures), 3: hyper-planes. ObjectDimension must be smaller than ImageDimension.

Definition at line 110 of file sitkObjectnessMeasureImageFilter.h.

◆ GetScaleObjectnessMeasure()

bool itk::simple::ObjectnessMeasureImageFilter::GetScaleObjectnessMeasure ( ) const
inline

Toggle scaling the objectness measure with the magnitude of the largest absolute eigenvalue

Definition at line 100 of file sitkObjectnessMeasureImageFilter.h.

◆ ScaleObjectnessMeasureOff()

Self& itk::simple::ObjectnessMeasureImageFilter::ScaleObjectnessMeasureOff ( )
inline

Definition at line 95 of file sitkObjectnessMeasureImageFilter.h.

◆ ScaleObjectnessMeasureOn()

Self& itk::simple::ObjectnessMeasureImageFilter::ScaleObjectnessMeasureOn ( )
inline

Set the value of ScaleObjectnessMeasure to true or false respectfully.

Definition at line 94 of file sitkObjectnessMeasureImageFilter.h.

◆ SetAlpha()

Self& itk::simple::ObjectnessMeasureImageFilter::SetAlpha ( double  Alpha)
inline

Set/Get Alpha, the weight corresponding to R_A (the ratio of the smallest eigenvalue that has to be large to the larger ones). Smaller values lead to increased sensitivity to the object dimensionality.

Definition at line 61 of file sitkObjectnessMeasureImageFilter.h.

◆ SetBeta()

Self& itk::simple::ObjectnessMeasureImageFilter::SetBeta ( double  Beta)
inline

Set/Get Beta, the weight corresponding to R_B (the ratio of the largest eigenvalue that has to be small to the larger ones). Smaller values lead to increased sensitivity to the object dimensionality.

Definition at line 71 of file sitkObjectnessMeasureImageFilter.h.

◆ SetBrightObject()

Self& itk::simple::ObjectnessMeasureImageFilter::SetBrightObject ( bool  BrightObject)
inline

Enhance bright structures on a dark background if true, the opposite if false.

Definition at line 115 of file sitkObjectnessMeasureImageFilter.h.

◆ SetGamma()

Self& itk::simple::ObjectnessMeasureImageFilter::SetGamma ( double  Gamma)
inline

Set/Get Gamma, the weight corresponding to S (the Frobenius norm of the Hessian matrix, or second-order structureness)

Definition at line 81 of file sitkObjectnessMeasureImageFilter.h.

◆ SetObjectDimension()

Self& itk::simple::ObjectnessMeasureImageFilter::SetObjectDimension ( unsigned int  ObjectDimension)
inline

Set/Get the dimensionality of the object (0: points (blobs), 1: lines (vessels), 2: planes (plate-like structures), 3: hyper-planes. ObjectDimension must be smaller than ImageDimension.

Definition at line 105 of file sitkObjectnessMeasureImageFilter.h.

◆ SetScaleObjectnessMeasure()

Self& itk::simple::ObjectnessMeasureImageFilter::SetScaleObjectnessMeasure ( bool  ScaleObjectnessMeasure)
inline

Toggle scaling the objectness measure with the magnitude of the largest absolute eigenvalue

Definition at line 91 of file sitkObjectnessMeasureImageFilter.h.

◆ ToString()

std::string itk::simple::ObjectnessMeasureImageFilter::ToString ( ) const
virtual

Print ourselves out

Reimplemented from itk::simple::ProcessObject.

Friends And Related Function Documentation

◆ detail::MemberFunctionAddressor< MemberFunctionType >

Definition at line 147 of file sitkObjectnessMeasureImageFilter.h.

Member Data Documentation

◆ m_Alpha

double itk::simple::ObjectnessMeasureImageFilter::m_Alpha
private

Definition at line 152 of file sitkObjectnessMeasureImageFilter.h.

◆ m_Beta

double itk::simple::ObjectnessMeasureImageFilter::m_Beta
private

Definition at line 154 of file sitkObjectnessMeasureImageFilter.h.

◆ m_BrightObject

bool itk::simple::ObjectnessMeasureImageFilter::m_BrightObject
private

Definition at line 158 of file sitkObjectnessMeasureImageFilter.h.

◆ m_Gamma

double itk::simple::ObjectnessMeasureImageFilter::m_Gamma
private

Definition at line 155 of file sitkObjectnessMeasureImageFilter.h.

◆ m_MemberFactory

nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> > itk::simple::ObjectnessMeasureImageFilter::m_MemberFactory
private

Definition at line 149 of file sitkObjectnessMeasureImageFilter.h.

◆ m_ObjectDimension

unsigned int itk::simple::ObjectnessMeasureImageFilter::m_ObjectDimension
private

Definition at line 157 of file sitkObjectnessMeasureImageFilter.h.

◆ m_ScaleObjectnessMeasure

bool itk::simple::ObjectnessMeasureImageFilter::m_ScaleObjectnessMeasure
private

Definition at line 156 of file sitkObjectnessMeasureImageFilter.h.


The documentation for this class was generated from the following file: