On Thu, 12 Mar 2009 09:01:06 -0400
"Mike Bruno" <[email protected]> wrote:

| 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?
| 

seperate out the red channel from all images, then average!

convert  images*.png  -channel R -separate +channel -average  result.png

Note however that average only works with images that are all the same
size.


  Anthony Thyssen ( System Programmer )    <[email protected]>
 -----------------------------------------------------------------------------
   My girlfriend's just an object to me.  Unfortunately, there is some
   information hiding, but thankfully, she's fairly encapsulated, nicely
   modular, and has a very well defined interface!
                            -- Frank Fabbrocino <[email protected]>
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to