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 clitkMedianImageGenericFilter.txx
15 * @author Bharath Navalpakkam <Bharath.Navalpakkam@creatis.insa-lyon.fr>
18 * @brief Apply Median Filter to an Image
20 ===================================================*/
23 #include "clitkMedianImageFilter_ggo.h"
24 #include "clitkMedianImageGenericFilter.h"
26 //--------------------------------------------------------------------
27 int main(int argc, char * argv[])
31 GGO(clitkMedianImageFilter, args_info);
35 clitk::MedianImageGenericFilter<args_info_clitkMedianImageFilter>::Pointer filter =
36 clitk::MedianImageGenericFilter<args_info_clitkMedianImageFilter>::New();
39 filter->SetOutputFilename(args_info.output_arg);
41 filter->SetArgsInfo(args_info);
48 //--------------------------------------------------------------------