Code covered by the BSD License  

Highlights from
exploreRGB

4.66667

4.7 | 3 ratings Rate this file 43 Downloads (last 30 days) File Size: 2.8 KB File ID: #19706
image thumbnail

exploreRGB

by Brett Shoelson

 

24 Apr 2008 (Updated 02 Feb 2011)

Simple utility to view (in subplots of a figure) all color planes, and grayscale and RGB versions, o

| Watch this File

File Information
Description

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.

This is a very simple but useful utility for deciding, for instance, how you want to process/segment a color image.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
02 Sep 2008 Eric Dick

I love this. This is a great tool for showing people RGB concepts. I love how this displays the images in such an elegant layout.

08 Oct 2010 J.Paul Rinehimer

Great function, except the "mode control" does not seem to be in the updated code. The file I downloaded only has a date of 4/24/2008.

09 Oct 2010 Brett Shoelson

Hi Paul,
Thanks very much for drawing my attention to this problem. The file is marked with a modification date of 6/21/10, but the associated code predates that. I don't know why that is, but I will look into how that happened, and I will make sure to put the more recent code on the File Exchange. In the meantime, I would be more than happy to email you a copy of the updated version of exploreRGB. (Just let me know.)
By the way, how did you happen to find your way to exploreRGB today, if you don't mind my asking?
Regards,
Brett

12 Oct 2010 Brett Shoelson

Hi all,
A few people have contacted me to let me know that this version is not the same as that shown on my guest blog on "Steve on Image Processing." I'm not sure why this function wasn't updated, but I recently re-submitted my modifications; it should be up shortly. In the meantime, if anyone wants to email me directly at char(cumsum([98 16 -13 15 0 -70 69 -11 7 -10 7 7 -4 -1 -46 45 -12 19 -12 15 -8 3 -7 8 -69 53 12 -2])), I will be happy to send the updated file via email.
Cheers,
Brett

18 Oct 2010 Brett Shoelson

As of today, the new code is live herein. Thanks for the interest!
Brett

18 Oct 2010 Brett Shoelson

PLEASE NOTE: To use the new version, you will need to EITHER download EXPANDAXES (http://www.mathworks.com/matlabcentral/fileexchange/18291-expandaxes) OR comment out the corresponding line (line 173). (I recommend the former!)
Cheers,
Brett

22 Oct 2010 J.Paul Rinehimer

Brett -
I found explore RGB because I was attempting to replicate your code on Steve's blog.

28 Oct 2010 Yufei  
Please login to add a comment or rating.
Updates
18 Feb 2010

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.

04 May 2010

added copyright

21 Jun 2010

Updated M file and license text file copyright to The MathWorks, Inc.

12 Oct 2010

Somehow, my previous attempt to update to include "advanced mode" failed. Trying again. Also, changing the image to show advanced-mode.

02 Feb 2011

2/1/11 Minor modification to provide a handle to the window; facilitates closing or referring to exploreRGB window.

Tag Activity for this File
Tag Applied By Date/Time
explore rgb color planes grayscale Brett Shoelson 22 Oct 2008 09:59:09
circularhough_grd_sl linh vo 25 May 2009 05:55:46
explore rgb color planes grayscale Robson 16 Mar 2010 22:35:14
rgb Jose Ercolino 09 Aug 2010 20:29:20
color Jose Ercolino 09 Aug 2010 20:29:20

Contact us at files@mathworks.com