Skip to content

Main content

Organ Measurement Axis Order

Reorder explicit length, width, and depth values under any supplied permutation of L, W, and D without inferring anatomical axes.

Loading tool…

Description

Reorder supplied anatomical length, width and depth measurements.

Anatomical measurements depend on coordinate frame, plane, axis sign, terminology source and scale. Reordering length/width/depth does not identify anatomical axes, and a landmark separation requires corresponding calibrated points. Source-qualified names preserve wording without verifying a structure or clinical interpretation.

Reorder supplied anatomical length, width and depth measurements.

When to use this tool

Use Organ Measurement Axis Order when you already have length, width, depth, outputOrder and need to reorder supplied anatomical length, width and depth measurements.

How to use the tool and how it works

  1. Enter length, width, depth, outputOrder. 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 orderedMeasurements. Use the output convention below.

Require all three nonnegative and one of LWD, LDW, WLD, WDL, DLW, DWL; return measurements in the requested letter order.1

Input fieldMeaning and unitsAccepted input
lengthLengthRequired. Finite number; minimum 0.
widthWidthRequired. Finite number; minimum 0.
depthDepthRequired. Finite number; minimum 0.
outputOrderOne literal permutation of L, W and D; reorders supplied dimensions without identifying anatomical axes.Required. Text; one of "LWD", "LDW", "WLD", "WDL", "DLW", "DWL"; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
orderedMeasurementsOrdered MeasurementsRequired. Array of finite number; maximum items 256.
json
{
  "input": {
    "length": 5,
    "width": 3,
    "depth": 2,
    "outputOrder": "LWD"
  },
  "output": {
    "orderedMeasurements": [
      5,
      3,
      2
    ]
  }
}

Limitations and assumptions

  • No axes are identified or sorted by magnitude. Units and anatomical definitions must already match; no volume, normality or diagnosis 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 specimen, image, coordinate definitions and terminology source. Use the complete anatomical or clinical assessment when local distances, labels or axis mappings cannot answer the question.

References

  1. Calculation and input contract: anatomy/organ-measurement-axis-order — tool.io

Similar or alternative tools