NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Functions
MIDASOrientationTest.cxx File Reference
Include dependency graph for MIDASOrientationTest.cxx:

Functions

int MIDASOrientationTest (int argc, char *argv[])
 Tests ITK Loading DRC Analyze files ok. More...
 

Function Documentation

int MIDASOrientationTest ( int  argc,
char *  argv[] 
)

Tests ITK Loading DRC Analyze files ok.

Note: Only passes when NIFTK_DRC_ANALYZE env var is ON.

As of 4121, NifTK file readers were moved out of the MITK/Modules area, and into niftkITK library. Then, there are two mechanisms to load them. In MITK there is a Service Registry based approach: see niftkCore/IO, mitkNifTKCoreObjectFactory and unit tests for that module. In "plain ITK", there is the FileReader approach, which works via ITK's Object Factories: see niftkITK/IO/itkNifTKImageIOFactory.

These must be kept in synch.