facebook360_dep
Facebook360 Depth Estimation Pipeline
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fb360_dep::ReprojectionTable Class Reference

#include <ReprojectionTable.h>

Public Types

using Entry = Eigen::Vector2f
 
using IndexType = Eigen::Array3i
 

Public Member Functions

 ReprojectionTable (const Camera &dst, const Camera &src, const Camera::Vector2 &tolerance, const Camera::Vector2 &margin={0, 0})
 
Eigen::Array3f getScale () const
 
Eigen::Array3f getOffset () const
 
Entry lookup (const Entry &xy, const float disparity) const
 
std::string toString (const int kRes=10) const
 

Static Public Member Functions

static float maxDisparity ()
 
static float minDisparity ()
 
static float normalizeDisparity (float disparity)
 
static float unnormalizeDisparity (float normalized)
 

Public Attributes

IndexType shape
 
const Camera::Vector2 margin
 
std::vector< Entryvalues
 

Member Typedef Documentation

◆ Entry

using fb360_dep::ReprojectionTable::Entry = Eigen::Vector2f

◆ IndexType

Constructor & Destructor Documentation

◆ ReprojectionTable()

fb360_dep::ReprojectionTable::ReprojectionTable ( const Camera dst,
const Camera src,
const Camera::Vector2 tolerance,
const Camera::Vector2 margin = {0, 0} 
)
inline

Member Function Documentation

◆ getOffset()

Eigen::Array3f fb360_dep::ReprojectionTable::getOffset ( ) const
inline

◆ getScale()

Eigen::Array3f fb360_dep::ReprojectionTable::getScale ( ) const
inline

◆ lookup()

Entry fb360_dep::ReprojectionTable::lookup ( const Entry xy,
const float  disparity 
) const
inline

◆ maxDisparity()

static float fb360_dep::ReprojectionTable::maxDisparity ( )
inlinestatic

◆ minDisparity()

static float fb360_dep::ReprojectionTable::minDisparity ( )
inlinestatic

◆ normalizeDisparity()

static float fb360_dep::ReprojectionTable::normalizeDisparity ( float  disparity)
inlinestatic

◆ toString()

std::string fb360_dep::ReprojectionTable::toString ( const int  kRes = 10) const
inline

◆ unnormalizeDisparity()

static float fb360_dep::ReprojectionTable::unnormalizeDisparity ( float  normalized)
inlinestatic

Member Data Documentation

◆ margin

const Camera::Vector2 fb360_dep::ReprojectionTable::margin

◆ shape

IndexType fb360_dep::ReprojectionTable::shape

◆ values

std::vector<Entry> fb360_dep::ReprojectionTable::values

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