]> 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 8b0ecdf..5cb6da8 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 e4b590e..c5b4717 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 c64080e..4c30c4c 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