I am pretty new to OpenCV, and am using a Java wrapper of OpenCV. In my application I am detecting contours and then making convexHull around it. Imgproc.convexHell(matofpoint, matofint); provides me with hull values in MatOfInt form.
Now I wanna print matofint in my image, but the Imgproc. drawContour() require MatOfPoint.
So my question is how to convert MatOfInt to MatOfPoint