match_component — REPRCONV structure op

• 資料種類:match → measurement

• 呼叫: import fullseye as fs; fs.ledger.match_component(match, index=0)(要直接呼叫實作,import reprconv; reprconv.match_component(match, index=0);從台帳取用則 opsreprconv.get("match_component"))

• GPU:無(僅 CPU 參考實作)

用法

match 型別(1-D 結果向量)→ 其中一個分量的 measurement。match 型別的出口。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

2-D レジストリの match 型は「1 スカラーでは表せない複数の値」を 1 本のベクトルで運ぶ:

area_center = (面積 [px], 重心の行 [px], 重心の列 [px])、ncc_locate / shape_locate = (相関値, 行, 列)、eccentricity = (Anisometry, Bulkiness, StructureFactor) など。HALCON でも area_center の Row だけを次の処理に渡すように、成分を名指しで 1 つ取り出すのがこの型の自然な出口。どの成分が何かは産んだ op の docstring が決めている(ここでは解釈しない)。

Args:

match: 1-D の有限な数値列(長さ >= 1)。0-D のスカラーは長さ 1 として受ける。

index: 取り出す成分の番号(0 始まり)。負の番号は使えない(取り違えを防ぐため)。

Returns:

float。

Raises:

ValueError: 1-D でない / 非有限 / 空 / index が範囲外か整数でない。

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• type_connectivity_tour — py -3.11 examples/type_connectivity_tour.py

型別可銜接的下一個運算子(可接受 measurement 作為輸入)

—

同類別(structure)

frame_axis · knn_graph_to_conn_graph · pointmap_to_points


*Provenance: reprconv.py — REPRCONV 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.