|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.MiToBo.core.operator.MTBOperator
de.unihalle.informatik.MiToBo.color.conversion.HSVToRGBPixelConverter
public class HSVToRGBPixelConverter
Class to convert values from HSV color space into other color spaces like RGB or so. H: color value. S: saturation of color. V: brightness value of color. Ranges of HSI: H in [0,360) (representing degrees), S and V in [0, 1] (representing [0, 100 %]).
This implementation is taken from
W. Burger/M. Burge, "Digitale Bildverarbeitung", pp.256, Springer,
2nd edition, 2006.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode |
Field Summary |
---|
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider |
Constructor Summary | |
---|---|
HSVToRGBPixelConverter()
Standard constructor. |
|
HSVToRGBPixelConverter(double h,
double s,
double v)
Constructor to create a HSVconverter object |
Method Summary | |
---|---|
int[] |
getRGBResult()
Get RGB values. |
protected void |
operate()
|
void |
toRGB()
Method to convert a single color from HSV color space into RGB color space. |
Methods inherited from class de.unihalle.informatik.MiToBo.core.operator.MTBOperator |
---|
readResolve |
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
addOperatorExecutionProgressEventListener, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getHidingMode, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterNames, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, runOp, runOp, runOp, setConstructionMode, setHidingMode, setName, setParameter, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HSVToRGBPixelConverter() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public HSVToRGBPixelConverter(double h, double s, double v) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
h
- hue of HSV spaces
- saturation of HSV spacev
- brightness value of HSV space
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
public int[] getRGBResult()
protected void operate()
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
public void toRGB()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |