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
pathstringPath to the file to be written
flowInputArrayFlow field to be stored
Returns
- bool
true on success, false otherwise