Color Detection By HSV color model
Versione 1.0.0.0 (2,24 KB) da
Marco Chak Yan Yu
Detect specific color in an image and output as a Black/White image
Input: image object in RGB format
Output: binary image objects (1 stands for the target color, 0 otherwise) for Black, White, Red, Yellow, Green, Cyan, Blue and Magenta color detected in the input image object
demo:
Im = imread('a.jpg');
Im_ColorLayer = color_detection_by_hue(Im);
imshow(Im_ColorLayer.black);
Cita come
Marco Chak Yan Yu (2025). Color Detection By HSV color model (https://it.mathworks.com/matlabcentral/fileexchange/42440-color-detection-by-hsv-color-model), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2009b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Image Processing and Computer Vision > Computer Vision Toolbox > Computer Vision with Simulink > Color Space Formatting and Conversions >
Scopri di più su Color Space Formatting and Conversions in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
