hii all
i wanted to convert an 8 bit image to 16 bit... i converted it by giving image-type-16 bit...when i adjusted the brightness and contrast , its still displaying in 0-255 range... and when i manually varied it by giving SET 0-65535,... the image wash off and disappears!! is it possible to convert an 8 bit image to 16 bit with pixel values 0-65535,, plz help! -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Ash,
After converting to 16-bit with ³Image/Type/16-bit² the pixels will be the same values as the original, but stored in 2 bytes instead of one. To stretch the values to the full range use ³Process/Math/MutiplyŠ² and use a multiplier of 256. The image may initially display washed out, but if you do ³Image/Adjust/Brightnes and ContrastŠ² and set the Maximum to highest value the image will again look like the original. - Jim On 7/28/17, 8:51 AM, "ImageJ Interest Group on behalf of Ash Fairy" <[hidden email] on behalf of [hidden email]> wrote: >hii all > >i wanted to convert an 8 bit image to 16 bit... i converted it by giving >image-type-16 bit...when i adjusted the brightness and contrast , its >still >displaying in 0-255 range... >and when i manually varied it by giving SET 0-65535,... >the image wash off and disappears!! > >is it possible to convert an 8 bit image to 16 bit with pixel values >0-65535,, > > >plz help! > >-- >ImageJ mailing list: http://imagej.nih.gov/ij/list.html --- The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
As an laternative, you can run Process/Enhance Contrast, after setting Saturated pixels to 0.0 % and checking only the Normalize option. In this way the values are stretched to cover the full dynamic range.
Giovanni -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Jim Peterson Sent: Freitag, 28. Juli 2017 15:04 To: [hidden email] Subject: Re: convert 8 bit to 16 bit Hi Ash, After converting to 16-bit with ³Image/Type/16-bit² the pixels will be the same values as the original, but stored in 2 bytes instead of one. To stretch the values to the full range use ³Process/Math/MutiplyŠ² and use a multiplier of 256. The image may initially display washed out, but if you do ³Image/Adjust/Brightnes and ContrastŠ² and set the Maximum to highest value the image will again look like the original. - Jim On 7/28/17, 8:51 AM, "ImageJ Interest Group on behalf of Ash Fairy" <[hidden email] on behalf of [hidden email]> wrote: >hii all > >i wanted to convert an 8 bit image to 16 bit... i converted it by >giving >image-type-16 bit...when i adjusted the brightness and contrast , its >still displaying in 0-255 range... >and when i manually varied it by giving SET 0-65535,... >the image wash off and disappears!! > >is it possible to convert an 8 bit image to 16 bit with pixel values >0-65535,, > > >plz help! > >-- >ImageJ mailing list: http://imagej.nih.gov/ij/list.html --- The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Fairy
Dear Ash
this is a scaling issue, since conversion does not add intensities, it places them at the bottom of a much deeper bucket. A value of 128 is mid-way in 8-bit intensity range (50% of maximum) but is only 0.02% of maximum in 16-bits. From the Fiji website https://imagej.net/Troubleshooting#The_image_I_loaded_is_displayed_all_black.21_But_it_is_not_black.21 Regards, Glen MacDonald Digital Microscopy Center Box 357923 University of Washington Seattle, WA 98195-7923 USA (206) 616-4156 depts.washington.edu/digmicro [hidden email] > On Jul 28, 2017, at 5:51 AM, Ash Fairy <[hidden email]> wrote: > > hii all > > i wanted to convert an 8 bit image to 16 bit... i converted it by giving > image-type-16 bit...when i adjusted the brightness and contrast , its still > displaying in 0-255 range... > and when i manually varied it by giving SET 0-65535,... > the image wash off and disappears!! > > is it possible to convert an 8 bit image to 16 bit with pixel values > 0-65535,, > > > plz help! > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Thanks all!
-- Sent from: http://imagej.1557.x6.nabble.com/ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |