kyamagu / mexopencv

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

How use the opecn cv code? #445

Open KoreaGODSUNG opened 5 years ago

KoreaGODSUNG commented 5 years ago

I set the 'mexopencv' with the manual on Github the link is below : https://github.com/kyamagu/mexopencv/wiki/Installation-%28Windows%2C-MATLAB%2C-OpenCV-3%29

-. Symtomps 1) No response for 'cv.getBuildInformation()' I used the code below.

------------------ Code----------------------------------- cv.getBuildInformation()


There is no response.

2) Error for the cv.--- code I tried to use cv.Sobel and cv.filter2D. but the matlab return error message below.

------------------ Error message----------------------------------- Error using cv.Sobel Attempt to execute SCRIPT Sobel as a function: C:\dev\mexopencv+cv\Sobel.m


I tried the code below

------------------ Code----------------------------------- img = imread('images.png'); Edgeimage = cv.Sobel(img);


or ------------------ Code----------------------------------- img = imread('images.png'); result = cv.filter2D(img, [1 0 -1]); imshow(result);


How can I correct the mexopencv ?