Table of Contents

Method SavePointCloud

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

SavePointCloud(string, InputArray, InputArray, InputArray)

Saves a point cloud to a file (.ply / .obj). The file format is chosen by the extension.

public static void SavePointCloud(string filename, InputArray vertices, InputArray normals = default, InputArray rgb = default)

Parameters

filename string

Name of the file.

vertices InputArray

Vertex coordinates, each value contains 3 floats.

normals InputArray

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

rgb InputArray

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