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!