Hi guys,
I have a matrix with 2 maximum local, this regions aren't single points, and I want to know the position where occur these two maximum .
After that, I need to create a mask, like poly2mask function, with the shape of a circle centered in the local maximum value.
I don't know how to do this. I've been trying to better understand the poly2mask and imregionalmax function, but I'm failling everytime.. xD
Thx for the help,
Wanderson.
I have a matrix with 2 maximum local, this regions aren't single points, and I want to know the position where occur these two maximum .
After that, I need to create a mask, like poly2mask function, with the shape of a circle centered in the local maximum value.
I don't know how to do this. I've been trying to better understand the poly2mask and imregionalmax function, but I'm failling everytime.. xD
Thx for the help,
Wanderson.