Login  Register

Re: Problem with normalized variance for stack

Posted by Michael Schmid on Feb 01, 2013; 5:38pm
URL: http://imagej.273.s1.nabble.com/Problem-with-normalized-variance-for-stack-tp5001625p5001636.html

Hi Santhya,

using arrays is actually a good idea! Then you can also plot the values (see Plot.create) and you might even try fitting it with some function to determine the maximum with better accuracy (in case the curve looks noisy).

Michael
________________________________________________________________
On Feb 1, 2013, at 17:18, sathya1 wrote:

> Hi Michael
>
> Thanks for your help. I eventually did manage to solve that problem myself.
> It was slightly long-winded and not as short as your macro. I used
> Array.getstatistics to get the maximum value and its index value. Anyway, I
> had fun writing the macro. Again, thanks for your help.
>
>
>
> --
> View this message in context: http://imagej.1557.n6.nabble.com/Problem-with-normalized-variance-for-stack-tp5001625p5001635.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html