HELP--How to read RANSAC output?

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: HELP--How to read RANSAC output?

Post by daniel »

Hum, strangely they should be preserved. Which output format did you use for the sub-clouds?
Daniel, CloudCompare admin
ros_gala
Posts: 6
Joined: Mon Nov 30, 2020 11:29 am

Re: HELP--How to read RANSAC output?

Post by ros_gala »

Hi,
thank you for the reply. I tried to save the sub-clouds both in .ply and in .txt, but when I open these new files, I can no longer see the original RGB values associated with the points of the sub-clouds. Conversely, each point of the sub-cloud has a new RGB value (the same color for each point of the sub-cloud), resulting from the segmentation performed by the ransac (they are all green, or red, or pink,...). Is there a way to maintain their original RGB values instead of the new ones?

This is the original point cloud:
Immagine 2020-12-01 161451.jpg
Immagine 2020-12-01 161451.jpg (148.64 KiB) Viewed 5066 times
and these are two sub-clouds segmented by ransac:
Immagine 2020-12-01 161822.jpg
Immagine 2020-12-01 161822.jpg (166.8 KiB) Viewed 5066 times
Thank you very much.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: HELP--How to read RANSAC output?

Post by daniel »

Ok, I updated the command line mode so that no random colors are generated by default, and the user can use the "-OUT_RANDOM_COLOR" to enable random colors.

I've updated the code and the online 2.12.alpha version for Windows.
Daniel, CloudCompare admin
ros_gala
Posts: 6
Joined: Mon Nov 30, 2020 11:29 am

Re: HELP--How to read RANSAC output?

Post by ros_gala »

Hi Daniel,
thanks a lot for your help! I just downloaded the updated version and it works.
ros_gala
Posts: 6
Joined: Mon Nov 30, 2020 11:29 am

Re: HELP--How to read RANSAC output?

Post by ros_gala »

WargodHernandez wrote: Mon Aug 31, 2020 8:48 pm Actually the current version has just max radii and max length adjustments, I could add minimum parameters also but I've found that more issues crop up from the excessive sized primitives (Sphere or cylinders can be used in place of planes if you have a large enough primitive)

Image
Hi,
currently, is it possible to set max radii and max length parameters for primitives in the ransac shape detection plugin? is there an updated version?
Thank you
ros_gala
Posts: 6
Joined: Mon Nov 30, 2020 11:29 am

Re: HELP--How to read RANSAC output?

Post by ros_gala »

daniel wrote: Tue Dec 01, 2020 11:00 pm Ok, I updated the command line mode so that no random colors are generated by default, and the user can use the "-OUT_RANDOM_COLOR" to enable random colors.

I've updated the code and the online 2.12.alpha version for Windows.
Hi Daniel,
I noticed that in this updated online 2.12. alpha version for Windows, the Cloud2cloud function is no longer working. CC always crashes when I launch c2c distance. Also, some of my colleagues tried to use it, and they got the same problem. In the version I had before (2.11.3) it was working. How could I solve this problem?
Thank you in advance
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: HELP--How to read RANSAC output?

Post by daniel »

Apparently it was a compilation issue on my side (I just had to recreate the executable to fix the issue).

Can you try it on your side? (I updated the 2.12.alpha binaries online)
Daniel, CloudCompare admin
ros_gala
Posts: 6
Joined: Mon Nov 30, 2020 11:29 am

Re: HELP--How to read RANSAC output?

Post by ros_gala »

Hi Daniel,
I downloaded the new 2.12 alpha and I confirm that the C2C distance works again. Thanks a lot!
Post Reply