byte[][] newBytes = new byte[b.length][width * height]; for (int i=0; i<b.length; i++) { newBytes[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height); for (int i=0; i<b.length; i++) { newShorts[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height); int[][] newInts = new int[b.length][width * height]; for (int i=0; i<b.length; i++) { newInts[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height); for (int i=0; i<b.length; i++) { newFloats[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height); for (int i=0; i<b.length; i++) { newDoubles[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height);
byte[][] newBytes = new byte[b.length][width * height]; for (int i=0; i<b.length; i++) { newBytes[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height); for (int i=0; i<b.length; i++) { newShorts[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height); int[][] newInts = new int[b.length][width * height]; for (int i=0; i<b.length; i++) { newInts[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height); for (int i=0; i<b.length; i++) { newFloats[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height); for (int i=0; i<b.length; i++) { newDoubles[i] = ImageTools.padImage(b[i], false, 1, img.getWidth(), width, height);