This tool can be used to add red-green-blue (RGB) colour values to the points contained within an input LAS file (in_lidar
), based on the pixel values of an overlapping input colour image (in_image
). Ideally, the image has been acquired at the same time as the LiDAR point cloud. If this is not the case, one may expect that transient objects (e.g. cars) in both input data sets will be incorrectly coloured. The input image should overlap in extent with the LiDAR data set and the two data sets should share the same projection. You may use the lidar_tile_footprint tool to determine the spatial extent of the LAS file.
colourize_based_on_class, colourize_based_on_point_returns, lidar_tile_footprint
def lidar_colourize(self, in_lidar: Lidar, in_image: Raster) -> Lidar: ...