Dear Matthias,
Thank you very much for contributing the patch. I have applied the patch and
your changes are included in the SVN revision 15777.
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
Von: Matthias Keil [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 20. November 2008 12:42
An: [email protected]
Betreff: [mitk-users] Bugfix Patch for QmitkRigidRegistration Functionality
Manual Interactive Translations
Dear MITK developers,
I had a problem using the interactive manual translation of the
RigidRegistration functionality. In my case I tried to manually align two
datasets (one CT and one ultrasound dataset). To initially align the two
datasets I had to position the (much smaller) ultrasound volume at a certain
location in space which is different from 0,0,0 in x,y and z direction. This
was done by modifying the header file of the dataset.
When I tried to use the manual sliders to correct my initial alignment a bit,
an error occurred. The ultrasound volume was pushed back to 0,0,0 and then
translated just by the amount given by the slider positions. Looking at the
code I found out that it is not correct to subtract the old volume position
from the translation vector given by the sliders. This approach only works for
volumes at 0,0,0.
Please have a look at my patch, where I store the old slider values and
translate the volume by the difference between these stored values and the
current slider values.
Best wishes,
Matthias
--
| Dipl.-Ing. Matthias Keil
|
| Fraunhofer Institute for Computer Graphics (IGD)
| Cognitive Computing & Medical Imaging
| Fraunhoferstraße 5, 64283 Darmstadt, Germany
|
| phone : +49.6151.155.212
| fax : +49.6151.155.480
| e-mail : [EMAIL PROTECTED]
| skype : matthias.keil.office
| web : http://www.igd.fraunhofer.de/~makeil
-------------------------------------------------------------------------
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