Package com.jhlabs.image

Examples of com.jhlabs.image.SharpenFilter


  public static BufferedImage Sharpen(BufferedImage src, int times) {

    logWriter.Debug("Sharpen Image");

    BufferedImage desc = null;
    SharpenFilter filter = new SharpenFilter();
    filter.setPremultiplyAlpha(true);
    filter.setUseAlpha(true);
    desc = filter.filter(src, desc);
    for (int i = 0; i < times - 1; i++) {
      desc = filter.filter(desc, desc);
    }
    filter = null;

    return desc;
  }
View Full Code Here


        model.addElement(new DisplayInfo<BufferedImageOp>(new QuantizeFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new RaysFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new ReduceNoiseFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new RippleFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new ShadowFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new SharpenFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new SkeletonFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new SmearFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new SolarizeFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new SparkleFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new SphereFilter()));
View Full Code Here

TOP

Related Classes of com.jhlabs.image.SharpenFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.