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