using Matlab module of opencv_contrib
hello, I just cannot get the Matlab module of the opencv_contrib working at all;
I downloaded latest opencv and opencv_contrib, compiled properly with Visual Studio 2013 (everything is fine with Cmake: python is found, Matlab is enabled, and I get "Matlab: Compiler/generator: Working")
no errors in the compilation of the solution; I build the INSTALL and get the folder "matlab" in the install folder; open matlab, add the path with addpath; "help cv" works fine "cv.buildInformation" works fine
but any other function call fails;
e.g. img = cv.IMREAD_COLOR('d:/temp/Desert.png'); fails with: Index exceeds matrix dimensions.
or: camera=cv.VideoCapture();
or: there is no cv.dft as suggested in the help page of the Matlab module github page
what's wrong? any idea?
bear with me, no idea about matlab, but
cv.IMREAD_COLOR
is supposed to be a constant, to be used like:cv.imread('d:/temp/Desert.png', cv.IMREAD_COLOR);