StrataQuest Home › StrataQuest Glossary › Image bit depth
Image Data

Image bit depth

How many distinct intensity values your image can hold

Definition
Bit depth is the number of bits storing each pixel's intensity. 8-bit images hold 256 values (0 to 255), 16-bit images 65,536 (0 to 65,535), and 32-bit images over four billion, or arbitrary floating-point values for processed data. Depth sets how finely you can quantify intensity. The Convert 16-bit to 8-bitLoading... engine bridges to tools that assume 8 bits, at a cost often visible only in the histogramLoading....
Dynamic range - 16bit to 8bit normalization
Video · Primary
Supporting
Dynamic range - 16bit to 8bit normalization 6m
Video · Supporting
User Interface - Dimensions (8bit FL)
Video · Supporting
Headroom at the dim end
Each step up multiplies headroom by 256
Downcasting throws information away
16→8 is lossy, even when it looks fine
Check the histogram before downcasting
Data bunched at the low end gets lost
32-bit is for math
Floating-point intermediates

What 256 vs 65,536 means

A pixel in an 8-bit grayscale image carries one of 256 possible values, encoded in eight binary digits, or bits. The smallest difference it can record between two pixels is one of those steps: about 0.4% of the full range.

A 16-bit pixel carries one of 65,536 values, and its smallest step is 0.0015% of the range, 256 times finer. Suppose the bright signal is 100 times stronger than the dim signal you care about. At 8 bits the dim signal may not even stand apart from the noise floor as a distinct value; at 16 bits it will. That is why scientific cameras almost always acquire at 16 bits, and why downcasting at the start of a pipeline is rarely a good idea.

The flip side is that 16-bit images take twice the disk space, and most casual viewers display them by compressing linearly to 8 bits anyway. So the gain is purely quantitative: it shows up in measurements, not in what the eye sees in a quick preview.

Share This Term
Term Connections