I am working with a 8UC3 stereo image, but the function updateHistoryImage works only with 8UC1 and 32UF1...
The error: OpenCV(4.0.1-dev) Error: Assertion failed (_silhouette.type() == CV_8UC1 && _mhi.type() == CV_32FC1) in cv::motempl::updateMotionHistory, file C:\opencv4\opencv_contrib-master\modules\optflow\src\motempl.cpp, line 76
I tried to convert the stereo image to 1 level but nothing... How can I make it work?