code: public static void fillBand(InterleavedF64 input, int band , double value) {
  
  		final int numBands = input.numBands;
  		for (int y = 0; y < input.height; y++) {
  			int index = input.getStartIndex() + y * input.getStride() + band;
  			int end = index + input.width*numBands - band;
  			for (; index < end; index += numBands ) {
  				input.data[index] = value;
  			}
  		}
  	}
docs: Fills one band in the image with the specified value
  
  @param input An image.
  @param band Which band is to be filled with the specified value
  @param value The value that the image is being filled with.