类 UnsharpFilter

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

    public class UnsharpFilter
    extends GaussianFilter
    A filter which subtracts Gaussian blur from an image, sharpening it.
    作者:
    Jerry Huxtable
    • 构造器详细资料

      • UnsharpFilter

        public UnsharpFilter()
    • 方法详细资料

      • setThreshold

        public void setThreshold​(int threshold)
        Set the threshold value.
        参数:
        threshold - the threshold value
        另请参阅:
        getThreshold()
      • getThreshold

        public int getThreshold()
        Get the threshold value.
        返回:
        the threshold value
        另请参阅:
        setThreshold(int)
      • setAmount

        public void setAmount​(float amount)
        Set the amount of sharpening.
        参数:
        amount - the amount min-value 0 max-value 1
        另请参阅:
        getAmount()
      • getAmount

        public float getAmount()
        Get the amount of sharpening.
        返回:
        the amount
        另请参阅:
        setAmount(float)
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
        指定者:
        filter 在接口中 java.awt.image.BufferedImageOp
        覆盖:
        filter 在类中 GaussianFilter