当前位置:网站首页>Point cloud read / write (2): read / write TXT point cloud (space separated | comma separated)

Point cloud read / write (2): read / write TXT point cloud (space separated | comma separated)

2022-06-11 22:23:00 Sun WuKong

1 txt Point cloud file format

txt Point cloud files to That's ok Arrange in units , Each line corresponds to a point , It can contain three-dimensional coordinates 、 Reflection intensity 、 True color 、GpsTime Equal elements , Elements are usually separated by Space perhaps English comma Division .

It is precisely because of the different element delimiters , bring txt Point cloud files are loaded in different ways :

  • For the element delimiter is Space Of txt Point cloud , Loading is relatively simple .
  • For element separator, English comma, etc Non space characters Of txt Point cloud , Loading a point cloud file requires Convert non space characters to spaces .

Be careful : In order to distinguish different elements in a row , Space separators are usually tab stops \t, Instead of ordinary spaces .

The following is for the two element separation methods txt Point cloud , Explain how to load in turn txt Point cloud

原网站

版权声明
本文为[Sun WuKong]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206112204409379.html