Skip to main content

FSLeyes, the FSL image viewer

Project description

FSLeyes is the FSL image viewer.


FSLeyes is a GUI application written in Python, and built on wxPython. FSLeyes requires OpenGL for visualisation.

In the majority of cases, you should be able to follow the installation instructions outlined at the FSLeyes home page:


All of the core dependencies of FSLeyes are listed in requirements.txt.

Some extra dependencies, which provide additional functionality, are listed in requirements-extra.txt and requirements-notebook.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 3.3
  • OpenGL 2.1, with the following extensions:
    • EXT_framebuffer_object
    • ARB_instanced_arrays
    • ARB_draw_instanced
  • OpenGL 1.4, with the following extensions:
    • ARB_vertex_program
    • ARB_fragment_program
    • EXT_framebuffer_object
    • GL_ARB_texture_non_power_of_two


The FSLeyes user and API documentation are hosted at:

The FSLeyes user and API documentation is written in ReStructuredText, and can be built using sphinx:

pip install -r requirements-dev.txt
python userdoc
python 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, 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.

The GLSL parser is based on code by Nicolas P . Rougier, available at, and released under the BSD license.

DICOM to NIFTI conversion is performed with Chris Rorden’s dcm2niix (

The brain_colours colour maps were produced and provided by Cyril Pernet (

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fsleyes-1.4.5.tar.gz (39.2 MB view hashes)

Uploaded source

Built Distribution

fsleyes-1.4.5-py2.py3-none-any.whl (40.5 MB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page