[Insight-users] Image registration - 2 different initializati ons

Radhika Sivaramakrishna radhika.sivaramakrishna at synarc.com
Thu, 15 Jan 2004 10:58:43 -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_01C3DB99.3AE67C6E
Content-Type: text/plain

Hi Luis,
Actually the images are 3D and are DICOM series. 
As a matter of fact, I do not get the same result.
I get different results.
I get the first output for center of rotation, when I run
the registration directly on the DICOM series, however
I get the second output for center of rotation when I run
The same algorithm on the Analyze images.
Hope this clarifies things.
Thanks
Radhika


-----Original Message-----
From: Luis Ibanez [mailto:luis.ibanez at kitware.com] 
Sent: Thursday, January 15, 2004 10:58 AM
To: Radhika Sivaramakrishna
Cc: 'insight-users at itk.org'
Subject: Re: [Insight-users] Image registration - 2 different
initializations


Hi Radhika,

I didn't understand your question.

According to your email, you are doing
registration between two 2D images.

When you read the images from DICOM format
you get one registration result.

and if you convert the DICOM to raw and
then to Analyze format...

    then you get the *same* result.


Why is this a bad thing ?



   Luis



------------------------------------

Radhika Sivaramakrishna wrote:

> Hi Luis,
> 
> I appear to be having a strange problem with image registration. 
> Basically I am using the same code which you finally sent me although I
have
> 
> combined the previous code you sent me to read a dicom series so as to 
> directly read a pair of test-retest DICOM series. Since the data are 
> unsigned short
> 
> there is already some problem I am having, I suspect w.r.t to Endianness 
> which I have not solved. But I am getting some other strange things which
> 
> I will try to describe below:
> 
>  
> 
> When I directly run the registration code on the 2 dicom series, then I
get
> 
>  
> 
> Transform center before Initializer 0  0  0
> 
>  Transform center after Initializer -2.34973  225.964  219.384
> 
> Intial Parameters =
> 
> [0, 0, 0, -0.0650073, 1.4008, -2.19123]
> 
>  Translationscale   = 1000
> 
>  
> 
> However, when I save the images as Raw format and then convert that to 
> an Analyze file using ImageJ and then load in the two images again, 
> using the straight version
> 
> of the code you sent me, here is what I get:
> 
>  
> 
> Transform center before Initializer 0  0  0
> 
>  Transform center after Initializer -2.34973  225.964  219.384
> 
> Intial Parameters =
> 
> [0, 0, 0, -0.0650073, 1.4008, -2.19123]
> 
>  Translationscale   = 1000
> 
>  
> 
> I cant figure out what is going on. It appears the data is being read 
> fine, because the raw files for fixed and moving image are as they 
> should be when I view it on ImageJ.
> 
>  
> 
> Can you help figure out what is happening.
> 
>  
> 
> Thanks
> 
> 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_01C3DB99.3AE67C6E
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2656.87">
<TITLE>RE: [Insight-users] Image registration - 2 different initializations</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Luis,</FONT>
<BR><FONT SIZE=2>Actually the images are 3D and are DICOM series. </FONT>
<BR><FONT SIZE=2>As a matter of fact, I do not get the same result.</FONT>
<BR><FONT SIZE=2>I get different results.</FONT>
<BR><FONT SIZE=2>I get the first output for center of rotation, when I run</FONT>
<BR><FONT SIZE=2>the registration directly on the DICOM series, however</FONT>
<BR><FONT SIZE=2>I get the second output for center of rotation when I run</FONT>
<BR><FONT SIZE=2>The same algorithm on the Analyze images.</FONT>
<BR><FONT SIZE=2>Hope this clarifies things.</FONT>
<BR><FONT SIZE=2>Thanks</FONT>
<BR><FONT SIZE=2>Radhika</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Luis Ibanez [<A HREF="mailto:luis.ibanez at kitware.com">mailto:luis.ibanez at kitware.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: Thursday, January 15, 2004 10:58 AM</FONT>
<BR><FONT SIZE=2>To: Radhika Sivaramakrishna</FONT>
<BR><FONT SIZE=2>Cc: 'insight-users at itk.org'</FONT>
<BR><FONT SIZE=2>Subject: Re: [Insight-users] Image registration - 2 different initializations</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi Radhika,</FONT>
</P>

<P><FONT SIZE=2>I didn't understand your question.</FONT>
</P>

<P><FONT SIZE=2>According to your email, you are doing</FONT>
<BR><FONT SIZE=2>registration between two 2D images.</FONT>
</P>

<P><FONT SIZE=2>When you read the images from DICOM format</FONT>
<BR><FONT SIZE=2>you get one registration result.</FONT>
</P>

<P><FONT SIZE=2>and if you convert the DICOM to raw and</FONT>
<BR><FONT SIZE=2>then to Analyze format...</FONT>
</P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp; then you get the *same* result.</FONT>
</P>
<BR>

<P><FONT SIZE=2>Why is this a bad thing ?</FONT>
</P>
<BR>
<BR>

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

<P><FONT SIZE=2>------------------------------------</FONT>
</P>

<P><FONT SIZE=2>Radhika Sivaramakrishna wrote:</FONT>
</P>

<P><FONT SIZE=2>&gt; Hi Luis,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I appear to be having a strange problem with image registration. </FONT>
<BR><FONT SIZE=2>&gt; Basically I am using the same code which you finally sent me although I have</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; combined the previous code you sent me to read a dicom series so as to </FONT>
<BR><FONT SIZE=2>&gt; directly read a pair of test-retest DICOM series. Since the data are </FONT>
<BR><FONT SIZE=2>&gt; unsigned short</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; there is already some problem I am having, I suspect w.r.t to Endianness </FONT>
<BR><FONT SIZE=2>&gt; which I have not solved. But I am getting some other strange things which</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I will try to describe below:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; When I directly run the registration code on the 2 dicom series, then I get</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Transform center before Initializer 0&nbsp; 0&nbsp; 0</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Transform center after Initializer -2.34973&nbsp; 225.964&nbsp; 219.384</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Intial Parameters =</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; [0, 0, 0, -0.0650073, 1.4008, -2.19123]</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Translationscale&nbsp;&nbsp; = 1000</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; However, when I save the images as Raw format and then convert that to </FONT>
<BR><FONT SIZE=2>&gt; an Analyze file using ImageJ and then load in the two images again, </FONT>
<BR><FONT SIZE=2>&gt; using the straight version</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; of the code you sent me, here is what I get:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Transform center before Initializer 0&nbsp; 0&nbsp; 0</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Transform center after Initializer -2.34973&nbsp; 225.964&nbsp; 219.384</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Intial Parameters =</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; [0, 0, 0, -0.0650073, 1.4008, -2.19123]</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Translationscale&nbsp;&nbsp; = 1000</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I cant figure out what is going on. It appears the data is being read </FONT>
<BR><FONT SIZE=2>&gt; fine, because the raw files for fixed and moving image are as they </FONT>
<BR><FONT SIZE=2>&gt; should be when I view it on ImageJ.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Can you help figure out what is happening.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Thanks</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Radhika</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; -----------------------------------------------------</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Confidentiality Notice.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; This email message is for the sole use of the intended recipient(s) and </FONT>
<BR><FONT SIZE=2>&gt; may contain confidential and privileged information. Any unauthorized </FONT>
<BR><FONT SIZE=2>&gt; review, use, disclosure or distribution is prohibited. If you are not </FONT>
<BR><FONT SIZE=2>&gt; the intended recipient, please contact the sender by reply email and </FONT>
<BR><FONT SIZE=2>&gt; destroy all copies of the original message. If you are the intended </FONT>
<BR><FONT SIZE=2>&gt; recipient, please be advised that the content of this message is subject </FONT>
<BR><FONT SIZE=2>&gt; to access, review and disclosure by the sender's Email System Administrator.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>
<BR>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>-----------------------------------------------------&nbsp; </FONT>
<BR><FONT SIZE=2>Confidentiality Notice. </FONT>
<BR><FONT SIZE=2>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_01C3DB99.3AE67C6E--