How to identify Gaussian type maxima in an image
Show older comments
I need to identify the correct maximum in a 2D image, which may not may not be a global maxima and is a kind of gaussian or asymmetric type.
Some example are attached.
A method other than imregionalmax or findpeaks is needed
Any suggestion
Thanks
3 Comments
DGM
on 3 Oct 2024
What does this image mean? You want the "correct" maximum, but not necessarily the global maximum or local maximum? ... or are you just trying to avoid existing tools because of homework?
SRT
on 3 Oct 2024
DGM
on 3 Oct 2024
Oh so it's more about finding the maximum that also locally fits a gaussian profile.
Answers (1)
using imregionalmax i can generate a list of candidate. I wanna check each one now. I may like to filter the one which are non symmetrical maximas.
One possibility would be to pull out the surrounding pixels of these candidates - in a neighborhood you think broad enough - and do a Gaussian fit, e.g., with this FEX download,
You can then assess the quality of the fit from the optimal fval to see if it is an admissible maximum.
Categories
Find more on Morphological Operations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!