Re Averaging images
Message-ID:<uNOdnfFyldBDPCfUnZ2dnUVZ_tPinZ2d@giganews.com>
Subject:
Re: Averaging images
Date:Fri, 13 Mar 2009 19:11:42 +0100
On Thu, 12 Mar 2009 01:43:57 +0000, Ricky Rudolph wrote: > Ofnuts wrote: >> Given a set of identical images (except for random noise) is there a >> way to compute the average image (ie, for each pixel and each color >> channel, >> the value of the final image is the average of the value for the same >> pixel in all input images). Layer in additive mode are pretty close but >> since there is no division by the number of layers you end up with >> pure white very quickly. > > You can use ImageMagick for that purpose. To compute the average of, > say, 3 files, you can do something like > > convert -average image1.jpg image2.jpg image3.jpg average.jpg > > The -average operation takes a series of file names as input; the last > file name is that of the output file. Information about the ImageMagick > command-line tool can be found at: > > http://www.imagemagick.org/script/command-line-options.php Ricky, I don't know if this helped the Ofnuts, but you just saved me a ton of work. Hadn't heard of ImageMagick before, but have been playing with it for about three hours now non-stop. thanks!
Message-ID:<49babb5e$0$24022$426a74cc@news.free.fr>
Subject:
Re: Averaging images
Date:Fri, 13 Mar 2009 21:00:30 +0100
arkster wrote: > On Thu, 12 Mar 2009 01:43:57 +0000, Ricky Rudolph wrote: > >> Ofnuts wrote: >>> Given a set of identical images (except for random noise) is there a >>> way to compute the average image (ie, for each pixel and each color >>> channel, >>> the value of the final image is the average of the value for the same >>> pixel in all input images). Layer in additive mode are pretty close but >>> since there is no division by the number of layers you end up with >>> pure white very quickly. >> You can use ImageMagick for that purpose. To compute the average of, >> say, 3 files, you can do something like >> >> convert -average image1.jpg image2.jpg image3.jpg average.jpg >> >> The -average operation takes a series of file names as input; the last >> file name is that of the output file. Information about the ImageMagick >> command-line tool can be found at: >> >> http://www.imagemagick.org/script/command-line-options.php > > Ricky, > > I don't know if this helped the Ofnuts, but you just saved me a ton of > work. Hadn't heard of ImageMagick before, but have been playing with it > for about three hours now non-stop. > It definitely helped :-) -- Bertrand
Message-ID:<uNOdnfFyldBDPCfUnZ2dnUVZ_tPinZ2d@giganews.com>
Subject:
Re: Averaging images
Date:Fri, 13 Mar 2009 19:11:42 +0100
On Thu, 12 Mar 2009 01:43:57 +0000, Ricky Rudolph wrote: > Ofnuts wrote: >> Given a set of identical images (except for random noise) is there a >> way to compute the average image (ie, for each pixel and each color >> channel, >> the value of the final image is the average of the value for the same >> pixel in all input images). Layer in additive mode are pretty close but >> since there is no division by the number of layers you end up with >> pure white very quickly. > > You can use ImageMagick for that purpose. To compute the average of, > say, 3 files, you can do something like > > convert -average image1.jpg image2.jpg image3.jpg average.jpg > > The -average operation takes a series of file names as input; the last > file name is that of the output file. Information about the ImageMagick > command-line tool can be found at: > > http://www.imagemagick.org/script/command-line-options.php Ricky, I don't know if this helped the Ofnuts, but you just saved me a ton of work. Hadn't heard of ImageMagick before, but have been playing with it for about three hours now non-stop. thanks!
Message-ID:<49babb5e$0$24022$426a74cc@news.free.fr>
Subject:
Re: Averaging images
Date:Fri, 13 Mar 2009 21:00:30 +0100
arkster wrote: > On Thu, 12 Mar 2009 01:43:57 +0000, Ricky Rudolph wrote: > >> Ofnuts wrote: >>> Given a set of identical images (except for random noise) is there a >>> way to compute the average image (ie, for each pixel and each color >>> channel, >>> the value of the final image is the average of the value for the same >>> pixel in all input images). Layer in additive mode are pretty close but >>> since there is no division by the number of layers you end up with >>> pure white very quickly. >> You can use ImageMagick for that purpose. To compute the average of, >> say, 3 files, you can do something like >> >> convert -average image1.jpg image2.jpg image3.jpg average.jpg >> >> The -average operation takes a series of file names as input; the last >> file name is that of the output file. Information about the ImageMagick >> command-line tool can be found at: >> >> http://www.imagemagick.org/script/command-line-options.php > > Ricky, > > I don't know if this helped the Ofnuts, but you just saved me a ton of > work. Hadn't heard of ImageMagick before, but have been playing with it > for about three hours now non-stop. > It definitely helped :-) -- Bertrand



RSS News Feed