interpolate
@fovea/annotation-tool / interpolation / interpolate
Function: interpolate()
interpolate(
sequence
,frameNumber
):null
|BoundingBox
Defined in: src/utils/interpolation.ts:845
Interpolate a bounding box sequence and return the box at a specific frame. This is a convenience function that respects visibility ranges.
Parameters
sequence
Bounding box sequence
frameNumber
number
Frame number to get box for
Returns
null
| BoundingBox
Bounding box at frame, or null if frame is hidden