SimpleColorDetection()
Script to do simple color detection in RGB color space. Finds red objects in the image.
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). SimpleColorDetection() (https://in.mathworks.com/matlabcentral/fileexchange/26420-simplecolordetection), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Extract Red Objects from Aerial Image
General Information
- Version 1.4.0 (6.78 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0 | Fixed calls to stem() and surface() that were no longer compatible with release R2017b. However, it should work in all previous versions as well. |
||
| 1.3.0 | Now allows non-indexed monochrome images (simple gray level images with no stored colormap), and gracefully handles cases where there are no red blobs at all. |
||
| 1.2.0 | Expanded screenshot, and fixed small bug that happened when you were using your own image instead of demo images. |
||
| 1.1.0 | Added measurements of area, mean Red value, mean Green value, and mean Blue value for each red blob that was found. |
||
| 1.0.0 |