a=imread('untitled1.jpg');
hcsc = vision.ColorSpaceConverter;
hcsc.Conversion = 'RGB to intensity';
i2 = step(hcsc, a);
imshow(i2);
bin = step(hautoth,i2);
figure;imshow(bin);
hcsc = vision.ColorSpaceConverter;
hcsc.Conversion = 'RGB to intensity';
i2 = step(hcsc, a);
imshow(i2);
bin = step(hautoth,i2);
figure;imshow(bin);
No comments:
Post a Comment