]> Creatis software - clitk.git/blob - common/clitkIO.cxx
Added Varian OBI file format
[clitk.git] / common / clitkIO.cxx
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to:
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
18 /**
19    -------------------------------------------------
20    * @file   clitkHisImageIO.cxx
21    * @author Simon Rit <simon.rit@gmail.com>
22    * @date   16 Feb 2010
23    *
24    * @brief
25    *
26    *
27    -------------------------------------------------*/
28
29 // std include
30 #include <iostream>
31 #include <fstream>
32
33 // itk include
34 #include "itkExceptionObject.h"
35
36 // clitk include
37 #include "clitkIO.h"
38 #include "clitkImageCommon.h"
39 #include "clitkVoxImageIOFactory.h"
40 #include "clitkHisImageIOFactory.h"
41 #include "clitkVfImageIOFactory.h"
42 #include "clitkXdrImageIOFactory.h"
43 #include "clitkHndImageIOFactory.h"
44
45 //--------------------------------------------------------------------
46 // Register factories
47 void clitk::RegisterClitkFactories()
48 {
49   itk::ImageIOFactory::RegisterBuiltInFactories();
50   clitk::VoxImageIOFactory::RegisterOneFactory();
51   clitk::VfImageIOFactory::RegisterOneFactory();
52   clitk::HisImageIOFactory::RegisterOneFactory();
53   clitk::XdrImageIOFactory::RegisterOneFactory();
54   clitk::HndImageIOFactory::RegisterOneFactory();
55 } ////
56