冠层峰值检测加分水岭分割统计株数,结合经验模型估算产量。Counts plants via canopy peak detection plus watershed segmentation and estimates yield with an empirical model.
Coding
geoskill-orchard-tree-counting
Try it基于 CHM 峰值检测与模板匹配统计果树株数与冠幅。Counts orchard trees and crown widths from CHM peak detection and template matching.
What it does
基于 CHM 峰值检测与模板匹配统计果树株数与冠幅。Counts orchard trees and crown widths from CHM peak detection and template matching.
The skill document
果园树木计数 | Orchard Tree Counting
(Fill in 2-3 paragraphs of Chinese introduction here: functionality, application scenarios, core algorithm.)
Dependencies / 依赖
pip install 'numpy' 'rasterio' 'scipy'
Usage / 使用方法
Basic usage
python geoskill-orchard-tree-counting.py --bbox 116.0 39.0 117.0 40.0 [other options]
Example 1 (synthetic data, offline)
python geoskill-orchard-tree-counting.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
Examples 2-5
(Add at least 4 real-world usage examples.)
Output / 输出
| File | Format | Description |
|---|---|---|
result.tif | GeoTIFF | Main output |
output-manifest.json | JSON | Run manifest |
Data Source / 数据源 / Source
(Describe the data source: free satellite data / local input / synthetic.)
Privacy / 隐私声明 / Privacy
- Runs offline by default;
--syntheticmode requires no network at all. - All processing is performed locally; user data is never uploaded.
License / License
MIT
name: geoskill-orchard-tree-counting description: '基于 CHM 峰值检测与模板匹配统计果树株数与冠幅。Counts orchard trees and crown widths from CHM peak detection and template matching.'
果园树木计数 | Orchard Tree Counting
(在此填写 2-3 段中文介绍:功能、应用场景、核心算法。)
依赖
pip install 'numpy' 'rasterio' 'scipy'
使用方法
基本用法
python geoskill-orchard-tree-counting.py --bbox 116.0 39.0 117.0 40.0 [其他参数]
示例 1(合成数据,离线)
python geoskill-orchard-tree-counting.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
示例 2-5
(补充至少 4 个真实用法示例。)
输出
| 文件 | 格式 | 说明 |
|---|---|---|
result.tif | GeoTIFF | 主产物 |
output-manifest.json | JSON | 运行清单 |
数据源 / Source
(说明数据来源:免费卫星数据 / 本地输入 / 合成。)
隐私声明 / Privacy
- 默认离线运行,
--synthetic模式完全无网络。 - 所有处理在本地完成,不上传用户数据。
License
MIT
Related skills
CHM tree height and crown width allometric volume, NDVI/NDRE health grading and SAR biomass fusion for precision forestry
多年度分类编码轮作序列,识别轮作模式并统计频率。Detects crop rotation by encoding multi-year classifications into sequences, recognizing patterns and counting frequencies.
基于红边异常、热红外温度、纹理变化与多时相早期胁迫检测,识别疑似病虫害区域。Detects suspected pest/disease areas from red-edge anomaly, thermal, texture and multi-temporal early stress.
高分辨率作物识别叠加申报地块做差异检测,核查补贴合规性。Verifies subsidy compliance by overlaying high-resolution crop classification on declared parcels for difference detection.
Automatically detects and counts livestock or poultry individuals from barn or passage camera images/videos, outputting total headcount with confidence for fast inventory. | 自动识别并统计畜禽数量,实现快速存栏盘点。