On 11/2/06, Brian Jackson <[EMAIL PROTECTED]> wrote:
On Thursday 02 November 2006 13:17, Ron Savage wrote:
> On Wed, 1 Nov 2006 15:42:15 -0700, Brian Jackson wrote:

I've got a little shell script to produce the 4 different histograms
(value, red, green, blue) and it takes about 0.6-2.5 seconds depending
on the machine, which isn't too bad, but not having to make a shell
call, writing and then reading 4 files....that's the goal :)

You can do it with 2 histograms:
1. create histogram file
2. load histogram file
3. separate histogram file into red/green/blue channels to get R/G/B histograms
4. convert original image to greyscale
5. create histogram file
6. load histogram file as value histogram

GNS
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to