标签:script 红色 answer tran via another square pts sig
yellow ball example: 使用高斯模型来描述HSV空间的H通道中,某个像素是否属于黄色球的概率。
Advantage:only use two parameters instead of all pixels in the image
Question: How to estimate two parameters in gaussian model?
Answer: How to estimate two parameters in gaussian model?
The derivation process of the MLE for univariate gaussian in supplementary
red ball example: 使用多变量高斯模型描述RGB空间中,某个像素是否属于红色球的概率。
Multivariate Gaussian
sigma is a square matrix;
|sigma| : determinant of sigma
The correlation component represents how much one variable is related to another one.
1) Positive Definite: all eigenvalues of sigma must be positive;
2) We can always find the coordinate transformation which makes the shape appear symmetric even when the covariance matrix has none zero correlation terms.
How to model the red ball example?
Q: How to estimate parameters of the multivariate gaussian model?
Answer: How to estimate parameters of the multivariate gaussian model.
The derivation process of the MLE for multivariate gaussian in supplementary
come back to the color ball example:
From the contours in the plot, we can check that the red and blue channel are correlated negatively in the model.
Limitations of Single Gaussian
Description, black line is the GMM.
red ball example
Try to use 2D gaussian model to represent values in R and G channels.
Try to use GMM to represent values in R and G channels
Mathematics model
The sum of wk is 1, which ensure the integral of GMM is 1.
Three disadvantages:
1) more parameters;
2) No analytic solution
3) overfitting
w = 1/k, to simplify the deduction process.
Let‘s begin to find the maximum likelihood estimate of GMM parameters
more detail about deduction plz refer to supplementary
EM for GMM
EM as lower-bound maximization
introduce 3 concepts:
(1) Jensen‘s inequality(详见课程ppt)
如ppt中所定义,ln对数函数是凹函数,积分的函数值大于函数的积分值。
(2) Latent variable and marginal probability
引入潜在变量Z。Z的来源参见GMM。
找出Z的分布q,从而确定极大似然估计的lower bound。
(3) procedure : E-step and M-step(详见课程ppt)
标签:script 红色 answer tran via another square pts sig
原文地址:https://www.cnblogs.com/gdut-gordon/p/10065662.html