Average value of hue/saturation/lightness/grey_value(?)
Posted: 2011-10-25T11:18:04-07:00
Hi!
First I'd like to say about ImageMagick: brilliant work! It helped me a lot in many cases.
Right now I'm doing a project, which goal is to remove dynamic objects from the image sequence. Actually I've got a problem with "normalizing" image stack (shots can be taken from hand, may have slightly different perspective and different light conditions). Is it possible to calculate the average lightness/grey_value of images in a stack and set the correct mean value to each image using ImageMagick? I can see there's -evaluate-sequence parameter, but each interesting option is converting image stack to a single output image. I need something like: "command -average-lightness -outprefix out image1 image2 image3..." and as a result "outimage1 outimage2 ..." with normalized/averaged light balance.
Example: http://techblog.zabuchy.net/2011/automa ... al-images/
Thanks a lot,
kotu
First I'd like to say about ImageMagick: brilliant work! It helped me a lot in many cases.
Right now I'm doing a project, which goal is to remove dynamic objects from the image sequence. Actually I've got a problem with "normalizing" image stack (shots can be taken from hand, may have slightly different perspective and different light conditions). Is it possible to calculate the average lightness/grey_value of images in a stack and set the correct mean value to each image using ImageMagick? I can see there's -evaluate-sequence parameter, but each interesting option is converting image stack to a single output image. I need something like: "command -average-lightness -outprefix out image1 image2 image3..." and as a result "outimage1 outimage2 ..." with normalized/averaged light balance.
Example: http://techblog.zabuchy.net/2011/automa ... al-images/
Thanks a lot,
kotu