Greetings,
I'm wanting to create a function using the Perl API to use the histogram
of an image to determine if a gamma adjustment is necessary, and in
which direction (lighter or darker). Has anyone done this before? Can
someone point me in the proper direction on this one?
I've used the Histogram() function and am able to pull out a hash of all
unique colors and a count for each, but I'm kind of lost on how to use
that data, or if there's a better way of going about it.
Thank you for your time,
Jason Lamey
--
Jason Lamey - Software Engineer
ThoughtWorthy Media, Inc.
http://www.thoughtworthy.com/
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers