Login  Register

Re: About thresholding

Posted by yuanchen on Apr 29, 2013; 8:50am
URL: http://imagej.273.s1.nabble.com/About-thresholding-tp5002837p5002844.html

Thanks very much Mike :)

BW

Yuan


On 29 April 2013 08:02, Michael Epping <[hidden email]> wrote:

> Hello Yuan Chen,
>
> it is possible to preserve the grayvalues when thresholding. But you have
> to convert your 16-bit images to 32-bit. Then run the thresholding command
> and IJ will ask you to "Set Background Pixels to NaN". When you use a macro
> the commands
> > setAutoThreshold("Default dark"); // or select your favourite method
> > run("NaN Background");
> will do the trick.
>
> Best regards
> Michael Epping
>
> Am 28.04.2013 21:08, schrieb Yuan Chen:
>
>> Dear all friends
>>
>> I am now trying to threshold my 16 bits tiff image sequence by grayscale
>> value. This was done by using imageJ ' threshold' command.  But this seems
>> can only allow you to save images as binary. Say pixel that about GV 24340
>> will be 1 , the rest of them will be 0.
>>
>> Is there any way to threshold images, but still save them as the 16 bits
>> images ( with the graycalue ranged 0 -65525) :)
>>
>> Best wishes
>>
>> Yuan Chen
>>
>> University of Sheffield
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.**html<http://imagej.nih.gov/ij/list.html>
>>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.**html<http://imagej.nih.gov/ij/list.html>
>

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