try this. it works for me with IM 6.5.0-0 Q16

convert image1 image2 ... imageN -average \
-fill black -colorize 0,100,100 redaverageimage

This may or may not be a little quicker

convert image1 image2 ... imageN -channel R -average +channel \
-fill black -colorize 0,100,100 redaverageimage





>Greetings.
>
>I have a problem for which I think the composite program will work. 
>Unfortunately, I'm a bit overwhelmed by the number of options.  If 
>someone could point me in the right direction, I'd be very 
>appreciative.
>
>I have a series of images that I would like to merge into one.  All 
>images are the same size and type.  I am only interested in each 
>pixel's red value.  Each pixel in the composite image should be an 
>arithmetic average of the corresponding pixels in the source images. 
>For example, if the red value of pixel (45,87) in image 1 is 40, 
>image 2 is 30, image 3 is 20, and image 4 is 10, the resulting image 
>should have a red value in pixel (45,87) of 25 and a blue and green 
>of 0.
>
>Is this something that I can manipulate IM to do?
>
>Thank you very much in advance.
>Mike
>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to