i have written a code
image = imread('filename');figure, imshow(image);hsv_image = rgb2hsv(image);i = hsv_image(:,:,2)>0.2.* (hsv_image(:,:,3)>0.15 .* hsv_image(:,:,3)<0.95);figurehist(i,20);
and further i would like to know how to do this in matlab.
Suppose Q is the maximum value of the histogram. Let thehue count be the number of bins with values greater than c ⋅Q ,q = maximum value in histogramN = {i | H(i) > cq}here C= 0.1.
plz help me……
Best Answer