Skip to content

Main content

Imaging Voxel Cubic Unit

Compute a rectangular voxel volume from explicit positive axis spacings without segmenting an image or measuring a lesion.

Loading tool…

Description

Calculate ideal voxel volume from three supplied spacings.

Medical-image metadata separates patient position, laterality, pixel spacing, slice spacing, padding and frame timing. Row and column spacing order matters, and slice spacing is distinct from slice thickness. A rectangular voxel or constant-frame model uses declared geometry; it does not inspect images, confirm a patient or establish a clinical finding.

Calculate ideal voxel volume from three supplied spacings.

When to use this tool

Use Imaging Voxel Cubic Unit when you already have rowSpacingMillimeters, columnSpacingMillimeters, sliceSpacingMillimeters and need to calculate ideal voxel volume from three supplied spacings.

How to use the tool and how it works

  1. Enter rowSpacingMillimeters, columnSpacingMillimeters, sliceSpacingMillimeters. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read voxelCubicMillimeters, voxelCubicCentimeters. Use the output convention below.

Require row, column and slice spacings>0 in mm; multiply for mm³ and divide by 1000 for cm³.1

Input fieldMeaning and unitsAccepted input
rowSpacingMillimetersRow Spacing MillimetersRequired. Finite number; strictly above 0.
columnSpacingMillimetersColumn Spacing MillimetersRequired. Finite number; strictly above 0.
sliceSpacingMillimetersPositive inter-slice spacing in mm, not automatically slice thickness.Required. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
voxelCubicMillimetersVoxel Cubic MillimetersRequired. Finite number.
voxelCubicCentimetersVoxel Cubic CentimetersRequired. Finite number.
json
{
  "input": {
    "rowSpacingMillimeters": 0.5,
    "columnSpacingMillimeters": 0.5,
    "sliceSpacingMillimeters": 2
  },
  "output": {
    "voxelCubicMillimeters": 0.5,
    "voxelCubicCentimeters": 0.0005
  }
}

Limitations and assumptions

  • Assumes orthogonal rectangular voxels and actual inter-slice spacing; no image geometry, slice thickness or tissue volume is inferred.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Inspect the original DICOM attributes and complete image geometry when validating an image record. Use the relevant attribute and value-representation checks for format compliance, and actual per-frame timing when constant spacing or frame time is inadequate.

References

  1. Calculation and input contract: radiology/imaging-voxel-cubic-unit — tool.io

Similar or alternative tools