I am trying to select only the eyes that were segmented from some face images. Here is one example of one binary image.
The problem is that I want to get each eye of the image, putting them centered in a fixed size squared image. In this case, there will be two images with the eye centered on a fixed nxn squared image.