Need help understanding imextendedmax

4 visualizaciones (últimos 30 días)
Knut Skaug
Knut Skaug el 18 de Oct. de 2022
Hello,
Im using this function to identify the peaks/maximum centroids in a 2d matrix normalized between 0 and 1.
I need help understanding how to properly select the second input, called h-max in the documentation.
Say there are three peaks, or areas of interest in my matrix, each with its own maximum. Sometimes, the difference in values between peaks are large, for example, 0.4 between the largest and the smallest. I thought I would capture the areas of interest if I then allow h-max to be a little less than 0.6. However, it only captures the three areas if it is much lower, say 0.2.
Can anyone explain how this works? And if you have some suggestions as to how to choose h-max?
Any help is appreciated.
Kind regards
Knut

Respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by