bonjour tout le monde tout d'abord bonne et heureuse année
mon problème est le suivant, je veux
et voila ce que j'ai comme remarque
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 m=imread(filename); Im=double(im); brcov1= [3,0;0,4];bmean1=5; rmean1= 7.33; w1=[0.5,0.1]; p=(2*pi)^1.5; dim = size(im); m = zeros(dim(1), dim(2)); for i = 1:dim(1) for j = 1:dim(2) cb = double(imycbcr(i,j,2)); x1 = [(cb-bmean1) m(i,j)= (w1*inv(p)*inv(brcov1.^0.5)*exp(-0.5* x1'*inv(brcov1)* x1));
In an assignment A(matrix,matrix) = B, the number of columns in B
and the number of elements in the A column index matrix must be the same.
Partager