FSLeyes, the FSL image viewer
FSLeyes is a wxPython application. If you are on Linux, you will need to install wxPython first - head to https://extras.wxpython.org/wxPython4/extras/linux/ and find the directory that matches your OS. Then run this command (change the URL accordingly):
pip install --only-binary wxpython -f https://extras.wxpython.org/wxPython4/extras/linux/gtk2/ubuntu-16.04/ wxpython
Once wxPython has been installed, you can install FSLeyes like so:
pip install fsleyes
To install FSLeyes with all of the optional dependencies (for additional functionality):
pip install fsleyes[extras]
All of the core dependencies of FSLeyes are listed in requirements.txt.
Dependencies for running tests and building the documentation are listed in requirements-dev.txt.
Being an OpenGL application, FSLeyes can only be used on computers with graphics hardware (or a software GL renderer) that supports one of the following versions:
- OpenGL 1.4, with the following extensions:
- OpenGL 2.1, with the following extensions:
FSLeyes also requires the presence of GLUT, or FreeGLUT.
The FSLeyes user and API documentation is written in ReStructuredText, and can be built using sphinx:
pip install -r requirements-dev.txt python setup.py userdoc python setup.py apidoc
The documentation will be generated and saved in userdoc/html/ and apidoc/html/.
Some of the FSLeyes icons are derived from the Freeline icon set, by Enes Dal, available at https://www.iconfinder.com/Enesdal, and released under the Creative Commons (Attribution 3.0 Unported) license.
The volumetric spline interpolation routine uses code from:
Daniel Ruijters and Philippe Thévenaz, GPU Prefilter for Accurate Cubic B-Spline Interpolation, The Computer Journal, vol. 55, no. 1, pp. 15-20, January 2012. http://dannyruijters.nl/docs/cudaPrefilter3.pdf
The GLSL parser is based on code by Nicolas P . Rougier, available at https://github.com/rougier/glsl-parser, and released under the BSD license.
DICOM to NIFTI conversion is performed with Chris Rorden’s dcm2niix (https://github.com/rordenlab/dcm2niix).
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|fsleyes-0.27.0-py2.py3-none-any.whl (61.8 MB) Copy SHA256 hash SHA256||Wheel||py2.py3|
|fsleyes-0.27.0.tar.gz (51.8 MB) Copy SHA256 hash SHA256||Source||None|