javax.media.jai.BorderExtender Java Examples
The following examples show how to use
javax.media.jai.BorderExtender.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WarpOpImage.java From geowave with Apache License 2.0 | 6 votes |
public WarpOpImage( final RenderedImage source, final ImageLayout layout, final Map<?, ?> configuration, final boolean cobbleSources, final BorderExtender extender, final Interpolation interp, final Warp warp, final double[] backgroundValues, final ROI roi, final Range noData) { super( source, layout, configuration, cobbleSources, extender, interp, warp, backgroundValues, roi, noData); }
Example #2
Source File: ManipulationUtils.java From orbit-image-analysis with GNU General Public License v3.0 | 5 votes |
public static ImagePlus toImagePlus(PlanarImage source, Rectangle roi, BorderExtender border) { if (roi == null) roi = source.getBounds(); Raster r = source.getExtendedData(roi, border); int numBands = source.getNumBands(); BufferedImage bi = new BufferedImage(roi.width, roi.height, numBands == 1 ? BufferedImage.TYPE_BYTE_GRAY : BufferedImage.TYPE_INT_RGB); bi.setData(r); ImagePlus ip = new ImagePlus("IJManipulation", bi); return ip; }
Example #3
Source File: IJManipulation.java From orbit-image-analysis with GNU General Public License v3.0 | 5 votes |
public IJManipulation(PlanarImage source, Rectangle roi, BorderExtender border, PlugInFilter pluginFilter, String params) { this.source = source; this.roi = roi; this.border = border; this.pluginFilter = pluginFilter; this.params = params == null ? "" : params; }
Example #4
Source File: IJManipulation.java From orbit-image-analysis with GNU General Public License v3.0 | 5 votes |
public void setParameter(PlanarImage source, Rectangle roi, BorderExtender border, PlugInFilter pluginFilter, String params) { this.source = source; this.roi = roi; this.border = border; this.pluginFilter = pluginFilter; this.params = params == null ? "" : params; }