how to do masking of color image?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Manoj Kumar
am 19 Mai 2014
Kommentiert: Image Analyst
am 2 Jun. 2014
HI,
How to do masking for the color image;
thanks
1 Kommentar
Akzeptierte Antwort
Image Analyst
am 19 Mai 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!