1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
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.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================*/
18 /*------------------------------------------------------------------------
20 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
21 l'Image). All rights reserved. See Doc/License.txt or
22 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
24 This software is distributed WITHOUT ANY WARRANTY; without even
25 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
26 PURPOSE. See the above copyright notices for more information.
28 ------------------------------------------------------------------------*/
30 /* =================================================
31 * @file clitkMedianImageGenericFilter.txx
32 * @author Bharath Navalpakkam <Bharath.Navalpakkam@creatis.insa-lyon.fr>
35 * @brief Apply Median Filter to an Image
37 ===================================================*/
40 #include "clitkMedianImageFilter_ggo.h"
41 #include "clitkMedianImageGenericFilter.h"
43 //--------------------------------------------------------------------
44 int main(int argc, char * argv[])
48 GGO(clitkMedianImageFilter, args_info);
52 clitk::MedianImageGenericFilter<args_info_clitkMedianImageFilter>::Pointer filter =
53 clitk::MedianImageGenericFilter<args_info_clitkMedianImageFilter>::New();
56 filter->SetOutputFilename(args_info.output_arg);
58 filter->SetArgsInfo(args_info);
65 //--------------------------------------------------------------------