Skip to content

Main content

DICOM Frame Increment Time Index Term Tool

Constant Frame Time coordinate for one zero-based frame index; not a variable Frame Time Vector or acquisition datetime parser.

Loading tool…

Description

Constant Frame Time coordinate for one zero-based frame index; not a variable Frame Time Vector or acquisition datetime parser.

An image grid has array indices as well as physical spacing, timing, and signal conventions. A calculation on supplied metadata describes one part of that grid or signal; it does not inspect an image, validate a complete file, or interpret anatomy.

Constant Frame Time coordinate for one zero-based frame index; not a variable Frame Time Vector or acquisition datetime parser.

When to use this tool

Use it for dicom frame increment time index term when the required inputs and conventions are already available.

How to use the tool and how it works

  1. Enter frameIndex, frameCount, frameTimeMs, firstFrameTimeMs. Use the stated units and boundary conventions.
  2. Run the calculation. Correct any input error before interpreting a result.
  3. Read timeMs, durationThroughFrameMs. Inspect any known, defined, inclusion, or boundary flags before interpreting numeric values.

Require positive integer frameCount, a zero-based frameIndex below that count, and nonnegative frameTimeMs. Return timeMs=firstFrameTimeMs+frameIndex*frameTimeMs and durationThroughFrameMs=(frameIndex+1)*frameTimeMs.1

Input fieldMeaning and unitsAccepted input
frameIndexFrame IndexRequired. Safe integer; minimum 0.
frameCountFrame CountRequired. Safe integer; minimum 1.
frameTimeMsUniform frame interval in milliseconds; zero is allowed.Required. Finite number; minimum 0.
firstFrameTimeMsFirst-frame time on the supplied millisecond axis.Required. Finite number.
Output fieldInterpretationReturned shape
timeMsTime MsRequired. Finite number.
durationThroughFrameMsNumber of frames through the selected frame multiplied by frameTimeMs, in milliseconds.Required. Finite number.
json
{
  "input": {
    "frameIndex": 4,
    "frameCount": 10,
    "frameTimeMs": 40,
    "firstFrameTimeMs": 100
  },
  "output": {
    "timeMs": 260,
    "durationThroughFrameMs": 200
  }
}

Limitations and assumptions

  • This assumes uniform frame timing; a zero step is allowed. It does not interpret Frame Time Vector, acquisition date-time values, or irregular timing metadata.
  • The field tables describe structural bounds; the mechanics also state cross-field requirements. Malformed input shapes, disallowed keys, and invalid domains cause input errors. Results must remain finite and within the declared output contract. A successful false flag or zero placeholder is distinct from an error.
  • Numeric arithmetic uses binary floating point. Exact comparisons have no hidden tolerance or decimal rounding; negative zero is exported as zero. Decimal-text integer operations retain the exactness specifically stated above.

Alternative or Complementary methods

For dicom frame increment time index term, check the source records and the supplied rule before comparing the result with another method. Use a full image reader and geometry or signal analysis when the task requires interpreting image data.

References

  1. Calculation and input contract: radiology/dicom-frame-increment-time-index-term — tool.io

Similar or alternative tools