MINC/SoftwareDevelopment/EZMINC/ITK Integration

Better MINC1/2 support for ITK
If you are not satisfied with MINC2 only interface provided by ITK, or need access to MINC file attributes, or want to read/write 4D data use ITK interface provided by EZMINC

Installing
Compile EZMINC with ITK support, see [EZMINC_Installing] If you are not using ITK plugin (currently plugin is not recommended) add following code to "mincify" your ITK program: {{TT block| //.... int main(int argc,char **argv) {  //registering the MINC_IO factory itk::ObjectFactoryBase::RegisterFactory(itk::MincImageIOFactory::New); //....
 * 1) include "itkMincImageIOFactory.h"
 * 2) include "itkMincImageIO.h"

}}

Example of working with DTI data
Code from itk_dti.cpp from examples:

Using minc XFM files
code from itk_resample.cpp
 * applying transformation


 * Storing affine transformation in .xfm file


 * Reading affine transformation from .xfm file


 * reading/writing .tag files