[Insight-users] ImageRegistration1

Massi Massinissa.Bandou at USherbrooke.ca
Thu May 24 11:13:40 EDT 2012


Hi 
I tried to compile a registration between two images using
ImageRegistration1.cxx example. When it comes to set the fixed image, I
can't find any member or object *GetBufferedRegion()*
    .....
    .....
    typedef itk::ImageFileReader< FixedImageType  > FixedImageReaderType;
    typedef itk::ImageFileReader< MovingImageType > MovingImageReaderType;
    FixedImageReaderType::Pointer  fixedImageReader  =
FixedImageReaderType::New();
    MovingImageReaderType::Pointer movingImageReader =
MovingImageReaderType::New();
    
    fixedImageReader->SetFileName(FixedImage);
    movingImageReader->SetFileName(MovingImage);
  
    registration->SetFixedImage(fixedImageReader->GetOutput());
    registration->SetMovingImage(movingImageReader->GetOutput());
    
    fixedImageReader->Update();
   
registration->SetFixedImageRegion(fixedImageReader->GetOutput()->*GetBufferedRegion()*);

Why this problem?

Thank you

Massi

--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ImageRegistration1-tp7575198.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list