[][src]Function opencv::viz::write_cloud

pub fn write_cloud(
    file: &str,
    cloud: &dyn ToInputArray,
    colors: &dyn ToInputArray,
    normals: &dyn ToInputArray,
    binary: bool
) -> Result<()>

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.

C++ default parameters

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