我是虚拟机新手。我想将文件从主机(Mac)复制到流浪虚拟机。我无法共享文件夹,所以我想使用命令行。如何使用命令行将文件从主机复制到流浪虚拟机?
在我的docker文件中,我想安装med2image python软件包(https://github.com/FNNDSC/med2image)。我使用以下代码:
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y --no-install-recommends \
python3.5 \
python3-pip \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install nibabel pydicom matplotlib pillow
RUN pip install med2image
Run Code Online (Sandbox Code Playgroud)
但是当我要生成图像时出现以下错误:
Downloading https://files.pythonhosted.org/packages/6f/e5/948b023c7feb72adf7dfb26d90a13c838737bbf52be704f5ddd0878e3264/med2image-1.1.2.tar.gz
Complete output from command python setup.py egg_info:
Sorry, only Python 3.5+ is supported.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-FnNb_S/med2image/
The command '/bin/sh -c pip install med2image' returned a non-zero code: 1
Run Code Online (Sandbox Code Playgroud)
我该怎么办?!
我有两张非常相似的图像,但其中一张有点模糊。在图像处理中,是否有任何参数或方法可以检测模糊图像并将其与其他图像分开?