Function mlx9064x::calculations::raw_ir_to_temperatures [−][src]
pub fn raw_ir_to_temperatures<'a, Clb, Px>(
calibration: &'a Clb,
emissivity: f32,
t_a: f32,
t_r: Option<f32>,
subpage: Subpage,
valid_pixels: &mut Px,
destination: &mut [f32]
) where
Clb: CalibrationData<'a>,
Px: Iterator<Item = bool>,
Expand description
Calculate the temperature for all pixels, starting from the raw IR data
This function applies per_pixel_temperature
to all pixels in the given subpage. It modifies
the destination
array in-place, replacing the $V_{IR}$ data with the temperatures. The
ambient temperature (t_a
, $T_a$) needs to be given from the same frame that produced the IR
data.