kyamagu / mexopencv

Collection and a development kit of matlab mex functions for OpenCV library
http://kyamagu.github.io/mexopencv
Other
661 stars 319 forks source link

Error using recoverPose #381

Closed albert082877 closed 6 years ago

albert082877 commented 6 years ago

Windows 7 + MATLAB R2017b + OpenCV 3.3.0

"Wrong number of arguments" when trying to use this new 5th output argument:

[~, ~,~, ~, triangulatedPoints] = cv.recoverPose(...)
amroamroamro commented 6 years ago

https://github.com/kyamagu/mexopencv/blob/8d109eb8925b434788ad6be92d69500b921d920d/src/%2Bcv/recoverPose.cpp#L21-L22

that should be nlhs<=5.

Will include fix in the next update, thanks.

amroamroamro commented 6 years ago

fixed in #390