Skip to main content

depth_to_point_cloud

Function depth_to_point_cloud 

Source
pub fn depth_to_point_cloud(
    depth: ImageView<'_, f32, 1>,
    camera: &PinholeCamera,
    options: DepthConversionOptions,
) -> Result<PointCloud, RgbdError>
Expand description

Converts an aligned depth image into an XYZ point cloud.

Zero, non-finite, and out-of-range depths are omitted.