Grant, I am sorry but there is no ONE way that is always best. IM does not yet have an autolevels function such as in Photoshop and even that has limitations. You will just have to try a some variations of -contrast-stretch percentages on a number of sample images until you find something that works more or less well for your range of images.
I would definitely upgrade to the latest IM version. I don't recall what version you are on. But there have been many improvements and speed ups in the later versions. If you were not using Perlmagick or some other API, I would recommend using one of my bash unix scripts, either redist or retinex. They are closer to a more consistent approach than even autolevels. But these scripts only run in command line IM, unless you are capable of re-writing them in Perlmagick. But I would still test in command line mode first on a number of your images until you find whether either script works well for you. If you are interested in experimenting in command line mode with my scripts, you can get them at http://www.fmwconcepts.com/imagemagick/index.html Fred >Thanks Fred. I don't want to fine-tune for each image, so which >technique do you think it most likely to work well for any image I run >through it? I can update imagemagick no problem. Will I fare better >with a newer version? > >- Grant _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
