public VideoFrame(
ushort rows,
ushort cols,
PixelType pixelType,
int stride,
IntPtr data,
ChannelOrder order,
double timestamp_millisec,
uint number
)
Public Sub New (
rows As UShort,
cols As UShort,
pixelType As PixelType,
stride As Integer,
data As IntPtr,
order As ChannelOrder,
timestamp_millisec As Double,
number As UInteger
)
public:
VideoFrame(
unsigned short rows,
unsigned short cols,
PixelType pixelType,
int stride,
IntPtr data,
ChannelOrder order,
double timestamp_millisec,
unsigned int number
)
new :
rows : uint16 *
cols : uint16 *
pixelType : PixelType *
stride : int *
data : IntPtr *
order : ChannelOrder *
timestamp_millisec : float *
number : uint32 -> VideoFrame
Accurate DFX predictions require a consistent and accurate timestamp for the video frames. This is easily achievable when processing offline videos, but will require some effort for processing real-time camera feeds to ensure the frames maintain a consistent inter-frame interval.
Frame numbers are expected to be sequentially provided for a measurement and the number of sequential frames must be sufficient for the study measurement requirements to be fulfilled. Since multiple measurements can be performed on a video sequence, the frame number helps identify positioning within a video and if a frame is lost.