how to find mask for binary image

3 ビュー (過去 30 日間)
faa nad
faa nad 2012 年 10 月 17 日
Dear sirs,
can anyone help me to find mask for a binarised image.

回答 (2 件)

venkat vasu
venkat vasu 2012 年 10 月 17 日
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 2012 年 10 月 17 日
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!

Translated by