24 #ifndef __vtkCalculateOversamplingFactor_h 25 #define __vtkCalculateOversamplingFactor_h 28 #include <vtkObject.h> 29 #include <vtkMassProperties.h> 30 #include <vtkPolyData.h> 35 #include "vtkSegmentationCoreConfigure.h" 37 class vtkPiecewiseFunction;
46 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
51 bool CalculateOversamplingFactor();
55 static void ApplyOversamplingOnImageGeometry(
vtkOrientedImageData* imageData,
double oversamplingFactor);
60 bool CalculateRelativeStructureSize();
64 bool CalculateComplexityMeasure();
68 double DetermineOversamplingFactor();
75 void ClipMembershipFunction(vtkPiecewiseFunction* membershipFunction,
double clipValue);
78 vtkGetObjectMacro(InputPolyData, vtkPolyData);
79 vtkSetObjectMacro(InputPolyData, vtkPolyData);
84 vtkGetMacro(OutputOversamplingFactor,
double);
86 vtkGetMacro(OutputRelativeStructureSize,
double);
87 vtkGetMacro(OutputComplexityMeasure,
double);
88 vtkGetMacro(OutputNormalizedShapeIndex,
double);
90 vtkGetMacro(LogSpeedMeasurements,
bool);
91 vtkSetMacro(LogSpeedMeasurements,
bool);
92 vtkBooleanMacro(LogSpeedMeasurements,
bool);
95 vtkGetObjectMacro(MassPropertiesAlgorithm, vtkMassProperties);
96 vtkSetObjectMacro(MassPropertiesAlgorithm, vtkMassProperties);
double OutputOversamplingFactor
Calculated oversampling factor for the segmentation node and its reference volume.
double OutputRelativeStructureSize
Calculated relative structure size.
double OutputComplexityMeasure
Calculated complexity measure.
Image data containing orientation information.
double OutputNormalizedShapeIndex
Calculated normalized shape index (NSI), for debugging purposes.
Calculate oversampling factor based on model properties using fuzzy logics.
vtkMassProperties * MassPropertiesAlgorithm
vtkOrientedImageData * ReferenceGeometryImageData
Image containing the rasterization reference geometry.
vtkPolyData * InputPolyData
Input poly data to rasterize.
bool LogSpeedMeasurements
Flag telling whether the speed measurements are logged on standard output.