Effacer les filtres
Effacer les filtres

I'm trying to use the imregionalmax function to find a regoinal maximum but it behave diffrent than what expected!!

2 vues (au cours des 30 derniers jours)
I'm trying to find a regional maximum within my data however using the function imregionalmax didn't help where I'm getting my data from a csv file and say a column have 5.2 ,5.6 and 5.3 and surounded by low values copared to these the thing that the imregionalmax does is it labels all of the three as 1 (since its using logical ) and hence doesn't give the maximum between these 3 so I thought if there is a way that I could scan the whole grid to check for all the neighboring cells to each cell and compare it to them if it was bigger than the surroundings that would be a local maximum .. thanks in advance

Réponses (0)

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by