unitycoder / PointCloudConverter

PointCloud converter (commandline and GUI) for Point Cloud Viewer & Tools (Unity plugin)
GNU Lesser General Public License v2.1
22 stars 5 forks source link

option to include additional data, such as intensity value #26

Open GISnick opened 10 months ago

GISnick commented 10 months ago

As discussed on the unity forums, the option to include intensity value along with color separatly is highly useful. As far as "packing" i understand this will cause some lossyness and or size increase.

My personal request to be included along with color: Intensity: This value represents the strength of the returned laser signal. GPS Time: This is the timestamp corresponding to the exact moment the LiDAR data point was captured.

if the clouds become too big or too lossy, i think the idea of perhaps a separate set of files where these extra datas can be loaded on demand only when needed? (for example gps time is used for specific point filtering tools outside of the general use application) ...or, if the cloud containing GPS time needs to be large and not packed then so be it, as it will be likely used for specific use cases

Additional attributes per point stored in a .las/.laz that are needed at times.

unitycoder commented 10 months ago

Yeah, separate file(s) would be the easiest solution). I'll look into it and update here.

adding reference link to forum post, https://forum.unity.com/threads/released-point-cloud-viewer-tools.240536/page-18#post-9529612

unitycoder commented 10 months ago

ok current library at least supports reading all those fields, intensity, gps, times and more: https://github.com/shintadono/laszip.net/blob/d481331f828e782129c839cde086de6ee02754f7/laszip_point.cs

have to remember that points are randomized in the importer, so need to do same for this additional data..

unitycoder commented 7 months ago

this is now already available actually not fully, only for header data, but not per point metadata can be exported into output.json and Intensity data can be read also (alone, with RGB, or packed with RGB+INT)