Package javax.media.jai

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


        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

TOP

Related Classes of javax.media.jai.WarpGrid

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.