Description
Calculate Euclidean distance between supplied matching coordinate arrays.
Developmental measurements depend on specimen identity, staging sources, coordinate registration, image scale and time-zero conventions. A section-area fraction differs from a volume, a generation-number step differs from verified lineage, and a midpoint of observations differs from an exact event time. Local scalar terms do not infer developmental mechanisms.
Calculate Euclidean distance between supplied matching coordinate arrays.
When to use this tool
Use Morphogenesis Reference Landmark Distance when you already have landmarkCoordinates, referenceCoordinates and need to calculate Euclidean distance between supplied matching coordinate arrays.
How to use the tool and how it works
- Enter landmarkCoordinates, referenceCoordinates. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read distance. Use the output convention below.
Require nonempty landmarkCoordinates with equal-length referenceCoordinates; subtract components and return Math.hypot of the differences.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| landmarkCoordinates | Nonempty finite coordinate vector aligned with referenceCoordinates in dimension, registration and units. | Required. Array of finite number; maximum items 256. |
| referenceCoordinates | Reference Coordinates | Required. Array of finite number; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| distance | Distance | Required. Finite number. |
{
"input": {
"landmarkCoordinates": [
0,
0
],
"referenceCoordinates": [
3,
4
]
},
"output": {
"distance": 5
}
} Limitations and assumptions
- Coordinates need matching units, dimension, registration and scale. No landmark detection, alignment, deformation or developmental interpretation is performed; extreme differences can overflow.
- 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 original specimens, calibrated images, acquisition timelines and staging references for biological interpretation. Use complete image, lineage and experimental analyses when needed; local ratios, source-qualified labels and supplied coordinate arithmetic do not perform those analyses.
References
Similar or alternative tools
- Vector Distance Squared Norm Crosscheck
Cross-check supplied squared distance against a coordinate-difference norm.
- Embryonic Landmark Relative Axis Position
Normalize a supplied landmark coordinate between two directed axis endpoints.