%load rgb imagesrc = 'C:\rainbow.jpg';rgbI = imread(src);grayI = rgb2gray(rgbI);%get image histogram[counts bins]=imhist(grayI);%show histogrambar(bins,counts);
No comments:
Post a Comment