Description
Scaled distance between supplied research color channels without assigning a color space.
Dental research records distinguish teeth, surfaces, sites, observations, exclusions, and reporting bases. Measurement resolution and missing observations affect interpretation differently. A chart token, site share, or measurement envelope can check supplied data without establishing a clinical finding.
Scaled distance between supplied research color channels without assigning a color space.
When to use this tool
Use Gingival Research Color Reference Gap when you need this site-record, denominator, label, image-scale, or measurement component for supplied research data.
How to use the tool and how it works
- Enter sample, reference, channelScales. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read differences, scaledDistance. Use the output convention below.
Require aligned nonempty sample, reference, and positive channelScales arrays. Return raw channel differences and scaledDistance=hypot((sample-reference)/channelScales).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sample | Sample | Required. Array of finite number; maximum items 256. |
| reference | Reference | Required. Array of finite number; maximum items 256. |
| channelScales | Channel Scales | Required. Array of finite number; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| differences | Differences | Required. Array of finite number; maximum items 256. |
| scaledDistance | Euclidean distance of per-channel differences divided by supplied scales. | Required. Finite number. |
{
"input": {
"sample": [
10,
20,
30
],
"reference": [
7,
16,
30
],
"channelScales": [
1,
2,
1
]
},
"output": {
"differences": [
3,
4,
0
],
"scaledDistance": 3.6055512754639896
}
} Limitations and assumptions
- Channel units must match their scale factors. This is a supplied normalized Euclidean distance, not a standardized perceptual color difference, tissue classification, or image-based diagnosis.
- 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. Signed zero is exported as zero.
Alternative or Complementary methods
Use the intended examination or measurement protocol with verified site identities and source records. Broader interpretation requires actual observations and appropriate measurement properties beyond one token or ratio.
References
Similar or alternative tools
- Gingival Photo Reference Plane Gap
Apply explicit image and plane correction factors without deriving geometry or tissue findings from a photograph.
- Research Site Depth Resolution
Bound a supplied research depth using nearest-step resolution plus an independently supplied bounded repeatability term; no disease grading.