alsdb.utils.viz.plot_rgb#

alsdb.utils.viz.plot_rgb(df: DataFrame, resolution: float = 1.0, percentile_clip: tuple[float, float] = (2.0, 98.0), ax=None)[source]#

Plot an RGB orthoimage from the colourised point cloud.

The 16-bit RGB channels are rasterized and contrast-stretched using percentile clipping before display.

Parameters:
  • df – Point-cloud DataFrame with columns Red, Green, Blue.

  • resolution – Grid resolution in metres.

  • percentile_clip – Low and high percentile for contrast stretching.

  • ax – Matplotlib axes.

Return type:

matplotlib.axes.Axes