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

Powered by Blogger.