Page 1 of 1

Scaling Point Clouds

Posted: Tue Feb 12, 2013 11:40 pm
by mberthau
Hi all,

I was wondering if there was a way to scale point clouds in cloud compare?

For instance, if I had two objects that were roughly the same shape (i.e. spheres) but different sizes, is it possible to scale the smaller object to the larger one or vice versa so I could then align the two point clouds and see how different they are?

Thanks

Re: Scaling Point Clouds

Posted: Wed Feb 13, 2013 6:54 am
by daniel
Indeed,

Look at the "Edit > Multiply\Scale" tool (you can scale each dimension separately).

Re: Scaling Point Clouds

Posted: Wed Feb 13, 2013 12:05 pm
by mberthau
Awesome, thanks so much!

Re: Scaling Point Clouds

Posted: Mon Nov 10, 2014 4:35 pm
by reza_mtn2001
Daniel, I have one question related to scaling as well. I saw that there is a good tool in CC for scaling a point cloud. I need only to set fx, fy, fz and then my point cloud is scaled to larger size or smaller size. I need to know that this functionality works according to voxel grid in PCL? or other kind of function is used? I ask this question since I want to change the scale of my point cloud by using PCL. and CC does it beautifully but I need do it inside of my code and I shouldn't scale it in CC and then use it in my code.


best regards,
Reza

Re: Scaling Point Clouds

Posted: Mon Nov 10, 2014 10:23 pm
by daniel
No need to use PCV here, as we simply multiply the coordinates by fx, fy and fz (i.e. a simple loop on the points).

By the way, the standard version of CC is totally independent on PCL. Only the qPCL plugin uses PCL.

Re: Scaling Point Clouds

Posted: Tue Nov 11, 2014 10:09 am
by reza_mtn2001
Thx for your straight-forward answer Daniel. So it means that we simply multiply the coordinates of each points in scale value, that's it. is that true??

Best,
Reza

Re: Scaling Point Clouds

Posted: Tue Nov 11, 2014 11:49 am
by daniel
If we both speak of the 'Edit > Multiply / Scale' method then yes!

Re: Scaling Point Clouds

Posted: Tue Nov 11, 2014 2:26 pm
by reza_mtn2001
yes! THX got it :)

best,
Reza

Re: Scaling Point Clouds

Posted: Fri Apr 10, 2015 5:22 pm
by mschmidt@sandis.net
Do you guys have any idea why the multiply scale option may be grayed out?

Re: Scaling Point Clouds

Posted: Fri Apr 10, 2015 6:22 pm
by daniel
Well it should only be enabled if one or several point clouds are selected. Maybe meshes also but I'm not sure right now.