Package adams.data.image.luminance
Class Custom
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,Serializable
public class Custom extends AbstractLuminanceParameters
Custom luminance parameters.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected double
m_B
the value for B.protected double
m_G
the value for G.protected double
m_R
the value for R.-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Custom()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
BTipText()
Returns the tip text for this property.void
defineOptions()
Adds options to the internal list of options.double
getB()
Returns the B parameter.double
getG()
Returns the G parameter.double[]
getParameters()
Returns the parameters for R, G and B (sum up to 1).double
getR()
Returns the R parameter.String
globalInfo()
Returns a string describing the object.String
GTipText()
Returns the tip text for this property.String
RTipText()
Returns the tip text for this property.void
setB(double value)
Sets the B parameter.void
setG(double value)
Sets the R parameter.void
setR(double value)
Sets the R parameter.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractOptionHandler
-
setR
public void setR(double value)
Sets the R parameter.- Parameters:
value
- the value
-
getR
public double getR()
Returns the R parameter.- Returns:
- the value
-
RTipText
public String RTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
setG
public void setG(double value)
Sets the R parameter.- Parameters:
value
- the value
-
getG
public double getG()
Returns the G parameter.- Returns:
- the value
-
GTipText
public String GTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
setB
public void setB(double value)
Sets the B parameter.- Parameters:
value
- the value
-
getB
public double getB()
Returns the B parameter.- Returns:
- the value
-
BTipText
public String BTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
getParameters
public double[] getParameters()
Returns the parameters for R, G and B (sum up to 1).- Specified by:
getParameters
in classAbstractLuminanceParameters
- Returns:
- the parameters
-
-