Skip to content

Main content

Specimen Side Clockface Source Pair Tool

Translate clockface notation while retaining supplied side/view provenance.

Loading tool…

Description

Map clock position to degrees clockwise from twelve, reverse the angle when mirrored, compare views literally, and serialize side, view, and clock position as sourceKey.

Research image measurements depend on scale, orientation, landmarks, and reference planes. A coordinate or area-support calculation uses supplied inputs without examining an image or identifying anatomy.

Map clock position to degrees clockwise from twelve, reverse the angle when mirrored, compare views literally, and serialize side, view, and clock position as sourceKey.

When to use this tool

Use Specimen Side Clockface Source Pair when you need one transparent image-scale or orientation component.

How to use the tool and how it works

  1. Enter side, clockHour, clockMinute, view, referenceView, mirrored. 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 angleDegrees, viewMatches, sourceKey. Inspect viewMatches before interpreting the associated values.

Require side left, right, or unspecified, a valid clock hour/minute, and nonempty views. Map clock position to degrees clockwise from twelve, reverse the angle when mirrored, compare views literally, and serialize side, view, and clock position as sourceKey.1

Input fieldMeaning and unitsAccepted input
sideSideRequired. Text; one of "left", "right", "unspecified"; maximum UTF-16 length 8192.
clockHourClock HourRequired. Safe integer; minimum 1; maximum 12.
clockMinuteClock MinuteRequired. Safe integer; minimum 0; maximum 59.
viewViewRequired. Text; maximum UTF-16 length 8192.
referenceViewReference ViewRequired. Text; maximum UTF-16 length 8192.
mirroredMirroredRequired. Boolean.
Output fieldInterpretationReturned shape
angleDegreesClock position in degrees from twelve under the mirrored flag; side does not modify this value.Required. Finite number.
viewMatchesView MatchesRequired. Boolean.
sourceKeyJSON-array serialization retaining the supplied source and identifying components.Required. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "side": "left",
    "clockHour": 3,
    "clockMinute": 0,
    "view": "anterior",
    "referenceView": "anterior",
    "mirrored": false
  },
  "output": {
    "angleDegrees": 90,
    "viewMatches": true,
    "sourceKey": "[\"left\",\"anterior\",3,0]"
  }
}

Limitations and assumptions

  • ClockHour is 1-12 and minute is 0-59; side does not change angle and mirrored is not included in sourceKey. Orientation, anatomical location, and clinical meaning are not independently verified.
  • 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

Verify image calibration, anatomical reference conventions, measurement uncertainty, and professional interpretation separately.

References

  1. Calculation and input contract: gynecology/specimen-side-clockface-source-pair — tool.io

Similar or alternative tools

  • Pelvic Image Reference Plane Flag

    Test exact zero cross-product for parallel, positive dot product for sameDirection, and accept parallel vectors under the supplied opposite-direction policy.

  • Specimen Site Label Token

    Return literal membership of label and its zero-based index, or -1 when absent.