https://it.mathworks.com/help/vision/ref/percentilenormalizer.normalize.html
normalize - Normalize anomaly score map using percentiles - MATLAB
This MATLAB function normalizes an anomaly map, map, using the map percentile statistics computed by the percentileNormalizer object normalizer.
anomaly scorenormalizemapusingpercentiles