Bonsoir,
j'ai un petit problème si vous pouvez m'aider ça serait génial
voila mon code:
il m'affiche cette erreur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 [im map] = imread('transverse2_g.GIF'); imrgb = ind2rgb(im,map); I = imrgb(:,:,1); % premier canal par exemple figure,imshow(I) [x1,y1]=getpts [x2,y2]=getpts resultat1=regiongrowing(I,x1,y1,0.2) resultat2=regiongrowing(I,x2,y2,0.2) J1=resultat1 & resultat2 J2 = xor(resultat1, resultat2); J3= resultat1 | resultat2; figure(12),imshow(J1) figure(13),imshow(J2) figure(14),imshow(J3)
j'arrive pas a comprendre pourquoi?Undefined function 'regiongrowing' for input arguments of type 'double'. Error in soutenance2 (line 67) resultat1=regiongrowing(I,x1,y1,0.2)
Partager