Code covered by the BSD License  

Highlights from
RGB Image Decomposition

3.0

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

RGB Image Decomposition

by Rick Rosson

 

26 Dec 2007 (Updated 08 Jan 2008)

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
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);

07 Jan 2008 harun alrosid  
09 Apr 2008 chen yuan

mini program

16 May 2008 mohsan jamil  
27 Mar 2010 John

Ehm how can i convert now into YCbCr pleaz?

20 Dec 2011 BHARANEE PALANISWAMY  
Please login to add a comment or rating.
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.

08 Jan 2008

Added "See also..." to the description.

Tag Activity for this File
Tag Applied By Date/Time
color Rick Rosson 22 Oct 2008 09:40:28
image processing Rick Rosson 31 Oct 2008 23:49:52
color separation Rick Rosson 31 Oct 2008 23:49:52
rgb Rick Rosson 31 Oct 2008 23:49:52
image decomposition Rick Rosson 31 Oct 2008 23:50:21
image Rick Rosson 12 Feb 2009 13:28:18
vip Rick Rosson 12 Feb 2009 13:28:28
ivp Rick Rosson 12 Feb 2009 13:28:32
ipt Rick Rosson 12 Feb 2009 13:29:00
image decomposition Ramanathan kasi 10 Dec 2010 02:24:07
color Pascal 01 Oct 2011 17:22:58
color separation Pascal 01 Oct 2011 17:23:06
image Pascal 01 Oct 2011 17:25:44
vip Pascal 01 Oct 2011 17:25:48
image decomposition Pascal 01 Oct 2011 17:25:49
image processing Pascal 01 Oct 2011 17:25:53
ipt Pascal 01 Oct 2011 17:25:57
ivp Pascal 01 Oct 2011 17:25:58
rgb Pascal 01 Oct 2011 17:26:00
color sima nang 17 Dec 2011 01:51:57
color sima nang 17 Dec 2011 01:51:58
color Michael 28 Jan 2012 13:06:37

Contact us at files@mathworks.com