Skip to content

Main content

Landmark Frame Scale Gap Tool

Calculate landmark frame scale gap from explicit caller-supplied inputs.

Loading tool…

Description

Return paired landmark-frame length ratios and maximum relative scale gap.

Anatomical diagrams and idealized models require explicit coordinate origins, axes, dimensions and indexing conventions. Translations, vector projections and simple shape formulas describe supplied geometry rather than identifying actual anatomy or determining a medical finding. A scaled drawing or ideal branching tree needs separate anatomical verification.

Return paired landmark-frame length ratios and maximum relative scale gap.

When to use this tool

Use Landmark Frame Scale Gap when checking the stated diagram, coordinate, vector or ideal-shape convention.

How to use the tool and how it works

  1. Enter firstAxisLengths, secondAxisLengths. Follow any array-alignment requirements below. 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 axisRatios, maximumRelativeScaleGap. Use the output convention below.

Return paired landmark-frame length ratios and maximum relative scale gap. Require exactly three positive lengths per frame; ratios = second/first, maximumGap = max(abs(ratio-1)).1

Input fieldMeaning and unitsAccepted input
firstAxisLengthsFirst Axis LengthsRequired. Array of finite number; maximum items 256.
secondAxisLengthsSecond Axis LengthsRequired. Array of finite number; maximum items 256.
Output fieldInterpretationReturned shape
axisRatiosAxis RatiosRequired. Array of finite number; maximum items 256.
maximumRelativeScaleGapMaximum Relative Scale GapRequired. Finite number.
json
{
  "input": {
    "firstAxisLengths": [
      1,
      2,
      4
    ],
    "secondAxisLengths": [
      2,
      2,
      2
    ]
  },
  "output": {
    "axisRatios": [
      2,
      1,
      0.5
    ],
    "maximumRelativeScaleGap": 1
  }
}

Limitations and assumptions

  • This compares supplied axis lengths without fitting registration, rotation, actual calibration or clinical suitability.
  • 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

Use verified anatomical measurements and an appropriate complete spatial model; consult qualified health professionals for actual medical interpretation.

References

  1. Calculation and input contract: anatomy/landmark-frame-scale-gap — tool.io

Similar or alternative tools