Package com.jhlabs.image

Examples of com.jhlabs.image.GainFilter


  // 对比度 bias-色彩亮度(0.5) gain-色彩对比度(0.5)
  public static BufferedImage GainFilter(BufferedImage src, float bias,
      float gain) {
    BufferedImage desc = null;
    GainFilter filter = new GainFilter();
    filter.setBias(bias);
    filter.setGain(gain);
    desc = filter.filter(src, null);
    filter = null;
    return desc;

  }
View Full Code Here


        model.addElement(new DisplayInfo<BufferedImageOp>(new EdgeFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new EmbossFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new EqualizeFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new ErodeFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new FlareFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new GainFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new GammaFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new GaussianFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new GlintFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new GlowFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new GrayFilter()));
View Full Code Here

TOP

Related Classes of com.jhlabs.image.GainFilter

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.