how to do masking of color image?
1 次查看(过去 30 天)
显示 更早的评论
HI,
How to do masking for the color image;
thanks
采纳的回答
Image Analyst
2014-5-19
Here's how to mask an RGB image with a logical mask image (courtesy of Sean de Wolski):
% Mask the image using bsxfun() function
maskedRgbImage = bsxfun(@times, rgbImage, cast(mask, class(rgbImage)));
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!