Function write_cloud_def

Source
pub fn write_cloud_def(file: &str, cloud: &impl ToInputArray) -> Result<()>
Expand description

§Parameters

  • file: Filename with extension. Supported formats: PLY, XYZ and OBJ.
  • cloud: Supported depths: CV_32F and CV_64F. Supported channels: 3 and 4.
  • colors: Used by PLY format only. Supported depth: CV_8U. Supported channels: 1, 3 and 4.
  • normals: Used by PLY and OBJ format only. Supported depths: CV_32F and CV_64F. Supported channels: 3 and 4.
  • binary: Used only for PLY format.

§Note

This alternative version of write_cloud function uses the following default values for its arguments:

  • colors: noArray()
  • normals: noArray()
  • binary: false