Gaussian fitting of multiple spots

조회 수: 6 (최근 30일)
Ed
Ed 2014년 6월 27일
댓글: Image Analyst 2014년 6월 27일
Hello everybody,
I have an image which is composed of a black background and six white spots in double precision.
I need to fit each of the six spots with a Gaussian profile. What's the best approach to this problem?
Thanks a lot!

답변 (1개)

Image Analyst
Image Analyst 2014년 6월 27일
Do you need help with the finding, or with the modeling/fitting? Or both? If you need help with finding, you can threshold and use bwlabel() and regionprops() if you have the Image Processing Toolbox.
  댓글 수: 2
Ed
Ed 2014년 6월 27일
Thanks for your answer! I actually need help with both, but especially the modeling/fitting. I have the Image Processing tool and I will try the functions you suggested! Do you know what the best options for modeling and fitting are? Thanks again!
Image Analyst
Image Analyst 2014년 6월 27일
See my File Exchange for how to threshold and find the centroids. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
What you are asking for is essentially the "CLEAN" algorithm used by astronmers http://www.cv.nrao.edu/~abridle/deconvol/deconvol.html. They find the brightest point, fit a Gaussian to it and log that Gaussian to an output image. Then they subtract that model Gaussian image from the original image and repeat until all the spots are gone or dimmer than you care about.

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

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by