#include <discrete_depth_distortion_model.h>
|
| size_t | accumulate (const cv::Mat &ground_truth, const cv::Mat &measurement) |
| |
| void | addExample (int v, int u, double ground_truth, double measurement) |
| |
| void | deserialize (std::istream &in, bool ascii) |
| |
| | DiscreteDepthDistortionModel () |
| |
| | DiscreteDepthDistortionModel (const DiscreteDepthDistortionModel &other) |
| |
| | DiscreteDepthDistortionModel (int width, int height, int bin_width=8, int bin_height=6, double bin_depth=2.0, int smoothing=1, double max_depth=10.0) |
| |
| int | getHeight () const |
| |
| size_t | getTrainingSamples () const |
| |
| int | getWidth () const |
| |
| bool | isValid () const |
| |
| void | load (const std::string &path) |
| |
| DiscreteDepthDistortionModel & | operator= (const DiscreteDepthDistortionModel &other) |
| |
| void | save (const std::string &path) const |
| |
| void | serialize (std::ostream &out, bool ascii) const |
| |
| void | undistort (cv::Mat &depth) const |
| |
| cv::Mat | visualize (const std::string &path="") const |
| |
| virtual | ~DiscreteDepthDistortionModel () |
| |
◆ DiscreteDepthDistortionModel() [1/3]
| clams::DiscreteDepthDistortionModel::DiscreteDepthDistortionModel |
( |
| ) |
|
|
inline |
◆ ~DiscreteDepthDistortionModel()
| clams::DiscreteDepthDistortionModel::~DiscreteDepthDistortionModel |
( |
| ) |
|
|
virtual |
◆ DiscreteDepthDistortionModel() [2/3]
| clams::DiscreteDepthDistortionModel::DiscreteDepthDistortionModel |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
bin_width = 8, |
|
|
int |
bin_height = 6, |
|
|
double |
bin_depth = 2.0, |
|
|
int |
smoothing = 1, |
|
|
double |
max_depth = 10.0 |
|
) |
| |
◆ DiscreteDepthDistortionModel() [3/3]
◆ accumulate()
| size_t clams::DiscreteDepthDistortionModel::accumulate |
( |
const cv::Mat & |
ground_truth, |
|
|
const cv::Mat & |
measurement |
|
) |
| |
◆ addExample()
| void clams::DiscreteDepthDistortionModel::addExample |
( |
int |
v, |
|
|
int |
u, |
|
|
double |
ground_truth, |
|
|
double |
measurement |
|
) |
| |
◆ deleteFrustums()
| void clams::DiscreteDepthDistortionModel::deleteFrustums |
( |
| ) |
|
|
protected |
◆ deserialize()
| void clams::DiscreteDepthDistortionModel::deserialize |
( |
std::istream & |
in, |
|
|
bool |
ascii |
|
) |
| |
◆ frustum() [1/2]
◆ frustum() [2/2]
◆ getBinSize()
| void clams::DiscreteDepthDistortionModel::getBinSize |
( |
const size_t & |
width, |
|
|
const size_t & |
height, |
|
|
size_t & |
bin_width, |
|
|
size_t & |
bin_height |
|
) |
| |
|
static |
◆ getClosestToRef()
| size_t clams::DiscreteDepthDistortionModel::getClosestToRef |
( |
const std::set< size_t > & |
divisors, |
|
|
const double & |
ref |
|
) |
| |
|
static |
◆ getDivisors()
◆ getHeight()
| int clams::DiscreteDepthDistortionModel::getHeight |
( |
| ) |
const |
|
inline |
◆ getTrainingSamples()
| size_t clams::DiscreteDepthDistortionModel::getTrainingSamples |
( |
| ) |
const |
|
inline |
◆ getWidth()
| int clams::DiscreteDepthDistortionModel::getWidth |
( |
| ) |
const |
|
inline |
◆ isValid()
| bool clams::DiscreteDepthDistortionModel::isValid |
( |
| ) |
const |
|
inline |
◆ load()
| void clams::DiscreteDepthDistortionModel::load |
( |
const std::string & |
path | ) |
|
◆ operator=()
◆ save()
| void clams::DiscreteDepthDistortionModel::save |
( |
const std::string & |
path | ) |
const |
◆ serialize()
| void clams::DiscreteDepthDistortionModel::serialize |
( |
std::ostream & |
out, |
|
|
bool |
ascii |
|
) |
| const |
◆ undistort()
| void clams::DiscreteDepthDistortionModel::undistort |
( |
cv::Mat & |
depth | ) |
const |
◆ visualize()
| cv::Mat clams::DiscreteDepthDistortionModel::visualize |
( |
const std::string & |
path = "" | ) |
const |
◆ bin_depth_
| double clams::DiscreteDepthDistortionModel::bin_depth_ |
|
protected |
◆ bin_height_
| int clams::DiscreteDepthDistortionModel::bin_height_ |
|
protected |
◆ bin_width_
| int clams::DiscreteDepthDistortionModel::bin_width_ |
|
protected |
◆ frustums_
| std::vector< std::vector<DiscreteFrustum*> > clams::DiscreteDepthDistortionModel::frustums_ |
|
protected |
◆ height_
| int clams::DiscreteDepthDistortionModel::height_ |
|
protected |
◆ mutex_
| UMutex clams::DiscreteDepthDistortionModel::mutex_ |
|
protected |
◆ num_bins_x_
| int clams::DiscreteDepthDistortionModel::num_bins_x_ |
|
protected |
◆ num_bins_y_
| int clams::DiscreteDepthDistortionModel::num_bins_y_ |
|
protected |
◆ training_samples_
| size_t clams::DiscreteDepthDistortionModel::training_samples_ |
|
protected |
◆ width_
| int clams::DiscreteDepthDistortionModel::width_ |
|
protected |
The documentation for this class was generated from the following files: