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

◆ DiscreteFrustum()

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

◆ addExample()

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.

◆ deserialize()

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

Definition at line 128 of file discrete_depth_distortion_model.cpp.

◆ index()

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

Definition at line 72 of file discrete_depth_distortion_model.cpp.

◆ interpolatedUndistort()

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

Definition at line 82 of file discrete_depth_distortion_model.cpp.

◆ serialize()

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

Definition at line 104 of file discrete_depth_distortion_model.cpp.

◆ undistort()

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

Definition at line 77 of file discrete_depth_distortion_model.cpp.

Friends And Related Function Documentation

◆ DiscreteDepthDistortionModel

friend class DiscreteDepthDistortionModel
friend

Definition at line 65 of file discrete_depth_distortion_model.h.

Member Data Documentation

◆ bin_depth_

double clams::DiscreteFrustum::bin_depth_
protected

Definition at line 59 of file discrete_depth_distortion_model.h.

◆ counts_

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

Definition at line 60 of file discrete_depth_distortion_model.h.

◆ max_dist_

double clams::DiscreteFrustum::max_dist_
protected

Definition at line 57 of file discrete_depth_distortion_model.h.

◆ multipliers_

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

Definition at line 63 of file discrete_depth_distortion_model.h.

◆ num_bins_

int clams::DiscreteFrustum::num_bins_
protected

Definition at line 58 of file discrete_depth_distortion_model.h.

◆ total_denominators_

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

Definition at line 62 of file discrete_depth_distortion_model.h.

◆ total_numerators_

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 Jan 23 2023 03:38:59