Class DepthMap

Nested Relationships

Class Documentation

class DepthMap

Keeps a detailed depth map (consisting of DepthMapPixelHypothesis) and does stereo comparisons and regularization to update it.

Public Types

typedef std::shared_ptr<DepthMap> SharedPtr

Public Functions

DepthMap(const DepthMap&)
DepthMap &operator=(const DepthMap&)
DepthMap(const std::shared_ptr<Frame> &frame)
DepthMap(const std::shared_ptr<ImageSet> &set)
~DepthMap()
void reset()

Resets everything.

const DepthMapDebugImages &debugImages() const

does obervation and regularization only. does propagation and whole-filling-regularization (no observation, for that need to call updateKeyframe()!) does one fill holes iteration

void plotDepthMap(const char *buf1, const char *buf2)
void initializeFromFrame()
void initializeFromSet()
void initializeFromGTDepth()
void initializeFromStereo()
void initializeRandomly()
void propagateFrom(const DepthMap::SharedPtr &new_keyframe, float &rescaleFactor, bool stereo_depth)
void finalize()
void activateExistingKF(const Frame::SharedPtr &kf)
bool updateDepthFrom(const Frame::SharedPtr &frame)
PerformanceData perf() const
void logPerformanceData()
std::shared_ptr<Frame> &frame()
DepthMapPixelHypothesis *hypothesisAt(const int x, const int y)
struct PerformanceData

Public Functions

PerformanceData(void)

Public Members

MsRateAverage update
MsRateAverage create
MsRateAverage finalize
MsRateAverage observe
MsRateAverage regularize
MsRateAverage propagate
MsRateAverage fillHoles
MsRateAverage setDepth