-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Range check multiplier to get_range() as user-defined value #490
Comments
That makes sense. However I don't want to add a complex argument difficult to understand. I prefer to do something more generic and transparent. I think I could change the threshold as a function of the point source. E.g. if you read las with |
That would be perfect. In that case, I suggest dropping the check for TLS altogether...
|
Your question actually raises more questions than we can think. In lidR all the range stuffs were designed for ALS but I do agree that it should work for others sources in some way. But.
So I guess if should add an error in |
Easy answer first, most MLS on the market generate a file that logs the trajectory of the sensor (which is used by SLAM algorithms). Our Zeb Horizon provides this as a txt file with the time, x, y, and z of the sensor, which I just read in and convert to a SpatialPointsDataFrame (say, named For TLS, well, I don't own one and have only received data from them second hand, so I'll have to ask around or we'll need someone else with more first hand experience to chime in... I agree that it's typically a single scan location with the gpstime varying among pulses, so I would also think Not 100% sure my responses here are helpful, hence the "you may not want to open this door" comment. If you want some MLS and trajectory data to play with just say the word, but I'm pretty sure you wont find it all that interesting. That is unless you're looking for another unfunded side project! ;) |
It is ok
It should do the job |
I really appreciate it, and so do my students! 😉
|
I disabled tests for TLS. I Considered MLS to be much like TLS than ALS so read it with I did not fix code for single position sensor yet |
I'm closing this. If somebody comes with TLS data and a problem for range normalization with single position sensor I'll do something using a reproducible example. But right now it is only an hypothetical problem. |
Hey JR - I have a feature request (maybe the easiest one ever) but it's one that makes lidR work for other sensor types (MLS in my case), however you may not want to open this door...
I've been using lidR to range correct the intensity of mobile lidar data, but to do so I have to go into
LAS.cpp
(lines 305-313) and remove (or creative an argument to bypass) the hard-coded range check multiplier (i.e.,3 * R_control
) to makeget_range()
work where ranges can be highly variable (as is the case with terrestrial lidar). To be completely honest, I can just keep rebuilding my own version with each release and comment out these lines of code, but it would seem to be an easy fix if the user were allowed to supply their own "multiplier" (in my case 100 instead of 3, since I'm scanning parallel to the surface and not perpendicular to it as with ALS) and then the function would work across all instances.Thanks!
Andrew
The text was updated successfully, but these errors were encountered: