[magick-users] Normalize improving?
Anthony Thyssen
anthony at griffith.edu.au
Wed Jun 25 16:16:33 PDT 2008
Grant on wrote...
| I just started using the normalize function to normalize my images.
| It's usually very impressive and a big improvement over non-normalized
| images. Some of the images are worse though, especially images that
| are predominantly one color, especially red. Is the normalize
| function being improved, or is it a static sort of a function that
| either works well on an image or doesn't?
|
| - Grant
Before you go any further check what version of IM you are using
there was a problem with normalize (regards to point #2) below
about a year or so ago.
Their is some disscussion going on about normalize.
1/ It is implemented as a -contrast-stretch 2,99%
That means it it will burn or loose the 2% of the darkest colors
and 1% of the lightest.
2/ It does so uniformly across all the given channels. That is
by default all the RGB channels are 'stretched' by the same amount.
3/ Unfortunateally (and this is where the disscussion is) it adjusts
the colors in terms of histogram 'bins' rather than directly
adjusting the color values (as per the -level option) after
determinging the colors to be stretched to the new black and white
points.
4/ I myself am currently working on some enhancements to -level
as detailed in the raw notes in IM Examples, colors.
Those notes will become a re-write of that page.
What you may really want however is to look at some of the shell scripts
that Fred Weinhaus has written for image enhancement.
http://www.fmwconcepts.com/imagemagick/
These scripts are 'proof of concent' type scripts, for posibly new
functions into ImageMagick, but in the mean time work well on there own.
Anthony Thyssen ( Graphics Enthusiast ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
At 300 dpi you can tell she's wearing a swimsuit.
At 600 dpi you can tell it's wet.
At 1200 dpi you can tell it's painted on.
I suppose at 2400 dpi you can tell if the paint is giving her a rash.
-- Joshua R. Poulson
-----------------------------------------------------------------------------
IM Examples http://www.imagemagick.org/Usage/
More information about the Magick-users
mailing list