OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::rgbd::RgbdOdometry クラス

#include <opencv2/rgbd/depth.hpp>

Collaboration diagram for cv::rgbd::RgbdOdometry:

公開メンバ関数

 RgbdOdometry ()
 
 RgbdOdometry (const Mat &cameraMatrix, float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), const std::vector< int > &iterCounts=std::vector< int >(), const std::vector< float > &minGradientMagnitudes=std::vector< float >(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), 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
 
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
 
- Public Member Functions inherited from cv::rgbd::Odometry
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
 
- Public Member Functions inherited from cv::Algorithm
 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 (const Ptr< FileStorage > &fs, const String &name=String()) const
 
virtual void write (FileStorage &fs) const
 アルゴリズムの引数をファイルストレージに保存する。
 
void write (FileStorage &fs, const String &name) const
 

静的公開メンバ関数

static Ptr< RgbdOdometrycreate (const Mat &cameraMatrix=Mat(), float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), const std::vector< int > &iterCounts=std::vector< int >(), const std::vector< float > &minGradientMagnitudes=std::vector< float >(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), int transformType=Odometry::RIGID_BODY_MOTION)
 
- Static Public Member Functions inherited from cv::rgbd::Odometry
static Ptr< Odometrycreate (const String &odometryType)
 
static float DEFAULT_MAX_DEPTH ()
 
static float DEFAULT_MAX_DEPTH_DIFF ()
 
static float DEFAULT_MAX_POINTS_PART ()
 
static float DEFAULT_MAX_ROTATION ()
 
static float DEFAULT_MAX_TRANSLATION ()
 
static float DEFAULT_MIN_DEPTH ()
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 ファイルからアルゴリズムを読み込む。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 文字列からアルゴリズムを読み込む。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 ファイルノードからアルゴリズムを読み込む。
 

限定公開メンバ関数

virtual void checkParams () const CV_OVERRIDE
 
virtual bool computeImpl (const Ptr< OdometryFrame > &srcFrame, const Ptr< OdometryFrame > &dstFrame, OutputArray Rt, const Mat &initRt) const CV_OVERRIDE
 
- Protected Member Functions inherited from cv::rgbd::Odometry
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

限定公開変数類

Mat cameraMatrix
 
Mat iterCounts
 
double maxDepth
 
double maxDepthDiff
 
double maxPointsPart
 
double maxRotation
 
double maxTranslation
 
double minDepth
 
Mat minGradientMagnitudes
 
int transformType
 

Additional Inherited Members

- Public Types inherited from cv::rgbd::Odometry
enum  {
  ROTATION = 1 ,
  TRANSLATION = 2 ,
  RIGID_BODY_MOTION = 4
}
 

詳細説明

論文 "Real-Time Visual Odometry from Dense RGB-D Images", F. Steinbucker, J. Strum, D. Cremers, ICCV, 2011 に基づく Odometry

構築子と解体子の詳解

◆ RgbdOdometry() [1/2]

cv::rgbd::RgbdOdometry::RgbdOdometry ( )

◆ RgbdOdometry() [2/2]

cv::rgbd::RgbdOdometry::RgbdOdometry ( const Mat & cameraMatrix,
float minDepth = Odometry::DEFAULT_MIN_DEPTH(),
float maxDepth = Odometry::DEFAULT_MAX_DEPTH(),
float maxDepthDiff = Odometry::DEFAULT_MAX_DEPTH_DIFF(),
const std::vector< int > & iterCounts = std::vector< int >(),
const std::vector< float > & minGradientMagnitudes = std::vector< float >(),
float maxPointsPart = Odometry::DEFAULT_MAX_POINTS_PART(),
int transformType = Odometry::RIGID_BODY_MOTION )

コンストラクタ。

引数
cameraMatrixカメラ行列
minDepthminDepthより小さいビット深度のピクセルは使用されない(メートル単位)
maxDepthmaxDepth より大きいビット深度のピクセルは使用されない (単位: メートル)
maxDepthDiff与えられた2つのフレームのピクセル間の対応は、ビット深度の差が maxDepthDiff より大きい場合はフィルタリングで除外される (単位: メートル)
iterCounts各ピラミッド階層での反復回数。
minGradientMagnitudes各ピラミッド階層において、勾配の大きさが minGradientMagnitudes[level] より小さいピクセルはフィルタリングで除外される。
maxPointsPartこの手法は frameWidth x frameHeight x pointsPart のサイズのランダムなピクセル部分集合を使用する
transformType変換のクラス

