Brain-view is designed to visualize bits of geometry - such as meshes representing the cortical surface - along with associated information, such as cortical thickness at every vertex, statistical maps, etc. It is based on Coin (Inventor), Qt, and the various MINC file formats.
Obtaining the code
Brain-view is hosted at launchpad: https://launchpad.net/brain-view Go to the downloads section of that website to get the latest release, or, to stay most up to date, get the source code directly from Bazaar (the version control system):
To build brain-view you will need:
- Qt version 4.x (development was done against 4.4, but seems to work on 4.3 as well).
- Coin 2.5. (http://coin3d.org - Coin 3.0 has recently been released, and might also work with brain-view, but this has not been tested yet).
- Quarter (http://coin3d.org/coin3d_news/quarter-1-0-0-preview-release)
- MINC version 2.x, bicpl, and oobicpl (http://packages.bic.mni.mcgill.ca/tgz/)
brain-view is built using Qt's qmake. The basic steps are the following:
On Linux you will then have a binary called brain-view2 which can be copied where other such binaries live. On OS X you then have an application bundle that can be moved to the Applications folder.
Note that on many Linux distributions both qt3 and qt4 will be present. In that case make sure you are using the qmake associated with qt4 - on Ubuntu, for example, this can be done by using 'qmake-qt4' in place of the plain 'qmake'.
Start brain-view by double clicking on the brain-view2 icon or entering it on the command line. If started from the command line, it can take an arbitrary number of filenames corresponding to obj files (polyhedra only at the moment), files associated with the obj files (.txt or .vertstats files), and tag files. The order of the filenames matter, since .txt/.vertstats files have to follow the geometry file with which they are associated. Files can also be opened through the file menu once the application has started.