[Insight-users] itk neighborhood operator image filter error

raghu venkatram raghu_420 at hotmail.com
Tue, 20 Apr 2004 13:44:17 +0000


<html><div style='background-color:'><DIV class=RTE>
<P>Hello Luis,</P>
<P>Thank you for the tip, it was ofcourse my CT volume, I was only reading 2 slices. I am not sure why this is happening as I used MRICro to convert both my CT and MR volumes into mayo clinic analyze format and everything works fine. using ITK's dicom series reader reads my MR volume and am able to wrtie it out, but it dies on the third slice of my CT volume. </P>
<P>Also regarding registration itself, i am using viola-wells mutual information, with gradient descent and the translation transform. in this set up should my my optimizer scales for x and y be equal to 1 while my optimizer scale for z slightly greater than 1? my z in the volume is much smaller than the inplane dimensions.</P>
<P>with a step size of 18 and 500 epochs, i am getting good results, and a final metric value of 0.2-0.4,&nbsp; a plot of the iteration&nbsp;vs metric shows that the metric is fairly stable with this, should i decrease the step size and increase the iterations further?</P>
<P>&nbsp;</P>
<P>thanks</P>
<P>raghu<BR><BR></P></DIV>
<DIV></DIV>&gt;From: Luis Ibanez &lt;luis.ibanez at kitware.com&gt; 
<DIV></DIV>&gt;To: raghu venkatram &lt;raghu_420 at hotmail.com&gt; 
<DIV></DIV>&gt;CC: insight-users at itk.org 
<DIV></DIV>&gt;Subject: Re: [Insight-users] itk neighborhood operator image filter error 
<DIV></DIV>&gt;Date: Mon, 19 Apr 2004 19:43:23 -0400 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hi Raghu, 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;It is likely that your process for reading the 
<DIV></DIV>&gt;DICOM series is failing.&nbsp;&nbsp;The fact that it shows 
<DIV></DIV>&gt;up in the Neighborhood iterator may simply indicate 
<DIV></DIV>&gt;that you are reading an image of a single slice, 
<DIV></DIV>&gt;for example. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Please connect a ImageFileWriter directly to the 
<DIV></DIV>&gt;output of the DicomSeries reader and save the 
<DIV></DIV>&gt;image in another format. MetaImage will be the 
<DIV></DIV>&gt;best choice since then you can look at the header 
<DIV></DIV>&gt;and figure out what information from the DICOM 
<DIV></DIV>&gt;file is getting lost on the way. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Chances are that you only have a Input/Output 
<DIV></DIV>&gt;problem and not a processing problem. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I will also suggest you to try the example 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Insight/Examples/IO/ 
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DicomSeriesReadImageWrite.cxx 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;for reading your Dicom images, and to make sure 
<DIV></DIV>&gt;that you are using the series reader correctly. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;For example, note that you should specify the 
<DIV></DIV>&gt;string identifying the series to be read. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Please let us know what you find. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Thanks, 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luis 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;----------------------- 
<DIV></DIV>&gt;raghu venkatram wrote: 
<DIV></DIV>&gt;&gt;Hello Luis, 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;I am trying to register a MR and CT image using ImagetoImage 
<DIV></DIV>&gt;&gt;mutual information measure, I have no problems whatsoever using the 
<DIV></DIV>&gt;&gt;analyze image format. 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;when i switch to dicom, and use the series reader, i can read 
<DIV></DIV>&gt;&gt;both the series, but my program terminates with an error window 
<DIV></DIV>&gt;&gt;asking me to notify microsoft, debug option takes me to the 
<DIV></DIV>&gt;&gt;itkneighborhoodoperator filter. 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;is there something obvious that i am doing wrong? my image types 
<DIV></DIV>&gt;&gt;are unsigned short 3 dimensions. 
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;thanks, 
<DIV></DIV>&gt;&gt;raghu 
<DIV></DIV>&gt;&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;_______________________________________________ 
<DIV></DIV>&gt;Insight-users mailing list 
<DIV></DIV>&gt;Insight-users at itk.org 
<DIV></DIV>&gt;http://www.itk.org/mailman/listinfo/insight-users 
<DIV></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENUS/2749??PS=">Check out MSN PC Safety & Security to help ensure your PC is protected and safe.</a> </html>