SimpleColorDetectionByHue()
Detect colored regions in an image via thresholding in HSV color space.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Image Analyst (2026). SimpleColorDetectionByHue() (https://ch.mathworks.com/matlabcentral/fileexchange/28512-simplecolordetectionbyhue), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Image Segmentation Tutorial
General Information
- Version 1.2.0 (7.5 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2.0 | Updated code to use line() instead of stem(), because MATLAB R2015b release did not like how I had used stem(), even though old releases were happy with it. |
||
| 1.1.0 | Updated to handle bug in bar() introduced between R2010a and R2014b. Also added ability to choose color to find. |
||
| 1.0.0 |