how to define colour in HSV space

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

回答(2 个)

rgb2hsv([0 1 0])

3 个评论

i have given as
greevPixels = hueImage ==0 & hueImage ==1 & valueImage ==0;%in above code to extract green colour
but could not extract
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.
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

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Red 的更多信息

提问:

2013-5-24

Community Treasure Hunt

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

Start Hunting!

Translated by