1 / 9

MODELOS DE COLOR

MODELOS DE COLOR. HSV CMY YIQ. CMYK (Cian, Magenta, Yellow, Key). HSV (Hue, Saturation, Value). HSV (Hue-Saturation-Value). H: Color S: Saturación o Pureza (Cuanto esta diluido el color) V: Valor (Representación de la intensidad). HSV (Hue, Saturation, Value). Conversión. HSV.

carson
Télécharger la présentation

MODELOS DE COLOR

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MODELOS DE COLOR HSV CMY YIQ

  2. CMYK(Cian, Magenta, Yellow, Key)

  3. HSV (Hue, Saturation, Value) HSV (Hue-Saturation-Value) H: Color S: Saturación o Pureza (Cuanto esta diluido el color) V: Valor (Representación de la intensidad)

  4. HSV (Hue, Saturation, Value)

  5. Conversión

  6. HSV Práctico 6. Ejercicio 3 public static int[] RGBaHSV(int r, int g, int b) { float max=-2,min=300; max = maximo(g,r,b) min = minimo(r,g,b) if(max==min) max+=0.2f; int[] hsv = new int[3]; hsv[2]=(int)max; hsv[1]=(int)((max-min)/max); if(r==(int)max && g>=b) hsv[0]=(int)(60*(g-b)/(max-min))+0; else { if(r==(int)max && g<b) hsv[0]=(int)(60*(b-g)/(max-min))+360; else { if(g==(int)max) hsv[0]=(int)(60*(b-r)/(max-min))+120; else if(b==(int)max) hsv[0]=(int)(60*(r-b)/(max-min))+240; } } return hsv; }

  7. YIQ • Define un espacio de color utilizado antiguamente en la norma NTSC de televisión. • La componente Y es la luminancia (representada en los televisores B/N) • Las componentes I, Q representan la crominancia en dos ejes

  8. YIQ De YIQ a RGB: O utilizando la forma de representación matricial:

More Related