[Insight-users] TransformFileReader

Zehor.Ouksili at enseeiht.fr Zehor.Ouksili at enseeiht.fr
Thu Oct 26 08:43:32 EDT 2006


Hi all,
I can write a file (Transform.meta) which contains the parameters of
transformation acquired in a registration.
When I want to read this file by TransformFileReader, program stops.
For reading I use:
*******************************************

itk::TransformFileReader::Pointer reader;
  reader = itk::TransformFileReader::New();

reader->SetFileName( "Transforms.meta" );
try
    {
    reader->Update();

    }
  catch( itk::ExceptionObject & excp )
    {
    std::cerr << "Error" << std::endl;
    return EXIT_FAILURE;
    }
******************************************
it shows: "Error"

could anybody help?
Thank you.
zh




More information about the Insight-users mailing list