anomaly_eval opvideo × video → tableimport fullseye as fs; fs.ledger.anomaly_region_overlap(predicted, masks, min_overlap=0.5) (実装を直接呼ぶなら import anomeval; anomeval.anomaly_region_overlap(predicted, masks, min_overlap=0.5)、台帳から引くなら opsspc.get("anomaly_region_overlap"))Per-region overlap of a binary defect prediction with the ground-truth regions at one operating point (table).
predicted and masks are binary (n, H, W) (or 2-D). For every 8-connected
ground-truth region C: overlap = |predicted ∩ C| / |C|; a region counts as detected
when overlap >= min_overlap. Returns overlap (per region, in mask order),
pro (their mean = one point of the PRO curve), detected_fraction, hit_any
(fraction of regions touched by at least one predicted pixel), fpr (predicted good
pixels / good pixels), n_regions, min_overlap.
Raises ValueError on empty / mismatched / non-binary input, no ground-truth region, or
min_overlap outside (0, 1].
py -3.11 examples/anomaly_eval_metrics.pypy -3.11 examples/poc_good_sample_variation_model.pypy -3.11 examples/poc_patch_anomaly.pytable を入力に取れる)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_pixel_f1_max · 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.