Page 1 of 1

How to add properly the Intensity Field

Posted: Wed Mar 15, 2017 10:12 am
by raid3n
Sorry for my english.

I'm a newbie of Cloud Compare. I'm using it for my thesis.

I was trying the Conditional Euclidean Clustering example (http://pointclouds.org/documentation/tu ... tering.php).

I successfully tried the PCD proposed within the example.

Now I want to use it with my PCD. But it gives me errors. The error is something like... My PCD has not the 'intensity' field. I read some topics on Google and on this forum. I tried to add a SF Field Constant with name 'intensity' but my pcd becomes blue.

I viewed the histogram of the proposed PCD and it shows the intensity window properly.
In my PCD I have only the 'Composite' window.

Could you tell me the properly way to fix my PCD with the intensity field?

Re: How to add properly the Intensity Field

Posted: Wed Mar 15, 2017 12:14 pm
by daniel
Not sure how you are actually testing the 'CEC' algorithm in CloudCompare (did you implemented a new filter for the qPCL plugin?).

Anyway, if I understand well what you say, maybe you should simply rename the 'Composite' scalar field into 'Intensity'. To do this, simply select the cloud, make the 'Composite' scalar field active (in the cloud properties) and eventually call 'Edit > Scalar fields > Rename'.

Re: How to add properly the Intensity Field

Posted: Wed Mar 15, 2017 3:21 pm
by raid3n
The error disappears but the code give me an insignificant output (1kb).

Is it allowed to paste a link to get my pcd and understand the differences with the pcd proposed?

Or do you have any idea how to solve?

Meanwhile, thank you for answering.

Re: How to add properly the Intensity Field

Posted: Thu Mar 16, 2017 1:15 pm
by daniel
1) Yes you can post links to data

2) I have no idea how to solve this, because I never experienced the CEC algorithm, sorry (and I don't use PCL myself).