Login  Register

Re: stack threshold

Posted by CosminM on Jul 08, 2007; 11:31pm
URL: http://imagej.273.s1.nabble.com/stack-threshold-tp3698921p3698924.html

Anthony,
 
Thanks for your sugestion - this would require to write a plugin which I do
not know how to do. I thought there might be a way to do it with the features
already available in Image J.
 
Cosmin
 

________________________________

From: ImageJ Interest Group on behalf of Rotella, Anthony M. (GRC)[]
Sent: Fri 7/6/2007 4:13 PM
To: [hidden email]
Subject: Re: stack threshold



Cosmin,

If I understand your question correctly, you could simply write some
statement like:

for (n = 1; n <= nSlices; n++)
        setPixel(c, r, theValue);

theValue would just be some value that would guarantee that that pixel
would be thresholded out every time. Unfortunately I think you may have
to threshold each slice 1 by 1 if you wanted to do this. That's the
first thing that comes to my head, but maybe there are better ways to do
it.

>-----Original Message-----
>From: ImageJ Interest Group [mailto:[hidden email]] On
>Behalf Of Cosmin Mihai
>Sent: Friday, July 06, 2007 3:55 PM
>To: [hidden email]
>Subject: stack threshold
>
>Hi,
>
>I have a question regarding thresholding of ImageJ stacks.
>When using the threshold comand on the first slice, the rest
>of the stack is thresholded in the same limits. I am studying
>bleaching processes and I am interested in eliminating from my
>analysis pixels above a certain value. The problem in the
>standard threshold is that the pixels eliminated from the
>first slice might be reintroduced in the later slices when
>their intensity falls in the threshold interval.
>Is there any way to permanently eliminate those pixels from
>the whole stack ?
>
>Thank you,
>Cosmin
>