Wednesday, 6 July 2016

Write a MATLAB program for histogram for RGB image

Code:

clear;
clc;
I=imread ('d:/matimage/baby.jpg'); % RGB Image
Y=double(I);
hist(Y);


Output:


No comments:

Post a Comment