|
Copyright 2013-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.monte.media.beans.AbstractBean
org.monte.media.converter.DefaultColorAdjustModel
public class DefaultColorAdjustModel
DefaultImageAdjustmentModel.
| Field Summary | |
|---|---|
protected float |
blackPoint
Level adjustment: black point in the range [0,1]. |
protected float |
brightness
Brightness adjustment in the range [-1,1]. |
protected float |
contrast
Contrast adjustment in the range [-1,1]. |
protected float |
definition
Definition adjustment in the range [0,1]. |
protected float |
denoise
De-noise adjustment in the range [0,1]. |
protected float |
exposure
Exposure adjustment in the range [-1,1]. |
protected float |
highlights
Higlights adjustment in the range [0,1]. |
protected float |
midPoint
Level adjustment: mid point in the range [0,1]. |
protected float |
saturation
Saturation adjustment in the range [0,1]. |
protected float |
shadows
Shadows adjustment in the range [0,1]. |
protected float |
sharpness
Sharpness adjustment in the range [0,1]. |
protected float |
temperature
Temperature adjustment in the range [-1,1]. |
protected float |
tint
Tint adjustment in the range [-1,1]. |
protected float |
whitePoint
Level adjustment: white point in the range [0,1]. |
| Fields inherited from class org.monte.media.beans.AbstractBean |
|---|
propertySupport |
| Fields inherited from interface org.monte.media.converter.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 | |
|---|---|
DefaultColorAdjustModel()
|
|
| Method Summary | |
|---|---|
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()
Get the value of whitePoint |
boolean |
isIdentity()
Returns true, if the model does not perform any changes to the image. |
boolean |
isWhiteBalanceQMEnabled()
|
boolean |
isWhiteBalanceTTEnabled()
|
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)
Set the value of whitePoint |
| Methods inherited from class org.monte.media.beans.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.monte.media.converter.ColorAdjustModel |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
protected float whitePoint
protected float blackPoint
protected float midPoint
protected float brightness
protected float exposure
protected float contrast
protected float saturation
protected float definition
protected float highlights
protected float shadows
protected float sharpness
protected float denoise
protected float temperature
protected float tint
| Constructor Detail |
|---|
public DefaultColorAdjustModel()
| Method Detail |
|---|
public void reset()
ColorAdjustModel
reset in interface ColorAdjustModelpublic float getWhitePoint()
getWhitePoint in interface ColorAdjustModelpublic void setWhitePoint(float newValue)
setWhitePoint in interface ColorAdjustModelnewValue - new value of whitePointpublic float getBlackPoint()
getBlackPoint in interface ColorAdjustModelpublic void setBlackPoint(float newValue)
setBlackPoint in interface ColorAdjustModelpublic float getMidPoint()
getMidPoint in interface ColorAdjustModelpublic void setMidPoint(float newValue)
setMidPoint in interface ColorAdjustModelpublic float getContrast()
getContrast in interface ColorAdjustModelpublic void setContrast(float newValue)
setContrast in interface ColorAdjustModelpublic float getDefinition()
getDefinition in interface ColorAdjustModelpublic void setDefinition(float newValue)
setDefinition in interface ColorAdjustModelpublic float getDenoise()
getDenoise in interface ColorAdjustModelpublic void setDenoise(float newValue)
setDenoise in interface ColorAdjustModelpublic float getBrightness()
getBrightness in interface ColorAdjustModelpublic void setBrightness(float newValue)
setBrightness in interface ColorAdjustModelpublic float getExposure()
getExposure in interface ColorAdjustModelpublic void setExposure(float newValue)
setExposure in interface ColorAdjustModelpublic float getHighlights()
getHighlights in interface ColorAdjustModelpublic void setHighlights(float newValue)
setHighlights in interface ColorAdjustModelpublic float getSaturation()
getSaturation in interface ColorAdjustModelpublic void setSaturation(float newValue)
setSaturation in interface ColorAdjustModelpublic float getShadows()
getShadows in interface ColorAdjustModelpublic void setShadows(float newValue)
setShadows in interface ColorAdjustModelpublic float getSharpness()
getSharpness in interface ColorAdjustModelpublic void setSharpness(float newValue)
setSharpness in interface ColorAdjustModelpublic float getTemperature()
getTemperature in interface ColorAdjustModelpublic void setTemperature(float newValue)
setTemperature in interface ColorAdjustModelpublic float getTint()
getTint in interface ColorAdjustModelpublic void setTint(float newValue)
setTint in interface ColorAdjustModelpublic void setWhiteBalanceQM(float[] newValue)
setWhiteBalanceQM in interface ColorAdjustModelpublic float[] getWhiteBalanceQM()
getWhiteBalanceQM in interface ColorAdjustModelpublic void setWhiteBalanceQMEnabled(boolean newValue)
setWhiteBalanceQMEnabled in interface ColorAdjustModelpublic boolean isWhiteBalanceQMEnabled()
isWhiteBalanceQMEnabled in interface ColorAdjustModelpublic void setWhiteBalanceTTEnabled(boolean newValue)
setWhiteBalanceTTEnabled in interface ColorAdjustModelpublic boolean isWhiteBalanceTTEnabled()
isWhiteBalanceTTEnabled in interface ColorAdjustModelpublic void setTo(ColorAdjustModel that)
setTo in interface ColorAdjustModelpublic boolean isIdentity()
ColorAdjustModel
isIdentity in interface ColorAdjustModel
|
Copyright 2013-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||