Examples of WarpGrid


Examples of javax.media.jai.WarpGrid

                dumpPropertyFile(warpPositions, "transformed");
            }
           
            LOGGER.log(Level.FINE, "Optimizing the warp into an grid warp {0} x {1}", new Object[] {rows, cols});
           
            return new WarpGrid((int) minx, stepx, cols, (int) miny, stepy, rows, warpPositions);
        }
    }
View Full Code Here

Examples of javax.media.jai.WarpGrid

        if(operation != null) {
            properties.put(Resample.OPERATION, operation);
            if(warp != null) {
                properties.put(Resample.WARP_TYPE, warp.getClass());
                if(warp instanceof WarpGrid) {
                    WarpGrid grid = (WarpGrid) warp;
                    Dimension dimension = new Dimension(grid.getXNumCells(), grid.getYNumCells());
                    properties.put(Resample.GRID_DIMENSIONS, dimension);
                }
            }
        }
        /*
 
View Full Code Here

Examples of railo.runtime.img.filter.WarpGrid

import railo.runtime.op.Caster;

public class ImageFilterWarpGrid {
 
  public static Object call(PageContext pc, double rows, double cols, double width, double height) {
    return new WarpGrid(Caster.toIntValue(rows), Caster.toIntValue(cols), Caster.toIntValue(width), Caster.toIntValue(height));
  }
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.