[Insight-users] Accessing lower layers of the Image Registration method?

motes motes mort.motes at gmail.com
Thu Jul 9 12:19:39 EDT 2009


I know I might have asked this before, but I have tried to be more precise
in this post.

Is it possible to write a function that gets executed in each iteration
AFTER the call to:

    int start(){
        try
        {
            registration->Update();
        }
        catch( itk::ExceptionObject & err )
        {
            std::cerr << "ExceptionObject caught !" << std::endl;
            std::cerr << err << std::endl;
            return -1;
        }
    }

I would like this function to maybe modify the values of the cost function
and maybe add more control points to the B-spline grid when doing Deformable
transformations.

But is it even possible to do this after the call to update()? The only
thing that I found that gives some feedback in each iteration is the
different observers. How "closed for modification" is the ITK image
registration module after the call to registration.update() with regard to
the above details?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090709/5e2a083d/attachment.htm>


More information about the Insight-users mailing list