SLAMflex SE  0.1.0
SLAMflex provides detection and tracking of dominant planes for smartphone devices. This plane can then be used to show AR content relative to the plane orientation. The detection of plane is performed in the field of view of the smartphone camera. In subsequent frames it is tracked. The interface returns the plane position and orientation.
CVD::Interpolate::Bilinear Class Reference

#include <image_interpolate.h>

Detailed Description

This class is for bilinear interpolation.

Define $p' = ( \operatorname{floor}\ x, \operatorname{floor}\ y)$ and $\delta = p - p'$

4 pixels in a square with $p'$ in the top left corner are taken:

\[\begin{array}{rl} a =& I(p')\\ b =& I(p' + (1,0))\\ c =& I(p' + (0,1))\\ d =& I(p' + (1,1)) \end{array} \]

The interpolated value, $v$, is

\[v = (1-\delta_y)((1-\delta_x)a + \delta_xb) + \delta_y((1-\delta_x)c + \delta_xd)\]

Definition at line 42 of file image_interpolate.h.


The documentation for this class was generated from the following file: