Examples of removeParameters()


Examples of java.awt.image.renderable.ParameterBlock.removeParameters()

    pb.add((float) y);
    pb.add((float) dx);
    pb.add((float) dy);
    PlanarImage subImg = JAI.create("crop", pb);
    pb.removeSources();
    pb.removeParameters();
    pb.addSource(subImg);
    pb.add((float) -x);
    pb.add((float) -y);
    pb.add(null);
    return (JAI.create("translate", pb));
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeParameters()

    pb.add(-x);
    pb.add(-y);
    pb.add(Interpolation.getInstance(Interpolation.INTERP_BILINEAR));
    PlanarImage transImg = JAI.create("translate", pb);
    pb.removeSources();
    pb.removeParameters();
    pb.addSource(transImg);
    pb.add((float) 0.0);
    pb.add((float) 0.0);
    pb.add((float) dx);
    pb.add((float) dy);
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeParameters()

        final RenderedImage firstBand = JAI.create("bandSelect", sourceImage, new int[] { 0 });

        // adding to the image
        final int length = writeband - numBands;
        for (int i = 0; i < length; i++) {
            pb.removeParameters();
            pb.removeSources();

            pb.addSource(sourceImage);
            pb.addSource(firstBand);
            sourceImage = JAI.create("bandmerge", pb);
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeParameters()

            pb.addSource(sourceImage);
            pb.addSource(firstBand);
            sourceImage = JAI.create("bandmerge", pb);

            pb.removeParameters();
            pb.removeSources();
        }

        image = (RenderedImage) sourceImage;
        invalidateStatistics();
View Full Code Here

Examples of java.awt.image.renderable.ParameterBlock.removeParameters()

    // /////////////////////////////////////////////////////////////////////
    final PlanarImage histogramImage = JAI.create("histogram", pb,
        new RenderingHints(JAI.KEY_TILE_CACHE, null));
    final Histogram hist = (Histogram) histogramImage
        .getProperty("histogram");
    pb.removeParameters();
    pb.removeSources();

    // /////////////////////////////////////////////////////////////////////
    //
    // Write things
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.