This very urgent please! I'm working with cervical cancer images on android platform. After a successful segementation, I want to automtically crop out the largest size, which is of cource the ROI in the Image please How can I do this?
Let me see if I understood correctly.....you did the segmentation and already have the ROI and what you want is to extract that ROI into another image???? or remove the ROI from the original image???? well if any of that is what you want you could do it by using Image Arithmetic....i mean for example if you multiply the original image with.. for example a binary image of the ROI were every pixel is 0 but the ones in the ROI it will result in a image with only the pixel values of the ROI... if you do it the other way i mean every pixel with value 1 and the ROI 0....the result will be the original image without the ROI....if you already have the ROI that step could be done automaticly
Let me see if I understood correctly.....you did the segmentation and already have the ROI and what you want is to extract that ROI into another image???? or remove the ROI from the original image???? well if any of that is what you want you could do it by using Image Arithmetic....i mean for example if you multiply the original image with.. for example a binary image of the ROI were every pixel is 0 but the ones in the ROI it will result in a image with only the pixel values of the ROI... if you do it the other way i mean every pixel with value 1 and the ROI 0....the result will be the original image without the ROI....if you already have the ROI that step could be done automaticly