Package com.jhlabs.image

Examples of com.jhlabs.image.TwirlFilter


        model.addElement(new DisplayInfo<BufferedImageOp>(new SparkleFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new SphereFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new SwimFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new TemperatureFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new ThresholdFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new TwirlFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new UnsharpFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new WaterFilter()));
        return model;
    }
View Full Code Here


    }

  public void distortImage()
  {
    // twirl filter
    TwirlFilter tf = new TwirlFilter();
    float angle = this.twirlAspect;
    tf.setAngle( angle );
    tf.filter(renderedImage, renderedImage);
   
    // Marble Filter
    MarbleFilter mf = new MarbleFilter();
    mf.setXScale( this.marbleXScale );
    mf.setYScale( this.marbleYScale );
View Full Code Here

TOP

Related Classes of com.jhlabs.image.TwirlFilter

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.