Sir, I am doing fruit classification system.I finished preprocessing and segmentation using k-mean and thresholding. I think to use HSV color space for color feature. I want to know how can I calculate hsv value for the object of interest (fruit image). I find hsv value but I got the value of the whole image including background. Thank you so much,sir.