I'm trying to use the imregionalmax function to find a regoinal maximum but it behave diffrent than what expected!!
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!