Function mlx9064x::calculations::v_dd [−][src]
pub fn v_dd<'a, Clb: CalibrationData<'a>>(
calibration: &'a Clb,
resolution_correction: f32,
delta_v: f32
) -> f32
Expand description
Calculate $V_{DD}$
The output of this function is used in multiple places in calculating the temperature of each
pixel, and only needs to be calculated once for each frame. It is documented in sections
11.1.17, 11.2.2.1, and 11.2.2.2 in the MLX90640 datasheet and 11.1.1, 11.1.18, 11.2.2.1, and
11.2.2.2 in the MLX90641 datasheet. This function is used for constructing CommonIrData
.
\begin{align*} V_{DD} &= \frac{\text{Resolution}_\text{corr} * V_{DD_{pix}} - V_{DD_{25}}}{K_{V_{DD}}} + V_{DD_0}\newline &= \text{Resolution}_\text{corr} * \Delta V + V_{DD_0} \end{align*}
$V_{DD_{0}}$ is retrieved from the calibration
argument, while $\Delta V$ (delta_v
) is the
value returned from delta_v
. The resolution correction factor calculation is camera model
specific, and is performed by an implementation of
MelexisCamera::resolution_correction
.