Color Histogram Code Example Usage

[Go back to the main page]

Usage is straightforward:

>> cone = imread('cone.png');
>> cone2 = imread('cone2.png');
>> hist1 = invhist(cone);
>> hist2 = invhist(cone2);
>> plot(hist1(:))
>> plot(hist2(:))