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.
Classes | Namespaces | Functions | Variables
scalar_convert.h File Reference
#include "byte.h"
#include "pixel_traits.h"

Go to the source code of this file.

Classes

struct  CVD::Pixel::Internal::int_info< To, From >
 
struct  CVD::Pixel::Internal::upshift< To, num, shift, bits, r_shift >
 
struct  CVD::Pixel::Internal::upshift< To, 0, shift, bits, r_shift >
 
struct  CVD::Pixel::Internal::shift_convert< To, From, i >
 
struct  CVD::Pixel::Internal::shift_convert< To, From, 1 >
 
struct  CVD::Pixel::Internal::shift_convert< To, From,-1 >
 
struct  CVD::Pixel::Internal::ScalarConvert< From, To, D, int1, int2 >
 
struct  CVD::Pixel::Internal::ScalarConvert< From, To, D, true, true >
 
struct  CVD::Pixel::Internal::ScalarConvert< From, bool, D, true, true >
 
struct  CVD::Pixel::Internal::ScalarConvert< From, bool, D, true, false >
 
struct  CVD::Pixel::Internal::ScalarConvert< byte, float, D, false, true >
 
struct  CVD::Pixel::Internal::ScalarConvert< byte, float, D, false, false >
 
struct  CVD::Pixel::Internal::ScalarConvert< byte, double, D, false, true >
 
struct  CVD::Pixel::Internal::ScalarConvert< byte, double, D, false, false >
 

Namespaces

 CVD
 
 CVD::Pixel
 
 CVD::Pixel::Internal
 

Functions

template<class S >
bool CVD::Pixel::Internal::buildLookupTable (S table[])
 
float CVD::Pixel::Internal::byte_to_float (int b)
 
double CVD::Pixel::Internal::byte_to_double (int b)
 
double CVD::Pixel::Internal::byte_float_to_float (double d)
 
template<class To , class From , class D >
To CVD::Pixel::scalar_convert (const D &d)
 

Variables

static float CVD::Pixel::Internal::float_for_byte [512]
 
static double CVD::Pixel::Internal::double_for_byte [512]
 
static const bool CVD::Pixel::Internal::init_float_for_byte = buildLookupTable(float_for_byte)
 
static const bool CVD::Pixel::Internal::init_double_for_byte = buildLookupTable(double_for_byte)