I have a CMOS camera which records images at 12 bit resolution. The camera software allows to save them as 12-bit TIFs. However, Mathematica cannot import this:
Import["12_bit.tif", "BitDepth"] (* -> 12 *) img = Import["12_bit.tif"] (* -> $Failed *)
Import::unsup: Unsupported type of TIFF file.
How can I read 12-bit TIF images?
Here is the original image: http://tinyurl.com/jyg6jwm
I also can save camera images as 16 Bit TIFs.
Comparison of image size on my computer (Win 10 Pro, NTFS):
12 Bit TIF:
Size: 6.299.794 Bytes
Size on SSD: 6.303.744 Bytes
16 Bit TIF:
Size: 8.396.946 Bytes
Size on SSD: 8.400.896 Bytes