how can I calculate hsv value for the object of interest?

3 views (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 5 Feb 2017
I do that in my HSV color segmentation demo in my file Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Also search the forum for tag:fruit since fruit analysis seems to be one of the most popular subjects for student projects.
  15 Comments
Image Analyst
Image Analyst on 24 Oct 2017
Edited: Image Analyst on 24 Oct 2017
You can ask here in Answers. I check here a lot whereas I hardly ever go back to my File Exchange to look for comments.
Tasneem Al-Tmimi
Tasneem Al-Tmimi on 28 Oct 2017
I have a picture that thresholding it always gave me wrong result can you check it for me ??

Sign in to comment.

More Answers (0)

Categories

Find more on Agriculture in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!