public static void fill(InterleavedI16 input, int value) {

		for (int y = 0; y < input.height; y++) {
			int index = input.getStartIndex() + y * input.getStride();
			int end = index + input.width*input.numBands;
			Arrays.fill(input.data,index,end, (short)value);
		}
	}
public static void fill ( InterleavedI16 input , int value ) { for ( int y = 0 ; y < input . height ; y ++ ) { int index = input . getStartIndex ( ) + y * input . getStride ( ) ; int end = index + input . width * input . numBands ; Arrays . fill ( input . data , index , end , ( short ) value ) ; } }
Fills the whole image with the specified value

@param input An image.
@param value The value that the image is being filled with.