Public Member Functions | Protected Attributes | Friends | List of all members
clams::DiscreteFrustum Class Reference

#include <discrete_depth_distortion_model.h>

Public Member Functions

void addExample (double ground_truth, double measurement)
 
void deserialize (std::istream &in, bool ascii)
 
 DiscreteFrustum (int smoothing=1, double bin_depth=1.0, double max_dist=10.0)
 
int index (double z) const
 
void interpolatedUndistort (double *z) const
 
void serialize (std::ostream &out, bool ascii) const
 
void undistort (double *z) const
 

Protected Attributes

double bin_depth_
 
Eigen::VectorXf counts_
 
double max_dist_
 
Eigen::VectorXf multipliers_
 
int num_bins_
 
Eigen::VectorXf total_denominators_
 
Eigen::VectorXf total_numerators_
 

Friends

class DiscreteDepthDistortionModel
 

Detailed Description

Definition at line 43 of file discrete_depth_distortion_model.h.

Constructor & Destructor Documentation

clams::DiscreteFrustum::DiscreteFrustum ( int  smoothing = 1,
double  bin_depth = 1.0,
double  max_dist = 10.0 
)

Definition at line 43 of file discrete_depth_distortion_model.cpp.

Member Function Documentation

void clams::DiscreteFrustum::addExample ( double  ground_truth,
double  measurement 
)

z value, not distance to origin. thread-safe.

Definition at line 57 of file discrete_depth_distortion_model.cpp.

void clams::DiscreteFrustum::deserialize ( std::istream &  in,
bool  ascii 
)

Definition at line 128 of file discrete_depth_distortion_model.cpp.

int clams::DiscreteFrustum::index ( double  z) const
inline

Definition at line 72 of file discrete_depth_distortion_model.cpp.

void clams::DiscreteFrustum::interpolatedUndistort ( double *  z) const

Definition at line 82 of file discrete_depth_distortion_model.cpp.

void clams::DiscreteFrustum::serialize ( std::ostream &  out,
bool  ascii 
) const

Definition at line 104 of file discrete_depth_distortion_model.cpp.

void clams::DiscreteFrustum::undistort ( double *  z) const
inline

Definition at line 77 of file discrete_depth_distortion_model.cpp.

Friends And Related Function Documentation

friend class DiscreteDepthDistortionModel
friend

Definition at line 65 of file discrete_depth_distortion_model.h.

Member Data Documentation

double clams::DiscreteFrustum::bin_depth_
protected

Definition at line 59 of file discrete_depth_distortion_model.h.

Eigen::VectorXf clams::DiscreteFrustum::counts_
protected

Definition at line 60 of file discrete_depth_distortion_model.h.

double clams::DiscreteFrustum::max_dist_
protected

Definition at line 57 of file discrete_depth_distortion_model.h.

Eigen::VectorXf clams::DiscreteFrustum::multipliers_
protected

Definition at line 63 of file discrete_depth_distortion_model.h.

int clams::DiscreteFrustum::num_bins_
protected

Definition at line 58 of file discrete_depth_distortion_model.h.

Eigen::VectorXf clams::DiscreteFrustum::total_denominators_
protected

Definition at line 62 of file discrete_depth_distortion_model.h.

Eigen::VectorXf clams::DiscreteFrustum::total_numerators_
protected

Definition at line 61 of file discrete_depth_distortion_model.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08