information opimage2d × image2d → scalarimport fullseye as fs; fs.ledger.normalized_mutual_information(a, b, bins=64, data_range=None) (実装を直接呼ぶなら import imgmetrics; imgmetrics.normalized_mutual_information(a, b, bins=64, data_range=None)、台帳から引くなら opsimgmetrics.get("normalized_mutual_information"))正規化相互情報量 2*I(A;B) / (H(A) + H(B))。同じ絵で 1.0。
周辺エントロピーが両方 0(どちらも一様な絵)のときは、上限が 0 なので
比が定義できない ―― 0 除算を避けるために 0 や 1 を返さず ValueError。
py -3.11 examples/image_quality_metrics.pyscalar を入力に取れる)—
information)image_entropy · joint_entropy · mutual_information · joint_histogram
Provenance: imgmetrics.py — IMGMETRICS operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.