mincbeast works with MINC1 and MINC2 images. However, experimental
support for the NIfTI format has been added. This has not yet been
tested thoroughly.
mincbeast needs a library of priors to work (see below).
Compiling
mincbeast requires either MINC or NIfTI libraries. mincbeast has been
tested on Debian type Linux systems, such as Ubuntu.
To configure type:
ccmake CMakeLists.txt
and set the right paths. Then
make
make install
Troubleshooting:
NIFTI_ROOT should be set to /usr if you installed NIfTI libraries
using the package libnifti-dev
If the compiler cannot find hdf5.h you probably need to install
libhdf5-serial-dev
If you get the message: "Could not find module FindLIBMINC.cmake or
a configuration file for package LIBMINC.", you must point to the
directory containing either FindLIBMINC.cmake or
LIBMINCConfig.cmake. If you have installed MINC Tool Kit,
http://www.bic.mni.mcgill.ca/ServicesSoftware/ServicesSoftwareMincToolKit,
the directory is most likely /opt/minc/lib
Library
The library folder MUST contain these files:
library.masks.1mm
library.masks.2mm
library.masks.4mm
library.stx.1mm
library.stx.2mm
library.stx.4mm
mincbeast will try to access these six files.
The library.stx. files contain filenames of the normalized images at
different voxel sizes as evident from the filename (1mm, 2mm, 4mm). It
is important that the filenames are in the same order across the
library files. mincbeast uses the line number in the files to link
images at different resolutions, as well as linking the images to the
segmentations.
Similarly, the library.masks. files contain filenames of the "expert"
segmentations at different voxel sizes.
In addition, mincbeast will by default try to access two binary masks
named margin_mask.mnc and intersection_mask.mnc. These specify respectively
which voxels to process and which voxels are automatically included in the
output segmentation. These can be manually set using -mask and -positive
and disabled using -no_mask and -no_positive.
mincbeast assumes that all images are in the same space and have the
same origin. This is not checked at runtime and will lead to errors if
it is not fulfilled.
2mm and 4mm images can be generated from the 1mm images using simple
downsampling.
mincbeast uses a simple intensity based comparison metric. Thus, it is
very important that the intensities of the library images have been
normalized.
See README.library for how to install existing libraries.