Add anomaly mask: automatic threshold detection across all viz layers

This commit is contained in:
Antoine Jacquin
2026-05-31 18:34:45 +02:00
parent 4193174196
commit 89f3333b65
3 changed files with 156 additions and 3 deletions

View File

@ -61,9 +61,10 @@ from .visualizations import (
generate_openness,
generate_mslrm, generate_sailore,
generate_roughness, generate_wavelet,
generate_svf, generate_aniso_open,
generate_flow_accumulation,
)
generate_svf, generate_aniso_open,
generate_flow_accumulation,
generate_anomaly_mask,
)
from .gpu import gpu_cleanup, num_gpus, restrict_gpus, safe_gpu_call
from .ign import generate_ign_overlay
from .rendering import tif_to_png
@ -84,6 +85,7 @@ VIZ_STEPS = [
('roughness', generate_roughness),
('wavelet', generate_wavelet),
('flow_acc', generate_flow_accumulation),
('anomaly', generate_anomaly_mask),
('ortho', lambda d, b, v, r: generate_ign_overlay(
d, b, v, r,
layer='ORTHOIMAGERY.ORTHOPHOTOS',