how to find mask for binary image

回答 (2 件)

venkat vasu
venkat vasu 2012 年 10 月 17 日

0 投票

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 日

0 投票

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

質問済み:

2012 年 10 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by