Rank: 67774 based on 0 downloads (last 30 days) and 0 file submitted
photo

Neha

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Neha
Updated File Comments Rating
27 Apr 2011 EM algorithm for Gaussian mixture model EM algorithm for Gaussian mixture. Works on arbitray dimensions with high speed and precision. Author: Mo Chen

k = 1;
X = imread('image.png');
label = emgm(X,3);
spread(X,label);

Please tell me how to fix the errors listed below:

EM for Gaussian mixture: running ...
??? Error using ==> mtimes
Integer data types are not fully supported for this operation.
At least one operand must be a scalar.

Error in ==> emgm>initialization at 46
[dum,label] = max(bsxfun(@minus,m'*X,sum(m.^2,1)'/2),[],1);

Error in ==> emgm at 8
R = initialization(X,init);

Error in ==> Untitled at 2
label = emgm(X,3);

Contact us