This project is an attempt to create a cross-platform medical image viewer specialized in drawing "regions of interests".
First off, the project aims to create a useful toolkit for displaying and interacting with medical images. Currently, only some NIFTII file types are implemented. Feel free to add (or request) support for other formats.
Secondly, the project aims to provide a useful graphical user interface.
Make sure you have the following libraries, development packages and build tools installed:
To build the documentation you need some more programs:
When you have resolved the dependencies listed above you can build the program by running:
autoreconf -i ./configure make
To compile with CLANG:
autoreconf -i ./configure CC=clang make
Additionally you can add compiler flags:
autoreconf -i ./configure CFLAGS="-Wall -O2 -march=native" make
Optionally you can generate developer documentation using Doxygen.
make docs-doxygen
The following compiler flags enable debug messages:
Typically you can enable debugging by running:
./configure CFLAGS="-DENABLE_DEBUG"
To use mtrace as alternative to valgrind, you should define ENABLE_MTRACE:
./configure CFLAGS="-g -DENABLE_MTRACE"
You need to set the MALLOC_TRACE environment variable to a file:
export MALLOC_TRACE=mtrace.out
Running mtrace after your program has finished returns a list of memory leaks:
mtrace clmedview mtrace.out
WARNING: The Windows build currently doesn't work.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.