code: public static void checkReshapeB(ImageMultiBand<?> imgA, ImageMultiBand<?> imgB) {
  		if( imgA == imgB )
  			throw new IllegalArgumentException("Image's can't be the same instance");
  		imgB.reshape(imgA.width,imgA.height,imgA.getNumBands());
  	}
docs: Throws exception if two images are the same instance. Otherwise reshapes B to match A