类 BicubicScaleFilter

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

    public class BicubicScaleFilter
    extends AbstractBufferedImageOp
    Scales an image using bi-cubic interpolation, which can't be done with AffineTransformOp.
    • 构造器详细资料

      • BicubicScaleFilter

        public BicubicScaleFilter()
        Construct a BicubicScaleFilter which resizes to 32x32 pixels.
      • BicubicScaleFilter

        public BicubicScaleFilter​(int width,
                                  int height)
        Constructor for a filter which scales the input image to the given width and height using bicubic interpolation. Unfortunately, it appears that bicubic actually looks worse than bilinear interpolation on most Java implementations, but you can be the judge.
        参数:
        width - the width of the output image
        height - the height of the output image
    • 方法详细资料

      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
      • toString

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