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
- Enter side, clockHour, clockMinute, view, referenceView, mirrored. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| side | Side | Required. Text; one of "left", "right", "unspecified"; maximum UTF-16 length 8192. |
| clockHour | Clock Hour | Required. Safe integer; minimum 1; maximum 12. |
| clockMinute | Clock Minute | Required. Safe integer; minimum 0; maximum 59. |
| view | View | Required. Text; maximum UTF-16 length 8192. |
| referenceView | Reference View | Required. Text; maximum UTF-16 length 8192. |
| mirrored | Mirrored | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| angleDegrees | Clock position in degrees from twelve under the mirrored flag; side does not modify this value. | Required. Finite number. |
| viewMatches | View Matches | Required. Boolean. |
| sourceKey | JSON-array serialization retaining the supplied source and identifying components. | Required. Text; maximum UTF-16 length 8192. |
{
"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
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.