Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Extract parts from image

$
0
0
I have tried to use ROI to extract parts of image, but I haven't succeded. I have an image which contains rectangles - outlines of detected moving object.![Input](/upfiles/14551123202156282.jpg) This is the outcome I want. i want to extract those parts which are defined by those rectangles to same-sized matrix ![Output](/upfiles/1455112420411143.jpg) I have tried something like cropMat(boudingRect) = frame(boundinRect); but with this I get only the rectangles, not the part that is inside

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>