<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD><TITLE></TITLE>
<STYLE>
body, table, tr, td, p {font-family: Verdana;font-size:12px;margin: 0px 0px 0px 0px}
.bgtabl {BACKGROUND-REPEAT: no-repeat}
</STYLE>
</HEAD>
<BODY bgProperties="fixed" bgcolor="#FFFFFF" background="http://flashimg.club-internet.fr/flashmail/Skins/Vacance2/vide.gif">
<br>
Hi users,<br>
<br>
Few times ago, I tried to register two volumes coming from PET, CT scan and MRI.<br>
Thanks to your helpful advices, I managed!.<br>
I use the MultiResMIRegistration application from insightApplications.
I'd like to modify this application to control the evolution of the
algorithm. So I add an observer on IterationEvent. That works.<br>
I'd want to display parameters at each iteration (or each 100
iterations, that isn't the problem) but I don't manage to get the
parameters.<br>
At the end of the application, final parameters are displayed. So, I tried to "copy" and use that line:<br>
<i>std::cout << "trans:" << registrator->GetTransformParameters() << std::endl;<br>
<br>
</i>At compilation time,<i> </i>I got an error, the compiler doesn't
know the GetTransformParameters Method. I tried with GetTransform but
it displays "00000000"!<br>
<br>
Where can I get the parameters, from the optimizer or from the registrator?<br>
Which method permits to do this?<br>
<br>
Thanks for your help.<br>
<br>
Laurent.<br>
<br>
</body></html>