1 安装测试Lasagne
git clone https://github.com/Lasagne/Lasagne.git
cd Lasagne
pip install -r requirements.txt
pip install --editable .
http://blog.csdn.net/taneijia/article/details/46452905
2 linux安装python-opencv
http://stackoverflow.com/questions/40128751/how-to-install-opencv-2-4-13-for-python-2-7-on-ubuntu-16-04
3 源码安装cmake
http://blog.csdn.net/wanghantong/article/details/49046463
4 配置cuda环境变量(仅供参考)
http://www.jianshu.com/p/20f8d9233075
5 lasagne安装
http://lasagne.readthedocs.io/en/latest/user/installation.html#gpu-support
6 gdcm安装
main page
http://gdcm.sourceforge.net/wiki/index.php/Main_Page
download
https://sourceforge.net/projects/gdcm/files/gdcm%202.x/
安装index
http://gdcm.sourceforge.net/wiki/index.php/Compilation
使用
Using gdcm (Grassroots DICOM) to Decompress DICOM Image Data
http://stackoverflow.com/questions/27936473/using-gdcm-grassroots-dicom-to-decompress-dicom-image-data
可惜这个不好用,容易导致内存泄露
mudicom的使用
1 安装好gdcm
2 下载路径
https://pypi.python.org/pypi/mudicom
3 可以直接pip install mudicom的
4 这个也讲到pydicom不能处理那些未解压的数据的
DICOM in Python: Importing medical image data into NumPy with PyDICOM and VTK
https://pyscience.wordpress.com/2014/09/08/dicom-in-python-importing-medical-image-data-into-numpy-with-pydicom-and-vtk/