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)
override;
51 bool CalculateOversamplingFactor();
57 static void ApplyOversamplingOnImageGeometry(
vtkOrientedImageData* imageData,
double oversamplingFactor);
62 bool CalculateRelativeStructureSize();
66 bool CalculateComplexityMeasure();
70 double DetermineOversamplingFactor();
77 void ClipMembershipFunction(vtkPiecewiseFunction* membershipFunction,
double clipValue);
80 vtkGetObjectMacro(InputPolyData, vtkPolyData);
81 vtkSetObjectMacro(InputPolyData, vtkPolyData);
86 vtkGetMacro(OutputOversamplingFactor,
double);
88 vtkGetMacro(OutputRelativeStructureSize,
double);
89 vtkGetMacro(OutputComplexityMeasure,
double);
90 vtkGetMacro(OutputNormalizedShapeIndex,
double);
92 vtkGetMacro(LogSpeedMeasurements,
bool);
93 vtkSetMacro(LogSpeedMeasurements,
bool);
94 vtkBooleanMacro(LogSpeedMeasurements,
bool);
97 vtkGetObjectMacro(MassPropertiesAlgorithm, vtkMassProperties);
98 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.