Basically what I'm trying to do is using predefined ROI's to crop and image into multiple new images.
Longer is that I have a map of brain, with sections of it defined. using that I define many ROI's from it in MATLAB using imfreehand or roipoly. From there I have stained slides of these sections. I want to use the ROI's that I defined from the map to crop the image of the real brain into many new images.
Just having trouble finding something that uses the ROI's as the cropping area and not just some rectangle.
If I need to explain a bit more let me know.