(XYZRGB_cloud)
return XYZ_cloud
Converts a PCL XYZRGB point cloud to an XYZ point cloud (removes color info)
    
        Args:
            XYZRGB_cloud (PointCloud_PointXYZRGB): A PCL XYZRGB point cloud
            
        Returns:
            PointCloud_PointXYZ: A PCL XYZ point cloud
Converts a PCL XYZRGB point cloud to an XYZ point cloud (removes color info)
    
        Args:
            XYZRGB_cloud (PointCloud_PointXYZRGB): A PCL XYZRGB point cloud
            
        Returns:
            PointCloud_PointXYZ: A PCL XYZ point cloud
Converts a PCL XYZRGB point cloud to an XYZ point cloud ( removes color info ) Args : XYZRGB_cloud ( PointCloud_PointXYZRGB ) : A PCL XYZRGB point cloud Returns : PointCloud_PointXYZ : A PCL XYZ point cloud
def XYZRGB_to_XYZ(XYZRGB_cloud):
    """ Converts a PCL XYZRGB point cloud to an XYZ point cloud (removes color info)
    
        Args:
            XYZRGB_cloud (PointCloud_PointXYZRGB): A PCL XYZRGB point cloud
            
        Returns:
            PointCloud_PointXYZ: A PCL XYZ point cloud
    """
    XYZ_cloud = pcl.PointCloud()
    points_list = []

    for data in XYZRGB_cloud:
        points_list.append([data[0], data[1], data[2]])

    XYZ_cloud.from_list(points_list)
    return XYZ_cloud
def XYZRGB_to_XYZ ( XYZRGB_cloud ) : XYZ_cloud = pcl . PointCloud ( ) points_list = [ ] for data in XYZRGB_cloud : points_list . append ( [ data [ 0 ] , data [ 1 ] , data [ 2 ] ] ) XYZ_cloud . from_list ( points_list ) return XYZ_cloud