43
#ifndef __OPENCV_SURFACE_MATCHING_POSE3D_HPP__
44
#define __OPENCV_SURFACE_MATCHING_POSE3D_HPP__
46
#include "opencv2/core/cvstd.hpp"
52
namespace
ppf_match_3d
59
typedef
Ptr<Pose3D> Pose3DPtr;
62
typedef
Ptr<PoseCluster3D> PoseCluster3DPtr;
80
pose = Matx44d::all(0);
83
CV_WRAP
Pose3D(
double
Alpha,
size_t
ModelIndex=0,
size_t
NumVotes=0)
86
modelIndex = ModelIndex;
90
pose = Matx44d::all(0);
97
CV_WRAP
void
updatePose(
Matx44d& NewPose);
113
CV_WRAP
void
appendPose(
Matx44d& IncrementalPose);
114
CV_WRAP
void
printPose();
118
int
writePose(FILE* f);
119
int
readPose(FILE* f);
120
int
writePose(
const
std::string& FileName);
121
int
readPose(
const
std::string& FileName);
125
CV_PROP
double
alpha, residual;
126
CV_PROP
size_t
modelIndex, numVotes;
128
CV_PROP
double
angle;
150
poseList.push_back(newPose);
151
numVotes=newPose->numVotes;
157
poseList.push_back(newPose);
158
this->numVotes = newPose->numVotes;
172
int
writePoseCluster(FILE* f);
173
int
readPoseCluster(FILE* f);
174
int
writePoseCluster(
const
std::string& FileName);
175
int
readPoseCluster(
const
std::string& FileName);
177
std::vector<Pose3DPtr> poseList;
Template class for small matrices whose type and size are known at compilation time
Definition:
matx.hpp:100
Template class for short numerical vectors, a partial case of Matx
Definition:
matx.hpp:342
Class, allowing the storage of a pose. The data structure stores both the quaternions and the matrix ...
Definition:
pose_3d.hpp:71
When multiple poses (see Pose3D) are grouped together (contribute to the same transformation) pose cl...
Definition:
pose_3d.hpp:139
void addPose(Pose3DPtr newPose)
Adds a new pose to the cluster. The pose should be "close" to the mean poses in order to preserve the...
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cvstd_wrapper.hpp:74