Code covered by the BSD License  

Highlights from
RGB Image Decomposition

3.0

3.0 | 5 ratings Rate this file 26 Downloads (last 30 days) File Size: 1.65 KB File ID: #18125
image thumbnail

RGB Image Decomposition

by

 

26 Dec 2007 (Updated )

Displays RGB decomposition of a full color image

| Watch this File

File Information
Description

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 (6)
20 Dec 2011 BHARANEE PALANISWAMY  
27 Mar 2010 John

Ehm how can i convert now into YCbCr pleaz?

16 May 2008 mohsan jamil  
09 Apr 2008 chen yuan

mini program

07 Jan 2008 harun alrosid  
28 Dec 2007 Joseph Hollmann

Rick,
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);

Updates
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.

Contact us