lasFileReader loose accuracy when reading the point clouds.
1 次查看(过去 30 天)
显示 更早的评论
Hi all,
I'm having a quite strange issue with the lasFileReader function that "quantizes" the point cloud coordinates (most of the times only the Y cooridnate) in the loading of the data. I tried using both my data and the demo data provided by MATLAB and the Y coordiantes are always quantized at 0.5 or 0.25 m steps. The original data have a 1 cm resolution or even higher so all this information is lost.
This is clearly visible looking at the Y coordinates value or at the plotted point cloud which has clearly visible stripes due to quantization
The code I'm using is quite straightforward as there are no specific options for such type of problem.
path = fullfile(toolboxdir('lidar'),'lidardata','las','aerialLidarData2.las');
lasHandle = lasFileReader(path);
pc = lasHandle.readPointCloud;
At first I thought it was an issue with my las file header (e.g., wrong las version) so I tried different tests with the las2las function of lastools trying to update the header. However since the same issue appears with the "official MATLAB demo data" I assume there is something I'm missing.
Do you have any idea about what is happening?
Thank you.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 I/O 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!