compute_local_max¶
-
muse_origin.
compute_local_max
(correl, correl_min, mask, size=3)[source]¶ Compute the local maxima of the maximum correlation and local maxima of minus the minimum correlation distribution.
- Parameters
- correl
array
T_GLR values with edges excluded (from max correlation)
- correl_min
array
T_GLR values with edges excluded (from min correlation)
- mask
array
mask array (true if pixel is masked)
- size
int
Number of connected components
- correl
- Returns
array
,array
local maxima of correlations and local maxima of -correlations