[Insight-users] 3D deformable registration

Rao Jianguo rao . jianguo at hgu . mrc . ac . uk
Thu, 20 Nov 2003 16:18:04 +0000


--------------E587ABBFD73092F82B188424
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dear All,

I am trying  to do a 3D to 3D deformable registration.

I used the DeformableRegistration1.cxx as an example and
simply changes all the 2D types to 3D.  Compile it, no problem.

I also use the param.file for  DeformableRegistration1.
Change the two file names for 3D metaimage file name
and change the dimension to the specific 3D one.

When I run the application.  I got the  the following error message:

===================
Reading config file...param.file
Example configured. E 0 rho 0
 reading moving
 reading fixed
Exception caught during reference file reading

itk::ImageFileReaderException (0x813f628)
Location: "Unknown"
File: /workingDir/ITK/sourceDir/Insight/Code/IO/itkImageFileReader.txx
Line: 91
Description: FileName must be specified
===================

I suspect that from 2D to 3D the param.file should be different. But I
do not have an
example to follow. Anyone can help?

Thanks

Cheers,

Jianguo



--
Jianguo Rao
MRC Human Genetics Unit                  Tel:+44(0)131 332 2471
Western General Hospital                 Fax:+44(0)131 467 8456
Crewe Road, Edinburgh EH4 2XU            email:Rao . Jianguo at hgu . mrc . ac . uk



--------------E587ABBFD73092F82B188424
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dear All,
<p>I am trying&nbsp; to do a 3D to 3D deformable registration.
<p>I used the DeformableRegistration1.cxx as an example and
<br>simply changes all the 2D types to 3D.&nbsp; Compile it, no problem.
<p>I also use the param.file for&nbsp; DeformableRegistration1.
<br>Change the two file names for 3D metaimage file name
<br>and change the dimension to the specific 3D one.
<p>When I run the application.&nbsp; I got the&nbsp; the following error
message:
<p>===================
<br>Reading config file...param.file
<br>Example configured. E 0 rho 0
<br>&nbsp;reading moving
<br>&nbsp;reading fixed
<br>Exception caught during reference file reading
<p>itk::ImageFileReaderException (0x813f628)
<br>Location: "Unknown"
<br>File: /workingDir/ITK/sourceDir/Insight/Code/IO/itkImageFileReader.txx
<br>Line: 91
<br>Description: FileName must be specified
<br>===================
<p>I suspect that from 2D to 3D the param.file should be different. But
I
<br>do not have an
<br>example to follow. Anyone can help?
<p>Thanks
<p>Cheers,
<p>Jianguo
<br>&nbsp;
<br>&nbsp;
<pre>--&nbsp;
Jianguo Rao
MRC Human Genetics Unit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tel:+44(0)131 332 2471
Western General Hospital&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax:+44(0)131 467 8456
Crewe Road, Edinburgh EH4 2XU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; email:Rao . Jianguo at hgu . mrc . ac . uk</pre>
&nbsp;</html>

--------------E587ABBFD73092F82B188424--