X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolMedianFilter.cxx;h=70bbb7792ef14896b6800ed17bc94e84632eb944;hb=133a3b14fe0d225aff4ea4edd53d61e7f3d063c2;hp=22c122f579920152527a567a677dda77d62785d1;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/vv/vvToolMedianFilter.cxx b/vv/vvToolMedianFilter.cxx index 22c122f..70bbb77 100644 --- a/vv/vvToolMedianFilter.cxx +++ b/vv/vvToolMedianFilter.cxx @@ -1,14 +1,31 @@ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + + Authors belong to: + - University of LYON http://www.universite-lyon.fr/ + - Léon Bérard cancer center http://www.centreleonberard.fr + - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - BSD See included LICENSE.txt file + - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +===========================================================================*/ /*========================================================================= Program: vv Module: $RCSfile: vvToolMedianFilter.cxx,v $ Language: C++ - Date: $Date: 2010/05/18 16:20:57 $ - Version: $Revision: 1.4 $ + Date: $Date: 2010/10/22 07:38:05 $ + Version: $Revision: 1.5 $ Author : Bharath Navalpakkam (Bharath.Navalpakkam@creatis.insa-lyon.fr) Copyright (C) 2010 - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + Léon Bérard cancer center http://www.centreleonberard.fr CREATIS http://www.creatis.insa-lyon.fr This program is free software: you can redistribute it and/or modify @@ -29,8 +46,7 @@ #include "vvSlicerManager.h" #include "vvSlicer.h" #include "vvToolInputSelectorWidget.h" -#include - +#include "clitkMedianImageGenericFilter.h" //------------------------------------------------------------------------------ // Create the tool and automagically @@ -43,17 +59,11 @@ vvToolMedianFilter::vvToolMedianFilter(vvMainWindowBase * parent, Qt::WindowFlag vvToolBase(parent), Ui::vvToolMedianFilter() { - // Setup the UI - Ui_vvToolMedianFilter::setupUi(mToolWidget); - mFilter = new clitk::MedianImageGenericFilter; - - // Main filter - // Set how many inputs are needed for this tool AddInputSelector("Select one image", mFilter); }