, .
I4=I; I4(imdilate(L==0, ones(3, 3))|bgm|fgm4)=255; figure, imshow(I4) title(' , ').
. , watershed bwlabel, truecolor- label2rgb.
Lrgb=label2rgb(L, 'jet', 'w', 'shuffle'); figure, imshow(Lrgb) title('Lrgb').
figure, imshow(I), hold on himage=imshow(Lrgb); set(himage, 'AlphaData', 0.3); title('Lrgb, ')