]> Creatis software - clitk.git/commitdiff
changes in CoeffsToDVF interface
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Wed, 25 Jan 2012 14:47:22 +0000 (15:47 +0100)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Wed, 25 Jan 2012 14:47:22 +0000 (15:47 +0100)
- affected tools...

tools/clitkComposeVFGenericFilter.txx
tools/clitkInvertVFGenericFilter.txx
tools/clitkWarpImageGenericFilter.txx

index 8b0ecdf7ad5408c99eb5adbd4a8d0227da83e029..5cb6da8bdb956b63d9752bfaa624e23be41b24bd 100644 (file)
@@ -47,8 +47,8 @@ namespace clitk
 
     //Define the image type
     if (m_Type == 1) {
-      input1 = CoeffsToDVF<ImageType>(m_InputName1, m_LikeImage, m_Verbose);
-      input2 = CoeffsToDVF<ImageType>(m_InputName2, m_LikeImage, m_Verbose);
+      input1 = BLUTCoeffsToDVF<ImageType>(m_InputName1, m_LikeImage, m_Verbose);
+      input2 = BLUTCoeffsToDVF<ImageType>(m_InputName2, m_LikeImage, m_Verbose);
     }
     else {
       //Read the input1
index e4b590e060b757c4d298dbabe7d0e33a88e7ec10..c5b47179a3dd266814a866c87b4631eaddf2cb73 100644 (file)
@@ -177,7 +177,7 @@ InvertVFGenericFilter<args_info_type>::UpdateWithDimAndPixelType()
     typedef clitk::InvertVFFilter<InputImageType,OutputImageType> FilterType;
     typename FilterType::Pointer filter =FilterType::New();
     if (m_ArgsInfo.like_given) {
-      filter->SetInput(CoeffsToDVF<OutputImageType>(m_InputFileName, m_ArgsInfo.like_arg));
+      filter->SetInput(BLUTCoeffsToDVF<OutputImageType>(m_InputFileName, m_ArgsInfo.like_arg));
     }
 
     filter->SetVerbose(m_Verbose);
index c64080e2fb23a2748505e7962ffaf02afce1e8a1..4c30c4c6b44e0632a5cf804be43d9a8e7fa778a9 100644 (file)
@@ -90,7 +90,7 @@ WarpImageGenericFilter::UpdateWithDimAndPixelType()
   
   typename DeformationFieldType::Pointer deformationField;
   if (m_ArgsInfo.coeff_given) {
-    deformationField = CoeffsToDVF<DeformationFieldType>(m_ArgsInfo.coeff_arg, m_InputFileName, m_Verbose);
+    deformationField = BLUTCoeffsToDVF<DeformationFieldType>(m_ArgsInfo.coeff_arg, m_InputFileName, m_Verbose);
   }
   else {
     //Read the deformation field