24#ifndef __vtkCalculateOversamplingFactor_h
25#define __vtkCalculateOversamplingFactor_h
29#include <vtkMassProperties.h>
30#include <vtkPolyData.h>
35#include "vtkSegmentationCoreConfigure.h"
37class vtkPiecewiseFunction;
46 void PrintSelf(ostream& os, vtkIndent indent)
override;
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);
Calculate oversampling factor based on model properties using fuzzy logics.
static vtkCalculateOversamplingFactor * New()
double OutputOversamplingFactor
Calculated oversampling factor for the segmentation node and its reference volume.
double OutputComplexityMeasure
Calculated complexity measure.
vtkMassProperties * MassPropertiesAlgorithm
bool CalculateOversamplingFactor()
void ClipMembershipFunction(vtkPiecewiseFunction *membershipFunction, double clipValue)
~vtkCalculateOversamplingFactor() override
double OutputNormalizedShapeIndex
Calculated normalized shape index (NSI), for debugging purposes.
bool CalculateRelativeStructureSize()
static void ApplyOversamplingOnImageGeometry(vtkOrientedImageData *imageData, double oversamplingFactor)
void PrintSelf(ostream &os, vtkIndent indent) override
double DetermineOversamplingFactor()
vtkCalculateOversamplingFactor()
double OutputRelativeStructureSize
Calculated relative structure size.
bool CalculateComplexityMeasure()
bool LogSpeedMeasurements
Flag telling whether the speed measurements are logged on standard output.
vtkPolyData * InputPolyData
Input poly data to rasterize.
vtkOrientedImageData * ReferenceGeometryImageData
Image containing the rasterization reference geometry.
Image data containing orientation information.