类 GammaFilter

    • 构造器详细资料

      • GammaFilter

        public GammaFilter()
        Construct a GammaFilter.
      • GammaFilter

        public GammaFilter​(float gamma)
        Construct a GammaFilter.
        参数:
        gamma - the gamma level for all RGB channels
      • GammaFilter

        public GammaFilter​(float rGamma,
                           float gGamma,
                           float bGamma)
        Construct a GammaFilter.
        参数:
        rGamma - the gamma level for the red channel
        gGamma - the gamma level for the blue channel
        bGamma - the gamma level for the green channel
    • 方法详细资料

      • setGamma

        public void setGamma​(float rGamma,
                             float gGamma,
                             float bGamma)
        Set the gamma levels.
        参数:
        rGamma - the gamma level for the red channel
        gGamma - the gamma level for the blue channel
        bGamma - the gamma level for the green channel
        另请参阅:
        getGamma()
      • setGamma

        public void setGamma​(float gamma)
        Set the gamma level.
        参数:
        gamma - the gamma level for all RGB channels
        另请参阅:
        getGamma()
      • getGamma

        public float getGamma()
        Get the gamma level.
        返回:
        the gamma level for all RGB channels
        另请参阅:
        setGamma(float, float, float)