Re: Scanned Image Processing

2001-02-05 Thread Cheung Koon Tung, Kent


Adams,
Thank you for your detailed explanation. I had basically two batches
of logos, one scanned from a very old scanner and the other from a newer
one. The driver of the old scanner did not have (or maybe I did not notice)
the descreening function so I have to stand that if possible. But the newer
one, I have tried to use a few descreening parameters but it doesn't seem
useful. In fact, I do not even understand the meaning of the parameter
of this function.
For resolution, I have tried 72dpi but seems it do not work. What resolution,
in your experience, should be used?
I am interested in the theory of CYMK. I think if I know the theory
more then I may be able to do something about it. Do you mean that each
perceptual pixel is made of a 2x2 pixels composed of the four components?
Is there any way to tell which 4 pixels should be grouped as one?
Kent.
cate adams wrote:
I don't know if this will help, I am a photoshop
user sharing this address, I've used gimp a bit and find it wonderful.
it's amazing to get free software that seems to do everything photoshop
does and more. i haven't scanned in gimp.
I do what you are trying to do regularly in photoshop (so maybe
in gimp or other scanning software) when you scan you can choose to descreen
the image as you scan. you choose between newspaper, magazine and art magazine
etc. depending on how course the printed screen is.
You are getting this "dithering, anti-aliasing and "texture"
of publication paper" effect because when the image is printed in a
magazine the colour is made up of a fine dot screen of cyan, magenta, yellow
and black, (cmyk) to make up all the colours you see, so even if they appear
flat they generally aren't. for example fire engine red is 100%magenta
and 100%yellow, green is percentages of cyan and yellow and so on.
Your scanner is picking up each little dot so you get a pixel of
cyan and a pixel of yellow and it dithers it to try to get the inbetween
colours.
I have found descreening the best way, i used to try it with filters
like you are, getting pretty bad results as you are. If you can't do that
you could try scanning on a much lower resolution so the scanner can't
see the dots. It might sound funny but it works. You might sharpen the
edges later if you need to though as you've discovered you have to be careful
of getting a halo.
cheers cate

From: "Cheung Koon Tung, Kent" [EMAIL PROTECTED]>
Organization: City University of Hong Kong
Date: Sat, 03 Feb 2001 11:56:00 +0800
To: GIMP [EMAIL PROTECTED]>
Subject: Re: Scanned Image Processing


Hi all,
Thank you for all the nice guys who have given me input. Here are my
experiences about your suggestions:

> Perhaps doing Posterization (Image/Color/posterize)
1. It is hard to determine the paramter of posterization. Setting it too
high is not useful. Unfortunately, setting is low will cause some pixels
to vanish. Besides, some noise pixels with very different colours from
the perceived one will be produced.

> Check out Image Magick, it has some nifty color management
> tools. Look at the things you're scanning with a magnifying
glass and you
> should see many different colors and a halftone screen dot
> pattern.
2. ImageMagick is a very good program that allows infinite programability
that provides more or less the same as GIMP or other image processing applications.
If I had found the way to process my images in general, I will be able
to write a script for GIMP or ImageMagick. Unfortnately, I am still searching
for the method.

> I haven't tried this, but maybe fiddling with indexed mode
and
> limiting the number of colors would help.
3. If I index the colors with the standard palette, then some of the original
colors will be lost. However, creating palettes for all images I am going
to process is a nightmare.
> You might want to try the non-linear filter (nlfilt).
4. I think it doesn't help much. I don't even notice the changes to
the image! Of course, I have changed the parameters but not any one set
of parameters are satsifactory.
5. Is there any standard routine to remove the three artifacts I mentioned,
namely, dithering, anti-aliasing and "texture" of publication paper? Since
these are produced by standard routines, I expect that there might be standard
methods to undo the effects.
6. I have another thought: is it possible to let the user to specify
a small number of colors that the image should have. Then, program GIMP
to change the pixels which don't have these colors to its correct colour.
The interface is certainly possible using Gimp-Perl. However, the way to
determine the correct color is difficult to determine. Any idea?
Thank you for all your kind help.
Kent.




RE: Scanned Image Processing

2001-02-02 Thread COUTIER Eric
Title: RE: Scanned Image Processing





Perhaps doing Posterization (Image/Color/posterize)


-Message d'origine-
De: Cheung Koon Tung, Kent [mailto:[EMAIL PROTECTED]]
Date: vendredi 02 février 2001 10:31
À: GIMP
Objet: Scanned Image Processing



Dear GIMP Gurus,


I am facing a long-standing problem. I would be most grateful if any of
you can give me some ideas or point me to some source of help about the
solution of this problem. I have just browsed through the avaiable
plug-ins in GIMP but it seems that none of them can solve my problem.


I want do image analysis of some colour logos. I try to scan some logos
from magazines, books, promotional brochures and catalogs. Perceptually,
these logos are very simple and usually contain several patches
homogeneous colors. My image analysis software depends on this
assumption to be successful.


However, in practice, the scanned images might have many pixels with
very different colours due to the following possiblities that I guess:


1. Dithering when the publication is produced
2. Anti-aliasing effect when the publication is produced
3. The texture of the publication paper


I want to do automatic or semi-automatic pre-processing with GIMP so
that the above three effects can be removed before my image analysis
algorithm is applied. I have no idea on how to do the preprocessing
efficiently and accurately. Could any one give me some ideas of how to
perform the above three tasks efficiently and accurately?


Thank you for your attention.


Kent.





Re: Scanned Image Processing

2001-02-02 Thread Jeff Trefftzs

I haven't tried this, but maybe fiddling with indexed mode and 
limiting
the number of colors would help.  My experience with 
posterization has been
that it doesn't partition the image colors the way I would.

-Jeff T




Re: Scanned Image Processing

2001-02-02 Thread David Hodson

"Cheung Koon Tung, Kent" wrote:

 1. Dithering when the publication is produced
 2. Anti-aliasing effect when the publication is produced
 3. The "texture" of the publication paper
 
 I want to do automatic or semi-automatic pre-processing with GIMP so
 that the above three effects can be removed before my image analysis
 algorithm is applied.

You might want to try the non-linear filter (nlfilt). It is
designed to (on some settings) smooth out small variations
in colour, while not blurring edges between different colours.

-- 
David Hodson  --  [EMAIL PROTECTED]  --  this night wounds time