rmse — IMGMETRICS fidelity op

• 資料種類:image2d × image2d → scalar

• 呼叫: import fullseye as fs; fs.ledger.rmse(a, b)(要直接呼叫實作,import imgmetrics; imgmetrics.rmse(a, b);從台帳取用則 opsimgmetrics.get("rmse"))

用法

均方根誤差(與像素值同單位)。

公式:sqrt(mse(a, b))。驗證與失敗條件與 mse 相同 —— 不滿足同形 / 非空 / 有限,就是 MetricContractError。維數和 dtype 不限。

• 回傳值:Python 的 float。輸入為 [0, 1] 的 float 時值也在 [0, 1],uint8 時為 0〜255 的尺度。可以讀作「平均偏差了多少個灰階」。

• 它是與 data_range 無關的原始量,所以把尺度不同的 2 組 rmse 並列也無法比較。需要正規化指標時用 psnr 或 ssim。

• 在深度、CT、重投影等「像素值 = 物理量」的場景中,它就是那個物理單位本身。

詳細使用指南

• image_difference_metrics 族使用指南

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• grasp_pose — py -3.11 examples/grasp_pose.py

• image_quality_metrics — py -3.11 examples/image_quality_metrics.py

• poc_ct_fidelity — py -3.11 examples/poc_ct_fidelity.py

• poc_datacenter_thermal_field — py -3.11 examples/poc_datacenter_thermal_field.py

• poc_polarization_specular — py -3.11 examples/poc_polarization_specular.py

• poc_structure_4d_deterioration — py -3.11 examples/poc_structure_4d_deterioration.py

型別可銜接的下一個運算子(可接受 scalar 作為輸入)

luma_limited_u8 · rank_data · tid2013_index

同類別(fidelity)

mse · psnr · ssim · ms_ssim · ssim_map


*Provenance: imgmetrics.py — IMGMETRICS 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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