GMM & EM algorithm for mammogram classification
古いコメントを表示
I try to estimate a mammogram by Gaussian mixture model and then obtain log-likelihood image.I initialize Mu & Sigma with kmeans but when I use gmdistribution command there is an error : "the shared diagonal covariance must be a row vector with the same number of columns as Mu"
or when I want to write code for EM function I face to an error at the first step:"undefined function or method... for input argument of type 'uint8','double','single',...and I don't know what type I should use(my input is an image). I will appreciate if someone guide me what to do. thank you
採用された回答
その他の回答 (1 件)
Ilya
2012 年 7 月 16 日
0 投票
For your first problem, type 'help gmdistribution/gmdistribution' (note that you need to type gmdistribution twice to get the help for the constructor). Or take a look at the doc page here http://www.mathworks.com/help/toolbox/stats/gmdistribution.html The error message is pretty clear.
I also note that you do not need to use kmeans. You can execute gmdistribution.fit to estimate the mixture (yes, by the EM algorithm).
カテゴリ
ヘルプ センター および File Exchange で Gaussian Mixture Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!