I want to cut some sections of some images, by the criteria of having values in those sections, for example: I have this image:
Right, and the image supose that has a Y