#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 |
Definition at line 43 of file discrete_depth_distortion_model.h.
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.
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.
|
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.
|
inline |
Definition at line 77 of file discrete_depth_distortion_model.cpp.
|
friend |
Definition at line 65 of file discrete_depth_distortion_model.h.
|
protected |
Definition at line 59 of file discrete_depth_distortion_model.h.
|
protected |
Definition at line 60 of file discrete_depth_distortion_model.h.
|
protected |
Definition at line 57 of file discrete_depth_distortion_model.h.
|
protected |
Definition at line 63 of file discrete_depth_distortion_model.h.
|
protected |
Definition at line 58 of file discrete_depth_distortion_model.h.
|
protected |
Definition at line 62 of file discrete_depth_distortion_model.h.
|
protected |
Definition at line 61 of file discrete_depth_distortion_model.h.