Hi Marion,

as far as I know it is possible to invoke the StopOptimization() method from 
the observer class. Unfortunately, up to now this is not yet implemented within 
mitkRigidRegistrationObserver. You can add a function to set a flag to stop the 
optimizer and call the StopOptimization() method in
void mitk::RigidRegistrationObserver::Execute(itk::Object *caller, const 
itk::EventObject & event)

If you successfully modify our classes, we would be very happy if you could 
send us a patch, so that we can add these functions to MITK.

The AbortGenerateDataOn() problem seems to belong to ITK, so maybe you can also 
ask on the ITK users list.

I hope this information will help you!

Best regards,
Daniel

---

Dipl.-Inform. Med. Daniel Stein
German Cancer Research Center
Div. Medical and Biological Informatics
Im Neuenheimer Feld 280
D-69120 Heidelberg, Germany
Phone:  (+49) 6221/42-3547
Fax:    (+49) 6221/42-2345
http://www.dkfz-heidelberg.de/de/mbi/
Homepage: http://www.dkfz-heidelberg.de/de/mbi/people/Daniel_Stein.html

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Marion Jähne
Gesendet: Freitag, 18. Juli 2008 09:02
An: [email protected]
Betreff: [mitk-users] Abort ImageRegistrationMethod execution

Hi all,

is there any opportunity to stop the mitk::ImageRegistrationMethod after 
the Update() function is called? I have tried the AbortGenerateDataOn() 
but the process seems to ignore this flag as it continues calculating.
I have also tried to access the itk::optimizer to call the 
StopOptimization() method but i found no way to access it. Is there an 
opportunity to access the itk::optimizer? Or is there any other way to 
stop the ImageRegistrationMethod?

Thank you very much for your help.
Best regards,
Marion

-- 
__________________________________________________________

Dipl.-Math. Marion Jähne

Technische Universität Darmstadt
Graphisch – Interaktive Systeme
Rundeturmstr. 10, 64283 Darmstadt, Germany


phone   +49 (0)6151 155-677
fax     +49 (0)6151 155-136
email   [EMAIL PROTECTED]
__________________________________________________________


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to