44
#ifndef __OPENCV_SURFACE_MATCHING_HELPERS_HPP__
45
#define __OPENCV_SURFACE_MATCHING_HELPERS_HPP__
47
#include <opencv2/core.hpp>
51
namespace
ppf_match_3d
81
Mat
samplePCUniform(
Mat
PC,
int
sampleStep);
82
Mat
samplePCUniformInd(
Mat
PC,
int
sampleStep, std::vector<int>& indices);
101
void* indexPCFlann(
Mat
pc);
102
void
destroyFlann(
void* flannIndex);
103
void
queryPCFlann(
void* flannIndex,
Mat& pc,
Mat& indices,
Mat& distances);
104
void
queryPCFlann(
void* flannIndex,
Mat& pc,
Mat& indices,
Mat& distances,
const
int
numNeighbors);
106
Mat
normalizePCCoeff(
Mat
pc,
float
scale,
float* Cx,
float* Cy,
float* Cz,
float* MinVal,
float* MaxVal);
107
Mat
transPCCoeff(
Mat
pc,
float
scale,
float
Cx,
float
Cy,
float
Cz,
float
MinVal,
float
MaxVal);
n-dimensional dense array class
Definition:
mat.hpp:802
Template class for small matrices whose type and size are known at compilation time
Definition:
matx.hpp:100
CV_EXPORTS_W void getRandomPose(Matx44d &Pose)
CV_EXPORTS_W int computeNormalsPC3d(const Mat &PC, CV_OUT Mat &PCNormals, const int NumNeighbors, const bool FlipViewpoint, const Vec3f &viewpoint)
Compute the normals of an arbitrary point cloud computeNormalsPC3d uses a plane fitting approach to s...
CV_EXPORTS_W Mat loadPLYSimple(const char *fileName, int withNormals=0)
Load a PLY file
CV_EXPORTS_W Mat addNoisePC(Mat pc, double scale)
CV_EXPORTS_W void writePLYVisibleNormals(Mat PC, const char *fileName)
Used for debbuging pruposes, writes a point cloud to a PLY file with the tip of the normal vectors as...
CV_EXPORTS_W Mat samplePCByQuantization(Mat pc, Vec2f &xrange, Vec2f &yrange, Vec2f &zrange, float sample_step_relative, int weightByCenter=0)
CV_EXPORTS_W Mat transformPCPose(Mat pc, const Matx44d &Pose)
CV_EXPORTS_W void writePLY(Mat PC, const char *fileName)
Write a point cloud to PLY file
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75