OpenCV examples
In this tutorial, there is a link to empty file. I cannot find the file and its name. I can make the functions but I am missing the main function code.
http://docs.opencv.org/3.1.0/df/d61/t...
I would like to ask one more question. Can you recommend me more examples, which somebody written for public domain using OpenCV? More effects which are not included in tutorials and OpenCV examples? For example I would like to know how to create exactly same effect: https://en.wikipedia.org/wiki/Sobel_o... also I am interested about reading (analysing of image shapes) so more examples which are not covered but if you know some good stuff to check out. I am using Windows XP and Visual Studio 2010. Thanks
the missing sample
Thanks. One more question: why in the code there are the & operators?
cv::Scalar( icolor&255, (icolor>>8)&255, (icolor>>16)&255 );
the
&255
operation serves as a mask (it keeps only the lower 8 bit). e.g.I see. RND generates one number 0xXXXXXXXX which is icolor. But Scalar has 3-4 inputs (1 byte) so the RND output is taken to be devided to 3x1 byte inputs.