Interface ColorAdjustModel

All Known Implementing Classes:
DefaultColorAdjustModel

public interface ColorAdjustModel
ImageAdjustmentModel.
Author:
Werner Randelshofer
  • Field Details

    • WHITE_POINT_PROPERTY

      static final String WHITE_POINT_PROPERTY
      Level adjustment: white point in the range [0,1].
      See Also:
    • BLACK_POINT_PROPERTY

      static final String BLACK_POINT_PROPERTY
      Level adjustment: black point in the range [0,1].
      See Also:
    • MID_POINT_PROPERTY

      static final String MID_POINT_PROPERTY
      Level adjustment: mid point in the range [0,1].
      See Also:
    • EXPOSURE_PROPERTY

      static final String EXPOSURE_PROPERTY
      Exposure adjustment in the range [-1,1].
      See Also:
    • BRIGHTNESS_PROPERTY

      static final String BRIGHTNESS_PROPERTY
      Brightness adjustment in the range [-1,1].
      See Also:
    • CONTRAST_PROPERTY

      static final String CONTRAST_PROPERTY
      Contrast adjustment in the range [-1,1].
      See Also:
    • SATURATION_PROPERTY

      static final String SATURATION_PROPERTY
      Saturation adjustment in the range [0,1].
      See Also:
    • DEFINITION_PROPERTY

      static final String DEFINITION_PROPERTY
      Definition adjustment in the range [0,1].
      See Also:
    • HIGHLIGHTS_PROPERTY

      static final String HIGHLIGHTS_PROPERTY
      Higlights adjustment in the range [0,1].
      See Also:
    • SHADOWS_PROPERTY

      static final String SHADOWS_PROPERTY
      Shadows adjustment in the range [0,1].
      See Also:
    • SHARPNESS_PROPERTY

      static final String SHARPNESS_PROPERTY
      Sharpness adjustment in the range [0,1].
      See Also:
    • DENOISE_PROPERTY

      static final String DENOISE_PROPERTY
      De-noise adjustment in the range [0,1].
      See Also:
    • TEMPERATURE_PROPERTY

      static final String TEMPERATURE_PROPERTY
      Temperature adjustment in the range [-1,1].
      See Also:
    • TINT_PROPERTY

      static final String TINT_PROPERTY
      Tint adjustment in the range [-1,1].
      See Also:
    • WHITE_BALANCE_QM_PROPERTY

      static final String 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

      static final String WHITE_BALANCE_QM_ENABLED_PROPERTY
      See Also:
    • WHITE_BALANCE_TT_ENABLED_PROPERTY

      static final String 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

      void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      void removePropertyChangeListener(PropertyChangeListener listener)
    • reset

      void reset()
      Resets all values.
    • setTo

      void setTo(ColorAdjustModel that)
    • isIdentity

      boolean isIdentity()
      Returns true, if the model does not perform any changes to the image.