public interface ColorAdjustModel
ImageAdjustmentModel.| Modifier and Type | Field and Description |
|---|---|
static String |
BLACK_POINT_PROPERTY
Level adjustment: black point in the range [0,1].
|
static String |
BRIGHTNESS_PROPERTY
Brightness adjustment in the range [-1,1].
|
static String |
CONTRAST_PROPERTY
Contrast adjustment in the range [-1,1].
|
static String |
DEFINITION_PROPERTY
Definition adjustment in the range [0,1].
|
static String |
DENOISE_PROPERTY
De-noise adjustment in the range [0,1].
|
static String |
EXPOSURE_PROPERTY
Exposure adjustment in the range [-1,1].
|
static String |
HIGHLIGHTS_PROPERTY
Higlights adjustment in the range [0,1].
|
static String |
MID_POINT_PROPERTY
Level adjustment: mid point in the range [0,1].
|
static String |
SATURATION_PROPERTY
Saturation adjustment in the range [0,1].
|
static String |
SHADOWS_PROPERTY
Shadows adjustment in the range [0,1].
|
static String |
SHARPNESS_PROPERTY
Sharpness adjustment in the range [0,1].
|
static String |
TEMPERATURE_PROPERTY
Temperature adjustment in the range [-1,1].
|
static String |
TINT_PROPERTY
Tint adjustment in the range [-1,1].
|
static String |
WHITE_BALANCE_QM_ENABLED_PROPERTY |
static String |
WHITE_BALANCE_QM_PROPERTY
A 4-vector with the parameters for quadratic white balance adjustment.
|
static String |
WHITE_BALANCE_TT_ENABLED_PROPERTY |
static String |
WHITE_POINT_PROPERTY
Level adjustment: white point in the range [0,1].
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
float |
getBlackPoint() |
float |
getBrightness() |
float |
getContrast() |
float |
getDefinition() |
float |
getDenoise() |
float |
getExposure() |
float |
getHighlights() |
float |
getMidPoint() |
float |
getSaturation() |
float |
getShadows() |
float |
getSharpness() |
float |
getTemperature() |
float |
getTint() |
float[] |
getWhiteBalanceQM() |
float |
getWhitePoint() |
boolean |
isIdentity()
Returns true, if the model does not perform any changes to the image.
|
boolean |
isWhiteBalanceQMEnabled() |
boolean |
isWhiteBalanceTTEnabled() |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
reset()
Resets all values.
|
void |
setBlackPoint(float newValue) |
void |
setBrightness(float newValue) |
void |
setContrast(float newValue) |
void |
setDefinition(float newValue) |
void |
setDenoise(float newValue) |
void |
setExposure(float newValue) |
void |
setHighlights(float newValue) |
void |
setMidPoint(float newValue) |
void |
setSaturation(float newValue) |
void |
setShadows(float newValue) |
void |
setSharpness(float newValue) |
void |
setTemperature(float newValue) |
void |
setTint(float newValue) |
void |
setTo(ColorAdjustModel that) |
void |
setWhiteBalanceQM(float[] newValue) |
void |
setWhiteBalanceQMEnabled(boolean newValue) |
void |
setWhiteBalanceTTEnabled(boolean newValue) |
void |
setWhitePoint(float newValue) |
static final String WHITE_POINT_PROPERTY
static final String BLACK_POINT_PROPERTY
static final String MID_POINT_PROPERTY
static final String EXPOSURE_PROPERTY
static final String BRIGHTNESS_PROPERTY
static final String CONTRAST_PROPERTY
static final String SATURATION_PROPERTY
static final String DEFINITION_PROPERTY
static final String HIGHLIGHTS_PROPERTY
static final String SHADOWS_PROPERTY
static final String SHARPNESS_PROPERTY
static final String DENOISE_PROPERTY
static final String TEMPERATURE_PROPERTY
static final String TINT_PROPERTY
static final String WHITE_BALANCE_QM_PROPERTY
[ 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.
static final String WHITE_BALANCE_QM_ENABLED_PROPERTY
static final String WHITE_BALANCE_TT_ENABLED_PROPERTY
float getWhitePoint()
void setWhitePoint(float newValue)
float getBlackPoint()
void setBlackPoint(float newValue)
float getMidPoint()
void setMidPoint(float newValue)
float getContrast()
void setContrast(float newValue)
float getDefinition()
void setDefinition(float newValue)
float getDenoise()
void setDenoise(float newValue)
float getBrightness()
void setBrightness(float newValue)
float getExposure()
void setExposure(float newValue)
float getHighlights()
void setHighlights(float newValue)
float getSaturation()
void setSaturation(float newValue)
float getShadows()
void setShadows(float newValue)
float getSharpness()
void setSharpness(float newValue)
float getTemperature()
void setTemperature(float newValue)
float getTint()
void setTint(float newValue)
void setWhiteBalanceTTEnabled(boolean newValue)
boolean isWhiteBalanceTTEnabled()
void setWhiteBalanceQMEnabled(boolean newValue)
boolean isWhiteBalanceQMEnabled()
void setWhiteBalanceQM(float[] newValue)
float[] getWhiteBalanceQM()
void addPropertyChangeListener(PropertyChangeListener listener)
void removePropertyChangeListener(PropertyChangeListener listener)
void reset()
void setTo(ColorAdjustModel that)
boolean isIdentity()
Copyright © 2014. All Rights Reserved.