LBP2 User Guide
Document No: 50306-001
Rev G 3/12/2020
Page 64
L8
x x x x x x x x
unsigned 8-bit
L16
x x x x x x x x x x x x x x x
unsigned 16-bit
L16_8
x x x x x x x x _ _ _ _ _ _ _ _
L16_10
x x x x x x x x x x _ _ _ _ _ _
L16_12
x x x x x x x x x x x x _ _ _ _
L16_14
x x x x x x x x x x x x x x _ _
R16_8
_ _ _ _ _ _ _ _ x x x x x x x x
R16_10
_ _ _ _ _ _ x x x x x x x x x x
R16_12
_ _ _ _ x x x x x x x x x x x x
R16_14
_ _ x x x x x x x x x x x x x x
S16
s x x x x x x x x x x x x x x x
Note: only 15 bits of precision
S16_13
s x x x x x x x x x x x x x _ _
S16_14
s x x x x x x x x x x x x x x _
S32
s x x x … … x x x
31 bits of precision*
s = signed bit; x = used bit; _ = unused bit
* All LBP2 data files are stored in S32 regardless of the native format. However,
you must know the native format in order to correctly position the decimal point.
To return to the original native pixel values you will need to divide by a
normalization factor.
If the data is processed, as in the case of an Ultracal’d frame, you will not be able
to recover the original raw camera data.
4.4.3
Calibrated Data Conversion
LBP2 always stores pixel data in the above S32 signed binary fixed point format.
If the frame were saved as power/energy calibrated images, the HDF5 file will
contain a power/energy conversion factor that can be used to convert each pixel
value into power/energy units. To read the conversion factor access the content
of the string in the folder on node 1, RAWFRAME, ENERGY,
POWER_CALIBRATION_MULTIPLIER.
To determine what units to apply access the folder on node 1, RAWFRAME,
ENERGY, ENERGY_BASE and ENERGY_QUANTIFIER. The units will be
whatever was in effect when the data was collected and calibrated. Examples are
WATTS, MILLIWATTS, JOULES, MILLIJOULES, etc…
To determine the power or energy value of a given pixel multiply the S32 binary
value by the POWER_CALIBRATION_MULTIPLIER and assign the
ENERGYUNITS.
4.5
TIFF Image Format
TIFF files are an encoded, compressed data file format that produces smaller data
files and can be easily loaded into third party applications, such as MATLAB. Files
saved as TIFF retain the *.lbp2Data extension but can be manually loaded into
other applications that support TIFF formats.