couldn't find it by myself, please could anyone explain.
i have made some brightness adjustments in ImageJ and saved image (in 16-bit grayscale). but when i opened it in irfanview (and other image viewers) i saw that image didn't change (like a switched off layer in photoshop). then i reopened with imagej and saw changed image. then i converted it in imagej to rgb and only after that changes became visible in imageviewers. the question is: what is the practical meaning of 8–bitgrayscale unsigned and signed 16–bitgrayscale signed 32–bit floating-point grayscale and 32–bit RGB color. or is there a place where i can read about it. cannot find it in internets. thanks in advance. |
Hi A,
(sorry, cant convert your russian script name to latin!) On Oct 5, 2010, at 1:40 PM, IMAGEJ automatic digest system wrote: > > Date: Tue, 5 Oct 2010 14:25:05 +0300 > From: Алексей Малышко <[hidden email]> > Subject: difference between tiff types > > couldn't find it by myself, please could anyone explain. > i have made some brightness adjustments in ImageJ and saved image (in 16-bit > grayscale). but when i opened it in irfanview (and other image viewers) i > saw that image didn't change (like a switched off layer in photoshop). then > i reopened with imagej and saw changed image. then i converted it in imagej > to rgb and only after that changes became visible in imageviewers. > The pont you are missing is that when you adjust brightness and contrast on a 16 bit tiff image in imageJ you do not adjust the pixel values, only how they are displayed on the screen (in the 8 bit scale that the screens use) So if you make and adjustment, then save, the numbers in the image remain unchanged!!! you only changed how it was being displayed! BUT... if you chance brightness and contrast, then convert to 8 bit, it will use the contrast and brightness setting you have applied to also rescale the pixel values to 8 bit. Then if you open that new image in another software, it will look how you expect. you make a very very common mistake.... its simply not clear enough what is going in here in imagej for the novice user!!! see the imageJ docs here to understand what is going on: http://rsbweb.nih.gov/ij/docs/menus/image.html#adjust see especially the auto, set, reset and apply buttons. and for data types http://rsbweb.nih.gov/ij/docs/menus/image.html#type > the question is: what is the practical meaning of actually thats not the question... but anyway: > 8–bitgrayscale image intensities from 0-255 8 bit bit binary representation of that integer range. > unsigned and signed 16–bitgrayscale millions of grey levels > signed 32–bit floating-point grayscale a floating point representation of the intensity values using a 32 bit binary number. http://en.wikipedia.org/wiki/Floating_point > and > 32–bit RGB color. three channels per pixel, each being 8 bit is 24 bit RGB. 32 bit RGB is then .... umm not possible, as you can divide 32 by 3 and get an integer. I think thats a typo??? anyone explain that? 48 bit RGB is 16 bit per color channel. > > or is there a place where i can read about it. > cannot find it in internets. > thanks in advance. Dr. Daniel James White BSc. (Hons.) PhD Senior Microscopist / Image Visualisation, Processing and Analysis Light Microscopy and Image Processing Facilities Max Planck Institute of Molecular Cell Biology and Genetics Pfotenhauerstrasse 108 01307 DRESDEN Germany +49 (0)15114966933 (German Mobile) +49 (0)351 210 2627 (Work phone at MPI-CBG) +49 (0)351 210 1078 (Fax MPI-CBG LMF) http://www.bioimagexd.net BioImageXD http://pacific.mpi-cbg.de Fiji - is just ImageJ (Batteries Included) http://www.chalkie.org.uk Dan's Homepages https://ifn.mpi-cbg.de Dresden Imaging Facility Network dan (at) chalkie.org.uk ( white (at) mpi-cbg.de ) |
On Oct 5, 2010, at 1:40 PM, IMAGEJ Алексей Малышко wrote :
> i have made some brightness adjustments in ImageJ and saved image (in > 16-bit grayscale). but when i opened it in irfanview (and other image > viewers) i saw that image didn't change (like a switched off layer in > photoshop). then i reopened with imagej and saw changed image. then i > converted it in imagej to rgb and only after that changes became visible > in imageviewers. Does that still happen if you press the Apply button in the Brightness/Contrast dialog after adjusting the contrast and before saving? Cheers Gabriel |
2010/10/6 Gabriel Landini <[hidden email]>
> On Oct 5, 2010, at 1:40 PM, IMAGEJ Алексей Малышко wrote : > > i have made some brightness adjustments in ImageJ and saved image (in > > 16-bit grayscale). but when i opened it in irfanview (and other image > > viewers) i saw that image didn't change (like a switched off layer in > > photoshop). then i reopened with imagej and saw changed image. then i > > converted it in imagej to rgb and only after that changes became visible > > in imageviewers. > > Does that still happen if you press the Apply button in the > Brightness/Contrast dialog after adjusting the contrast and before saving? > > Cheers > > Gabriel > images ) But how it does save in such a way, that after reopening in ImageJ (IJ) the image IJ "remembers" how to display it and other image viewers don't? |
On Oct 6, 2010, at 5:00 AM, Алексей Малышко wrote:
> 2010/10/6 Gabriel Landini <[hidden email]> > >> On Oct 5, 2010, at 1:40 PM, IMAGEJ Алексей Малышко wrote : >>> i have made some brightness adjustments in ImageJ and saved image (in >>> 16-bit grayscale). but when i opened it in irfanview (and other image >>> viewers) i saw that image didn't change (like a switched off layer in >>> photoshop). then i reopened with imagej and saw changed image. then i >>> converted it in imagej to rgb and only after that changes became visible >>> in imageviewers. >> >> Does that still happen if you press the Apply button in the >> Brightness/Contrast dialog after adjusting the contrast and before saving? >> >> Cheers >> >> Gabriel >> > YES! the "Apply" button, that's the answer. but... now i know a lot about > images ) > But how it does save in such a way, that after reopening in ImageJ (IJ) the > image IJ "remembers" how to display it and other image viewers don't? ImageJ saves the min and max displayed pixel values in the ImageDescription tag. You can see the contents of this tag by opening a tiff file with ImageJ in debug mode, which is enabled in the Edit>Options>Misc dialog box. -wayne |
Free forum by Nabble | Edit this page |