Description
Sum visible durations and visible-and-interpretable durations; divide the latter by the former, or return zero with defined false.
Image measurements depend on calibration, visibility and which observations count. Pixel area and duration-weighted image coverage are different quantities, and neither alone establishes that an image supports clinical interpretation.
Sum visible durations and visible-and-interpretable durations; divide the latter by the former, or return zero with defined false.
When to use this tool
Use Endoscopy Frame Valid Share when you need a calibrated image quantity or explicit coverage summary.
How to use the tool and how it works
- Enter frameDurations, regionVisible, interpretable. 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 visibleDuration, interpretableDuration, share, defined. Inspect defined before interpreting the associated values.
Require aligned nonnegative frame durations and visibility/interpretability flags. Sum visible durations and visible-and-interpretable durations; divide the latter by the former, or return zero with defined false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| frameDurations | Frame Durations | Required. Array of finite number; minimum 0; maximum items 256. |
| regionVisible | Region Visible | Required. Array of boolean; maximum items 256. |
| interpretable | Interpretable | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| visibleDuration | Visible Duration | Required. Finite number. |
| interpretableDuration | Interpretable Duration | Required. Finite number. |
| share | Dimensionless share on the numerator and denominator basis stated above. | Required. Finite number. |
| defined | Whether the stated denominator or normalization exists; inspect before interpreting a zero placeholder. | Required. Boolean. |
{
"input": {
"frameDurations": [
2,
3,
5
],
"regionVisible": [
true,
true,
false
],
"interpretable": [
true,
false,
true
]
},
"output": {
"visibleDuration": 5,
"interpretableDuration": 2,
"share": 0.4,
"defined": true
}
} Limitations and assumptions
- The denominator excludes invisible regions and weights by duration rather than frame count. Supplied image-quality flags do not establish clinical adequacy.
- 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 images and calibration records using the intended study method. A complete assessment may require segmentation, perspective correction, uncertainty and qualified interpretation.
References
Similar or alternative tools
- Endoscopy Region Area Factor
Multiply them for area.
- Capsule Frame Interval Gap Tool
Compare research capsule-image indices using an explicit frame period; no diagnostic finding.