docs: public static <T extends ImageGray<T>> T checkReshape(T target , ImageGray testImage , Class<T> targetType )
  	{
  		if( target == null ) {
  			return GeneralizedImageOps.createSingleBand(targetType, testImage.width, testImage.height);
  		} else if( target.width != testImage.width || target.height != testImage.height ) {
  			target.reshape(testImage.width,testImage.height);
  		}
  		return  target;
  	}