メンバ関数詳解

◆ checkParams()

virtual void cv::rgbd::RgbdOdometry::checkParams ( ) const
protectedvirtual

cv::rgbd::Odometry を実装している。

◆ computeImpl()

virtual bool cv::rgbd::RgbdOdometry::computeImpl ( const Ptr< OdometryFrame > & srcFrame,
const Ptr< OdometryFrame > & dstFrame,
OutputArray Rt,
const Mat & initRt ) const
protectedvirtual

cv::rgbd::Odometry を実装している。

◆ create()

static Ptr< RgbdOdometry > cv::rgbd::RgbdOdometry::create ( const Mat & cameraMatrix = Mat(),
float minDepth = Odometry::DEFAULT_MIN_DEPTH(),
float maxDepth = Odometry::DEFAULT_MAX_DEPTH(),
float maxDepthDiff = Odometry::DEFAULT_MAX_DEPTH_DIFF(),
const std::vector< int > & iterCounts = std::vector< int >(),
const std::vector< float > & minGradientMagnitudes = std::vector< float >(),
float maxPointsPart = Odometry::DEFAULT_MAX_POINTS_PART(),
int transformType = Odometry::RIGID_BODY_MOTION )
static
Python:
cv.rgbd.RgbdOdometry.create([, cameraMatrix[, minDepth[, maxDepth[, maxDepthDiff[, iterCounts[, minGradientMagnitudes[, maxPointsPart[, transformType]]]]]]]]) -> retval
cv.rgbd.RgbdOdometry_create([, cameraMatrix[, minDepth[, maxDepth[, maxDepthDiff[, iterCounts[, minGradientMagnitudes[, maxPointsPart[, transformType]]]]]]]]) -> retval

◆ getCameraMatrix()

cv::Mat cv::rgbd::RgbdOdometry::getCameraMatrix ( ) const
inlinevirtual
Python:
cv.rgbd.RgbdOdometry.getCameraMatrix() -> retval
参照
setCameraMatrix

cv::rgbd::Odometry を実装している。

◆ getIterationCounts()

cv::Mat cv::rgbd::RgbdOdometry::getIterationCounts ( ) const
inline
Python:
cv.rgbd.RgbdOdometry.getIterationCounts() -> retval

◆ getMaxDepth()

double cv::rgbd::RgbdOdometry::getMaxDepth ( ) const
inline
Python:
cv.rgbd.RgbdOdometry.getMaxDepth() -> retval

◆ getMaxDepthDiff()

double cv::rgbd::RgbdOdometry::getMaxDepthDiff ( ) const
inline
Python:
cv.rgbd.RgbdOdometry.getMaxDepthDiff() -> retval

◆ getMaxPointsPart()

double cv::rgbd::RgbdOdometry::getMaxPointsPart ( ) const
inline
Python:
cv.rgbd.RgbdOdometry.getMaxPointsPart() -> retval

◆ getMaxRotation()

double cv::rgbd::RgbdOdometry::getMaxRotation ( ) const
inline
Python:
cv.rgbd.RgbdOdometry.getMaxRotation() -> retval

◆ getMaxTranslation()

double cv::rgbd::RgbdOdometry::getMaxTranslation ( ) const
inline
Python:
cv.rgbd.RgbdOdometry.getMaxTranslation() -> retval

◆ getMinDepth()

double cv::rgbd::RgbdOdometry::getMinDepth ( ) const
inline
Python:
cv.rgbd.RgbdOdometry.getMinDepth() -> retval

◆ getMinGradientMagnitudes()

cv::Mat cv::rgbd::RgbdOdometry::getMinGradientMagnitudes ( ) const
inline
Python:
cv.rgbd.RgbdOdometry.getMinGradientMagnitudes() -> retval

◆ getTransformType()

int cv::rgbd::RgbdOdometry::getTransformType ( ) const
inlinevirtual
Python:
cv.rgbd.RgbdOdometry.getTransformType() -> retval
参照
setTransformType

