I am testing out erode and dilate functions in openCV2.2 but compilation fails because of the 3rd argument when I pass the following line:
dilate(gscaleImage, gscaleImage, 0, 18 );
can anyone shed a light on this for me please as this is how they’ve been coded in the examples.
Thanks
OpenCV has both C and C++ interfaces. You’re calling the C++ function cv::dilate but, judging by the arguments, it was actually meant to be cvDilate from the old-style C interface.