how to do masking of color image?

1 visualizzazione (ultimi 30 giorni)
Manoj Kumar
Manoj Kumar il 19 Mag 2014
Commentato: Image Analyst il 2 Giu 2014
HI,
How to do masking for the color image;
thanks

Risposta accettata

Image Analyst
Image Analyst il 19 Mag 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 Commenti
Manoj Kumar
Manoj Kumar il 2 Giu 2014
Hi Image analyst,
can you please remove the attached file as it should be confidential..
thank you...

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by