Mass spectrometry imaging applications for interactive analysis in MITK (M²aia)
View the Project on GitHub m2aia/m2aia
Docker (MITK extension) m2aia/mitk-docker
Report an issue here Author: j.cordes@hs-mannheim.de
THIS PAGE IS WORK IN PROGRESS
Supported platforms: see https://docs.mitk.org/nightly/SupportedPlatformsPage.html
Requirements:
Create a new folder for M2aia
On Windows: due to path length restrictions, this should be at the top of your folder hierarchy, e.g.
C:\M2aiaWorkDir
.
Open a terminal
(on Windows: preferably the git bash
) and follow the instructions.
cd C:\M2aiaWorkDir
mkdir -p build
git clone https://github.com/m2aia/mitk
git clone https://github.com/m2aia/m2aia
Make sure that the m2aia-main branch is selected in the m2aia/mitk repository.
cd mitk
git status
Open the CMake-GUI
Click on "Configure"
On Windows:
Specify the generator
(depending on which you have installed, e.g. “Visual Studio 16 2019”).click "Finish"
An error may occur that Qt5 has not been found: In this case, you have to set Qt5_DIR
in CMake (type Qt5
in the search bar of CMake). Set it to the directory of your Qt installation that contains the file Qt5Config.cmake
, e.g., on Windows: C:/Qt/5.12.x/msvc2017_64/lib/cmake/Qt5
(WARNING: Make sure that you use / as path separator ALSO ON WINDOWS!)
Additional changes to the CMake configuration (use the search bar of CMake to find the options):
Click on "Configure"
Click on "Generate"
Click on "Open Project"
On Windows, this will open Visual Studio:
Build the ALL_BUILD target
(this will take some time)
In rare occasions (depending on the internet load) the downloads of additional packages (e.g. VTK) may fail. In this case, you can try to build the targets of the failed packages by right-clicking and selecting Build
in the solution explorer. On success, build the ALL_BUILD target again (build, not rebuild, of course).Open CMake again
Click on "Generate"
Click on "Open Project"
On Windows: In the Visual Studio Solution Explorer
(usually the right pane), select m2aia/Applications/M2aiaWorkbench. Right-click on M2aiaWorkbench and choose Set as Startup Projekt
from the popup menu. Now you can run M²aia.
To configure the M2aia registration plugin:
M²aia is based on MITK.