]> Creatis software - clitk.git/blobdiff - tools/clitkWarpImageGenericFilter.txx
- add CeCILL B licence
[clitk.git] / tools / clitkWarpImageGenericFilter.txx
index 6b33824a9f209c1b94c3b2e43ec9657d7bd6d200..3d73221de9ad4e72193e0a02853ce36ce93531f1 100644 (file)
@@ -1,3 +1,20 @@
+/*=========================================================================
+  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://oncora1.lyon.fnclcc.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
+======================================================================-====*/
 #ifndef clitkWarpImageGenericFilter_txx
 #define clitkWarpImageGenericFilter_txx
 
@@ -78,7 +95,7 @@ namespace clitk
     typename DeformationFieldType::Pointer deformationField =deformationFieldReader->GetOutput();
 
     // Intensity interpolator
-    typedef clitk::GenericVectorInterpolator<gengetopt_args_info_clitkWarpImage, DeformationFieldType, double> GenericInterpolatorType;
+    typedef clitk::GenericVectorInterpolator<args_info_clitkWarpImage, DeformationFieldType, double> GenericInterpolatorType;
     typename GenericInterpolatorType::Pointer genericInterpolator=GenericInterpolatorType::New();
     genericInterpolator->SetArgsInfo(m_ArgsInfo);
     
@@ -94,7 +111,7 @@ namespace clitk
          newSize[i]=(unsigned int) (input->GetLargestPossibleRegion().GetSize()[i]*input->GetSpacing()[i]/deformationField->GetSpacing()[i]);
        
        // Get the interpolator
-       typedef clitk::GenericVectorInterpolator<gengetopt_args_info_clitkWarpImage, DeformationFieldType, double> GenericInterpolatorType;
+       typedef clitk::GenericVectorInterpolator<args_info_clitkWarpImage, DeformationFieldType, double> GenericInterpolatorType;
        typename GenericInterpolatorType::Pointer genericInterpolator=GenericInterpolatorType::New();
        genericInterpolator->SetArgsInfo(m_ArgsInfo);
        
@@ -174,7 +191,7 @@ namespace clitk
     else
       {
        // Get the interpolator
-       typedef clitk::GenericInterpolator<gengetopt_args_info_clitkWarpImage, InputImageType, double> GenericInterpolatorType;
+       typedef clitk::GenericInterpolator<args_info_clitkWarpImage, InputImageType, double> GenericInterpolatorType;
        typename GenericInterpolatorType::Pointer genericInterpolator=GenericInterpolatorType::New();
        genericInterpolator->SetArgsInfo(m_ArgsInfo);