OpenCV453
公開メンバ関数 | 静的公開メンバ関数 | 限定公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::rgbd::RgbdICPOdometry クラス

#include <depth.hpp>

cv::rgbd::Odometryを継承しています。

公開メンバ関数

 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)
 
virtual CV_WRAP Size prepareFrameCache (Ptr< OdometryFrame > &frame, int cacheType) const CV_OVERRIDE
 
CV_WRAP cv::Mat getCameraMatrix () const CV_OVERRIDE
 
CV_WRAP void setCameraMatrix (const cv::Mat &val) CV_OVERRIDE
 
CV_WRAP double getMinDepth () const
 
CV_WRAP void setMinDepth (double val)
 
CV_WRAP double getMaxDepth () const
 
CV_WRAP void setMaxDepth (double val)
 
CV_WRAP double getMaxDepthDiff () const
 
CV_WRAP void setMaxDepthDiff (double val)
 
CV_WRAP double getMaxPointsPart () const
 
CV_WRAP void setMaxPointsPart (double val)
 
CV_WRAP cv::Mat getIterationCounts () const
 
CV_WRAP void setIterationCounts (const cv::Mat &val)
 
CV_WRAP cv::Mat getMinGradientMagnitudes () const
 
CV_WRAP void setMinGradientMagnitudes (const cv::Mat &val)
 
CV_WRAP int getTransformType () const CV_OVERRIDE
 
CV_WRAP void setTransformType (int val) CV_OVERRIDE
 
CV_WRAP double getMaxTranslation () const
 
CV_WRAP void setMaxTranslation (double val)
 
CV_WRAP double getMaxRotation () const
 
CV_WRAP void setMaxRotation (double val)
 
CV_WRAP Ptr< RgbdNormalsgetNormalsComputer () const
 
- 基底クラス cv::rgbd::Odometry に属する継承公開メンバ関数
CV_WRAP 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
 
 CV_WRAP_AS (compute2) bool compute(Ptr< OdometryFrame > &srcFrame
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
virtual CV_WRAP void read (const FileNode &fn)
 Reads algorithm parameters from a file storage [詳解]
 
virtual CV_WRAP bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解]
 
virtual CV_WRAP void save (const String &filename) const
 
virtual CV_WRAP String getDefaultName () const
 

静的公開メンバ関数

static CV_WRAP Ptr< RgbdICPOdometrycreate (const Mat &cameraMatrix=Mat(), 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::rgbd::Odometry に属する継承静的公開メンバ関数
static CV_WRAP float DEFAULT_MIN_DEPTH ()
 
static CV_WRAP float DEFAULT_MAX_DEPTH ()
 
static CV_WRAP float DEFAULT_MAX_DEPTH_DIFF ()
 
static CV_WRAP float DEFAULT_MAX_POINTS_PART ()
 
static CV_WRAP float DEFAULT_MAX_TRANSLATION ()
 
static CV_WRAP float DEFAULT_MAX_ROTATION ()
 
static CV_WRAP Ptr< Odometrycreate (const String &odometryType)
 
- 基底クラス cv::Algorithm に属する継承静的公開メンバ関数
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node [詳解]
 
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file [詳解]
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String [詳解]
 

限定公開メンバ関数

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
 
- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

限定公開変数類

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

その他の継承メンバ

- 基底クラス cv::rgbd::Odometry に属する継承公開型
enum  { ROTATION = 1 , TRANSLATION = 2 , RIGID_BODY_MOTION = 4 }
 
- 基底クラス cv::rgbd::Odometry に属する継承公開変数類
Ptr< OdometryFrame > & dstFrame
 
Ptr< OdometryFrame > OutputArray Rt
 
Ptr< OdometryFrame > OutputArray const MatinitRt = Mat()) const
 

詳解

Odometry that merges RgbdOdometry and ICPOdometry by minimize sum of their energy functions.

構築子と解体子

◆ RgbdICPOdometry()

cv::rgbd::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 
)

Constructor.

引数
cameraMatrixCamera matrix
minDepthPixels with depth less than minDepth will not be used
maxDepthPixels with depth larger than maxDepth will not be used
maxDepthDiffCorrespondences between pixels of two given frames will be filtered out if their depth difference is larger than maxDepthDiff
maxPointsPartThe method uses a random pixels subset of size frameWidth x frameHeight x pointsPart
iterCountsCount of iterations on each pyramid level.
minGradientMagnitudesFor each pyramid level the pixels will be filtered out if they have gradient magnitude less than minGradientMagnitudes[level].
transformTypeClass of trasformation

関数詳解

◆ checkParams()

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

cv::rgbd::Odometryを実装しています。

◆ computeImpl()

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

cv::rgbd::Odometryを実装しています。

◆ getCameraMatrix()

CV_WRAP cv::Mat cv::rgbd::RgbdICPOdometry::getCameraMatrix ( ) const
inlinevirtual
参照
setCameraMatrix

cv::rgbd::Odometryを実装しています。

◆ getTransformType()

CV_WRAP int cv::rgbd::RgbdICPOdometry::getTransformType ( ) const
inlinevirtual
参照
setTransformType

cv::rgbd::Odometryを実装しています。

◆ prepareFrameCache()

virtual CV_WRAP Size cv::rgbd::RgbdICPOdometry::prepareFrameCache ( Ptr< OdometryFrame > &  frame,
int  cacheType 
) const
virtual

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame.

引数
frameThe odometry which will process the frame.
cacheTypeThe cache type: CACHE_SRC, CACHE_DST or CACHE_ALL.

cv::rgbd::Odometryを再実装しています。

◆ setCameraMatrix()

CV_WRAP void cv::rgbd::RgbdICPOdometry::setCameraMatrix ( const cv::Mat val)
inlinevirtual

参照
getCameraMatrix

cv::rgbd::Odometryを実装しています。

◆ setTransformType()

CV_WRAP void cv::rgbd::RgbdICPOdometry::setTransformType ( int  val)
inlinevirtual

参照
getTransformType

cv::rgbd::Odometryを実装しています。


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