"David Pantoja" on  wrote...
| Hi everybody:
| 
|    I'm trying to rescue informacion in document's images, the documents has
| writed in handwritring  key. the  time and the chemical composition of
| documents produce loss information in the traces, I need recover it.
| 
| an original photo is :
| 
| http://idealtrece.dyndns.org/hi/originalimage.png
| 
| an image after this command detect the edges in the photo:
| 
| convert -edge 5 originalimage.png edgesgoodbadnoise.jpg
| 
| and obtain this:
| 
| http://idealtrece.dyndns.org/hi/edgesgoodbadnoise.png
| 
| this command is very useful for me, recover all information in the photo,
| (handwritng keys), but I want to eliminate the noise. produced in the edge
| detect process.
| 
Well I would start by first tring to improve the overall contrast of the
image, to try and remove the background noise.

You can try -sigmodial-contrast, with various settings, which can vary
from no-change to a full  threshold at whatever level you like.

Some normalization may also help, with removing the extreme limits
using  -contrast-stretch   This is a linear greyscale stretch of the
image.

Only after you have cleaned up the image would I attempt to use
edge detection, or better still  -lat   (local adaptive threshold)

Also the new -adaptive-sharpen  (IM v6.2.7-3 onward) may be useful
to remove any fuzzyness around the lines.


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  Clarke's Law:  Study what the most respected authorities agree can NOT
         be done - then do it.           --  Arthur C. Clark
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to