cv::rgbd::Odometry を実装している。

◆ prepareFrameCache()

virtual Size cv::rgbd::RgbdOdometry::prepareFrameCache ( Ptr< OdometryFrame > & frame,
int cacheType ) const
virtual
Python:
cv.rgbd.RgbdOdometry.prepareFrameCache(frame, cacheType) -> retval

フレームのキャッシュを準備する。この関数は事前計算済みまたは渡されたデータを検査し (このデータが条件を満たさない場合はエラーを送出する)、フレームに必要な残りのキャッシュデータをすべて計算する。返されるサイズは準備されたフレームの解像度である。

引数
frameフレームを処理するオドメトリ。
cacheTypeキャッシュの種類: CACHE_SRC, CACHE_DST または CACHE_ALL。

cv::rgbd::Odometry から再実装されている。

◆ setCameraMatrix()

void cv::rgbd::RgbdOdometry::setCameraMatrix ( const cv::Mat & val)
inlinevirtual
Python:
cv.rgbd.RgbdOdometry.setCameraMatrix(val) -> None

参照
getCameraMatrix

cv::rgbd::Odometry を実装している。

◆ setIterationCounts()

void cv::rgbd::RgbdOdometry::setIterationCounts ( const cv::Mat & val)
inline
Python:
cv.rgbd.RgbdOdometry.setIterationCounts(val) -> None

◆ setMaxDepth()

void cv::rgbd::RgbdOdometry::setMaxDepth ( double val)
inline
Python:
cv.rgbd.RgbdOdometry.setMaxDepth(val) -> None

◆ setMaxDepthDiff()

void cv::rgbd::RgbdOdometry::setMaxDepthDiff ( double val)
inline
Python:
cv.rgbd.RgbdOdometry.setMaxDepthDiff(val) -> None

◆ setMaxPointsPart()

void cv::rgbd::RgbdOdometry::setMaxPointsPart ( double val)
inline
Python:
cv.rgbd.RgbdOdometry.setMaxPointsPart(val) -> None

◆ setMaxRotation()

void cv::rgbd::RgbdOdometry::setMaxRotation ( double val)
inline
Python:
cv.rgbd.RgbdOdometry.setMaxRotation(val) -> None

◆ setMaxTranslation()

void cv::rgbd::RgbdOdometry::setMaxTranslation ( double val)
inline
Python:
cv.rgbd.RgbdOdometry.setMaxTranslation(val) -> None

◆ setMinDepth()

void cv::rgbd::RgbdOdometry::setMinDepth ( double val)
inline
Python:
cv.rgbd.RgbdOdometry.setMinDepth(val) -> None

◆ setMinGradientMagnitudes()

void cv::rgbd::RgbdOdometry::setMinGradientMagnitudes ( const cv::Mat & val)
inline
Python:
cv.rgbd.RgbdOdometry.setMinGradientMagnitudes(val) -> None

◆ setTransformType()

void cv::rgbd::RgbdOdometry::setTransformType ( int val)
inlinevirtual
Python:
cv.rgbd.RgbdOdometry.setTransformType(val) -> None

参照
getTransformType

cv::rgbd::Odometry を実装している。

メンバ変数詳解

◆ cameraMatrix

Mat cv::rgbd::RgbdOdometry::cameraMatrix
protected

◆ iterCounts

Mat cv::rgbd::RgbdOdometry::iterCounts
protected

◆ maxDepth

double cv::rgbd::RgbdOdometry::maxDepth
protected

◆ maxDepthDiff

double cv::rgbd::RgbdOdometry::maxDepthDiff
protected

◆ maxPointsPart

double cv::rgbd::RgbdOdometry::maxPointsPart
protected

◆ maxRotation

double cv::rgbd::RgbdOdometry::maxRotation
protected

◆ maxTranslation

double cv::rgbd::RgbdOdometry::maxTranslation
protected

◆ minDepth

double cv::rgbd::RgbdOdometry::minDepth
protected

◆ minGradientMagnitudes

Mat cv::rgbd::RgbdOdometry::minGradientMagnitudes
protected

◆ transformType

int cv::rgbd::RgbdOdometry::transformType
protected

このクラス詳解は次のファイルから抽出されました: