cv.writeOpticalFlow - MATLAB File Help |
Write a .flo to disk
cv.writeOpticalFlow(path, flow)
success = cv.writeOpticalFlow(path, flow)
Function for writing .flo files in "Middlebury" format, see: Middlebury
The function stores a flow field in a file, returns true on success, false
otherwise. The flow field must be a 2-channel, single
floating-point
matrix. First channel corresponds to the flow in the horizontal direction
(u
), second - vertical (v
).