59
#ifndef __OPENCV_SURFACE_MATCHING_PPF_MATCH_3D_HPP__
60
#define __OPENCV_SURFACE_MATCHING_PPF_MATCH_3D_HPP__
62
#include <opencv2/core.hpp>
70
namespace
ppf_match_3d
112
CV_WRAP
PPF3DDetector(
const
double
relativeSamplingStep,
const
double
relativeDistanceStep=0.05,
const
double
numAngles=30);
122
void
setSearchParams(
const
double
positionThreshold=-1,
const
double
rotationThreshold=-1,
const
bool
useWeightedClustering=
false);
131
CV_WRAP
void
trainModel(
const
Mat& Model);
141
CV_WRAP
void
match(
const
Mat& scene, CV_OUT std::vector<Pose3DPtr> &results,
const
double
relativeSceneSampleStep=1.0/5.0,
const
double
relativeSceneDistance=0.03);
148
double
angle_step, angle_step_radians, distance_step;
149
double
sampling_step_relative, angle_step_relative, distance_step_relative;
155
double
position_threshold, rotation_threshold;
156
bool
use_weighted_avg;
158
int
scene_sample_step;
160
void
clearTrainingModels();
163
void
computePPFFeatures(
const
Vec3d& p1,
const
Vec3d& n1,
167
bool
matchPose(
const
Pose3D& sourcePose,
const
Pose3D& targetPose);
169
void
clusterPoses(std::vector<Pose3DPtr>& poseList,
int
numPoses, std::vector<Pose3DPtr> &finalPoses);
File Storage Node class.
Definition:
persistence.hpp:482
XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or readi...
Definition:
persistence.hpp:304
n-dimensional dense array class
Definition:
mat.hpp:802
Template class for short numerical vectors, a partial case of Matx
Definition:
matx.hpp:342
Class, allowing the load and matching 3D models. Typical Use:
Definition:
ppf_match_3d.hpp:98
void setSearchParams(const double positionThreshold=-1, const double rotationThreshold=-1, const bool useWeightedClustering=false)
Class, allowing the storage of a pose. The data structure stores both the quaternions and the matrix ...
Definition:
pose_3d.hpp:71
struct cv::ppf_match_3d::THash THash
Struct, holding a node in the hashtable
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
t_hash_int.hpp:68
Struct, holding a node in the hashtable
Definition:
ppf_match_3d.hpp:80