how to do masking of color image?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Manoj Kumar
le 19 Mai 2014
Commenté : Image Analyst
le 2 Juin 2014
HI,
How to do masking for the color image;
thanks
1 commentaire
Réponse acceptée
Image Analyst
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!