[Insight-users] Observer for Demons registration

Radhika Sivaramakrishna radhika.sivaramakrishna at synarc.com
Fri, 30 Jan 2004 12:45:12 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3E771.F4EC0E9C
Content-Type: text/plain

Hi Luis,

I used the example in itkDemonsRegistrationFilterTest.cxx and put in the
class ShowProgressObject as well as setting the Command/Observer to my
registration filter. The function GetProgress shows the progress of the
registration. Is there any other function to show the actual metric value or
something equivalent so that there is some way to halt the process if things
are not moving along fine? What does GetOutputs() do?

Radhika





-----Original Message-----
From: Luis Ibanez [mailto:luis.ibanez at kitware.com] 
Sent: Wednesday, January 28, 2004 10:35 AM
To: Radhika Sivaramakrishna
Cc: ITK
Subject: Re: [Insight-users] Observer for Demons registration


Hi Radhika,


Yes,
The DemonsRegistrationFilter invoke progress
events as any well-behaved ITK filter.

Simply connect a Command/Observer to the filter
and set it to observe: ProgressEvents.


For an example on how to do this, you may want
to look at the code in

  Insight/Testing/Code/Algorithms/
      itkDemonsRegistrationFilterTest.cxx


Where is this neatly done.


Regards,


    Luis


--------------------------------
Radhika Sivaramakrishna wrote:
> Hi Luis,
> 
>  
> 
> Is there a way to track the progress of Demons registration filter to 
> see what it does at each iteration?
> 
>  
> 
> Radhika
> 
>  
> 
> -----------------------------------------------------
> 
> Confidentiality Notice.
> 
> This email message is for the sole use of the intended recipient(s) and 
> may contain confidential and privileged information. Any unauthorized 
> review, use, disclosure or distribution is prohibited. If you are not 
> the intended recipient, please contact the sender by reply email and 
> destroy all copies of the original message. If you are the intended 
> recipient, please be advised that the content of this message is subject 
> to access, review and disclosure by the sender's Email System
Administrator.
> 


                                                     
-----------------------------------------------------  
Confidentiality Notice. 
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. If you are the intended recipient, please be
advised that the content of this message is subject to access, review and
disclosure by the sender's Email System Administrator.

------_=_NextPart_001_01C3E771.F4EC0E9C
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.87">
<TITLE>RE: [Insight-users] Observer for Demons registration</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi Luis,</FONT>
</P>

<P><FONT SIZE=3D2>I used the example in =
itkDemonsRegistrationFilterTest.cxx and put in the class =
ShowProgressObject as well as setting the Command/Observer to my =
registration filter. The function GetProgress shows the progress of the =
registration. Is there any other function to show the actual metric =
value or</FONT></P>

<P><FONT SIZE=3D2>something equivalent so that there is some way to =
halt the process if things are not moving along fine? What does =
GetOutputs() do?</FONT></P>

<P><FONT SIZE=3D2>Radhika</FONT>
</P>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Luis Ibanez [<A =
HREF=3D"mailto:luis.ibanez at kitware.com">mailto:luis.ibanez at kitware.com</=
A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, January 28, 2004 10:35 AM</FONT>
<BR><FONT SIZE=3D2>To: Radhika Sivaramakrishna</FONT>
<BR><FONT SIZE=3D2>Cc: ITK</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Insight-users] Observer for Demons =
registration</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi Radhika,</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Yes,</FONT>
<BR><FONT SIZE=3D2>The DemonsRegistrationFilter invoke progress</FONT>
<BR><FONT SIZE=3D2>events as any well-behaved ITK filter.</FONT>
</P>

<P><FONT SIZE=3D2>Simply connect a Command/Observer to the =
filter</FONT>
<BR><FONT SIZE=3D2>and set it to observe: ProgressEvents.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>For an example on how to do this, you may want</FONT>
<BR><FONT SIZE=3D2>to look at the code in</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; Insight/Testing/Code/Algorithms/</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
itkDemonsRegistrationFilterTest.cxx</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Where is this neatly done.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Regards,</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; Luis</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>--------------------------------</FONT>
<BR><FONT SIZE=3D2>Radhika Sivaramakrishna wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; Hi Luis,</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Is there a way to track the progress of Demons =
registration filter to </FONT>
<BR><FONT SIZE=3D2>&gt; see what it does at each iteration?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Radhika</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; =
-----------------------------------------------------</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Confidentiality Notice.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; This email message is for the sole use of the =
intended recipient(s) and </FONT>
<BR><FONT SIZE=3D2>&gt; may contain confidential and privileged =
information. Any unauthorized </FONT>
<BR><FONT SIZE=3D2>&gt; review, use, disclosure or distribution is =
prohibited. If you are not </FONT>
<BR><FONT SIZE=3D2>&gt; the intended recipient, please contact the =
sender by reply email and </FONT>
<BR><FONT SIZE=3D2>&gt; destroy all copies of the original message. If =
you are the intended </FONT>
<BR><FONT SIZE=3D2>&gt; recipient, please be advised that the content =
of this message is subject </FONT>
<BR><FONT SIZE=3D2>&gt; to access, review and disclosure by the =
sender's Email System Administrator.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>
<BR>

<P><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT =
SIZE=3D2>-----------------------------------------------------&nbsp; =
</FONT>
<BR><FONT SIZE=3D2>Confidentiality Notice. </FONT>
<BR><FONT SIZE=3D2>This email message is for the sole use of the =
intended recipient(s) and may contain confidential and privileged =
information. Any unauthorized review, use, disclosure or distribution =
is prohibited. If you are not the intended recipient, please contact =
the sender by reply email and destroy all copies of the original =
message. If you are the intended recipient, please be advised that the =
content of this message is subject to access, review and disclosure by =
the sender's Email System Administrator.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C3E771.F4EC0E9C--