Description
Calculate scale-supported outlined length relative to the supplied canal outline.
A measured image outline may contain portions without a verified scale or sufficient evidence. Length-weighted support within the outlined portion differs from overall image completeness and from anatomical certainty.
Calculate scale-supported outlined length relative to the supplied canal outline.
When to use this tool
Use Canal Outline Support Share when summarizing support within supplied outlined segment lengths.
How to use the tool and how it works
- Enter segmentLengths, outlinePresent, scaleVerified. 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 outlineLength, supportedLength, share, defined. Inspect defined before interpreting the associated values.
Require equally long segmentLengths, outlinePresent and scaleVerified arrays and nonnegative lengths. outlineLength sums outline-present segments; supportedLength additionally requires scaleVerified. share = supportedLength/outlineLength when positive, otherwise zero with defined = false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| segmentLengths | Segment Lengths | Required. Array of finite number; minimum 0; maximum items 256. |
| outlinePresent | Outline Present | Required. Array of boolean; maximum items 256. |
| scaleVerified | Scale Verified | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| outlineLength | Outline Length | Required. Finite number. |
| supportedLength | Supported Length | Required. Finite number. |
| share | Dimensionless selected contribution divided by the stated total; not percent. | Required. Finite number. |
| defined | Whether the stated denominator has positive support; read this before interpreting a zero placeholder. | Required. Boolean. |
{
"input": {
"segmentLengths": [
2,
3,
5
],
"outlinePresent": [
true,
true,
false
],
"scaleVerified": [
true,
false,
true
]
},
"output": {
"outlineLength": 5,
"supportedLength": 2,
"share": 0.4,
"defined": true
}
} Limitations and assumptions
- This measures support within supplied outlined length, not all anatomical length. Flags, segment overlap and calibration are not independently validated.
- 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
Review the image, calibration and segmentation method before drawing anatomical or clinical conclusions.
References
Similar or alternative tools
- Raster Pixel Ground Support Share
validGroundArea sums valid pixels; observedGroundArea additionally requires observed; share is their ratio when positive, otherwise zero with defined = false.
- Diurnal Sampling Exposure Share
Calculate sampled-duration support within a caller-declared diurnal phase.