Package org.jwildfire.transform

Examples of org.jwildfire.transform.ErodeTransformer$ShapeEditor


public class Dilate3PreFilter implements PreFilter {

  @Override
  public void apply(SimpleImage pImage) {
    ErodeTransformer eT = new ErodeTransformer();
    eT.initDefaultParams(pImage);
    eT.setMode(ErodeTransformer.Mode.DILATE);
    eT.setSize(3);
    eT.setShape(ErodeTransformer.Shape.DISK);
    eT.transformImage(pImage);
  }
View Full Code Here


public class Dilate5PreFilter implements PreFilter {

  @Override
  public void apply(SimpleImage pImage) {
    ErodeTransformer eT = new ErodeTransformer();
    eT.initDefaultParams(pImage);
    eT.setMode(ErodeTransformer.Mode.DILATE);
    eT.setSize(5);
    eT.setShape(ErodeTransformer.Shape.DISK);
    eT.transformImage(pImage);
  }
View Full Code Here

TOP

Related Classes of org.jwildfire.transform.ErodeTransformer$ShapeEditor

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.