Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Superresolution: error with createOptFlow_DualTVL1()


For choosing optical flow with super-resolution, the following compiles fine:

Ptr<DenseOpticalFlowExt> opflow = createOptFlow_Farneback();

But the following gives error:

Ptr<DenseOpticalFlowExt> opflow = createOptFlow_DualTVL1();

The error given is:

error C2668: 'cv::superres::createOptFlow_DualTVL1' : ambiguous call to overloaded function

How can I avoid the error? Thanks.