1 /*------------------------------------------------------------------------
3 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
4 l'Image). All rights reserved. See Doc/License.txt or
5 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
7 This software is distributed WITHOUT ANY WARRANTY; without even
8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 PURPOSE. See the above copyright notices for more information.
11 ------------------------------------------------------------------------*/
13 /* =================================================
14 * @file clitkWriteDicomSeries.cxx
15 * @author Jef Vandemeulebroucke
18 * @brief Write a volume into a series with the header of another series
20 ===================================================*/
24 #include "clitkWriteDicomSeries_ggo.h"
26 #include "clitkWriteDicomSeriesGenericFilter.h"
29 //--------------------------------------------------------------------
30 int main(int argc, char * argv[]) {
33 GGO(clitkWriteDicomSeries, args_info);
37 typedef clitk::WriteDicomSeriesGenericFilter<args_info_clitkWriteDicomSeries> FilterType;
38 FilterType::Pointer genericFilter = FilterType::New();
40 genericFilter->SetArgsInfo(args_info);
41 genericFilter->Update();
46 //--------------------------------------------------------------------