3fe919e37c
Move SKILL.md + references/ scripts/ evals/ from skills/halcon/ up to the plugin root. Per Claude Code plugins-reference, a plugin with SKILL.md at its root and no skills/ subdir is auto-loaded as a single-skill plugin (v2.1.142+), so the invocation name = frontmatter name = halcon → clean /halcon. Bump plugin.json 2.0.0 → 2.0.1 so existing installs receive the update. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1.7 KiB
1.7 KiB
HALCON 24.11 算子参考索引 (Operator Reference Index)
面向 Halcon skills / Agent 检索用的离线索引,数据源为 MVTec 官方在线参考
https://www.mvtec.com/doc/halcon/2411/en/(版本 24.11.2.0,公开无需登录)。
文件
| 文件 | 内容 |
|---|---|
operators.csv |
全部算子 operator,doc_url(2387 行)。程序化检索首选。 |
operators.txt |
纯算子名列表,一行一个。grep 快查用。 |
categories.md |
算子分类目录树(29 个顶级章节 / 219 个 TOC 页),每个 TOC 页 URL 列出该类算子。 |
用法
按名查文档(拼出算子文档页):
https://www.mvtec.com/doc/halcon/2411/en/<operator>.html
# 例: gen_measure_rectangle2 -> .../gen_measure_rectangle2.html
模糊找算子:
grep -i circle operators.txt # 找圆相关算子
grep -iE 'measure|metrology' operators.txt
按功能定位(先查 categories.md 找到对应 TOC 页,再打开看该类下所有算子):
- 圆心/边缘亚像素测量 →
toc_2dmetrology/toc_1dmeasuring/toc_xld_features - 模板匹配(overlay 粗定位)→
toc_matching_shapebased/toc_matching_correlationbased - XLD 轮廓/圆拟合 →
toc_xld及子类 - 标定 →
toc_calibration
与本项目的对应
D2W overlay 复核链路常用:gen_measure_rectangle2 / measure_pos(1D 边缘)、
edges_sub_pix + select_shape_xld + fit_circle_contour_xld(XLD 圆拟合)、
find_shape_model(套圈 Mark 粗定位)、area_center / smallest_circle(圆心统计)。
注:这是索引,不含算子正文。正文按需从上面的 URL 现取(或安装本地 HALCON 后从
$HALCONROOT/doc/html/reference/离线读取)。