Registered PLY and PTS Files Import Unaligned

Feel free to ask any question here
Post Reply
Drenthe
Posts: 2
Joined: Fri Apr 17, 2020 7:02 am

Registered PLY and PTS Files Import Unaligned

Post by Drenthe »

Hi,

I have several PTS files along with STL files which have been modelled based on the pointcloud data.

When importing a PTS and STL file which are aligned to each other and also in real world coordinates cloud
compare prompts for a global shift which I accept and both the PTS and STL files import perfectly aligned.

When importing a PTS and STL file which are aligned to each other(which I have confirmed in other software - see image) however
not in real world coordinates and therefore sitting around coordinate 0,0 cloud compare does not prompt for a global shift and
the two files are imported with a shift between them and are not aligned.

I have had this occur with two different sets of pointclouds/meshes now and have not been able to find a workaround or a reason for this occuring.
See attached for Aligned and Misaligned screenshots(note the STL being imported into cloud compare are a subset of the full model).

Has anyone had a similar issue or know of a workaround?
The attachment Aligned.JPG is no longer available
Aligned.JPG
Aligned.JPG (204.41 KiB) Viewed 5106 times
Attachments
MisAligned.JPG
MisAligned.JPG (95.75 KiB) Viewed 5106 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Registered PLY and PTS Files Import Unaligned

Post by daniel »

Are you using the 'Apply all' button when loading the file with large coordinates maybe? Because then this shift will be applied silently (this may explain the shift?).

Have you tried loading both non-shifted clouds after a fresh start?
Daniel, CloudCompare admin
Drenthe
Posts: 2
Joined: Fri Apr 17, 2020 7:02 am

Re: Registered PLY and PTS Files Import Unaligned

Post by Drenthe »

Hi Daniel,

Yes I do a fresh start before trying the import each time to ensure I dont have a setting incorrect from my last attempt.
I am only using the 'Apply' button on the pts import and do not get prompted for a shift of any sort.

Is there a way to reset cloud compare to default settings in case i have accidently changed a setting somewhere which is causing this?

Regards,
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Registered PLY and PTS Files Import Unaligned

Post by daniel »

Nope, there's no such concept in CC.

And if you are not prompted for applying a global shift, this means that the coordinates are small enough. And therefore they are not modified by CC (they are exactly what's in the file).
Daniel, CloudCompare admin
Post Reply