Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
2D Gaussian fit
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
zhao...@gmail.com  
View profile  
 More options Apr 26 2012, 5:31 am
Newsgroups: comp.soft-sys.math.mathematica
From: zhao...@gmail.com
Date: Thu, 26 Apr 2012 09:31:48 +0000 (UTC)
Local: Thurs, Apr 26 2012 5:31 am
Subject: 2D Gaussian fit
How can I fit a spot on an image to a 2D Gaussian function?
I have a Tiff image file, on it there's an almost round spot, e.g. laser profile.
Is there a way in mathematica to 2D Gaussian fit the spot?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Szabolcs Horvát  
View profile  
 More options Apr 28 2012, 5:23 am
Newsgroups: comp.soft-sys.math.mathematica
From: Szabolcs Horvát <szhor...@gmail.com>
Date: Sat, 28 Apr 2012 09:23:36 +0000 (UTC)
Local: Sat, Apr 28 2012 5:23 am
Subject: Re: 2D Gaussian fit
On 2012.04.26. 11:31, zhao...@gmail.com wrote:
 > How can I fit a spot on an image to a 2D Gaussian function?
 > I have a Tiff image file, on it there's an almost round spot, e.g.
laser profile.
 > Is there a way in mathematica to 2D Gaussian fit the spot?
 >

Hello,

The best way to do this would depend on the kinds of images you have
(i.e. how noisy they are, how many spots are there, etc.)

The functions here could be useful to you:

http://reference.wolfram.com/mathematica/guide/SegmentationAnalysis.html

For example ComponentMeasurements will help measure the spot and also
identify its centre.  Then you could cut the spot from the image and
convert it to a matrix so you can use fitting methods such as those
implemented in NonlinearModelFit.

I recommend looking at this blog post as well:

http://blog.wolfram.com/2012/01/04/how-to-count-cells-annihilate-sail...

--
Szabolcs Horvát
Visit Mathematica.SE:  http://mathematica.stackexchange.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cisco Lane  
View profile  
 More options Apr 30 2012, 4:46 am
Newsgroups: comp.soft-sys.math.mathematica
From: Cisco Lane <travl...@yahoo.com>
Date: Mon, 30 Apr 2012 08:46:47 +0000 (UTC)
Local: Mon, Apr 30 2012 4:46 am
Subject: Re: 2D Gaussian fit
You might consider a polynomial fit to the logarithm of your data to the logarithm of the Gaussian, (which is a polynomial). A direct fit of the data to a Gaussian will minimize the square of the differences between the data and the Gaussian. This will tend to give large relative errors in the wings, and small relative errors in the spot. A logarithmic fit will minimize the relative errors, rather than the absolute errors. The "percent error" will be roughly the same over the entire field. I don't know if this is acceptable to you or not.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
FairView  
View profile  
 More options May 1 2012, 5:23 am
Newsgroups: comp.soft-sys.math.mathematica
From: FairView <zhao...@gmail.com>
Date: Tue, 1 May 2012 09:23:53 +0000 (UTC)
Local: Tues, May 1 2012 5:23 am
Subject: Re: 2D Gaussian fit
On 4=D4=C226=C8=D5, =C9=CF=CE=E74=CA=B131=B7=D6, zhao...@gmail.com wrote:

> How can I fit a spot on an image to a 2D Gaussian function?
> I have a Tiff image file, on it there's an almost round spot, e.g. laser profile.
> Is there a way in mathematica to 2D Gaussian fit the spot?

I'm kinda new to Mathematica. My above question should be devided into
2 parts:
1) how to read data from TIFF file (i.e. read image into intensity
matrix)
2) hot to fit the retrived data to a 2D Gaussian function

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »