Description
relativeX = (x-referenceX)*scale; relativeY = (y-referenceY)*scale; distance = hypot(x-referenceX,y-referenceY)*scale.
Insect morphology measurements depend on landmark definitions, image scale and specimen condition. A length ratio can be dimensionless while a calibrated coordinate has physical units; neither arithmetic operation validates anatomical correspondence or preservation assumptions.
relativeX = (x-referenceX)*scale; relativeY = (y-referenceY)*scale; distance = hypot(x-referenceX,y-referenceY)*scale.
When to use this tool
Use Wing Venation Landmark Coordinate Scale when checking a supplied morphological measurement, calibration or length ratio.
How to use the tool and how it works
- Enter x, y, scale, referenceX, referenceY. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read relativeX, relativeY, distance. Use the output convention below.
Require positive scale. relativeX = (x-referenceX)*scale; relativeY = (y-referenceY)*scale; distance = hypot(x-referenceX,y-referenceY)*scale. scale converts coordinate units to the desired output length unit.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| x | X | Required. Finite number. |
| y | Y | Required. Finite number. |
| scale | Positive output-length units per source-coordinate unit. | Required. Finite number; strictly above 0. |
| referenceX | Reference X | Required. Finite number. |
| referenceY | Reference Y | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| relativeX | Relative X | Required. Finite number. |
| relativeY | Relative Y | Required. Finite number. |
| distance | Distance | Required. Finite number. |
{
"input": {
"x": 4,
"y": 6,
"scale": 2,
"referenceX": 1,
"referenceY": 2
},
"output": {
"relativeX": 6,
"relativeY": 8,
"distance": 10
}
} Limitations and assumptions
- This applies translation and uniform scaling on one plane, without rotation, image distortion correction or anatomical landmark validation.
- 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 imaging calibration and appropriate specimen methods for anatomical interpretation, and propagate uncertainty when measurement precision matters.
References
Similar or alternative tools
- Wing Landmark Scale Gap
pixelDistance is their Euclidean separation; inferredLength = pixelDistance/suppliedPixelsPerLength; lengthGap = inferredLength-referenceLength.
- Insect Body Length Scale Factor
lengthPerPixel = suppliedRulerLength/rulerPixels; physicalLength = bodyPixels*lengthPerPixel.