fullseye

descriptor_to_matrix — REPRCONV descriptor op

使い方

記述子 → matrixdescriptor の出口(可逆)。

1-D の記述子 (n,) は (1, n) の 1 行行列にする。2-D の記述子束 (sh_descriptor の (12, 9) のような「点 x 次元」)はそのまま通す。 こうしておくと記述子バンクに mat_svd / mat_pinv / mat_cond がそのまま掛かる —— 記述子は本質的にベクトルなので、行列語彙へ渡すのは 梱包の付け替えであって変形ではない。

:func:matrix_to_descriptor と往復して bit 一致(実測 max Δ = 0.0)。

Args: descriptor: (n,) または (m, n) の実配列。 Returns: (1, n) または (m, n) float64。 Raises: ValueError: 3-D 以上 / 非有限 / dict(fit_zernike は dict を返すので ここで拒否される —— 詳細は本モジュール docstring)。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(matrix を入力に取れる)

matrix_to_descriptor · matrix_to_angle · matrix_to_rot_scale

同カテゴリ(descriptor)

matrix_to_descriptor · descriptor_to_table


Provenance: reprconv.py — REPRCONV operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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