Manipulating multi-image MIFF
Posted: 2018-03-29T16:00:26-07:00
Hello!
I'm trying to subtract a given image from each image in a multi-image MIFF file. I have a bunch of greyscale tiff files and I want to subtract the mean of all of them from each image. I tried this:
I was hoping to get a multi-image MIFF file named diff.miff that has the original images with the mean.miff subtracted from each image, but that's not what I get. I'm sure that there's some user error in here.
I'm using 7.0.7 Q16 HDRI here.
I'm actually trying to compute the temporal noise of the original tiff images. The usual way is to compute the stddev of each pixel location across all the images, then get the mean of the stddev values. Fred's stdimage script doesn't seem to quite do it for me.
If anyone can nudge me in the right direction, that would be great.
Thanks!
I'm trying to subtract a given image from each image in a multi-image MIFF file. I have a bunch of greyscale tiff files and I want to subtract the mean of all of them from each image. I tried this:
Code: Select all
magick *.tiff merged.miff
magick merged.miff -evaluate-sequence mean mean.miff
magick merged.miff -compose subtract mean.miff diff.miff
I'm using 7.0.7 Q16 HDRI here.
I'm actually trying to compute the temporal noise of the original tiff images. The usual way is to compute the stddev of each pixel location across all the images, then get the mean of the stddev values. Fred's stdimage script doesn't seem to quite do it for me.
If anyone can nudge me in the right direction, that would be great.
Thanks!