Class CalculateNumberVoxels

All Implemented Interfaces:
ResettableCalculation

public class CalculateNumberVoxels extends CalculationPart<Double,FeatureInputSingleObject>
Calculates the number of voxels in a single object, optionally flattening in the Z-dimension.

This calculation part can either count the voxels in the 3D object or in its 2D projection (flattened in the Z-dimension), depending on the flattenZ parameter.