#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 |
| | 如果演算法為空(例如在最開始或讀取不成功後),則返回 true。
|
| |
| virtual String | getDefaultName () const |
| |
| virtual void | read (const FileNode &fn) |
| | 從檔案儲存中讀取演算法引數。
|
| |
| virtual void | save (const String &filename) const |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| |
| virtual void | write (FileStorage &fs) const |
| | 將演算法引數儲存到檔案儲存中。
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |
透過最小化其能量函式之和來合併 RgbdOdometry 和 ICPOdometry 的里程計。
◆ 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 | ) -> | 無 |
◆ setIterationCounts()
| void cv::rgbd::RgbdICPOdometry::setIterationCounts |
( |
const cv::Mat & | val | ) |
|
|
inline |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setIterationCounts( | val | ) -> | 無 |
◆ setMaxDepth()
| void cv::rgbd::RgbdICPOdometry::setMaxDepth |
( |
double | val | ) |
|
|
inline |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setMaxDepth( | val | ) -> | 無 |
◆ setMaxDepthDiff()
| void cv::rgbd::RgbdICPOdometry::setMaxDepthDiff |
( |
double | val | ) |
|
|
inline |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setMaxDepthDiff( | val | ) -> | 無 |
◆ setMaxPointsPart()
| void cv::rgbd::RgbdICPOdometry::setMaxPointsPart |
( |
double | val | ) |
|
|
inline |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setMaxPointsPart( | val | ) -> | 無 |
◆ setMaxRotation()
| void cv::rgbd::RgbdICPOdometry::setMaxRotation |
( |
double | val | ) |
|
|
inline |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setMaxRotation( | val | ) -> | 無 |
◆ setMaxTranslation()
| void cv::rgbd::RgbdICPOdometry::setMaxTranslation |
( |
double | val | ) |
|
|
inline |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setMaxTranslation( | val | ) -> | 無 |
◆ setMinDepth()
| void cv::rgbd::RgbdICPOdometry::setMinDepth |
( |
double | val | ) |
|
|
inline |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setMinDepth( | val | ) -> | 無 |
◆ setMinGradientMagnitudes()
| void cv::rgbd::RgbdICPOdometry::setMinGradientMagnitudes |
( |
const cv::Mat & | val | ) |
|
|
inline |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setMinGradientMagnitudes( | val | ) -> | 無 |
◆ setTransformType()
| void cv::rgbd::RgbdICPOdometry::setTransformType |
( |
int | val | ) |
|
|
inlinevirtual |
| Python |
|---|
| cv.rgbd.RgbdICPOdometry.setTransformType( | val | ) -> | 無 |
◆ 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 |
|
保護 |
此類的文件由以下檔案生成