Method LoadPointCloud
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
LoadPointCloud(string, OutputArray, OutputArray, OutputArray)
Loads a point cloud from a file (.ply / .obj). The file format is chosen by the extension.
public static void LoadPointCloud(string filename, OutputArray vertices, OutputArray normals = default, OutputArray rgb = default)
Parameters
filenamestringName of the file.
verticesOutputArrayOutput vertex coordinates, each value contains 3 floats.
normalsOutputArrayOutput per-vertex normals, each value contains 3 floats (optional).
rgbOutputArrayOutput per-vertex colors, each value contains 3 floats (optional).