How to identify Gaussian type maxima in an image

조회 수: 1 (최근 30일)
SRT
SRT 2024년 10월 3일
편집: Matt J 2024년 10월 3일
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
SRT
SRT 2024년 10월 3일
The right maxima. it can be global or local. The image shows the examples of right maximas and wrong maximas.
findpeaks in 2D is slow
imregionalmax has maximum connectivity of 8 pixels in 2D, the 2D maxima can have spread over 10 - 50 pixels.
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.
DGM
DGM 2024년 10월 3일
Oh so it's more about finding the maximum that also locally fits a gaussian profile.

댓글을 달려면 로그인하십시오.

답변 (1개)

Matt J
Matt J 2024년 10월 3일
편집: Matt J 2024년 10월 3일
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.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by