128]);
s = strel('ball',2,2);
f = imclose(ii,s);
i1=rgb2gray(f);
th=graythresh(i1);
i2=im2bw(i1,th);
i3...=imcomplement(i2);
i3=imfill(i3,'holes');
i4=edge(i3,'prewitt');
%i5=imerode(i1,s);
%original image
subplot...(1,3,1);
imshow(img)
%gray image
subplot(1,3,2);
imshow(i3)
% edge image
subplot(1,3,3);
imshow(i4)
%...=imcomplement(i2);
i3=imfill(i3,'holes');
i4=edge(i3,'prewitt');
%i5=imerode(i1,s);
%original image
subplot...=imcomplement(i2);
i3=imfill(i3,'holes');
i4=edge(i3,'prewitt');
%i5=imerode(i1,s);
%original image
subplot