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 (2024). exploreRGB (https://www.mathworks.com/matlabcentral/fileexchange/19706-explorergb), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > L*a*b* Color Space >
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.
Version | Published | Release Notes | |
---|---|---|---|
1.14.0.1 | Updated license |
||
1.14.0.0 | Now includes Shift-click capabilities to generate MATLAB code at the Command Line!
|
||
1.11.0.0 | Now incorporates toggling from normal to advanced mode, to show or hide colorspace conversions. |
||
1.10.0.0 | Better image import, better exportability, better default behavior... |
||
1.9.0.0 | 2/1/11 Minor modification to provide a handle to the window; facilitates closing or referring to exploreRGB window. |
||
1.8.0.0 | Somehow, my previous attempt to update to include "advanced mode" failed. Trying again. Also, changing the image to show advanced-mode. |
||
1.6.0.0 | Updated M file and license text file copyright to The MathWorks, Inc. |
||
1.4.0.0 | added copyright |
||
1.2.0.0 | Expande "mode" control--now allows 'Simple" mode, with suppression of export capabilities, and 'Advanced' mode, with additional viewing of HSV, LAB, and YCbCr conversion spaces. |
||
1.0.0.0 |