how to define colour in HSV space

2 views (last 30 days)
kash on 24 May 2013
in the link provided
i got values for blue colour ,i need same for green colour plz can you tell whats the values for green colour plz

Answers (2)

José-Luis on 24 May 2013
rgb2hsv([0 1 0])
José-Luis on 24 May 2013
Edited: José-Luis on 24 May 2013
I don't understand what you are doing, I'm afraid. Are you familiar with the different between the RGB color space and the HSV color space? If not, Wikipedia can help you. Also, "green" can be a very coarse definition. There are many shades of green. I assumed you want the color where both the red and blue components did not exist.
kash on 24 May 2013
for the following images
i want to ectract blue colour which i done using above link program making it little brighter ,now want to extracr green colour and want to assign a new colour to it

Sign in to comment.

Bjorn Gustavsson
Bjorn Gustavsson on 24 May 2013


Find more on Image Processing Toolbox 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!