java.lang.Object
org.monte.media.beans.AbstractBean
org.monte.media.av.codec.video.DefaultColorAdjustModel
- All Implemented Interfaces:
Serializable,ColorAdjustModel
DefaultImageAdjustmentModel.- Author:
- Werner Randelshofer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatLevel adjustment: black point in the range [0,1].protected floatBrightness adjustment in the range [-1,1].protected floatContrast adjustment in the range [-1,1].protected floatDefinition adjustment in the range [0,1].protected floatDe-noise adjustment in the range [0,1].protected floatExposure adjustment in the range [-1,1].protected floatHiglights adjustment in the range [0,1].protected floatLevel adjustment: mid point in the range [0,1].protected floatSaturation adjustment in the range [0,1].protected floatShadows adjustment in the range [0,1].protected floatSharpness adjustment in the range [0,1].protected floatTemperature adjustment in the range [-1,1].protected floatTint adjustment in the range [-1,1].protected floatLevel adjustment: white point in the range [0,1].Fields inherited from class org.monte.media.beans.AbstractBean
propertySupportFields inherited from interface org.monte.media.av.codec.video.ColorAdjustModel
BLACK_POINT_PROPERTY, BRIGHTNESS_PROPERTY, CONTRAST_PROPERTY, DEFINITION_PROPERTY, DENOISE_PROPERTY, EXPOSURE_PROPERTY, HIGHLIGHTS_PROPERTY, MID_POINT_PROPERTY, SATURATION_PROPERTY, SHADOWS_PROPERTY, SHARPNESS_PROPERTY, TEMPERATURE_PROPERTY, TINT_PROPERTY, WHITE_BALANCE_QM_ENABLED_PROPERTY, WHITE_BALANCE_QM_PROPERTY, WHITE_BALANCE_TT_ENABLED_PROPERTY, WHITE_POINT_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatgetTint()float[]floatGet the value of whitePointbooleanReturns true, if the model does not perform any changes to the image.booleanbooleanvoidreset()Resets all values.voidsetBlackPoint(float newValue) voidsetBrightness(float newValue) voidsetContrast(float newValue) voidsetDefinition(float newValue) voidsetDenoise(float newValue) voidsetExposure(float newValue) voidsetHighlights(float newValue) voidsetMidPoint(float newValue) voidsetSaturation(float newValue) voidsetShadows(float newValue) voidsetSharpness(float newValue) voidsetTemperature(float newValue) voidsetTint(float newValue) voidsetTo(ColorAdjustModel that) voidsetWhiteBalanceQM(float[] newValue) voidsetWhiteBalanceQMEnabled(boolean newValue) voidsetWhiteBalanceTTEnabled(boolean newValue) voidsetWhitePoint(float newValue) Set the value of whitePointMethods inherited from class org.monte.media.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.monte.media.av.codec.video.ColorAdjustModel
addPropertyChangeListener, removePropertyChangeListener
-
Field Details
-
whitePoint
protected float whitePointLevel adjustment: white point in the range [0,1]. -
blackPoint
protected float blackPointLevel adjustment: black point in the range [0,1]. -
midPoint
protected float midPointLevel adjustment: mid point in the range [0,1]. -
brightness
protected float brightnessBrightness adjustment in the range [-1,1]. -
exposure
protected float exposureExposure adjustment in the range [-1,1]. -
contrast
protected float contrastContrast adjustment in the range [-1,1]. -
saturation
protected float saturationSaturation adjustment in the range [0,1]. -
definition
protected float definitionDefinition adjustment in the range [0,1]. -
highlights
protected float highlightsHiglights adjustment in the range [0,1]. -
shadows
protected float shadowsShadows adjustment in the range [0,1]. -
sharpness
protected float sharpnessSharpness adjustment in the range [0,1]. -
denoise
protected float denoiseDe-noise adjustment in the range [0,1]. -
temperature
protected float temperatureTemperature adjustment in the range [-1,1]. -
tint
protected float tintTint adjustment in the range [-1,1].
-
-
Constructor Details
-
DefaultColorAdjustModel
public DefaultColorAdjustModel()
-
-
Method Details
-
reset
public void reset()Description copied from interface:ColorAdjustModelResets all values.- Specified by:
resetin interfaceColorAdjustModel
-
getWhitePoint
public float getWhitePoint()Get the value of whitePoint- Specified by:
getWhitePointin interfaceColorAdjustModel- Returns:
- the value of whitePoint
-
setWhitePoint
public void setWhitePoint(float newValue) Set the value of whitePoint- Specified by:
setWhitePointin interfaceColorAdjustModel- Parameters:
newValue- new value of whitePoint
-
getBlackPoint
public float getBlackPoint()- Specified by:
getBlackPointin interfaceColorAdjustModel
-
setBlackPoint
public void setBlackPoint(float newValue) - Specified by:
setBlackPointin interfaceColorAdjustModel
-
getMidPoint
public float getMidPoint()- Specified by:
getMidPointin interfaceColorAdjustModel
-
setMidPoint
public void setMidPoint(float newValue) - Specified by:
setMidPointin interfaceColorAdjustModel
-
getContrast
public float getContrast()- Specified by:
getContrastin interfaceColorAdjustModel
-
setContrast
public void setContrast(float newValue) - Specified by:
setContrastin interfaceColorAdjustModel
-
getDefinition
public float getDefinition()- Specified by:
getDefinitionin interfaceColorAdjustModel
-
setDefinition
public void setDefinition(float newValue) - Specified by:
setDefinitionin interfaceColorAdjustModel
-
getDenoise
public float getDenoise()- Specified by:
getDenoisein interfaceColorAdjustModel
-
setDenoise
public void setDenoise(float newValue) - Specified by:
setDenoisein interfaceColorAdjustModel
-
getBrightness
public float getBrightness()- Specified by:
getBrightnessin interfaceColorAdjustModel
-
setBrightness
public void setBrightness(float newValue) - Specified by:
setBrightnessin interfaceColorAdjustModel
-
getExposure
public float getExposure()- Specified by:
getExposurein interfaceColorAdjustModel
-
setExposure
public void setExposure(float newValue) - Specified by:
setExposurein interfaceColorAdjustModel
-
getHighlights
public float getHighlights()- Specified by:
getHighlightsin interfaceColorAdjustModel
-
setHighlights
public void setHighlights(float newValue) - Specified by:
setHighlightsin interfaceColorAdjustModel
-
getSaturation
public float getSaturation()- Specified by:
getSaturationin interfaceColorAdjustModel
-
setSaturation
public void setSaturation(float newValue) - Specified by:
setSaturationin interfaceColorAdjustModel
-
getShadows
public float getShadows()- Specified by:
getShadowsin interfaceColorAdjustModel
-
setShadows
public void setShadows(float newValue) - Specified by:
setShadowsin interfaceColorAdjustModel
-
getSharpness
public float getSharpness()- Specified by:
getSharpnessin interfaceColorAdjustModel
-
setSharpness
public void setSharpness(float newValue) - Specified by:
setSharpnessin interfaceColorAdjustModel
-
getTemperature
public float getTemperature()- Specified by:
getTemperaturein interfaceColorAdjustModel
-
setTemperature
public void setTemperature(float newValue) - Specified by:
setTemperaturein interfaceColorAdjustModel
-
getTint
public float getTint()- Specified by:
getTintin interfaceColorAdjustModel
-
setTint
public void setTint(float newValue) - Specified by:
setTintin interfaceColorAdjustModel
-
setWhiteBalanceQM
public void setWhiteBalanceQM(float[] newValue) - Specified by:
setWhiteBalanceQMin interfaceColorAdjustModel
-
getWhiteBalanceQM
public float[] getWhiteBalanceQM()- Specified by:
getWhiteBalanceQMin interfaceColorAdjustModel
-
setWhiteBalanceQMEnabled
public void setWhiteBalanceQMEnabled(boolean newValue) - Specified by:
setWhiteBalanceQMEnabledin interfaceColorAdjustModel
-
isWhiteBalanceQMEnabled
public boolean isWhiteBalanceQMEnabled()- Specified by:
isWhiteBalanceQMEnabledin interfaceColorAdjustModel
-
setWhiteBalanceTTEnabled
public void setWhiteBalanceTTEnabled(boolean newValue) - Specified by:
setWhiteBalanceTTEnabledin interfaceColorAdjustModel
-
isWhiteBalanceTTEnabled
public boolean isWhiteBalanceTTEnabled()- Specified by:
isWhiteBalanceTTEnabledin interfaceColorAdjustModel
-
setTo
- Specified by:
setToin interfaceColorAdjustModel
-
isIdentity
public boolean isIdentity()Description copied from interface:ColorAdjustModelReturns true, if the model does not perform any changes to the image.- Specified by:
isIdentityin interfaceColorAdjustModel
-