File Exchange

image thumbnail

RGB Histogram Sideview

version (73.9 KB) by Vlad Atanasiu
Adds the RGB histogram values of each image column into one single image.


Updated 06 Jun 2005

View License

Superposition of column profiles of an image.

I = imread('danaide.jpg');
I2 = improfileadd(I);
I3 = improfileadd(imrotate(I,-90));
I3 = imrotate(I3,-90);
subplot(2,2,1), imshow(I)
title('Input image')
subplot(2,2,2), imshow(I2)
title('Superposition of column profiles')
subplot(2,2,3), imshow(I3)
title('Superposition of row profiles')

Cite As

Vlad Atanasiu (2021). RGB Histogram Sideview (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Vinay Damle

No intention to disturb you, I'm pursuing ME(Electronics) and doing project De-noising of Medical Ultrasound Image-- A Wavelet Transform Approach. I have successfully done it but the problem is that my code accepts only .tif images and it doesnt accept images in any other format. So it will be very nice of you if you can help me in this regard.

fa ga

please tell us which version of max2 is being here. Mine doesnt accept saying
"Error using ==> max2
Too many input arguments."

fa ga

Error: "max2 not defined"

manali prabhu


MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!