p********n 发帖数: 273 | 1 Hi experts,
I got the fitting result of the gmdistribution object. Now I want to know
the exact expression of the 2D guassian function. From Wikipedia, I know the
expression is
f(x,y) = A*exp(-(a*(x-x0)^2 + 2*b*(x-x0)(y-y0) + c*(y-y0)^2))
where A is the hight of the peak and (x0,y0) is the center of the blob.
As far as I know,
x0 = obj.mu(1)
y0 = obj.mu(2)
My question is how to get coefficients a b c from obj.Sigma?
I supposed obj.Sigma = [a b
b c]
but that was n |
|