mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-18 08:44:11 +08:00
Added normal computation sample and ply writing with visible normals for debugging
This commit is contained in:
@@ -70,6 +70,14 @@ CV_EXPORTS Mat loadPLYSimple(const char* fileName, int withNormals);
|
||||
*/
|
||||
CV_EXPORTS void writePLY(Mat PC, const char* fileName);
|
||||
|
||||
/**
|
||||
* @brief Used for debbuging pruposes, writes a point cloud to a PLY file with the tip
|
||||
* of the normal vectors as visible red points
|
||||
* @param [in] PC Input point cloud
|
||||
* @param [in] fileName The PLY model file to write
|
||||
*/
|
||||
CV_EXPORTS void writePLYVisibleNormals(Mat PC, const char* fileName);
|
||||
|
||||
Mat samplePCUniform(Mat PC, int sampleStep);
|
||||
Mat samplePCUniformInd(Mat PC, int sampleStep, std::vector<int>& indices);
|
||||
|
||||
|
Reference in New Issue
Block a user