How to fit multiple Gaussian functions in image without using the Curve fit GUI?

I am trying to fit multiple Gaussians in a TEM image. I want to achieve this using coding rather than the curve fitting tool.

Risposte (1)

Hi Mishra,
here it the function you need fitgmdist.
It does fitting using Gaussian mixture model.

4 Commenti

Hello Massimo, I need 3D Gaussian since there is an intensity component involved with the images. Is there any method to fit multiple 3D Gaussian data?
fitgmdist is not restricted to 2 dimensions as far as I am aware
As Adam says, fitgmdist fits multi-dimensional data. In the doc page you see the input is a matrix X where rows are observations and columns are variable. Therefore, if you are dealing with 3-dimensional data, your matrix X will be size N-by-3, where N is the number of observations.
can i get the ful coding of it,,,

Accedi per commentare.

Categorie

Scopri di più su Curve Fitting Toolbox in Centro assistenza e File Exchange

Commentato:

il 1 Giu 2023

Community Treasure Hunt

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

Start Hunting!

Translated by