j2d.color
Class Yiq

java.lang.Object
  extended by j2d.FloatImageBean
      extended by j2d.color.Yiq
All Implemented Interfaces:
ColorConversionInterface

public class Yiq
extends FloatImageBean


Nested Class Summary
 
Nested classes/interfaces inherited from class j2d.FloatImageBean
FloatImageBean.FromRgb, FloatImageBean.ToRgb
 
Field Summary
 
Fields inherited from class j2d.FloatImageBean
b, bBar, g, gBar, max, min, r, rBar
 
Constructor Summary
Yiq(ColorFrame _cf)
           
 
Method Summary
 void fromRgb()
           
static Mat3 getRgb2yiqMat()
           
static Mat3 getYiq2rgbMat()
           
 void setPixel(int x, int y, int v)
           
 void skinChromaKey()
          if ((44 < Y < 223) && (0 < I < 64)) then we have skin
 void toRgb()
           
 
Methods inherited from class j2d.FloatImageBean
addArray, chromaDistance, chromaMark, computeStats, convertSpace, copyFloats, copyFloats, drawMark, getAverageB, getAverageG, getAverageR, getB, getColor, getColorLocation, getColorLocation, getColorLocation, getColorLocationRG, getFibHsb, getFibYiq, getG, getHeight, getImage, getMax, getMax, getMin, getMin, getR, getStandardDeviationOfB, getStandardDeviationOfG, getStandardDeviationOfR, getVarianceB, getVarianceG, getVarianceR, getWidth, linearTransform, linearTransform, main, max, min, normalize, normalize, oneDSubsample4To1, oneDSubsampleTwoTo1, oneOnF, pow, powArray, printStatistics, removeTheDcComponent, scale, scaleArray, setB, setG, setR, subSampleChroma2To1, subSampleChroma4To1, threshColor, threshColor, transpose, updateParent, updateParent, zeroOut, zeroOutR
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Yiq

public Yiq(ColorFrame _cf)
Method Detail

fromRgb

public void fromRgb()
Specified by:
fromRgb in interface ColorConversionInterface
Overrides:
fromRgb in class FloatImageBean

skinChromaKey

public void skinChromaKey()
if ((44 < Y < 223) && (0 < I < 64)) then we have skin


setPixel

public void setPixel(int x,
                     int y,
                     int v)

toRgb

public void toRgb()
Specified by:
toRgb in interface ColorConversionInterface
Overrides:
toRgb in class FloatImageBean

getRgb2yiqMat

public static Mat3 getRgb2yiqMat()

getYiq2rgbMat

public static Mat3 getYiq2rgbMat()