|
| FastICPOdometry (const Mat &cameraMatrix, float maxDistDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float angleThreshold=(float)(30. *CV_PI/180.), float sigmaDepth=0.04f, float sigmaSpatial=4.5f, int kernelSize=7, const std::vector< int > &iterCounts=std::vector< int >()) |
|
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 | getMaxDistDiff () const |
|
CV_WRAP void | setMaxDistDiff (float val) |
|
CV_WRAP float | getAngleThreshold () const |
|
CV_WRAP void | setAngleThreshold (float f) |
|
CV_WRAP float | getSigmaDepth () const |
|
CV_WRAP void | setSigmaDepth (float f) |
|
CV_WRAP float | getSigmaSpatial () const |
|
CV_WRAP void | setSigmaSpatial (float f) |
|
CV_WRAP int | getKernelSize () const |
|
CV_WRAP void | setKernelSize (int f) |
|
CV_WRAP cv::Mat | getIterationCounts () const |
|
CV_WRAP void | setIterationCounts (const cv::Mat &val) |
|
CV_WRAP int | getTransformType () const CV_OVERRIDE |
|
CV_WRAP void | setTransformType (int val) CV_OVERRIDE |
|
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 |
|
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< FastICPOdometry > | create (const Mat &cameraMatrix, float maxDistDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float angleThreshold=(float)(30. *CV_PI/180.), float sigmaDepth=0.04f, float sigmaSpatial=4.5f, int kernelSize=7, const std::vector< int > &iterCounts=std::vector< int >()) |
|
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< Odometry > | create (const String &odometryType) |
|
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 [詳解]
|
|
A faster version of ICPOdometry which is used in KinectFusion implementation Partial list of differences:
- Works in parallel
- Written in universal intrinsics
- Filters points by angle
- Interpolates points and normals
- Doesn't use masks or min/max depth filtering
- Doesn't use random subsets of points
- Supports only Rt transform type
- Supports only 4-float vectors as input type