OpenCV 4.12.0
开源计算机视觉
加载中...
搜索中...
无匹配项
cv::ppf_match_3d::PoseCluster3D 类参考

当多个姿势(参见 Pose3D)被组合在一起(贡献于相同的变换)时,会出现姿势聚类。此类是此类姿势组的通用容器。可以存储、加载和执行对这些姿势的 IO 操作。更多...

#include <opencv2/surface_matching/pose_3d.hpp>

cv::ppf_match_3d::PoseCluster3D 的协作图

公共成员函数

 PoseCluster3D ()
 
 PoseCluster3D (Pose3DPtr newPose)
 
 PoseCluster3D (Pose3DPtr newPose, int newId)
 
virtual ~PoseCluster3D ()
 
void addPose (Pose3DPtr newPose)
 将新姿势添加到聚类中。为了保持一致性,该姿势应该“接近”平均姿势。
 
int readPoseCluster (const std::string &FileName)
 
int readPoseCluster (FILE *f)
 
int writePoseCluster (const std::string &FileName)
 
int writePoseCluster (FILE *f)
 

公共属性

int id
 
size_t numVotes
 
std::vector< Pose3DPtrposeList
 

详细描述

当多个姿势(参见 Pose3D)被组合在一起(贡献于相同的变换)时,会出现姿势聚类。此类是此类姿势组的通用容器。可以存储、加载和执行对这些姿势的 IO 操作。

构造函数 & 析构函数文档

◆ PoseCluster3D() [1/3]

cv::ppf_match_3d::PoseCluster3D::PoseCluster3D ( )
inline

◆ PoseCluster3D() [2/3]

cv::ppf_match_3d::PoseCluster3D::PoseCluster3D ( Pose3DPtr newPose)
inline

◆ PoseCluster3D() [3/3]

cv::ppf_match_3d::PoseCluster3D::PoseCluster3D ( Pose3DPtr newPose,
int newId )
inline

◆ ~PoseCluster3D()

virtual cv::ppf_match_3d::PoseCluster3D::~PoseCluster3D ( )
inlinevirtual

成员函数文档

◆ addPose()

void cv::ppf_match_3d::PoseCluster3D::addPose ( Pose3DPtr newPose)

将新姿势添加到聚类中。为了保持一致性,该姿势应该“接近”平均姿势。

参数
[输入]newPose要添加到聚类的姿势

◆ readPoseCluster() [1/2]

int cv::ppf_match_3d::PoseCluster3D::readPoseCluster ( const std::string & FileName)

◆ readPoseCluster() [2/2]

int cv::ppf_match_3d::PoseCluster3D::readPoseCluster ( int cv::ppf_match_3d::hashtableRemove ◆ hashtableResize())

◆ writePoseCluster() [1/2]

int cv::ppf_match_3d::PoseCluster3D::writePoseCluster ( const std::string & FileName)

◆ writePoseCluster() [2/2]

int cv::ppf_match_3d::PoseCluster3D::writePoseCluster ( int cv::ppf_match_3d::hashtableRemove ◆ hashtableResize())

成员数据文档

◆ id

int cv::ppf_match_3d::PoseCluster3D::id

◆ numVotes

size_t cv::ppf_match_3d::PoseCluster3D::numVotes

◆ poseList

std::vector<Pose3DPtr> cv::ppf_match_3d::PoseCluster3D::poseList

此类文档由以下文件生成