define ROI around an object
How do I grow edge boundaries?
in c++ u can write like this
Mat image// and add a image to your program
Rect ROI = Rect(x,y,width,height);
Mat image_ROI =image(ROI);
well your explain about what you want were very ambiguous now i think u want contour around things so u can go this site and there are good information about contour
http://docs.opencv.org/doc/tutorials/imgproc/shapedescriptors/find_contours/find_contours.html
Asked: 2013-12-13 04:46:30 -0600
Seen: 548 times
Last updated: Dec 13 '13
Why don't you give us a little more details about what you've got, otherwise I've got to simply tell you that you gotta implement it yourself.
What I mean is that I want to grow edge boundaries 2 pixel (for example) in each side...assume that you have the shape of the object, how you create the same shape but with wider boundaries around it?