开发者

ImageMagick - Auto adjust the colours of an image a la other photo management applications?

开发者 https://www.devze.com 2023-02-16 00:31 出处:网络
Several photo management applications (e.g. Picnic on the flickr website, F-Spot on the gnome desktop), has the option to \'autocorrect\'/\'auto-fix\' an image, which seems to adjust the colours in an

Several photo management applications (e.g. Picnic on the flickr website, F-Spot on the gnome desktop), has the option to 'autocorrect'/'auto-fix' an image, which seems to adjust the colours in an image to make it look a bit better.

For example, here's a before:

ImageMagick - Auto adjust the colours of an image a la other photo management applications?

and after

ImageMagick - Auto adjust the colours of an image a la other photo management applications?

Is there anyway to do this sort of 'automatically adjust the colours to make it look good' on the command line with ImageMagick's tools (or other open source command line tools on ubuntu/debian). I have several hundr开发者_开发知识库ed images that look at bit rubbish and I want to try putting them through this sort of filter.

Alternatively, what would be the name of this sort of effect?


What you are looking for is something to help you correct the white-balance of photos.

If you search for imagemagick auto white balance on any popular search engine you will get quite a feew results that are relevant. Sadly, http://www.imagemagick.org seems down at the moment.

I myself found a shell script called autowhite, and used it

me@sophie:[...]$ ./autowhite.sh 5498758807_59a80b3c50_m.jpg corrected.jpg

and the result is perfectly acceptable:

  • Original:

    ImageMagick - Auto adjust the colours of an image a la other photo management applications?

  • Corrected:

    ImageMagick - Auto adjust the colours of an image a la other photo management applications?

There are some options to the script, so if you're not really satisfied with the result you'll able to tweak it a tad.

0

精彩评论

暂无评论...
验证码 换一张
取 消