类 GainFilter

  • 所有已实现的接口:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class GainFilter
    extends TransferFilter
    A filter which changes the gain and bias of an image - similar to ContrastFilter.
    • 构造器详细资料

      • GainFilter

        public GainFilter()
    • 方法详细资料

      • setGain

        public void setGain​(float gain)
        Set the gain.
        参数:
        gain - the gain min-value: 0 max-value: 1
        另请参阅:
        getGain()
      • getGain

        public float getGain()
        Get the gain.
        返回:
        the gain
        另请参阅:
        setGain(float)
      • setBias

        public void setBias​(float bias)
        Set the bias.
        参数:
        bias - the bias min-value: 0 max-value: 1
        另请参阅:
        getBias()
      • getBias

        public float getBias()
        Get the bias.
        返回:
        the bias
        另请参阅:
        setBias(float)
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object