anomaly_eval op• データ種: video × video → table
• 呼び出し: import fullseye as fs; fs.ledger.anomaly_pixel_f1_max(scores, masks) (実装を直接呼ぶなら import anomeval; anomeval.anomaly_pixel_f1_max(scores, masks)、台帳から引くなら opsspc.get("anomaly_pixel_f1_max"))
Best pixel-level F1 over all thresholds of anomaly score maps against defect masks (table).
scores and masks are (n, H, W) (or lists / single 2-D maps); a pixel is predicted defective when its score is >= the threshold. The F1 = 2TP / (2TP + FP + FN) is evaluated exactly at every distinct score (sorted cumulative sums, no threshold grid); the highest threshold wins a tie. Returns f1, threshold, precision and recall at the maximum, n_pos and n_neg (pixels). It counts pixels, like the pixel AUROC, not regions (see anomaly_pro): a small defect weighs little however well it is found.
Raises ValueError on empty / mismatched / non-finite input, non-binary masks, or when the masks contain no defect pixel or no good pixel.
• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。
• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。
• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。
• poc_patch_anomaly — py -3.11 examples/poc_patch_anomaly.py
table を入力に取れる)msa_anova_table · msa_gauge_rr · msa_bias_linearity · msa_attribute_agreement · gum_standard_uncertainty · gum_propagate · gum_expanded · gum_monte_carlo
anomaly_eval)anomaly_image_auroc · anomaly_pixel_auroc · anomaly_pro · anomaly_region_overlap · anomaly_image_f1_max · anomaly_operating_point
*Provenance: anomeval.py — SPC operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.