| | 104 | |
| | 105 | === Classify using hyperspectral data or a DSM === |
| | 106 | |
| | 107 | You can use the HYLIGHT tool als_classify to classify LAS files using a reference DSM or including hyperspectral files or a classification file. |
| | 108 | Full instructions can be found in the [ manual] but some example commands: |
| | 109 | |
| | 110 | Fully classify points using a surface model and hyperspectral data: |
| | 111 | {{{ |
| | 112 | als_classify --output classified_las --hsclassification HS_class_mask.bsq --vegheight --buildings --alsfile unclassified_lidar_data.LAS --refsurface my_reference_surface.bsq |
| | 113 | }}} |
| | 114 | |
| | 115 | Classify noisy points against a surface model: |
| | 116 | {{{ |
| | 117 | als_classify --output classified_las --alsfile unclassified_lidar_data.LAS --refsurface my_reference_surface.bsq |
| | 118 | }}} |
| | 119 | |
| | 120 | ==== using the wrapper ==== |
| | 121 | |
| | 122 | To classify a directory of LAS files using a DSM only you can use the wrapper script classify_las_with_dem.py: |
| | 123 | {{{ |
| | 124 | classify_las_with_dem.py --lidar unclassified_las_directory/ --dem dsm_in_same_projection_as_lidar.dem --output classified_las_directory/ |
| | 125 | }}} |