CloudCompare / CloudComPy

Python wrapper for CloudCompare
Other
265 stars 38 forks source link

Option to save transformation matrices from ICP #166

Closed mcgregorian1 closed 1 month ago

mcgregorian1 commented 1 month ago

In the command line version of CloudCompare, the ICP function states

the corresponding transformation matrix is automatically saved in a separate text file (always).

It doesn't seem like this is an option in CloudComPy, nor is there a separate function that would do this. Can this functionality please be added to the ICP function? Or separately, is there another way to access the matrix as an output text file?

Thanks!

prascle commented 1 month ago

Hi, The transformation matrix is given in the result structure in return of ICP function: see the use case and the reference. The transformation matrix object has several methods to get the parameters, including a toString method.

Best regards, Paul

mcgregorian1 commented 1 month ago

Ah, you're right, sorry about that. I had seen it before and I didn't catch that. Thanks!