Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkCalculateOversamplingFactor Class Reference

Calculate oversampling factor based on model properties using fuzzy logics. More...

#include <Libs/vtkSegmentationCore/vtkCalculateOversamplingFactor.h>

Inheritance diagram for vtkCalculateOversamplingFactor:
Inheritance graph
[legend]
Collaboration diagram for vtkCalculateOversamplingFactor:
Collaboration graph
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

bool CalculateOversamplingFactor ()
 
virtual const char * GetClassName ()
 
virtual vtkPolyData * GetInputPolyData ()
 
virtual bool GetLogSpeedMeasurements ()
 
virtual double GetOutputComplexityMeasure ()
 
virtual double GetOutputNormalizedShapeIndex ()
 
virtual double GetOutputOversamplingFactor ()
 
virtual double GetOutputRelativeStructureSize ()
 
virtual vtkOrientedImageDataGetReferenceGeometryImageData ()
 
virtual int IsA (const char *type)
 
virtual void LogSpeedMeasurementsOff ()
 
virtual void LogSpeedMeasurementsOn ()
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void SetInputPolyData (vtkPolyData *)
 
virtual void SetLogSpeedMeasurements (bool)
 
virtual void SetReferenceGeometryImageData (vtkOrientedImageData *)
 

Static Public Member Functions

static void ApplyOversamplingOnImageGeometry (vtkOrientedImageData *imageData, double oversamplingFactor)
 
static int IsTypeOf (const char *type)
 
static vtkCalculateOversamplingFactorNew ()
 
static vtkCalculateOversamplingFactorSafeDownCast (vtkObject *o)
 

Protected Member Functions

bool CalculateComplexityMeasure ()
 
bool CalculateRelativeStructureSize ()
 
void ClipMembershipFunction (vtkPiecewiseFunction *membershipFunction, double clipValue)
 
double DetermineOversamplingFactor ()
 
virtual vtkMassProperties * GetMassPropertiesAlgorithm ()
 
virtual void SetMassPropertiesAlgorithm (vtkMassProperties *)
 
 vtkCalculateOversamplingFactor ()
 
virtual ~vtkCalculateOversamplingFactor ()
 

Protected Attributes

vtkPolyData * InputPolyData
 Input poly data to rasterize. More...
 
bool LogSpeedMeasurements
 Flag telling whether the speed measurements are logged on standard output. More...
 
vtkMassProperties * MassPropertiesAlgorithm
 
double OutputComplexityMeasure
 Calculated complexity measure. More...
 
double OutputNormalizedShapeIndex
 Calculated normalized shape index (NSI), for debugging purposes. More...
 
double OutputOversamplingFactor
 Calculated oversampling factor for the segmentation node and its reference volume. More...
 
double OutputRelativeStructureSize
 Calculated relative structure size. More...
 
vtkOrientedImageDataReferenceGeometryImageData
 Image containing the rasterization reference geometry. More...
 

Detailed Description

Calculate oversampling factor based on model properties using fuzzy logics.

Definition at line 41 of file vtkCalculateOversamplingFactor.h.

Member Typedef Documentation

◆ Superclass

Definition at line 45 of file vtkCalculateOversamplingFactor.h.

Constructor & Destructor Documentation

◆ vtkCalculateOversamplingFactor()

vtkCalculateOversamplingFactor::vtkCalculateOversamplingFactor ( )
protected

◆ ~vtkCalculateOversamplingFactor()

virtual vtkCalculateOversamplingFactor::~vtkCalculateOversamplingFactor ( )
protectedvirtual

Member Function Documentation

◆ ApplyOversamplingOnImageGeometry()

static void vtkCalculateOversamplingFactor::ApplyOversamplingOnImageGeometry ( vtkOrientedImageData imageData,
double  oversamplingFactor 
)
static

Apply oversampling factor on image data geometry. Changes spacing and extent of oversampling factor is not 1 (and sensible)

◆ CalculateComplexityMeasure()

bool vtkCalculateOversamplingFactor::CalculateComplexityMeasure ( )
protected

Calculate complexity measure based on surface poly data in input model

Returns
Success flag

◆ CalculateOversamplingFactor()

bool vtkCalculateOversamplingFactor::CalculateOversamplingFactor ( )

Calculate oversampling factor for the input model and its rasterization reference volume based on model properties using fuzzy logics.

◆ CalculateRelativeStructureSize()

bool vtkCalculateOversamplingFactor::CalculateRelativeStructureSize ( )
protected

Calculate relative structure size from input model and rasterization reference volume

Returns
Success flag

◆ ClipMembershipFunction()

void vtkCalculateOversamplingFactor::ClipMembershipFunction ( vtkPiecewiseFunction *  membershipFunction,
double  clipValue 
)
protected

Clip a membership function with the clip value This means that the values of the membership function will be maximized at the clip value, while the function remains the same otherwise (0 values, slopes).

Parameters
membershipFunctionMembership function to clip
clipValueClip value

◆ DetermineOversamplingFactor()

double vtkCalculateOversamplingFactor::DetermineOversamplingFactor ( )
protected

