The application should do the following:
1. Deskew images. ? Sometimes, a scanned image will be off to the right or the left a little. We need them to be straight.
2. Remove stain frame. ? When you scan images (see sample) sometimes the image will have a black frame, as the scanned area is larger than the page. ? So what we need to do is select the black frame, and delete it. ? It is very important that this does NOT alter the size of the image.
Do notice that not all images are the same size, nor do they all have the same frame. ? In some cases the frame is 50px [for most] but in some other cases, it can be as much as 100.
3. Contrast balance. ? Some images are gray. ? We would like to ? be able to color balance images.