#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 (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 (const DiscreteDepthDistortionModel &other) |
|
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 () |
|
|
static void | getBinSize (const size_t &width, const size_t &height, size_t &bin_width, size_t &bin_height) |
|
static size_t | getClosestToRef (const std::set< size_t > &divisors, const double &ref) |
|
static std::set< size_t > | getDivisors (const size_t &num) |
|
clams::DiscreteDepthDistortionModel::DiscreteDepthDistortionModel |
( |
| ) |
|
|
inline |
clams::DiscreteDepthDistortionModel::~DiscreteDepthDistortionModel |
( |
| ) |
|
|
virtual |
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 |
|
) |
| |
size_t clams::DiscreteDepthDistortionModel::accumulate |
( |
const cv::Mat & |
ground_truth, |
|
|
const cv::Mat & |
measurement |
|
) |
| |
void clams::DiscreteDepthDistortionModel::addExample |
( |
int |
v, |
|
|
int |
u, |
|
|
double |
ground_truth, |
|
|
double |
measurement |
|
) |
| |
void clams::DiscreteDepthDistortionModel::deleteFrustums |
( |
| ) |
|
|
protected |
void clams::DiscreteDepthDistortionModel::deserialize |
( |
std::istream & |
in, |
|
|
bool |
ascii |
|
) |
| |
DiscreteFrustum & clams::DiscreteDepthDistortionModel::frustum |
( |
int |
y, |
|
|
int |
x |
|
) |
| |
|
protected |
const DiscreteFrustum & clams::DiscreteDepthDistortionModel::frustum |
( |
int |
y, |
|
|
int |
x |
|
) |
| const |
|
protected |
void clams::DiscreteDepthDistortionModel::getBinSize |
( |
const size_t & |
width, |
|
|
const size_t & |
height, |
|
|
size_t & |
bin_width, |
|
|
size_t & |
bin_height |
|
) |
| |
|
static |
size_t clams::DiscreteDepthDistortionModel::getClosestToRef |
( |
const std::set< size_t > & |
divisors, |
|
|
const double & |
ref |
|
) |
| |
|
static |
std::set< size_t > clams::DiscreteDepthDistortionModel::getDivisors |
( |
const size_t & |
num | ) |
|
|
static |
int clams::DiscreteDepthDistortionModel::getHeight |
( |
| ) |
const |
|
inline |
size_t clams::DiscreteDepthDistortionModel::getTrainingSamples |
( |
| ) |
const |
|
inline |
int clams::DiscreteDepthDistortionModel::getWidth |
( |
| ) |
const |
|
inline |
bool clams::DiscreteDepthDistortionModel::isValid |
( |
| ) |
const |
|
inline |
void clams::DiscreteDepthDistortionModel::load |
( |
const std::string & |
path | ) |
|
void clams::DiscreteDepthDistortionModel::save |
( |
const std::string & |
path | ) |
const |
void clams::DiscreteDepthDistortionModel::serialize |
( |
std::ostream & |
out, |
|
|
bool |
ascii |
|
) |
| const |
void clams::DiscreteDepthDistortionModel::undistort |
( |
cv::Mat & |
depth | ) |
const |
cv::Mat clams::DiscreteDepthDistortionModel::visualize |
( |
const std::string & |
path = "" | ) |
const |
double clams::DiscreteDepthDistortionModel::bin_depth_ |
|
protected |
int clams::DiscreteDepthDistortionModel::bin_height_ |
|
protected |
int clams::DiscreteDepthDistortionModel::bin_width_ |
|
protected |
std::vector< std::vector<DiscreteFrustum*> > clams::DiscreteDepthDistortionModel::frustums_ |
|
protected |
int clams::DiscreteDepthDistortionModel::height_ |
|
protected |
UMutex clams::DiscreteDepthDistortionModel::mutex_ |
|
protected |
int clams::DiscreteDepthDistortionModel::num_bins_x_ |
|
protected |
int clams::DiscreteDepthDistortionModel::num_bins_y_ |
|
protected |
size_t clams::DiscreteDepthDistortionModel::training_samples_ |
|
protected |
int clams::DiscreteDepthDistortionModel::width_ |
|
protected |
The documentation for this class was generated from the following files: