how to do masking of color image?

1 Ansicht (letzte 30 Tage)
Manoj Kumar
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
Image Analyst
Image Analyst am 19 Mai 2014
Bearbeitet: Image Analyst am 19 Mai 2014
Your images didn't show up.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by