File Exchange

image thumbnail

RGB Image Decomposition

version 1.0.0.1 (1.65 KB) by

Displays RGB decomposition of a full color image

2.66667
6 Ratings

10 Downloads

Updated

View License

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

Comments and Ratings (7)

John

John (view profile)

Ehm how can i convert now into YCbCr pleaz?

mohsan jamil

chen yuan

mini program

harun alrosid

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

1.0.0.1

Updated license

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

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

Clarify the description

Simplified the description.

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

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

MATLAB Release
MATLAB 7.5 (R2007b)

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

» Watch video