report op• Data kinds: image2d → scalar
• Call: import imgmetrics; imgmetrics.data_range_of(*arrays, data_range=None) (or opsimgmetrics.get("data_range_of"))
Decide the span the pixel values may take. It does not guess.
> The detailed description below is the original text — the summary and the headings are translated.
整数 dtype は dtype から一意に決まる。float は `[0, 1]` に収まっている
ときだけ 1.0 とみなし、それ以外は `data_range` の明示を要求する。
`[0, 1]` の float を 255 だと思って PSNR を測ると 48.13 dB ずれるが
例外は出ない ―― それらしい数値が出るだけなので、ここで止める。
Parameters
----------
*arrays : ndarray
同じ画素値の約束を共有するはずの配列(通常 2 枚)。
data_range : float, optional
明示する場合の幅。正の有限値でなければ `ValueError`。
Returns
-------
float
• image_difference_metrics 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.
• image_quality_metrics — py -3.11 examples/image_quality_metrics.py
scalar as input)—
report)compare_images · measure_with · metrics_table
*Provenance: imgmetrics.py — IMGMETRICS 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.