6

I need to extract the RGB Values from imagery and assign to a .las file in order to display 3d landscape with "real" colours. I have an unlicenced LAStools, FME 2017 and ArcGIS 10.3.1 at hand.

I have tried with las2las, but the tools don't take the option --color-source as was documented in liblas.org. With FME I can visualize this effect but not export to .las.

Has anyone done this?

4

Use the PointCloudOnRasterComponentSetter transformer in FME. Check out this tutorial: https://knowledge.safe.com/articles/1096/color-and-point-clouds.html

2

This functionality was removed from libLAS and moved over to PDAL. The filter you want to use is called filters.colorization, and it allows you to control how the bands map to the color values of the LAS file in addition to other useful switches.

See the filters.colorization documentation for how to use the filter. See the PDAL QuickStart for how to use Docker to run PDAL command line applications on Windows if that is your platform to run upon.

An example PDAL pipeline for colorization would specify filters.colorization attributes like the following:

{
    "pipeline":[
    "uncolored.las",
    {
        "type":"filters.colorization",
        "dimensions":"Red:1:1.0, Blue, Green::256.0",
        "raster":"aerial.tif"
    },
    "colorized.las"
    ]
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.