I am trying to convert a .ply file with a xyz to a .las file (xyzRGB) where RGB is assigned according to the z according to a lut : RGB := lut(int(z)).
This lut is a benchmarck where for each line (the line index is the z value) there is an RGB value.
The workaround that I have implemented is:
- from .ply to .txt where I add the RGB value according to the lut;
- from .txt to .las using txt2las.
The first operation is computationally onerous.
Is there a solution using only LAStools?