LAZ-clouds and arial drape?

Hi,

I need to re-color a bunch (100s) of LAZ point clouds based on matching ortho photos (probably ECW) and I don't know how to achieve this.

I have access to microStation, Descartes and poinTools.

1. How do I re-color a bunch of point clouds using ortho photos?

I imagine the process to be something like: Import all the clouds and ortho photos and press a magic button that makes each XY-point (effectively ignoring the point clouds Z-coordinate) grab the color from the proper pixel from the ortho photo image sharing that XY-space.

1b. Should I convert from LAZ to POD using poinTools for Descartes?
Descartes does not import LAZ point clouds. poinTools lists the importing as possible in the latest error-fix update, but lacks any tools to re-color them?
poinTools can probably convert them to POD though.
Oh, bonus question, lucky you:

2. Is there a way to thicken a pointcloud using an existing Bentley software solution?

I need this for animation purposes, and these particualr clouds are sort of thin. But it would be perfectly okay to add interpolated points between the existing points. I think the cloud is basically a XY-map with heights added, so the math would even be pretty simple.

2b. Assuming no, can I hack at it in VBA?

Regards,
Torben

  • Hi Torben,

    Unfortunately there is currently no functionality that can do that in Descartes V8i.

    You could probably use the C++ SDK to code somthing using

    mdlRaster_bitmapGet

    and

    POINTCLOUD_EXPORT static PointCloudDataQueryPtr CreateBoundingBoxQuery(ElemHandleCR eh, DPoint3dCR origin, DPoint3dCR corner);

    to obtain point cloud points and raster bitmap for a given region.

    Once you have the bitmap and points you just need to do a vertical projection of the points to the bitmap to found the correct color.

    Since you cannot edit the color of a point cloud you would need to export the point to a XYZ file with the RGB color found, than create a POD file from the XYZ file.

    MVBA is not a solution since point cloud is not supported.

    HTH,

    Mathieu