Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
multi peak surface 2D Gaussian fitting

Subject: multi peak surface 2D Gaussian fitting

From: pasino pasin

Date: 9 Aug, 2010 20:03:20

Message: 1 of 4

I have a 2D data, xy plane is my pixels and z axis is the values corresponding to each pixel(like an image).
I want to model my z data with Gaussians, how can I cluster my data and fit multi peak Gaussians?
Is there such a package of Matlab or any other way, code etc.?

Thanks a lot

Subject: multi peak surface 2D Gaussian fitting

From: ImageAnalyst

Date: 10 Aug, 2010 02:41:40

Message: 2 of 4

On Aug 9, 4:03 pm, "pasino pasin" <ozlempa...@hotmail.com> wrote:
> I have a 2D data, xy plane is my pixels and z axis is the values corresponding to each pixel(like an image).
> I want to model my z data with Gaussians, how can I cluster my data and fit multi peak Gaussians?
> Is there such a package of Matlab or any other way, code etc.?
>
> Thanks a lot

-----------------------------------------------------------
Are your Gaussians well separated, or are they mixed? If they're well
separated, you can use the CLEAN algorithm used in astronomy to find
stars:
http://www.cv.nrao.edu/~abridle/deconvol/node7.html
I've talked about it before - explained the algorithm. Search the
newsgroup for my earlier messages.

Subject: multi peak surface 2D Gaussian fitting

From: Boris Schauerte

Date: 21 Oct, 2011 18:16:10

Message: 3 of 4

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <e63ae1b1-a6b6-4f88-8ac7-85a9a19dbb98@w30g2000yqw.googlegroups.com>...
> On Aug 9, 4:03 pm, "pasino pasin" <ozlempa...@hotmail.com> wrote:
> > I have a 2D data, xy plane is my pixels and z axis is the values corresponding to each pixel(like an image).
> > I want to model my z data with Gaussians, how can I cluster my data and fit multi peak Gaussians?
> > Is there such a package of Matlab or any other way, code etc.?
> >
> > Thanks a lot

Actually, I had the same/similar problem and ended using the Isophote curvature, i.e. analysing the gradient direction and curvature at each pixel to detect the peaks of Gaussian as well as to segment them; as described in "Multimodal Saliency-based Attention for Object-based Scene Analysis" (by B. Schauerte, B. Kühn, K. Kroschel, R. Stiefelhagen). One advantage of this approach is that it is fast (with constant runtime) and can deal with some overlap of the Gaussians as well as with some noise. However, if you implement it, you really need to take care about good filtering when calculating the necessary image derivatives.

Subject: multi peak surface 2D Gaussian fitting

From: Ben

Date: 21 Feb, 2012 03:17:10

Message: 4 of 4

Hi Boris,

What "good filtering" did you use when calculating the necessary image derivatives?

Thank you!

"Boris Schauerte" wrote in message <j7scta$bbm$1@newscl01ah.mathworks.com>...
> ImageAnalyst <imageanalyst@mailinator.com> wrote in message <e63ae1b1-a6b6-4f88-8ac7-85a9a19dbb98@w30g2000yqw.googlegroups.com>...
> > On Aug 9, 4:03 pm, "pasino pasin" <ozlempa...@hotmail.com> wrote:
> > > I have a 2D data, xy plane is my pixels and z axis is the values corresponding to each pixel(like an image).
> > > I want to model my z data with Gaussians, how can I cluster my data and fit multi peak Gaussians?
> > > Is there such a package of Matlab or any other way, code etc.?
> > >
> > > Thanks a lot
>
> Actually, I had the same/similar problem and ended using the Isophote curvature, i.e. analysing the gradient direction and curvature at each pixel to detect the peaks of Gaussian as well as to segment them; as described in "Multimodal Saliency-based Attention for Object-based Scene Analysis" (by B. Schauerte, B. Kühn, K. Kroschel, R. Stiefelhagen). One advantage of this approach is that it is fast (with constant runtime) and can deal with some overlap of the Gaussians as well as with some noise. However, if you implement it, you really need to take care about good filtering when calculating the necessary image derivatives.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us