Use fuzzy rules to determine oversampling factor based on calculated relative structure size and complexity measure

Returns
Automatically calculated oversampling factor

◆ GetClassName()

virtual const char* vtkCalculateOversamplingFactor::GetClassName ( )
virtual

◆ GetInputPolyData()

virtual vtkPolyData* vtkCalculateOversamplingFactor::GetInputPolyData ( )
virtual

◆ GetLogSpeedMeasurements()

virtual bool vtkCalculateOversamplingFactor::GetLogSpeedMeasurements ( )
virtual

◆ GetMassPropertiesAlgorithm()

virtual vtkMassProperties* vtkCalculateOversamplingFactor::GetMassPropertiesAlgorithm ( )
protectedvirtual

◆ GetOutputComplexityMeasure()

virtual double vtkCalculateOversamplingFactor::GetOutputComplexityMeasure ( )
virtual

◆ GetOutputNormalizedShapeIndex()

virtual double vtkCalculateOversamplingFactor::GetOutputNormalizedShapeIndex ( )
virtual

◆ GetOutputOversamplingFactor()

virtual double vtkCalculateOversamplingFactor::GetOutputOversamplingFactor ( )
virtual

◆ GetOutputRelativeStructureSize()

virtual double vtkCalculateOversamplingFactor::GetOutputRelativeStructureSize ( )
virtual

◆ GetReferenceGeometryImageData()

virtual vtkOrientedImageData* vtkCalculateOversamplingFactor::GetReferenceGeometryImageData ( )
virtual

◆ IsA()

virtual int vtkCalculateOversamplingFactor::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkCalculateOversamplingFactor::IsTypeOf ( const char *  type)
static

◆ LogSpeedMeasurementsOff()

virtual void vtkCalculateOversamplingFactor::LogSpeedMeasurementsOff ( )
virtual

◆ LogSpeedMeasurementsOn()

virtual void vtkCalculateOversamplingFactor::LogSpeedMeasurementsOn ( )
virtual

◆ New()

static vtkCalculateOversamplingFactor* vtkCalculateOversamplingFactor::New ( )
static

◆ PrintSelf()

void vtkCalculateOversamplingFactor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ SafeDownCast()

static vtkCalculateOversamplingFactor* vtkCalculateOversamplingFactor::SafeDownCast ( vtkObject *  o)
static

◆ SetInputPolyData()

virtual void vtkCalculateOversamplingFactor::SetInputPolyData ( vtkPolyData *  )
virtual

◆ SetLogSpeedMeasurements()

virtual void vtkCalculateOversamplingFactor::SetLogSpeedMeasurements ( bool  )
virtual

◆ SetMassPropertiesAlgorithm()

virtual void vtkCalculateOversamplingFactor::SetMassPropertiesAlgorithm ( vtkMassProperties *  )
protectedvirtual

◆ SetReferenceGeometryImageData()

virtual void vtkCalculateOversamplingFactor::SetReferenceGeometryImageData ( vtkOrientedImageData )
virtual

Member Data Documentation

◆ InputPolyData

vtkPolyData* vtkCalculateOversamplingFactor::InputPolyData
protected

Input poly data to rasterize.

Definition at line 96 of file vtkCalculateOversamplingFactor.h.

◆ LogSpeedMeasurements

bool vtkCalculateOversamplingFactor::LogSpeedMeasurements
protected

Flag telling whether the speed measurements are logged on standard output.

Definition at line 116 of file vtkCalculateOversamplingFactor.h.

◆ MassPropertiesAlgorithm

vtkMassProperties* vtkCalculateOversamplingFactor::MassPropertiesAlgorithm
protected

Temporary storage for mass properties algorithm that is used in both sub-calculations

See also
CalculateRelativeStructureSize and CalculateComplexityMeasure

Definition at line 120 of file vtkCalculateOversamplingFactor.h.

◆ OutputComplexityMeasure

double vtkCalculateOversamplingFactor::OutputComplexityMeasure
protected

Calculated complexity measure.

Definition at line 111 of file vtkCalculateOversamplingFactor.h.

◆ OutputNormalizedShapeIndex

double vtkCalculateOversamplingFactor::OutputNormalizedShapeIndex
protected

Calculated normalized shape index (NSI), for debugging purposes.

Definition at line 113 of file vtkCalculateOversamplingFactor.h.

◆ OutputOversamplingFactor

double vtkCalculateOversamplingFactor::OutputOversamplingFactor
protected

Calculated oversampling factor for the segmentation node and its reference volume.

Definition at line 106 of file vtkCalculateOversamplingFactor.h.

◆ OutputRelativeStructureSize

double vtkCalculateOversamplingFactor::OutputRelativeStructureSize
protected

Calculated relative structure size.

Definition at line 109 of file vtkCalculateOversamplingFactor.h.

◆ ReferenceGeometryImageData

vtkOrientedImageData* vtkCalculateOversamplingFactor::ReferenceGeometryImageData
protected

Image containing the rasterization reference geometry.

Definition at line 103 of file vtkCalculateOversamplingFactor.h.


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