Table of Contents

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

filename string

Name of the file.

vertices OutputArray

Output vertex coordinates, each value contains 3 floats.

normals OutputArray

Output per-vertex normals, each value contains 3 floats (optional).

rgb OutputArray

Output per-vertex colors, each value contains 3 floats (optional).