how to find mask for binary image

12 views (last 30 days)
faa nad
faa nad on 17 Oct 2012
Dear sirs,
can anyone help me to find mask for a binarised image.

Answers (2)

venkat vasu
venkat vasu on 17 Oct 2012
Hi...
You can get the masking predefine function like sobel and canny in matlab operator it will perform masking.
a=im2bw(rgb2gray((imread('3.gif')));
b=edge(a,'sobel');
figure,imshow(b);
or
b=edge(a,'canny');
figure,imshow(b);

Image Analyst
Image Analyst on 17 Oct 2012
There are countless ways to make a mask, both manually and automatically. An answer for this would only be useful if we could see your image and you could say what kind of mask you want - what objects or regions you want masked. http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers

Community Treasure Hunt

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

Start Hunting!