j2d.color
Class Hsb

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

public class Hsb
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
Hsb(ColorFrame _cf)
           
Hsb(java.awt.Image img)
           
 
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, 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

Hsb

public Hsb(ColorFrame _cf)

Hsb

public Hsb(java.awt.Image img)
Method Detail

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)