how to do masking of color image?
1 view (last 30 days)
Show older comments
Manoj Kumar
on 19 May 2014
Commented: Image Analyst
on 2 Jun 2014
HI,
How to do masking for the color image;
thanks
1 Comment
Accepted Answer
Image Analyst
on 19 May 2014
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!