how can i convert from rgb to hsi color space

25 views (last 30 days)
I'm trying to segment my object using HSI color space. i couldn't find a matlab function in it's toolbox.

Accepted Answer

Image Analyst
Image Analyst on 21 Jan 2015
Just use rgb2hsv(). You should be able to get what you want by using that. Otherwise, just use the formulas.
  2 Comments
Nafeesath Musfira
Nafeesath Musfira on 21 Jan 2015
no sir, i was searching for rgb to HSI color space, and if i am true, i've learned that both are not same. only similarity with the hue value. is it right
Image Analyst
Image Analyst on 21 Jan 2015
Like I said, you can just use the formulas. Why do you think that the difference will be important? http://en.wikipedia.org/wiki/HSL_and_HSV Let me see your image. Chances are that you can get what you want with HSV. If you can't, then show me your image and explain why it can't give you what you need.

Sign in to comment.

More Answers (1)

Pallawi Pallawi
Pallawi Pallawi on 8 Dec 2015

Categories

Find more on Convert Image Type 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!