pairs op• 資料種類:pairs → image2d
• 呼叫:import reprconv; reprconv.pairs_to_image2d(pairs, shape=(64, 64))(或 opsreprconv.get("pairs_to_image2d"))
對 `(N,2) → 散點密度影像 (H, W)。pairs` 的第三個出口。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
列 0 を行方向、列 1 を列方向に、それぞれの最小-最大で正規化して bin へ落とす
(2-D ヒストグラム)。位相図・相関図として見るためのもので、不可逆
(bin 幅ぶんの量子化 + 正規化で絶対値のスケールを捨てる)。
捨てたスケールは戻せるように `extent を…返さない —— 返すと image2d`
でなくなる。必要なら :func:pairs_to_table の `x_min` などを使う。
定数列(最小 == 最大)は 0.5 の位置へ集める(0 除算を避けるが、
それを「密度が中央に集中している」と読まれないよう、bin は 1 本だけ立つ)。
Args:
pairs: (N, 2)。
shape: (H, W)。
Returns:
(H, W) float64、最大値 1.0 に正規化した密度。
Raises:
ValueError: 形状不正 / 非有限 / shape が上限超。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者・年份)與用途見上面的族使用指南。
• representation_conversion — py -3.11 examples/representation_conversion.py
image2d 作為輸入)pairs)pairs_to_signal · pairs_to_table
*Provenance: reprconv.py — REPRCONV 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.