Search found 21 matches

by ZilongS
Wed Jun 12, 2019 9:56 pm
Forum: Questions
Topic: About the Tools->Fit->Sphere option
Replies: 6
Views: 4206

Re: About the Tools->Fit->Sphere option

daniel wrote: Thu Jun 06, 2019 7:24 pm We use here and there some conjugate gradient or Levenberg Marquardt algorithms (with Eigen).
The use of conjugate gradient or Levenberg Marquardt algorithms is interesting for me, can you specify where they are used in CC?

Thanks for that

Zilong
by ZilongS
Tue Jun 04, 2019 7:50 am
Forum: Questions
Topic: About the Tools->Fit->Sphere option
Replies: 6
Views: 4206

Re: About the Tools->Fit->Sphere option

The method uses a 'RANSAC' algorithm. It's a random process (a certain number of points is picked several times and the best match is returned - the number of points and the number of trials is given by some magical statistics formula ;). This way the process is relatively robust to noise. Hello, D...
by ZilongS
Tue Jun 04, 2019 6:50 am
Forum: CCLib
Topic: stochastic ICP result transform matrix
Replies: 5
Views: 31473

Re: stochastic ICP result transform matrix

You mean by setting the line 219 of std::mt19937 gen(rd()); to std::mt19937 gen(0); ?

From https://github.com/CloudCompare/CloudCo ... gTools.cpp
by ZilongS
Mon Jun 03, 2019 4:26 pm
Forum: Questions
Topic: set the function samplePoints not random
Replies: 1
Views: 934

set the function samplePoints not random

Hello, Daniel, I am using the compiled version of CloudCompare, and I am trying to sample points from a mesh with the function cloud = ccmesh->samplePoints(true, 4.0, true, false, false, nullptr); however, with the same mesh (.stl) and the same parameters, each time the resulted point cloud is not t...
by ZilongS
Thu May 09, 2019 11:53 am
Forum: CCLib
Topic: stochastic ICP result transform matrix
Replies: 5
Views: 31473

Re: stochastic ICP result transform matrix

daniel wrote: Tue May 07, 2019 8:35 pm If the random sampling limit is above both cloud sizes, you shouldn't have any 'random' behavior anymore...
However, it's better that the sampling process with the random sampling limit below the point number can be also reproducible, can we do that?
by ZilongS
Thu May 09, 2019 7:23 am
Forum: CCLib
Topic: stochastic ICP result transform matrix
Replies: 5
Views: 31473

Re: stochastic ICP result transform matrix

You are right, I thought the Random Sampling Limit is only valid for the cloud to be aligned.
Thanks for your answer.

Best regards

Zilong
by ZilongS
Tue May 07, 2019 2:22 pm
Forum: CCLib
Topic: stochastic ICP result transform matrix
Replies: 5
Views: 31473

stochastic ICP result transform matrix

Hello, Daniel, I am using de compiled version of CC, and I find that when using ICP, for the same reference cloud and same aligned clolud, the result transform matrix can be different, even the Random sampling limit is greater than the point number of the cloud to be aligned, however, do you have a ...
by ZilongS
Fri Jan 11, 2019 4:10 pm
Forum: Windows related topics
Topic: generation of .h file for .ui file
Replies: 0
Views: 22715

generation of .h file for .ui file

Hi, Daniel,

With the source code of CC, I added a new xxx.ui created with Qt Designer, however, if I right click on the xxx.ui file, the option 'compile' is disabled, can you tell me how can I generate a ui_xxx.h for this xxx.ui file?

Best regards

Zilong
by ZilongS
Thu Dec 13, 2018 12:27 pm
Forum: Windows related topics
Topic: no name when load a .pcd file with the debug version
Replies: 7
Views: 23202

Re: no name when load a .pcd file with the debug version

Thanks for your confirmation.

Is there a function in CC which gives the minimal distance between any two points in a point cloud?
by ZilongS
Wed Dec 12, 2018 9:30 pm
Forum: Windows related topics
Topic: no name when load a .pcd file with the debug version
Replies: 7
Views: 23202

Re: no name when load a .pcd file with the debug version

Daniel, The transformation history is interesting for a primitive, however, it is not presented in the manual (for a primitive). I tested with some cases, it's true that the third column of the matrix gives the axis (direction) of the a cylinder. Something I found : 1. For a plane, the 3rd column gi...