How can i extract the objects from an image using IplImage
?
Also, how can I get the original color of the object if I have the mask with white pixels where the object is?
An example of what I want to do can be found here, but using IplImage
not mat
.