Page 1 of 1

Image Cropping

Posted: 2013-07-29T22:49:37-07:00
by gowribala
Hi...
I am new to image processing.

My original image size is 640x480, i need to cut it into 400x400 without losing my region of interest.

My region of interest having low pixel intensity values and around this area having high intensity value.

Ex:Eye image,my region of interest is pupil and iris portion of eye.

please guide me how can i get this area in size of 400x400 .

Re: Image Cropping

Posted: 2013-07-29T23:05:20-07:00
by fmw42
please post a link to an example image so we can experiment to come up with a good solution

using the IM compare and a suitable 400x400 mask representing the region of interest would appear to be the best solution without seeing an example.

see
http://www.imagemagick.org/script/compare.php
http://www.imagemagick.org/Usage/compare/
http://www.imagemagick.org/Usage/compare/#statistics
viewtopic.php?f=1&t=14613&p=51076&hilit ... ric#p51076 (add -subimage-search)