How to mask an image?

1 次查看(过去 30 天)
hi I have the following code: I want to apply a mask on the image.. How I could ???
I1 = imread('eye.jpg');
figure (1)
imshow(I1)
figure(2)
binaryimage=I1>=20 & I1 <=255;
imshow(binaryimage, []);
title('binaryimage 1// Gray');

采纳的回答

Image Analyst
Image Analyst 2013-11-19

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by