类 BicubicScaleFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.BicubicScaleFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class BicubicScaleFilter extends AbstractBufferedImageOp
Scales an image using bi-cubic interpolation, which can't be done with AffineTransformOp.
-
-
构造器概要
构造器 构造器 说明 BicubicScaleFilter()Construct a BicubicScaleFilter which resizes to 32x32 pixels.BicubicScaleFilter(int width, int height)Constructor for a filter which scales the input image to the given width and height using bicubic interpolation.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BufferedImagefilter(BufferedImage src, BufferedImage dst)StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
构造器详细资料
-
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 imageheight- the height of the output image
-
-
方法详细资料
-
filter
public BufferedImage filter(BufferedImage src, BufferedImage dst)
-
-