Page 1 of 2
LAS intensity issue
Posted: Fri Jul 31, 2015 9:58 pm
by max72
I have some issues with a 2.6.1 and win7x64.
I have an intensity only cloud, and if I export it to E57 everything is ok, while with LAS the intensity is lost.
In the test I did the following:
Segmented a small subset and saved to bin (attached).
Opened the bin and saved as E57 and LAS.
The LAS looses the intensity.
With my laptop I have not this issue.
In the past it worked fine also on this PC. Only thing is I modified (before starting using CC) the language setup to allow the "." as a decimal separator in place of the "," we are supposed to use in Italy..
Massimo
Re: LAS intensity issue
Posted: Sat Aug 01, 2015 6:33 am
by daniel
The problem is simpler: according to the specifications, LAS intensity is an integer value (16 bits - i.e. between -32K and 32K).
Therefore, if you try to save intensities between 0 and 1 they will be 'rounded' to 0 (and then ignored at loading time by CC).
Simply multiply the intensity field by a big value (10 000 for instance). You can use the 'Edit > Scalar fields > Add constant SF' and the 'Edit > Scalar fields > Arithmetic' tool (
http://www.cloudcompare.org/doc/wiki/in ... Arithmetic).
Re: LAS intensity issue
Posted: Tue Aug 04, 2015 1:21 pm
by max72
Thanks!
You are right.. I was looking for complex solutions, while the answer was so simple..
I also made the mistake to not use the same cloud on both computers.. that would have been a more sensible approach..
Cheers,
Massimo
Re: LAS intensity issue
Posted: Tue Mar 08, 2016 9:19 pm
by jansawicki
Hi,
Multiplying the intensity field by a value of 10 000 works great, although is there any way to apply this operation using command line? It seems to me that neither of * - + / operations are available with command line mode. Thank you in advance :)
Re: LAS intensity issue
Posted: Wed Mar 09, 2016 7:53 am
by daniel
Right now you can only apply such arithmetic operations between two scalar fields. We should add the option to use this with a single value to the TODO list.
Re: LAS intensity issue
Posted: Sat Mar 12, 2016 2:52 pm
by daniel
Ok ,the latest online 2.6.3 version has a new 'SF_OP' option to apply simple arithmetic operations to a scalar field (+,-,*,/). See the wiki here:
http://www.cloudcompare.org/doc/wiki/in ... _line_mode.
Re: LAS intensity issue
Posted: Tue Oct 11, 2016 8:02 pm
by jansawicki
Hello, same problem again...
I don't know, multiplying by 10k worked before, but now (CloudCompare v. 2.6.3 and 2.7.0) I get an error message:
[LAS] Found a 'Scalar field' scalar field, but it doesn't match with any of the official LAS fields... we will ignore it!
I'm trying with different scalar field ranges (using arithmetic functions), <-32K;32K>, <0; 64K>, <0;1>, <-1000;1000>, <0;1000>...
How do I make intensity values match "official LAS fields"? Any suggestions?
(The reason I want to convert my PTS files to LAS with color/intensity is that I want to Potree viewer, maybe there is an easier workflow for that?)
Thanks again
Re: LAS intensity issue
Posted: Tue Oct 11, 2016 8:23 pm
by daniel
In fact it's mostly the name that should match ('Intensity'). And then I believe intensity values should be between 0 and 65535 (16 bits).
Re: LAS intensity issue
Posted: Tue Oct 11, 2016 8:51 pm
by jansawicki
Thank you so much Daniel, it solved the issue!
Re: LAS Colour Display Missing
Posted: Thu Apr 11, 2019 11:07 pm
by tallan34
Hi All,
I was wondering if people could help me solve a similar issue.
I have imported some merged scans as .las and .laz files from GeoSLAM Hub, hvaing used a Zeb Revo the device for a small building survey. The data was processed in GeoSLAM Hub.
When I import the data into Cloud Compare, there is no option within the property section to add the colour or change it. I ideally want to display the data in a RGB format with multiple colours shown by intensity of the scan data.
Hope to get some help soon!
Thank you