You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--> S = imread(fullpath(getIPCVpath() + "/images/three_objects.png"));
--> Sgray = rgb2gray(S);
Input image is not a RGB image, output remained the same as input.
--> Sb = im2bw(Sgray,0.1);
--> Sd = imdistransf(Sb);
--> dist = Sd > 0.4;
--> [markers,n] = imlabel(dist);
--> markers(1:5,1:5) = 255;
--> Sw = imwatershed(S, markers);
at line 39 of function imwatershed ( /Users/mottelet/git/IPCV/macros/imwatershed.sci line 44 )
First argument must be a 3 channels image.
--> imshow(Sw,hsvcolormap(3));
Undefined variable: Sw
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: