exploreRGB
Takes as an input an RGB image (or the name/path of an RGB image) and creates a figure in which you can see side-by-side the original, the grayscale (RGB2GRAY), and the individual R,G, and B color planes.
Advanced mode also displays some colorspace conversions (HSV, YCbCr, L*a*b*) of the image.
Click on any image to expand it and then right-click to export image to base workspace.
Shift-Click to generate Command-Line MATLAB code!
This is a very simple but useful utility for deciding, for instance, how you want to process/segment a color image.
Cite As
Brett Shoelson (2022). exploreRGB (https://www.mathworks.com/matlabcentral/fileexchange/19706-explorergb), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.