RGB thresholding of 24-bit color images

Version 1.0.0.0 (1.8 KB) by Jeff E
Takes a color image, and returns a binary mask of colors between individual RGB cutoffs.
470 Downloads
Updated 8 Jul 2011

View License

IMGOUT = RGB_THRESH(TEMPIMG, REDL, etc) takes a RGB image TEMPIMG, and returns a binary mask IMGOUT that consists of the pixels that are greater than or equal to the LOW RGB values AND less than or equal to the HIGH RGB values.

Cite As

Jeff E (2024). RGB thresholding of 24-bit color images (https://www.mathworks.com/matlabcentral/fileexchange/32147-rgb-thresholding-of-24-bit-color-images), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0