Creating individual images from detected ROI objects
I'm pretty new using the IPP library and Ido not know how, from an image with multiple objects, detect each one and create a individual image for each detected object. My image is B&W with white background and grayscale obejcts.
I know thatit is possible to get an ROI pointer and set its width and height, and with that I can copy the ROI. But how can I get all the objects collection from the original image and get each objects (or ROI) pointer and then copy or cut it?
Your problem looks more image detect or image segementationthanIPP usage problem.You may consider implement some image detect algorithms(which may call some ipp functions like ippiBoundSegments() in ipp computer vision domain). Once you get the ROI's position, you can use ippicopy() copyany ROI from original image.