how to do masking of color image?

2 次查看(过去 30 天)
HI,
How to do masking for the color image;
thanks

采纳的回答

Image Analyst
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)));
  6 个评论
Manoj Kumar
Manoj Kumar 2014-6-2
Hi Image analyst,
can you please remove the attached file as it should be confidential..
thank you...

请先登录,再进行评论。

更多回答(0 个)

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by