Colorize pointcloud

Feel free to ask any question here
Post Reply
Ingsayyad
Posts: 93
Joined: Fri Oct 25, 2013 9:17 am

Colorize pointcloud

Post by Ingsayyad »

I have image (RGB) and Pointcloud( xyz intensity). I have corresponding points between image and points. Can I colorize my point cloud. if yes how can I import corresponding points.

% 3D points_control.TXT
% id x y z intensity
-------------------------------------------
% 2D points_control.TXT
% id col row rgb
-------------------------------------------
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Colorize pointcloud

Post by daniel »

No sadly this is not possible yet.
Daniel, CloudCompare admin
hobu
Posts: 4
Joined: Mon Jan 13, 2014 4:27 am

Re: Colorize pointcloud

Post by hobu »

It is possible to colorize point clouds using PDAL http://pdal.io See https://github.com/PDAL/PDAL/blob/maste ... lorize.xml for an example PDAL pipeline to take a LAS file plus a GDAL-readable raster file and produce colorized output.
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Colorize pointcloud

Post by daniel »

This is interesting indeed.

PDAL integration is still in the TODO list however (I hope we'll find the time to integrate it this year ;)
Daniel, CloudCompare admin
PablerasBCN
Posts: 284
Joined: Sat Jan 20, 2018 1:57 pm

Re: Colorize pointcloud

Post by PablerasBCN »

Not sure since when this is possible but you can colorize from a raster, I was quite in shock when I discovered:

Import your geotiff using RASTER filter, when prompted tell it to import as cloud.

Then impor the point cloud, if they're too far yo'll need to put them within same bounding box.

Select both, Colors-->"Interpolate from another entity" --> Tadaaa.

Option to ignore Z for the RGB interpolation would b handy.

Sadly I see no way to batch convert this and theese commands are not in commandline, but this could be super easily automated.

source:
https://www.youtube.com/watch?v=zFuq2A46zHI

Yet ideally implementing this would be epic:
https://www.spatialised.net/colouring-p ... with-pdal/

Rasters in one folders clouds in other folder, and let the magic happn
PablerasBCN
Posts: 284
Joined: Sat Jan 20, 2018 1:57 pm

Re: Colorize pointcloud

Post by PablerasBCN »

I finallly found the way!!

https://youtu.be/V6VJxZyyTEg?t=270
Post Reply