How to mask an image?
Show older comments
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');
Accepted Answer
More Answers (0)
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!