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!