descriptor_to_matrix — REPRCONV descriptor op

• 資料種類:descriptor → matrix

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

用法

描述子 → matrix。descriptor 的出口(可逆)。

1-D 的描述子 (n,) 變為 (1, n) 的 1 列矩陣。2-D 的描述子束(像 sh_descriptor 的 (12, 9) 那樣的「點 x 維度」)原樣通過。這樣一來,mat_svd / mat_pinv / mat_cond 就能直接作用於描述子庫 —— 描述子本質上是向量,把它交給矩陣詞彙只是換個包裝,而不是變形。

與 matrix_to_descriptor 往返時逐位元一致(實測 max|Δ| = 0.0)。

Args:

descriptor: (n,) 或 (m, n) 的實數陣列。

Returns:

(1, n) 或 (m, n) float64。

Raises:

ValueError: 3-D 以上 / 非有限 / dict(fit_zernike 回傳 dict,所以

在這裡被拒絕 —— 詳見本模組 docstring)。

參考(範例資料、文獻)

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

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

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

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

• representation_conversion — py -3.11 examples/representation_conversion.py

• representation_roundtrip — py -3.11 examples/representation_roundtrip.py

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

matrix_to_descriptor · matrix_to_angle · matrix_to_rot_scale

同類別(descriptor)

matrix_to_descriptor · descriptor_to_table


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

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