Hi,
I have a very simple question, I believe some people have done this. I have a image, it is not gray level, it ranges from 0 to 160000. I want to get the histgram of this images. And I want to fit the histgram. Obviously, this histgram cannot be simple gaussion function. So, I want to used gussion added another function to fit it (f=a1*g+a2*anotherfunction). Is it possible using Matlab. Can you please give me some suggestion of the script I may use?
Cheers
Dongsheng
|
|
0
|
|
|
|
Reply
|
Dongsheng
|
9/22/2010 3:44:22 PM |
|
On Sep 22, 11:44=A0am, "Dongsheng " <dxh...@bham.ac.uk> wrote:
> Hi,
>
> I have a very simple question, I believe some people have done this. I ha=
ve a image, it is not gray level, it ranges from 0 to 160000. I want to get=
the histgram of this images. And I want to fit the histgram. Obviously, th=
is histgram cannot be simple gaussion function. So, I want to used gussion =
added another function to fit it (f=3Da1*g+a2*anotherfunction). Is it possi=
ble using Matlab. Can you please give me some suggestion of the script I ma=
y use?
>
> Cheers
> Dongsheng
--------------------------------------------------------------------
For the image histogram, you can still use imhist().
[pixelCounts, intensityValues] =3D imhist(imageArray);
For the fitting of the actual histogram to some theoretical function
you have in mind . . . hopefully someone with the curve fitting
toolbox will answer you. I don't have that toolbox.
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
9/22/2010 5:00:37 PM
|
|
THANKS, I SORTED IT OUT.
DONGSHENG
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <b1701e4b-beda-4fec-b734-0159762e6db7@j2g2000vbo.googlegroups.com>...
> On Sep 22, 11:44 am, "Dongsheng " <dxh...@bham.ac.uk> wrote:
> > Hi,
> >
> > I have a very simple question, I believe some people have done this. I have a image, it is not gray level, it ranges from 0 to 160000. I want to get the histgram of this images. And I want to fit the histgram. Obviously, this histgram cannot be simple gaussion function. So, I want to used gussion added another function to fit it (f=a1*g+a2*anotherfunction). Is it possible using Matlab. Can you please give me some suggestion of the script I may use?
> >
> > Cheers
> > Dongsheng
>
> --------------------------------------------------------------------
> For the image histogram, you can still use imhist().
> [pixelCounts, intensityValues] = imhist(imageArray);
> For the fitting of the actual histogram to some theoretical function
> you have in mind . . . hopefully someone with the curve fitting
> toolbox will answer you. I don't have that toolbox.
|
|
0
|
|
|
|
Reply
|
Dongsheng
|
9/25/2010 9:28:03 PM
|
|
|
2 Replies
160 Views
(page loaded in 0.027 seconds)
Similiar Articles: Noise, histogram fitting, and residuals - comp.soft-sys.matlab ...A write up that follows the lab outline; A detailed Matlab plot showing 1 fit to the noise: A detailed Matlab plot of the mean and standard deviatio... Gaussian Mixture Model Fitting to PDF or Histogram - comp.soft-sys ...Hi all; My question is how we can fit a mixture of Gaussian to a distribution, not to the data directly. Let's assume that we have got only the dis... plotting a line on a histogram - comp.soft-sys.matlabHello all, I have created a wonderful set of histograms, but I am unable to plot a so called "line of best fit" over the bars. I have read about h... bimodal histogram - comp.soft-sys.matlabbimodal histogram - comp.soft-sys.matlab how can I divide somewhat bimodal data to two ... tbx... help gmdistribution; help ... Hello, I am looking to use Matlab to fit ... how to plot histograms on - comp.soft-sys.matlabplotting a line on a histogram - comp.soft-sys.matlab Hello all, I have created a wonderful set of histograms, but I am unable to plot a so called "line of best fit" over ... multiple gaussian fitting with curve fitting toolbox - comp.soft ...In each curve, I need to fit four gaussians simultaneously. The sum of the ... Choose Undo Fit if you want to remove the fit. If multiple curves ... histogram with a ... cumulative histogram - comp.soft-sys.matlabplotting a line on a histogram - comp.soft-sys.matlab Hello all, I have created a wonderful set of histograms, but I am unable to plot a so called "line of best fit" over ... Model a function fitting the data - comp.soft-sys.matlab ...I want to find a function that fits the data. That is somthing like F(X,Y) = Z. ... of fitting a function ... Gaussian Mixture Model Fitting to PDF or Histogram - comp.soft ... Proc Univariate: Histograms - comp.soft-sys.sasThen, if we assume the histogram (or pdf) is a mixture of ... Fitting to PDF or Histogram - comp.soft-sys ... univariate ... The following PROC GLIMMIX statements fit a ... Fitting an overdispersed Poisson model with GLIMMIX - comp.soft ...Gaussian Mixture Model Fitting to PDF or Histogram - comp.soft-sys ... The following PROC GLIMMIX statements fit a standard Poisson ... to the data ... How to Fit histograms or data points - CERN - the European ...ROOT - An Object Oriented Framework For Large Scale Data Analysis. Histogram - NetMBA Business Knowledge CenterIn cases in which the distribution is known, a histogram that does not fit the distribution may provide clues about a process and measurement problem. 7/23/2012 4:10:07 AM
|