<< marching_cubes_extraction Point_Cloud_Toolbox normal_estimation >>

Point_Cloud_Toolbox >> Point_Cloud_Toolbox > mesh_sampling

mesh_sampling

Converts a CAD model to a point cloud using uniform sampling.

Syntax

PointCloud(InputOBJorPLYFilename,OutputPCDFilename,options,"mesh_sampling")

Parameters

inputOBJorPLYFilename :

The input can be OBJ or PLY file format

outputPCDFilename :

PCD file where the output pointcloud had to be saved

-n_samples = number of samples (default:

100000)

-leaf_size = the XYZ leaf size for the VoxelGrid -- for data reduction (default:

0.01f)

Description

This function converts a CAD model to a point cloud using uniform sampling.

Examples

PointCloud("cube.ply","Output_mesh1.pcd","-n_samples","150000","mesh_sampling")

Examples

PointCloud("cube.ply","Output_mesh2.pcd","mesh_sampling")

Authors


Report an issue
<< marching_cubes_extraction Point_Cloud_Toolbox normal_estimation >>