bridge op• Data kinds: matrix → image
• Call: fullseye.apply(img, "matrix_to_img", a=0.5, b=0.5) (the 2-D model is one image plus two scalar knobs a,b∈[0,1])

*The figure is the actual output on a synthetic 128×128 input. Left: input, right: output. Point clouds are drawn as a top-down scatter (brightness = z), 1-D series as a line plot, volumes as the maximum-intensity projection along z, videos as the middle frame, complex images as magnitude; return values that are not pictures are shown as the values themselves.*
Sweeping knob a (0.1 / 0.5 / 0.9, the other knob at its default):
▸ matrix_to_img: knob a sweep (docs site)
Sweeping knob b (0.1 / 0.5 / 0.9, the other knob at its default):
▸ matrix_to_img: knob b sweep (docs site)
Stages (the ops that come before → this op, left to right):
▸ matrix_to_img: stages (docs site)
On other images (synthetic scene / photo / coins. Top row: inputs, bottom row: their outputs. Knobs at default):
▸ matrix_to_img: other inputs (docs site)
> This operator's description has not been translated yet. The original text follows as it is.
行列を見るための濃淡にして画像へ戻す —— キャストではない。
行き(`img_to_matrix`)は値も形も変えない純粋なキャストだと明記して
あるが、戻りを同じくキャストにすると嘘になる: 行列の値は [0,1] に収まらず、
最小値が黒・最大値が白に伸びるだけだと 0 がどこかが分からない。
共分散・相関・擬似逆行列の符号は、そこが読めないと意味を持たない。
• `a → **対数圧縮**の強さ。k = 10**(3a) - 1` として
`y = sign(x) * log1p(k|x|) / log1p(k)`(a=0 は線形、a=1 で 1000 倍の圧縮)。
条件数のように桁が開く行列で、小さい成分が全部黒に潰れるのを防ぐ。
• `b → 基準。b < 0.5` はデータの min–max を [0,1] に伸ばす、
`b >= 0.5 は **0 を 0.5 に置いて |x|` の最大で対称に**(符号つきの
行列向け。0.5 が中立、明るい = 正、暗い = 負)。
• 返り値: 入力と同じ形の float64、値域 [0,1]。全要素が等しい行列は一様な
0.5(min–max 側でも 0 除算にならないよう中立へ倒す)。
• gallery2d_bridge family guide
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
The program below has been verified to run (same input as the figure). In Studio's help this block becomes buttons that load and run it on the spot.
img_to_matrix 0.50 0.50 matrix_to_img 0.50 0.50
▸ Load this pipeline · Load & run
• gallery2d_bridge — py -3.11 examples/gallery2d_bridge.py
image as input)identity · gaussian · mean_box · bilateral · unsharp · median · min_filter · max_filter
bridge)img_to_points · img_to_keypoints · img_to_signal · img_to_projection_profile · img_to_counts · img_to_matrix · img_to_video · img_to_volume
*Provenance: ops.py — 2D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.