Install
openclaw skills install @ruiduobao/geoskill-lidar-canopy-structureopenclaw skills install @ruiduobao/geoskill-lidar-canopy-structureExtracts forest canopy structure parameters from LiDAR point clouds. Workflow:
Synthetic mode generates a simulated point cloud of flat terrain plus several Gaussian-crown trees (random heights 5–15 m, crown diameters 2–3.5 m), automatically matches them against ground truth, and reports detection rate, tree-height RMSE, and crown-width RMSE. Suited to forest resource inventory, individual tree location, and as a front end for biomass estimation.
pip install numpy rasterio scipy
python geoskill-lidar-canopy-structure.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-lidar-canopy-structure.py \
--bbox 116.0 39.0 117.0 40.0 \
--synthetic --min-height 2.0 \
--output-dir ./itd_2m
python geoskill-lidar-canopy-structure.py \
--bbox 121.0 31.0 122.0 32.0 \
--synthetic --min-height 8.0 \
--output-dir ./itd_8m
python geoskill-lidar-canopy-structure.py \
--input forest_plot.npy --min-height 3.0 --cell-size 0.5 \
--output-dir ./real_plot
python geoskill-lidar-canopy-structure.py \
--input forest_plot.csv --cell-size 2.0 --quiet \
--output-dir ./coarse
| File | Format | Description |
|---|---|---|
chm.tif | GeoTIFF (float32) | Canopy height model, EPSG:4326 |
trees.geojson | GeoJSON (Point) | Tree positions + height/crown width/crown area attributes |
stats.json | JSON | Tree count, height statistics, detection rate and RMSE (synthetic mode) |
output-manifest.json | JSON | Run manifest (input/output/QA/software versions) |
MIT
从 LiDAR 点云提取森林冠层结构参数。流程:
合成模式生成平面地形 + 若干高斯冠形树木(随机高度 5–15 m、冠径 2–3.5 m)的模拟点云,并自动与真值匹配输出检测率、树高 RMSE、冠幅 RMSE。适用于森林资源调查、单木定位、生物量估算前端。
pip install numpy rasterio scipy
python geoskill-lidar-canopy-structure.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-lidar-canopy-structure.py \
--bbox 116.0 39.0 117.0 40.0 \
--synthetic --min-height 2.0 \
--output-dir ./itd_2m
python geoskill-lidar-canopy-structure.py \
--bbox 121.0 31.0 122.0 32.0 \
--synthetic --min-height 8.0 \
--output-dir ./itd_8m
python geoskill-lidar-canopy-structure.py \
--input forest_plot.npy --min-height 3.0 --cell-size 0.5 \
--output-dir ./real_plot
python geoskill-lidar-canopy-structure.py \
--input forest_plot.csv --cell-size 2.0 --quiet \
--output-dir ./coarse
| 文件 | 格式 | 说明 |
|---|---|---|
chm.tif | GeoTIFF (float32) | 冠层高度模型,EPSG:4326 |
trees.geojson | GeoJSON (Point) | 单木位置 + 树高/冠幅/冠面积属性 |
stats.json | JSON | 株数、树高统计、检测率与 RMSE(合成模式) |
output-manifest.json | JSON | 运行清单(输入/输出/QA/软件版本) |
MIT