how to do masking of color image?
조회 수: 2 (최근 30일)
이전 댓글 표시
HI,
How to do masking for the color image;
thanks
댓글 수: 1
채택된 답변
Image Analyst
2014년 5월 19일
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!