X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=tools%2FclitkCoeffsToDVF.cxx;h=f92d03a0b7e517428231cdca9a438c594df0a4d5;hb=9eff8367f6f7d0095eaa424e6dfd15c07dcc7b64;hp=266f8aee817310f3b7f7adc43991ab5aaf891992;hpb=9a4dda175415c133b547eec505cd0497d3181f8d;p=clitk.git diff --git a/tools/clitkCoeffsToDVF.cxx b/tools/clitkCoeffsToDVF.cxx index 266f8ae..f92d03a 100644 --- a/tools/clitkCoeffsToDVF.cxx +++ b/tools/clitkCoeffsToDVF.cxx @@ -21,7 +21,7 @@ int main(int argc, char** argv) GGO(clitkCoeffsToDVF, args_info); CLITK_INIT; - typename itk::ImageIOBase::Pointer image_io = itk::ImageIOFactory::CreateImageIO(args_info.input_arg, itk::ImageIOFactory::ReadMode); + itk::ImageIOBase::Pointer image_io = itk::ImageIOFactory::CreateImageIO(args_info.input_arg, itk::ImageIOFactory::ReadMode); image_io->SetFileName(args_info.input_arg); image_io->ReadImageInformation(); @@ -32,7 +32,7 @@ int main(int argc, char** argv) unsigned const dim = 2; typedef itk::Vector PixelType; typedef itk::Image DVFType; - typename DVFType::Pointer dvf = clitk::BLUTCoeffsToDVF(args_info.input_arg, args_info.like_arg); + DVFType::Pointer dvf = clitk::BLUTCoeffsToDVF(args_info.input_arg, args_info.like_arg); Write(dvf, args_info.output_arg); } break; @@ -42,7 +42,7 @@ int main(int argc, char** argv) unsigned const dim = 3; typedef itk::Vector PixelType; typedef itk::Image DVFType; - typename DVFType::Pointer dvf = clitk::BLUTCoeffsToDVF(args_info.input_arg, args_info.like_arg); + DVFType::Pointer dvf = clitk::BLUTCoeffsToDVF(args_info.input_arg, args_info.like_arg); Write(dvf, args_info.output_arg); } break;