@Test public void dataWindowNumber_FloatImage() { image = ImageUtils.createConstantImage(WIDTH, HEIGHT, Float.valueOf(0f)); Dimension winDim = new Dimension(3, 3); Point key = new Point(1, 1); WindowIterator iter = new WindowIterator(image, null, winDim, key, OUTSIDE); Number[][] window = iter.getWindow(null); assertTrue(window[0][0] instanceof Float); assertTrue(window[key.y][key.x] instanceof Float); }
public Number[][] getWindow(Number[][] dest) { return getWindow(dest, 0); }
WindowIterator { public Number[][] getWindow(Number[][] dest) { return getWindow(dest, 0); } }
WindowIterator { public Number[][] getWindow(Number[][] dest) { return getWindow(dest, 0); } WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement, Number outsideValue);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement,
            int xstep, int ystep, Number outsideValue); }
WindowIterator { public Number[][] getWindow(Number[][] dest) { return getWindow(dest, 0); } WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement, Number outsideValue);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement,
            int xstep, int ystep, Number outsideValue); Point getPos(); boolean hasNext(); boolean next(); Number[][] getWindow(Number[][] dest); Number[][] getWindow(Number[][] dest, int band); int[][] getWindowInt(int[][] dest); int[][] getWindowInt(int[][] dest, int band); float[][] getWindowFloat(float[][] dest); float[][] getWindowFloat(float[][] dest, int band); double[][] getWindowDouble(double[][] dest); double[][] getWindowDouble(double[][] dest, int band); }
WindowIterator { public Number[][] getWindow(Number[][] dest) { return getWindow(dest, 0); } WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement, Number outsideValue);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement,
            int xstep, int ystep, Number outsideValue); Point getPos(); boolean hasNext(); boolean next(); Number[][] getWindow(Number[][] dest); Number[][] getWindow(Number[][] dest, int band); int[][] getWindowInt(int[][] dest); int[][] getWindowInt(int[][] dest, int band); float[][] getWindowFloat(float[][] dest); float[][] getWindowFloat(float[][] dest, int band); double[][] getWindowDouble(double[][] dest); double[][] getWindowDouble(double[][] dest, int band);  }