Table of Contents

Method WriteOpticalFlow

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

WriteOpticalFlow(string, InputArray)

Writes a .flo file to disk. The flow field must be a 2-channel, floating-point matrix (CV_32FC2). First channel corresponds to the flow in the horizontal direction (u), second - vertical (v).

public static bool WriteOpticalFlow(string path, InputArray flow)

Parameters

path string

Path to the file to be written

flow InputArray

Flow field to be stored

Returns

bool

true on success, false otherwise