Removing points based on height percentiles

161 views
Skip to first unread message

Shukhrat

unread,
Dec 2, 2019, 7:11:03 AM12/2/19
to LAStools - efficient tools for LiDAR processing
Hello,

I would like to remove points based on height percentile. Is it possible to drop points above 95 th percentile in lastools?

Thanks,

Kind regards,
Shukhrat

Martin Isenburg

unread,
Dec 3, 2019, 8:01:17 PM12/3/19
to LAStools - efficient command line tools for LIDAR processing
Hello,

there is no direct method to do this and you would also be more specific with what areas you intend to compute those height percentiles in. Here is some way of achieving something like what you desire:

:: use lasthin to classify the point closest to the 95th elevation percentile
:: per 10 by 10 meter area as class 9

lasthin -i ..\data\fusa.laz -step 10 -percentile 95 -classify_as 9 -o fusa_p95.laz

:: view resulting 95 percentile TIN surface by pressing <w> and <t> and <a>

lasview -i fusa_p95.laz

:: use lasheight classify poby ints above the  95 percentile TIN surface as noise

lasheight -i fusa_p95.laz -class 9 -do_not_store_in_user_data -classify_above 0 7 -o fusa_p95_noise.laz

:: view resulting 95 percentile noise by pressing <n> and <a>
  
lasview -i fusa_p95_noise.laz

Attached are a number of image illustrating the above. You should use tiles *WITH* buffers to do this correctly across a tiled point cloud.

https://rapidlasso.com/2015/08/07/use-buffers-when-processing-lidar-in-tiles/ 

Regards from Panama,

Martin

--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
---
You received this message because you are subscribed to the Google Groups "LAStools - efficient tools for LiDAR processing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lastools+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lastools/cc3fe058-ccae-4648-b496-301e22d48e56%40googlegroups.com.
lasthin_10m_95th_percentile_TIN.jpg
lasthin_10m_95th_percentile_TIN_with_all_points.jpg
lasthin_10m_95th_percentile_lasheight_noise.jpg
lasthin_10m_95th_percentile_lasheight_noise_with_all_points.jpg
Reply all
Reply to author
Forward
0 new messages