Effacer les filtres
Effacer les filtres

how to do masking of color image?

2 vues (au cours des 30 derniers jours)
Manoj Kumar
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
Image Analyst
Image Analyst le 19 Mai 2014
Modifié(e) : Image Analyst le 19 Mai 2014
Your images didn't show up.

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
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
Manoj Kumar
Manoj Kumar le 2 Juin 2014
Hi Image analyst,
can you please remove the attached file as it should be confidential..
thank you...
Image Analyst
Image Analyst le 2 Juin 2014
Done.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by