how to find mask for binary image

Answers (2)

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

Asked:

on 17 Oct 2012

Community Treasure Hunt

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

Start Hunting!