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.