]> Creatis software - clitk.git/blob - vv/vvInit.cxx
a71125a1005a03f2008eef3e27f4f167e4b49e69
[clitk.git] / vv / vvInit.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 #include "nkitkXDRImageIO.h"
19 #include "nkitkXDRImageIOFactory.h"
20 #include "clitkVoxImageIO.h"
21 #include "clitkVoxImageIOFactory.h"
22 #include "clitkVfImageIO.h"
23 #include "clitkVfImageIOFactory.h"
24
25 #include "itkImage.h"
26 #include "itkImageFileReader.h"
27 #include "itkByteSwapper.h"
28
29
30 void initialize_IO()
31 {
32     itk::ImageIOFactory::RegisterBuiltInFactories();
33     clitk::VoxImageIOFactory::RegisterOneFactory();
34     clitk::VfImageIOFactory::RegisterOneFactory();
35     nkitk::XDRImageIOFactory::RegisterOneFactory();
36 }