Re: normalize stack of pictures
Posted by
jmutterer on
Feb 17, 2010; 10:50am
URL: http://imagej.273.s1.nabble.com/normalize-stack-of-pictures-tp3689335p3689339.html
Jakub,
The following macro should do what you describe.
Jerome
run("32-bit");
run ("Select None");
for(i=1; i<=nSlices; i++) {
setSlice(i);
v = getResult("Mean1",i-1);
run("Divide...", "value=&v");
}
resetMinAndMax();
On Wed, Feb 17, 2010 at 11:13 AM, jakudo <
[hidden email]> wrote:
> Hello,
> I'm kind of new here and I would like to ask you for some help.
> What I want to do: I have stack of pictures (around 100) which I've made in
> Neutron Tomography. But not all of were created by the same strong beam so
> some of them are more dark. I've selected some free space and run "Measure
> stack" in plugins. It gave me means of each picture. Now I need to divide
> each picture by the mean value. I don't know whether there is some plugin
> for that, but I didn't find one. I've also tried to create some macro, but
> not so successfully.
> Can anybody help me with it please?
>
> Thanks
> Jakub
> --
> View this message in context:
>
http://n2.nabble.com/normalize-stack-of-pictures-tp4585257p4585257.html> Sent from the ImageJ mailing list archive at Nabble.com.
>