processing image detect color and shape object
조회 수: 2 (최근 30일)
이전 댓글 표시
hi guy
how can i detect color object in image (red green blue) in hsv space and write color name in object. thankyou
댓글 수: 0
답변 (1개)
Image Analyst
2020년 4월 4일
댓글 수: 5
Image Analyst
2020년 4월 13일
Get a mask with true or false that says where your pixels are or are not. Then you can mask them out (blacken them):
% Mask the image using bsxfun() function to multiply the mask by each channel individually. Works for gray scale as well as RGB Color images.
maskedRgbImage = bsxfun(@times, rgbImage, cast(mask, 'like', rgbImage));
Also, try the Color Thresholder app on the Apps tab of the tool ribbon.
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!