Color Detection By HSV color model
版本 1.0.0.0 (2.2 KB) 作者:
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);
引用格式
Marco Chak Yan Yu (2024). Color Detection By HSV color model (https://www.mathworks.com/matlabcentral/fileexchange/42440-color-detection-by-hsv-color-model), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2009b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Computer Vision Toolbox > Computer Vision with Simulink > Color Space Formatting and Conversions >
在 Help Center 和 MATLAB Answers 中查找有关 Color Space Formatting and Conversions 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |