MATLAB Answers

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

20 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.

  0 Comments

Sign in to comment.

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

Tasneem Al-Tmimi
Tasneem Al-Tmimi on 24 Oct 2017
Thank you very much, this was such helpful
If I have one question about one of your exchanged file where shall I ask you ??
Because I am considered on that :)
Image Analyst
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)

Sign in to answer this question.