masking some desired portion of an image
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how do i mask a portion of a rgb(tif) and a gray img with an available gif mask(0 and 255)?I am in urgent need, please answer.Thnx in advance
1 Kommentar
Walter Roberson
am 10 Mär. 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Antworten (1)
Image Analyst
am 10 Mär. 2012
One way:
% Mask the image.
maskedRgbImage = bsxfun(@times, rgbImage, cast(mask,class(rgbImage)));
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!