Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.

  >  Docs Center  >  Using ENVI  >  Color the Point Cloud


Color the Point Cloud

Color Point Clouds

The Color Point Cloud tool uses RGB data from a raster to colorize a LAS file of the same location. Each point of the point cloud receives the RGB value of the raster pixel that has the same location.

You can also write a script to perform point cloud coloring using the ENVIColorPointCloudTask task.

  1. In ENVI, open the raster to use for RGB point cloud coloring.
  2. In the ENVI Toolbox, use the Search field and type the word color.
  3. In the search results, double-click the Color Point Cloud tool. The Color Point Cloud dialog appears. The Input Raster field shows the raster open in ENVI. To select a different raster if more than one is open, click the Browse button and select it in the File Selection dialog that appears.

    In the LAS format, each RGB channel is encoded as an unsigned int (between 0 and 65535). If the raster data type is byte (0-255), the data is multiplied by a factor 256 before being used to color the point cloud. If the data type is not byte, then the data is cast to unsigned int, which can produce a point cloud with poor brightness and contrast if the data is not well spread in the 0-65535 range. The recommended process for a non-byte image is to load it in ENVI; set the stretch, brightness, and contrast as appropriate; right-click the image in the Layer Manager, and select Export Layer to TIFF. This TIFF file should then be used as the input raster for coloring the point cloud.

  4. Enter the .las, .laz, or ENVI LiDAR project to color in the Input Point Cloud field.
  5. Click OK. The Color Point Cloud Parameters dialog appears.
  6. If the point cloud contains Points Outside of Raster Footprint, select Remove or Keep to define how to process them.
  7. If you selected Keep, select the Color of Points Outside of Raster Footprint.

  8. In the Bands Associated to RGB Channels area, click on an RGB color to map it to a raster band in the Select Band dialog that appears.
  9. If no coordinate system is associated with the point cloud file, select one of the following:

    • From Dataset button , to use the coordinates from the full dataset.
    • From Current View button , to use the coordinates from the extents visible in the view.
    • to open the Select Coordinate System dialog, where you can select the desired coordinate system.

    The output point cloud file will use the same spatial reference you select.

  10. Enter a location and filename for the output file.
  11. Click OK. Processing takes several minutes. If you selected Display result, the colored point cloud appears in the ENVI LiDAR Main window.

© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us