Create a mask

Feel free to ask any question here
Post Reply
Pilaf
Posts: 6
Joined: Fri Jan 16, 2015 9:51 am
Location: Genova, Italy

Create a mask

Post by Pilaf »

Hi,
I was wondering if it is possibile to use a portion of a cloud as a mask to "cut" other clouds in the same shape of the mask, without using segmentation tool of course.
I tried to compute the intersection using the Mesh Boolean Operation tool but I obtained this message:
Exception caught: ENSURE FAILED
Computation failed!

Thank you very much :)
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Create a mask

Post by daniel »

The qCork plugin behaves sometimes strangely (you have to retry multiple times until it accept to compute the boolean operation!).

Otherwise, depending on how your 'mask' cloud looks like, you can compute the distances to the cloud and then filter out the farthest points?
Daniel, CloudCompare admin
Pilaf
Posts: 6
Joined: Fri Jan 16, 2015 9:51 am
Location: Genova, Italy

Re: Create a mask

Post by Pilaf »

Thank you Daniel for your super fast answer and for your suggestion: I'll try it!
What I want to obtain is the same extraction of multiple clouds starting from a given cloud; in my case, I want to extract the "roof" of a cave from many models created using different parameter's setting and then compare the extractions (the "roofs").
So maybe the easiest way to do that is to segment all the clouds in the same time and then do the comparisons.
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Create a mask

Post by daniel »

Indeed.

Or if your extraction area is a box, you can use the command line (with the CROP option).
Daniel, CloudCompare admin
franezd
Posts: 1
Joined: Tue Jul 21, 2015 2:54 pm

Re: Create a mask

Post by franezd »

HI Daniel,

I also get the same error as Pilaf when trying to perform a boolean operation between two meshes:

Exception caught: ENSURE FAILED
Computation failed!

Your help is appreciated

Thanks

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

Re: Create a mask

Post by daniel »

There's a bug in the Cork library that makes this happen from time to time. Generally you just have to restart the process and it works... generally ;).

Do you confirm?
Daniel, CloudCompare admin
Post Reply