You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
User selects a color pixel and the region containing similar color is selected.
The basic shapes (Circle, triangle and rectangle) are detected. bwconncomp is used to find connected components and regionprops is used to measure shape properties.
Circle is detected using roundness
Rectangle and triangle are detected counting enclosing boundary edges
ie input must be rgb and of high resolution otherwise false edge may be detected.
Cite As
Naila Bushra (2026). detect_color_shape.zip (https://www.mathworks.com/matlabcentral/fileexchange/47015-detect_color_shape-zip), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (22.2 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
