Quantizing one raw 220-band PP NIR spectrum at different bit depths.
Original raw spectrum
Quantized spectrum
Quantization error
Selected material pixel: row 97, column 33, mean raw intensity 1058.75.
The spectrum has 220 spectral bands. In this simplified model, the detector produces an
analogue signal related to received radiation intensity and an ADC converts that signal into
a finite set of digital values. Lower bit depth means fewer representable amplitude levels,
so the raw spectrum becomes more visibly quantized.
For this teaching example, the ADC range is set to the minimum and maximum intensity of this
selected spectrum (729.00 to 1440.00). A real instrument normally has a fixed electrical
input range and additional calibration, gain, noise, dark-current and saturation effects.