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
filenamestringName of the file.
verticesInputArrayVertex coordinates, each value contains 3 floats.
normalsInputArrayPer-vertex normals, each value contains 3 floats (optional).
rgbInputArrayPer-vertex colors, each value contains 3 floats (optional).