Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

16-bit grayscale TIFF

Tags:

image

matlab

tiff

What is the bit-format of a 16-bit grayscale TIFF? I read that only 10 bits actually contain intensity data--is this true? When I try to open a 16-bit TIFF in Matlab using imshow(), the image is totally black, but the same image reduced to 8-bits displays fine.

like image 297
Matthew Piziak Avatar asked Jun 21 '11 01:06

Matthew Piziak


People also ask

Are TIFF files 16 bit?

The 16-bit tiff retains all of the RAW data to give you postprocessing latitude until you finalize the result for 8-bit (per channel or 24-bit total) presentation. This is useful especially if you need to do substantial corrections for color balance, exposure, etc.

What is a grayscale TIFF?

Exports as a grayscale tiff (tagged image file format) image. TIFF is a container format including images and data within a single file with header files describing the internal properties such as the size, definition and applied compression.

How do I make a TIFF grayscale?

Navigate to the Color tab in the main toolbar, click on the Filters icon and select Grayscale from the drop-down to automatically convert your TIFF image into grayscale.


1 Answers

How many bits are used depends a lot on the camera that took the picture. A 14-bit camera will use 14 of 16 bits, a 10-bit camera will use 10.

If you display the image by calling imshow(img), all will be black if the full dynamic range of the image wasn't used, since imshow will scale to the dynamic range (i.e. 0 to 2^16-1). If you call imshow(img,[]) instead, which scales the image to min/max, the image displays nicely.

like image 115
Jonas Avatar answered Sep 18 '22 01:09

Jonas