How to mask an image?

1 view (last 30 days)
Christine Ak
Christine Ak on 19 Nov 2013
Commented: Christine Ak on 19 Nov 2013
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

Image Analyst
Image Analyst on 19 Nov 2013

More Answers (0)

Categories

Find more on Author Block Masks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!