j2d.color
Class Hsb
java.lang.Object
j2d.FloatImageBean
j2d.color.Hsb
- All Implemented Interfaces:
- ColorConversionInterface
public class Hsb
- extends FloatImageBean
Method Summary |
void |
chromaMark(ShortImageBean sib,
double hmin,
double hmax,
double smin,
double smax)
|
void |
fromRgb()
|
void |
hsbtorgb(float hue,
float saturation,
float brightness,
float[] triplet)
|
void |
rgbtohsb(float r,
float g,
float b,
float[] hsbvals)
|
void |
toRgb()
|
Methods inherited from class j2d.FloatImageBean |
addArray, chromaDistance, chromaMark, computeStats, convertSpace, copyFloats, copyFloats, drawMark, getAverageB, getAverageG, getAverageR, getB, getBlue1d, getColor, getColorLocation, getColorLocation, getColorLocation, getColorLocationRG, getFibHsb, getFibYiq, getFloatImageBean, getG, getGreen1d, getHeight, getImage, getMax, getMax, getMin, getMin, getR, getRed1d, getStandardDeviationOfB, getStandardDeviationOfG, getStandardDeviationOfR, getVarianceB, getVarianceG, getVarianceR, getWidth, linearTransform, linearTransform, max, min, normalize, normalize, oneDSubsample4To1, oneDSubsampleTwoTo1, oneOnF, pow, powArray, printStatistics, removeTheDcComponent, scale, scaleArray, setB, setG, setR, subSampleChroma2To1, subSampleChroma4To1, threshColor, threshColor, toString, transpose, twodTo1DDHT, updateParent, updateParent, zeroOut, zeroOutR |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Hsb
public Hsb(ColorFrame _cf)
Hsb
public Hsb(java.awt.Image img)
fromRgb
public void fromRgb()
- Specified by:
fromRgb
in interface ColorConversionInterface
- Overrides:
fromRgb
in class FloatImageBean
toRgb
public void toRgb()
- Specified by:
toRgb
in interface ColorConversionInterface
- Overrides:
toRgb
in class FloatImageBean
hsbtorgb
public void hsbtorgb(float hue,
float saturation,
float brightness,
float[] triplet)
rgbtohsb
public void rgbtohsb(float r,
float g,
float b,
float[] hsbvals)
chromaMark
public void chromaMark(ShortImageBean sib,
double hmin,
double hmax,
double smin,
double smax)