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

Respuestas (2)

José-Luis
José-Luis el 24 de Mayo de 2013
rgb2hsv([0 1 0])

3 comentarios

kash
kash el 24 de Mayo de 2013
i have given as
greevPixels = hueImage ==0 & hueImage ==1 & valueImage ==0;%in above code to extract green colour
but could not extract
José-Luis
José-Luis el 24 de Mayo de 2013
Editada: José-Luis el 24 de Mayo de 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
kash el 24 de Mayo de 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

Iniciar sesión para comentar.

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by