Function: getVoxelThicknessAlongNormal()
getVoxelThicknessAlongNormal(
volume,normal):number
Calculates the thickness of a single voxel along normal: the support width
of the voxel box, Σᵢ |dᵢ · n| * sᵢ.
This is the L1 length, deliberately not the L2 length that
getSpacingInNormalDirection returns. See
docs/docs/concepts/cornerstone-tools/annotation/voxel-statistics.md.
Parameters
• volume: ImageVolume | object
The volume, or anything carrying its direction and spacing.
• normal: Point3
The direction to measure along. Assumed to be a unit vector.
Returns
number
The voxel thickness along the normal, in world units (mm).
Defined in
packages/core/src/utilities/voxelSlab/getVoxelThicknessAlongNormal.ts:17