- All Known Implementing Classes:
DefaultColorAdjustModel
public interface ColorAdjustModel
ImageAdjustmentModel.- Author:
- Werner Randelshofer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLevel adjustment: black point in the range [0,1].static final StringBrightness adjustment in the range [-1,1].static final StringContrast adjustment in the range [-1,1].static final StringDefinition adjustment in the range [0,1].static final StringDe-noise adjustment in the range [0,1].static final StringExposure adjustment in the range [-1,1].static final StringHiglights adjustment in the range [0,1].static final StringLevel adjustment: mid point in the range [0,1].static final StringSaturation adjustment in the range [0,1].static final StringShadows adjustment in the range [0,1].static final StringSharpness adjustment in the range [0,1].static final StringTemperature adjustment in the range [-1,1].static final StringTint adjustment in the range [-1,1].static final Stringstatic final StringA 4-vector with the parameters for quadratic white balance adjustment.static final Stringstatic final StringLevel adjustment: white point in the range [0,1]. -
Method Summary
Modifier and TypeMethodDescriptionvoidfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatgetTint()float[]floatbooleanReturns true, if the model does not perform any changes to the image.booleanbooleanvoidvoidreset()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)
-
Field Details
-
WHITE_POINT_PROPERTY
Level adjustment: white point in the range [0,1].- See Also:
-
BLACK_POINT_PROPERTY
Level adjustment: black point in the range [0,1].- See Also:
-
MID_POINT_PROPERTY
Level adjustment: mid point in the range [0,1].- See Also:
-
EXPOSURE_PROPERTY
Exposure adjustment in the range [-1,1].- See Also:
-
BRIGHTNESS_PROPERTY
Brightness adjustment in the range [-1,1].- See Also:
-
CONTRAST_PROPERTY
Contrast adjustment in the range [-1,1].- See Also:
-
SATURATION_PROPERTY
Saturation adjustment in the range [0,1].- See Also:
-
DEFINITION_PROPERTY
Definition adjustment in the range [0,1].- See Also:
-
HIGHLIGHTS_PROPERTY
Higlights adjustment in the range [0,1].- See Also:
-
SHADOWS_PROPERTY
Shadows adjustment in the range [0,1].- See Also:
-
SHARPNESS_PROPERTY
Sharpness adjustment in the range [0,1].- See Also:
-
DENOISE_PROPERTY
De-noise adjustment in the range [0,1].- See Also:
-
TEMPERATURE_PROPERTY
Temperature adjustment in the range [-1,1].- See Also:
-
TINT_PROPERTY
Tint adjustment in the range [-1,1].- See Also:
-
WHITE_BALANCE_QM_PROPERTY
A 4-vector with the parameters for quadratic white balance adjustment. The vector contains the values {Rmu, Rnu, Bmu, Bnu}.[ R G B [R' [ Rnu 0 0 Rmu 0 0 R^2 G' = 0 1 0 0 0 0 * G^2 B'] 0 0 Bnu 0 0 Bmu ] B^2 ]Reference:
Edmund Lam, Combining gray world and retinex theory for automatic white balance in digital photography, Consumer Electronics, 2005. (ISCE 2005). Proceedings of the Ninth International Symposium on (2005), pp.134–139.- See Also:
-
WHITE_BALANCE_QM_ENABLED_PROPERTY
- See Also:
-
WHITE_BALANCE_TT_ENABLED_PROPERTY
- See Also:
-
-
Method Details
-
getWhitePoint
float getWhitePoint() -
setWhitePoint
void setWhitePoint(float newValue) -
getBlackPoint
float getBlackPoint() -
setBlackPoint
void setBlackPoint(float newValue) -
getMidPoint
float getMidPoint() -
setMidPoint
void setMidPoint(float newValue) -
getContrast
float getContrast() -
setContrast
void setContrast(float newValue) -
getDefinition
float getDefinition() -
setDefinition
void setDefinition(float newValue) -
getDenoise
float getDenoise() -
setDenoise
void setDenoise(float newValue) -
getBrightness
float getBrightness() -
setBrightness
void setBrightness(float newValue) -
getExposure
float getExposure() -
setExposure
void setExposure(float newValue) -
getHighlights
float getHighlights() -
setHighlights
void setHighlights(float newValue) -
getSaturation
float getSaturation() -
setSaturation
void setSaturation(float newValue) -
getShadows
float getShadows() -
setShadows
void setShadows(float newValue) -
getSharpness
float getSharpness() -
setSharpness
void setSharpness(float newValue) -
getTemperature
float getTemperature() -
setTemperature
void setTemperature(float newValue) -
getTint
float getTint() -
setTint
void setTint(float newValue) -
setWhiteBalanceTTEnabled
void setWhiteBalanceTTEnabled(boolean newValue) -
isWhiteBalanceTTEnabled
boolean isWhiteBalanceTTEnabled() -
setWhiteBalanceQMEnabled
void setWhiteBalanceQMEnabled(boolean newValue) -
isWhiteBalanceQMEnabled
boolean isWhiteBalanceQMEnabled() -
setWhiteBalanceQM
void setWhiteBalanceQM(float[] newValue) -
getWhiteBalanceQM
float[] getWhiteBalanceQM() -
addPropertyChangeListener
-
removePropertyChangeListener
-
reset
void reset()Resets all values. -
setTo
-
isIdentity
boolean isIdentity()Returns true, if the model does not perform any changes to the image.
-