I want to georectify a point cloud spanning a large area, in a way that is as reproductible as possible. Basically, I'm looking for a way to do it by processing directly two csv files containing Ground Control Points (GCPs) "to align" and "reference" coordinates. There's a degree of uncertainty in the GCPs picking, such that I may have to do several tests before accepting the final rectification. So, if I want to change only one of the GCPs, I don't want to be obliged to pick again all other GCPs. To put it differently, I want the picking process to be independent of the rectification process.
This is how I do it:
- In a GIS software, I define aset of GCPs and export in a CSV the real coordinates and altitudes
- In Cloud Compare, I pick manually a set of points with the "point list picking tool", and export the coordinates in a csv file.
- In Cloud Comapre, I import the two csv files to generate two point clouds.
- Then, I use the "Align (point pair picking)" tool to align the imported points clouds. Picking is fairly easy, as I only have about 10 points.
- Finally, I apply the transformation computed at the previous step to the complete point cloud.
- Is it possible to use the "Align" tool directly on the complete point cloud, and import the "to align" and "reference" entities from a text/csv file? That would be very helpfull. I know the coordinates can be entered manually, but that is time consuming. I can copy/past each coordinate from another text file, but that's not very practical either.
- If not, is there a way to do it in command line, to automate the process, with Cloudcompare or another software? I saw that grass and v.ply.rectify supposedly do the job, but I have some difficulties getting a .ply file that can be read in grass.
Marc
PS: Several years ago I posted a message on this forum for a bug with CloudCompare on Linux. I have not been able to find a solution for this bug since. Is the Linux version of Cloudcompare still maintained?