Package com.jhlabs.image

Examples of com.jhlabs.image.BlockFilter


     */
    private ComboBoxModel createFilterList() {
        DefaultComboBoxModel model = new DefaultComboBoxModel();
        model.addElement(new DisplayInfo<BufferedImageOp>("- none - ", null));
        model.addElement(new DisplayInfo<BufferedImageOp>(new AverageFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new BlockFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new BlurFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new BorderFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new BoxBlurFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new BumpFilter()));
        model.addElement(new DisplayInfo<BufferedImageOp>(new ChromeFilter()));
View Full Code Here


  public BlockGimpyRenderer(int blockSize) {
    _blockSize = blockSize;
  }
 
  public void gimp(BufferedImage image) {
    BlockFilter filter = new BlockFilter();
    filter.setBlockSize(_blockSize);

        BufferedImage buffer = filter.filter(image, null);
        applyFilter(buffer, null);
    }
View Full Code Here

TOP

Related Classes of com.jhlabs.image.BlockFilter

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.