[Insight-users] 3D deformable registration

Luis Ibanez luis . ibanez at kitware . com
Thu, 20 Nov 2003 13:26:12 -0500


Hi Jianguo,

Your paramter file doesn't seem to fit the
expected format.

The filenames of your images are not being
found but the (simple) parser that gathers
the information from the input file.

Please post the file to the list.


Thanks


   Luis



--------------------
Rao Jianguo wrote:
> 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
> 
>