View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
RGB Image Decomposition

2.7 | 6 ratings Rate this file 13 Downloads (last 30 days) File Size: 1.65 KB File ID: #18125 Version:
image thumbnail

RGB Image Decomposition


Rick Rosson (view profile)


26 Dec 2007 (Updated )

Displays RGB decomposition of a full color image

| Watch this File

File Information

Function imColorSep takes a single input argument, an M x N x 3 array representing a full color RGB image, and generates a figure window containing four images: the original full color image, and the three individual monochromatic images representing the red, green, and blue components of the original image. The function returns a handle to the figure window.
See also "NTSC Image Decomposition."

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
23 Feb 2017 Didrik Kvanvik


27 Mar 2010 John

John (view profile)

Ehm how can i convert now into YCbCr pleaz?

Comment only
16 May 2008 mohsan jamil

09 Apr 2008 chen yuan

mini program

07 Jan 2008 harun alrosid

28 Dec 2007 Joseph Hollmann

this code can be easily rewritten to get rid of the imageprocessing toolbox dependency.

Also, I am pretty sure you want to take the following line out of your for-loop.
C = zeros(N,3);

Without the appropriate comments, it is difficult to tell but why use the line below line?
gr = gr(:,1);

27 Dec 2007

Correction of a minor typographical error in the description of the file.

28 Dec 2007

1. Minor correcto in the description.
2. Uploaded screenshot.

01 Jan 2008

Simplified the description.

02 Jan 2008

Clarify the description

02 Jan 2008

Made minor improvements to the readability of the M-code and added comments.

02 Jan 2008

Made minor improvements to the readability of the M-code and added comments.

01 Sep 2016

Updated license

Contact us