Color Threshold

Allows users to interactively select/deselect pixels to threshold images using RGB or HSV filters.
5,9K Downloads
Aktualisiert 30. Nov 2009

Lizenz anzeigen

Quickly setting RGB or HSV values for color thresholding is a common problem in laboratory robotics. ColorThreshold.m allows you to load an image and interactively set either RGB or HSV thresholds. Call the function ColorThreshold('image_name'), select your Region Of Interest, then select and deselect pixels and watch the thresholded image and RGB/HSV scatter plots to fine tune your threshold filter. You can switch between HSV and RGB while the program is running, and can choose to split the Hue threshold (single color objects commonly have a wraparound in the Hue value). The update allows users to interactively tune their filters with slider bars and move the ROI.

Zitieren als

Aaron T. Becker's Robot Swarm Lab (2024). Color Threshold (https://www.mathworks.com/matlabcentral/fileexchange/25682-color-threshold), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2006b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert: Buoy Detection Using Simulink

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.2.0.0

Allow user to move the ROI and error checking

1.1.0.0

The update allows users to interactively tune their filters with slider bars.

1.0.0.0