Description
Divide index gap and missing count by frameRate.
Research timing records need a common clock origin, time unit and observation boundary. A corrected interval or censored duration describes the supplied recording model; it does not by itself measure physiological transit or establish a diagnosis.
Divide index gap and missing count by frameRate.
When to use this tool
Use Image Sequence Frame Gap when you need a research timing, frame or clock-reference calculation.
How to use the tool and how it works
- Enter firstIndex, secondIndex, frameRate, missingFrameCount. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read indexGap, elapsedSeconds, missingSeconds. Use the output convention below.
Require positive frameRate, ordered frame indexes, and missingFrameCount no greater than the number of intervening positions. Divide index gap and missing count by frameRate.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstIndex | First Index | Required. Safe integer. |
| secondIndex | Second Index | Required. Safe integer. |
| frameRate | Positive frames per second; assumes constant frame spacing. | Required. Finite number; strictly above 0. |
| missingFrameCount | Number of missing interior frames, at most index gap minus one. | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| indexGap | Index Gap | Required. Safe integer. |
| elapsedSeconds | Elapsed Seconds | Required. Finite number. |
| missingSeconds | Missing Seconds | Required. Finite number. |
{
"input": {
"firstIndex": 10,
"secondIndex": 40,
"frameRate": 30,
"missingFrameCount": 3
},
"output": {
"indexGap": 30,
"elapsedSeconds": 1,
"missingSeconds": 0.1
}
} Limitations and assumptions
- Frame rate is frames/second; index gap is not an inclusive frame count. Missing frames and actual timestamps are not independently inspected.
- 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 original timestamps and the study protocol to resolve timing conventions. Physiological interpretation requires the appropriate clinical or research assessment, including observation and calibration uncertainty.
References
Similar or alternative tools
- Capsule Frame Interval Gap
Return second minus first index and multiply by secondsPerFrame.
- Endoscopy Photo Time Offset Token
Return recordedTime minus suppliedOffset when offsetKnown; otherwise return zero with referenceKnown false.