processing image detect color and shape object
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi guy
how can i detect color object in image (red green blue) in hsv space and write color name in object. thankyou
0 commentaires
Réponses (1)
Image Analyst
le 4 Avr 2020
5 commentaires
Image Analyst
le 13 Avr 2020
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.
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!