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 doublem_Bthe value for B.protected doublem_Gthe value for G.protected doublem_Rthe 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 StringBTipText()Returns the tip text for this property.voiddefineOptions()Adds options to the internal list of options.doublegetB()Returns the B parameter.doublegetG()Returns the G parameter.double[]getParameters()Returns the parameters for R, G and B (sum up to 1).doublegetR()Returns the R parameter.StringglobalInfo()Returns a string describing the object.StringGTipText()Returns the tip text for this property.StringRTipText()Returns the tip text for this property.voidsetB(double value)Sets the B parameter.voidsetG(double value)Sets the R parameter.voidsetR(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:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin 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:
getParametersin classAbstractLuminanceParameters- Returns:
- the parameters
-
-