masking some desired portion of an image
2 次查看(过去 30 天)
显示 更早的评论
how do i mask a portion of a rgb(tif) and a gray img with an available gif mask(0 and 255)?I am in urgent need, please answer.Thnx in advance
1 个评论
Walter Roberson
2012-3-10
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
回答(1 个)
Image Analyst
2012-3-10
One way:
% Mask the image.
maskedRgbImage = bsxfun(@times, rgbImage, cast(mask,class(rgbImage)));
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!