Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9802 > unrolled thread
| Started by | zhaol01@gmail.com |
|---|---|
| First post | 2012-04-26 09:31 +0000 |
| Last post | 2012-05-01 09:23 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
2D Gaussian fit zhaol01@gmail.com - 2012-04-26 09:31 +0000
Re: 2D Gaussian fit Szabolcs Horvát <szhorvat@gmail.com> - 2012-04-28 09:23 +0000
Re: 2D Gaussian fit FairView <zhaol01@gmail.com> - 2012-05-01 09:23 +0000
| From | zhaol01@gmail.com |
|---|---|
| Date | 2012-04-26 09:31 +0000 |
| Subject | 2D Gaussian fit |
| Message-ID | <jnb4m4$5ic$1@smc.vnet.net> |
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?
[toc] | [next] | [standalone]
| From | Szabolcs Horvát <szhorvat@gmail.com> |
|---|---|
| Date | 2012-04-28 09:23 +0000 |
| Message-ID | <jngcuo$j5$1@smc.vnet.net> |
| In reply to | #9802 |
On 2012.04.26. 11:31, zhaol01@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-sailboats-and-warp-the-mona-lisa/ -- Szabolcs Horvát Visit Mathematica.SE: http://mathematica.stackexchange.com/
[toc] | [prev] | [next] | [standalone]
| From | FairView <zhaol01@gmail.com> |
|---|---|
| Date | 2012-05-01 09:23 +0000 |
| Message-ID | <jnoa39$53v$1@smc.vnet.net> |
| In reply to | #9802 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web