Merge pull request #334 from asmaloney:2.4
This commit is contained in:
commit
14c31bfda0
@ -144,7 +144,7 @@ A call to ``waitKey()`` starts a message passing cycle that waits for a key stro
|
||||
|
||||
Mat img = imread("image.jpg");
|
||||
Mat grey;
|
||||
cvtColor(img, grey, CV_BGR2GREY);
|
||||
cvtColor(img, grey, CV_BGR2GRAY);
|
||||
|
||||
Mat sobelx;
|
||||
Sobel(grey, sobelx, CV_32F, 1, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user