Description
Account for explicit research mask areas and support flags without retinal image interpretation.
Vision research uses stimulus angles, chart notations, image scales, viewing distances, coordinate origins, and observation windows. These quantities have different denominators and measurement conventions. A conversion or support share does not independently establish a visual measurement or its clinical interpretation.
Account for explicit research mask areas and support flags without retinal image interpretation.
When to use this tool
Use Retinal Mask Support Share when you need this image, stimulus, notation, coordinate, or observation component for supplied research data.
How to use the tool and how it works
- Enter pixelAreas, retinalMask, validImage, annotated. 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 maskedArea, supportedArea, share, defined. Inspect defined before interpreting the associated values.
Require aligned nonnegative pixelAreas with retinalMask, validImage, and annotated flags. Sum masked area and masked area satisfying both other flags; return their share when positive, otherwise zero with defined=false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| pixelAreas | Pixel Areas | Required. Array of finite number; minimum 0; maximum items 256. |
| retinalMask | Retinal Mask | Required. Array of boolean; maximum items 256. |
| validImage | Valid Image | Required. Array of boolean; maximum items 256. |
| annotated | Annotated | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| maskedArea | Masked Area | Required. Finite number. |
| supportedArea | Supported Area | Required. Finite number. |
| share | Dimensionless share using the stated denominator, not a percentage numeral. | Required. Finite number. |
| defined | Whether the stated denominator or quantity is defined; inspect before using a placeholder. | Required. Boolean. |
{
"input": {
"pixelAreas": [
2,
3,
5
],
"retinalMask": [
true,
true,
false
],
"validImage": [
true,
true,
true
],
"annotated": [
true,
false,
true
]
},
"output": {
"maskedArea": 5,
"supportedArea": 2,
"share": 0.4,
"defined": true
}
} Limitations and assumptions
- Areas and masks are supplied and overlapping regions are not reconciled. An area-weighted support share does not validate segmentation, image quality, pathology, or diagnostic coverage.
- 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 calibrated acquisition and a documented visual or imaging protocol for complete interpretation. Confirm the reporting notation, viewing geometry, image scale, and support of the underlying observations.
References
Similar or alternative tools
- Visual Test Support Share
Sum all weights and those satisfying all three flags; return share=supportedWeight/totalWeight when positive, otherwise zero with defined=false.
- Lesion Mask Sampling Share
Account for sampled pixels in supplied disjoint research masks; no lesion detection, staging or prognosis.