matlab bindings issue (call to cv doesn't work)

asked 2014-01-31 10:26:03 -0500

emmanuel gravatar image

Hello, I have just installed the latest version of opencv for the purpopse of installing matlab bindings. I have already built OpenCV 2.4.8 with Cmake 2.8.12.2 by using Visual Studio 2010 Express as to configure and generate the build. I type this into MATLAB (I am using MATLAB version 7.12.0 (R2011a)):

I = imread('cameraman.tif'); If = cv.dft(I, cv.DFT_COMPLEX_OUTPUT); ??? Undefined variable "cv" or function "cv.DFT_COMPLEX_OUTPUT".

I am not sure what is going on because I have already added ${CMAKE_BUILD_DIR}/modules/matlab to the MATLAB path. Have any of you guys run into a similar situation?

edit retag flag offensive close merge delete

Comments

OpenCV 2.4.8 does not have provisions for Matlab bindings I believe. They are part of OpenCV 3.0 as of now. How did you compile the Matlab bindings for 2.4.8?

rdasgupta gravatar imagerdasgupta ( 2014-02-28 05:13:34 -0500 )edit