Hello everyone,
I'm evaluating classification's maps generated by lasgrid and I have some doubts.
Because the -classification command does not operate in conjunction with the -highest, -lowest, -average, -stddev, and -range commands, it is unclear how it computes classifications when generating rasters.
Also, there is the -classification_majority command which specifies your method in its own name.
We take an example here.
The image below shows a raster generated by lasgrid -classification together with the polygon of the buildings, generated by lasboundary:
This image below shows a raster generated by lasgrid -classification_majority together with the polygon of the buildings, generated by lasboundary:
Evaluating and comparing the two maps, I suggest that the -classification command doesn't compute the classes by some other sort of majority, nor does it compute by the highest or lowest or anything else I can think of right now.
So, what is the method that lasgrid uses to generate maps with the -classification command?
Is it possible to enable the classic -highest and -lowest commands?
For the maps I'm generating right now, it's important that the buildings are always above class 0, 1, 2, 3, 4, 5. In this case, I could use a -classification - highest that would solve my problem.
Follow the command line used:
lasgrid -i *.laz -step 5 -classification -false -change_classification_from_to 8 2 -odir 01_analysis_NP_class -odix "_analysis_NP_class" -opng -cores 4 -cpu64
Version used: 220107
In the next email I can send the laz files used in the example, as I have exceeded the capacity of this email here.
Regards,
Guilherme Sanchez