Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICP: GUI Matrix Wildly Different from Python Matrix #202

Open
stellarpower opened this issue Jan 15, 2025 · 0 comments
Open

ICP: GUI Matrix Wildly Different from Python Matrix #202

stellarpower opened this issue Jan 15, 2025 · 0 comments

Comments

@stellarpower
Copy link

Hi,

I'll see if I can find to make an MRE later, as right now I have spent too much time on this.

Are there any known quirks when working with the ICP function in CloudComPy compared to using the CC native GUI? Or should a trivial opening of the two files and calling into the function with the defaults match almost exactly opening the two files in the GUI and using the ICP tool, also with the UI defaults?

I am simply loading in a cloud and a reference mesh, aligning as per the ICP tutorial in the docs, cloning the aligned result, applying the matrix, and then saving the lot to file, which I then inspect in ccViewer - nothing complicated thus far. Today I've modified the cloudcompare GUI build to trace all the arguments passed to the ICP implementation, and what I see logged is identical to what I am calling into from Python (most are at their defaults anyway). Whilst the GUI aligns the two pretty well, the matrix that comes out of the Python call is off by about 30 degrees and barely an improvement over the starting transformation between the two.

Are there any obvious causes of something like this? Or is it possible/expected that the GUI and Python results may differ without some pre-processing or careful pinning of circumstances?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant