|
||||||||||
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.HSIToRGBPixelConverter
@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION) public class HSIToRGBPixelConverter
Operator to convert a single HSI value to RGB.
In comparison to the HSV color space here in the HSI space hue, saturation
and intensity are not completely decoupled, i.e. changes in one of the
components may also influence others.
This operator expects all three value H, S and I to be normalized to a
range of [0,1]. The returned values for R, G and B are also each normalized
to a range of [0,1]. The implementation is based on
Gonzalez/Woods, "Digital Image Processing", pp. 235, Addison-Wesley, 1992
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode |
Field Summary | |
---|---|
protected double[] |
hsiInput
Input HSI values. |
protected double[] |
rgbOutput
Output RGB values. |
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider |
Constructor Summary | |
---|---|
HSIToRGBPixelConverter()
Default constructor. |
|
HSIToRGBPixelConverter(double[] hsi)
Constructor. |
Method Summary | |
---|---|
double[] |
getResultRGB()
Returns the result RGB color. |
protected void |
operate()
This method does the actual work. |
void |
setHSIInput(double[] hsiVal)
Specify HSI value to be converted. |
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 |
Field Detail |
---|
@Parameter(label="HSI Input", required=true, dataIOOrder=-1, direction=IN, description="HSI input values.") protected double[] hsiInput
@Parameter(label="RGB Output", dataIOOrder=-1, direction=OUT, description="RGB output values.") protected double[] rgbOutput
Constructor Detail |
---|
public HSIToRGBPixelConverter() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public HSIToRGBPixelConverter(double[] hsi) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
hsi
- HSI value to convert.
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
public void setHSIInput(double[] hsiVal)
hsiVal
- HSI value.public double[] getResultRGB()
protected void operate()
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |