#include <opencv2/rgbd/depth.hpp>
|
| RgbdICPOdometry () |
|
| RgbdICPOdometry (const Mat &cameraMatrix, float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), const std::vector< int > &iterCounts=std::vector< int >(), const std::vector< float > &minGradientMagnitudes=std::vector< float >(), int transformType=Odometry::RIGID_BODY_MOTION) |
|
cv::Mat | getCameraMatrix () const CV_OVERRIDE |
|
cv::Mat | getIterationCounts () const |
|
double | getMaxDepth () const |
|
double | getMaxDepthDiff () const |
|
double | getMaxPointsPart () const |
|
double | getMaxRotation () const |
|
double | getMaxTranslation () const |
|
double | getMinDepth () const |
|
cv::Mat | getMinGradientMagnitudes () const |
|
Ptr< RgbdNormals > | getNormalsComputer () const |
|
int | getTransformType () const CV_OVERRIDE |
|
virtual Size | prepareFrameCache (Ptr< OdometryFrame > &frame, int cacheType) const CV_OVERRIDE |
|
void | setCameraMatrix (const cv::Mat &val) CV_OVERRIDE |
|
void | setIterationCounts (const cv::Mat &val) |
|
void | setMaxDepth (double val) |
|
void | setMaxDepthDiff (double val) |
|
void | setMaxPointsPart (double val) |
|
void | setMaxRotation (double val) |
|
void | setMaxTranslation (double val) |
|
void | setMinDepth (double val) |
|
void | setMinGradientMagnitudes (const cv::Mat &val) |
|
void | setTransformType (int val) CV_OVERRIDE |
|
bool | compute (const Mat &srcImage, const Mat &srcDepth, const Mat &srcMask, const Mat &dstImage, const Mat &dstDepth, const Mat &dstMask, OutputArray Rt, const Mat &initRt=Mat()) const |
|
bool | compute (Ptr< OdometryFrame > &srcFrame, Ptr< OdometryFrame > &dstFrame, OutputArray Rt, const Mat &initRt=Mat()) const |
|
| Algorithm () |
|
virtual | ~Algorithm () |
|
virtual void | clear () |
| 清除算法状态。
|
|
virtual bool | empty () const |
| 如果 Algorithm 为空(例如在初始阶段或读取失败后),则返回 true。
|
|
virtual String | getDefaultName () const |
|
virtual void | read (const FileNode &fn) |
| 从文件存储中读取算法参数。
|
|
virtual void | save (const String &filename) const |
|
void | write (FileStorage &fs, const String &name=String()) const |
|
virtual void | write (FileStorage &fs) const |
| 将算法参数存储在文件存储中。
|
|
void | write (FileStorage &fs, const String &name) const |
|
◆ RgbdICPOdometry() [1/2]
cv::rgbd::RgbdICPOdometry::RgbdICPOdometry |
( |
| ) |
|
◆ RgbdICPOdometry() [2/2]
构造函数.
- 参数
-
cameraMatrix | 相机矩阵 |
minDepth | 像素深度小于 minDepth 的情况下将不被使用 |
maxDepth | 像素深度大于 maxDepth 的情况下将不被使用 |
maxDepthDiff | 如果两帧给定帧之间的像素深度差大于 maxDepthDiff,则将过滤掉它们的对应关系 |
maxPointsPart | 该方法使用尺寸为 frameWidth x frameHeight x pointsPart 的随机像素子集 |
iterCounts | 在每层金字塔上的迭代次数。 |
minGradientMagnitudes | 对于每层金字塔,如果像素的梯度幅度小于 minGradientMagnitudes[level],则将过滤掉像素。 |
transformType | 变换类 |
◆ checkParams()
virtual void cv::rgbd::RgbdICPOdometry::checkParams |
( |
| ) |
const |
|
protectedvirtual |
◆ computeImpl()
◆ create()
Python |
---|
| cv.rgbd.RgbdICPOdometry.create( | [, cameraMatrix[, minDepth[, maxDepth[, maxDepthDiff[, maxPointsPart[, iterCounts[, minGradientMagnitudes[, transformType]]]]]]]] | ) -> | retval |
| cv.rgbd.RgbdICPOdometry_create( | [, cameraMatrix[, minDepth[, maxDepth[, maxDepthDiff[, maxPointsPart[, iterCounts[, minGradientMagnitudes[, transformType]]]]]]]] | ) -> | retval |
◆ getCameraMatrix()
cv::Mat cv::rgbd::RgbdICPOdometry::getCameraMatrix |
( |
| ) |
const |
|
inlinevirtual |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getCameraMatrix( | | ) -> | retval |
◆ getIterationCounts()
cv::Mat cv::rgbd::RgbdICPOdometry::getIterationCounts |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getIterationCounts( | | ) -> | retval |
◆ getMaxDepth()
double cv::rgbd::RgbdICPOdometry::getMaxDepth |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getMaxDepth( | | ) -> | retval |
◆ getMaxDepthDiff()
double cv::rgbd::RgbdICPOdometry::getMaxDepthDiff |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getMaxDepthDiff( | | ) -> | retval |
◆ getMaxPointsPart()
double cv::rgbd::RgbdICPOdometry::getMaxPointsPart |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getMaxPointsPart( | | ) -> | retval |
◆ getMaxRotation()
double cv::rgbd::RgbdICPOdometry::getMaxRotation |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getMaxRotation( | | ) -> | retval |
◆ getMaxTranslation()
double cv::rgbd::RgbdICPOdometry::getMaxTranslation |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getMaxTranslation( | | ) -> | retval |
◆ getMinDepth()
double cv::rgbd::RgbdICPOdometry::getMinDepth |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getMinDepth( | | ) -> | retval |
◆ getMinGradientMagnitudes()
cv::Mat cv::rgbd::RgbdICPOdometry::getMinGradientMagnitudes |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getMinGradientMagnitudes( | | ) -> | retval |
◆ getNormalsComputer()
Ptr< RgbdNormals > cv::rgbd::RgbdICPOdometry::getNormalsComputer |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getNormalsComputer( | | ) -> | retval |
◆ getTransformType()
int cv::rgbd::RgbdICPOdometry::getTransformType |
( |
| ) |
const |
|
inlinevirtual |
Python |
---|
| cv.rgbd.RgbdICPOdometry.getTransformType( | | ) -> | retval |
◆ prepareFrameCache()
virtual Size cv::rgbd::RgbdICPOdometry::prepareFrameCache |
( |
Ptr< OdometryFrame > & |
frame, |
|
|
int |
cacheType |
|
) |
| const |
|
virtual |
Python |
---|
| cv.rgbd.RgbdICPOdometry.prepareFrameCache( | frame, cacheType | ) -> | retval |
为流准备缓存。该函数检查预计算的/传入的数据(如果这些数据不满足则抛出错误)并计算所有剩余的缓存数据,以便用于该帧。返回的尺寸是准备好的帧的分辨率。
- 参数
-
frame | 处理帧的里程计。 |
cacheType | 缓存类型:CACHE_SRC、CACHE_DST或CACHE_ALL。 |
从 cv::rgbd::Odometry 重实现。
◆ setCameraMatrix()
void cv::rgbd::RgbdICPOdometry::setCameraMatrix |
( |
const cv::Mat & |
val | ) |
|
|
inlinevirtual |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setCameraMatrix( | val | ) -> | None |
◆ setIterationCounts()
void cv::rgbd::RgbdICPOdometry::setIterationCounts |
( |
const cv::Mat & |
val | ) |
|
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setIterationCounts( | val | ) -> | None |
◆ setMaxDepth()
void cv::rgbd::RgbdICPOdometry::setMaxDepth |
( |
double |
val | ) |
|
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setMaxDepth( | val | ) -> | None |
◆ setMaxDepthDiff()
void cv::rgbd::RgbdICPOdometry::setMaxDepthDiff |
( |
double |
val | ) |
|
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setMaxDepthDiff( | val | ) -> | None |
◆ setMaxPointsPart()
void cv::rgbd::RgbdICPOdometry::setMaxPointsPart |
( |
double |
val | ) |
|
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setMaxPointsPart( | val | ) -> | None |
◆ setMaxRotation()
void cv::rgbd::RgbdICPOdometry::setMaxRotation |
( |
double |
val | ) |
|
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setMaxRotation( | val | ) -> | None |
◆ setMaxTranslation()
void cv::rgbd::RgbdICPOdometry::setMaxTranslation |
( |
double |
val | ) |
|
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setMaxTranslation( | val | ) -> | None |
◆ setMinDepth()
void cv::rgbd::RgbdICPOdometry::setMinDepth |
( |
double |
val | ) |
|
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setMinDepth( | val | ) -> | None |
◆ setMinGradientMagnitudes()
void cv::rgbd::RgbdICPOdometry::setMinGradientMagnitudes |
( |
const cv::Mat & |
val | ) |
|
|
inline |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setMinGradientMagnitudes( | val | ) -> | None |
◆ setTransformType()
void cv::rgbd::RgbdICPOdometry::setTransformType |
( |
int |
val | ) |
|
|
inlinevirtual |
Python |
---|
| cv.rgbd.RgbdICPOdometry.setTransformType( | val | ) -> | None |
◆ cameraMatrix
Mat cv::rgbd::RgbdICPOdometry::cameraMatrix |
|
受保护 |
◆ iterCounts
Mat cv::rgbd::RgbdICPOdometry::iterCounts |
|
受保护 |
◆ maxDepth
double cv::rgbd::RgbdICPOdometry::maxDepth |
|
受保护 |
◆ maxDepthDiff
double cv::rgbd::RgbdICPOdometry::maxDepthDiff |
|
受保护 |
◆ maxPointsPart
double cv::rgbd::RgbdICPOdometry::maxPointsPart |
|
受保护 |
◆ maxRotation
double cv::rgbd::RgbdICPOdometry::maxRotation |
|
受保护 |
◆ maxTranslation
double cv::rgbd::RgbdICPOdometry::maxTranslation |
|
受保护 |
◆ minDepth
double cv::rgbd::RgbdICPOdometry::minDepth |
|
受保护 |
◆ minGradientMagnitudes
Mat cv::rgbd::RgbdICPOdometry::minGradientMagnitudes |
|
受保护 |
◆ normalsComputer
◆ transformType
int cv::rgbd::RgbdICPOdometry::transformType |
|
受保护 |
本类的文档是从以下文件生成的