docs: public static <T extends GrayI16<T>>T convertFrom(BufferedImage src, T dst , Class<T> type ) {
  		if (dst != null) {
  			dst.reshape(src.getWidth(), src.getHeight());
  		} else {
  			dst = GeneralizedImageOps.createSingleBand(type, src.getWidth(), src.getHeight());
  		}
  
  		DataBuffer buffer = src.getRaster().getDataBuffer();
  		if (buffer.getDataType() == DataBuffer.TYPE_USHORT ) {
  			ConvertRaster.bufferedToGray((DataBufferUShort)buffer, src.getRaster(), dst);
  			return dst;
  		}
  
  		ConvertRaster.bufferedToGray(src, dst);
  
  		return dst;
  	}