Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

How use the opecn cv code? #445

Open
KoreaGODSUNG opened this issue Mar 20, 2019 · 0 comments
Open

How use the opecn cv code? #445

KoreaGODSUNG opened this issue Mar 20, 2019 · 0 comments

Comments

@KoreaGODSUNG
Copy link

KoreaGODSUNG commented Mar 20, 2019

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.

  1. 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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant