Re: Subtracting Mean Pixel Value From Image
Posted by
Herbie-3 on
Sep 10, 2013; 11:30am
URL: http://imagej.273.s1.nabble.com/Subtracting-Mean-Pixel-Value-From-Image-tp5004736p5004738.html
Aaron,
what about a little macro?
getRawStatistics( N, mn );
run( "Subtract...", "value=[mn]" );
HTH
Herbie
_________________________________________________
On 10.09.13 13:19, Aaron Hendrickson wrote:
> Hi,
>
> This should be a simple question. I would like to automate the follow
> process to be performed on a large number of images.
>
> 1. Measure the mean pixel value.
> 2. Subtract the measured mean from the image with 9 decimal place precision
> (32-bit float result).
>
> I know how to do this by hand by simply measuring the mean and then go to
> Process>Math>Subtract but this would take a long time to do on hundreds of
> images. How might this be automated for large sequences of images (i.e. in
> a batch processing fashion)?
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html