[Insight-users] error in DeformableRegistration1 and FEM in InsightApplication

Magnotta, Vincent A vincent-magnotta at uiowa.edu
Tue Jan 3 11:02:11 EST 2012


Edwin,

If I understand the problem correctly, the application works correctly in
2D, but fails in 3D when reading the reference image. Is the file
/home/edwin/TestingData/training_001/mr_PD/PD.mhd a 3D image?

Vince

--
Associate Professor
Department of Radiology
0453-D JCP
200 Hawkins Drive
Iowa City, IA 52242
E-mail: vincent-magnotta at uiowa.edu
Phone: 319-356-8255 Fax: 319-353-6275
Website: http://www.healthcare.uiowa.edu/Radiology





On 1/3/12 4:34 AM, "Edwin3219" <charles_ao at yahoo.com.hk> wrote:

>Hi,
>
>I am now try to use the DeformationRegistraion1 and FEM in
>InsightApplication to do some image registration, but when I run both
>programme, theu return me the error in
>
>Reading config file...FEMregLMparams.txt
>Example configured. E 0 0 0 0 rho 0 0 0 0
>Exception caught during reference file reading
>
>the programe can run with the default setting, but when I changed to 3D
>multi-resolution, it just can read the input image whatever changes I
>made,
>I have also download some para.file via internet, it also cant read the
>input also. I am very sure the files exit after double checking with "ls"
>command.
>
>Below is the content of my para.file, hope you help me pointing out which
>part is incorrect.  Thanks!
>
>% Configuration file for ITK FEM registration example
>4      % Number of levels in the multi-res pyramid
>4      % Maximum Level to use in the pyramid
> 1 1 1 % scaling at lowest level of pyramid
> 4 4 4 4                   % pixels per elt
> 1.e1 1.e1 1.e1 1.e-1      % Elasticity
> 1.e-1 1.e-2 1.e-1 1.e-1           % Rho
> 1. 1.  1. 1               % image energy scaling
> 4 1 1 2                   % NumberOfIntegrationPoints
> 5 5 5 5                   % WidthOfMetricRegion
> 1 20 15 5                 % MaximumIterations
>1  5.0  % 0 = mean square, 1 = ncc, 2= pattern intensity, 3=MI
>1.0    % Alpha
>1      % DescentDirection
>1      % DoLineSearch
>1.e0   % TimeStep
>1.e-15  % Energy Reduction Factor
>3     % dimension of images
>256    % Nx (image x dimension)
>256    % Ny (image y dimension)
>26    % Nz (image z dimension - not used if 2D)
>/home/edwin/TestingData/training_001/mr_PD/PD.mhd  %ReferenceFileName
>/home/edwin/TestingData/training_001/mr_T1/T1.mhd  %TargetFileName
>0       % UseLandmarks - read the file name below if this is true
>-      % LandmarkFileName
>./Result  % ResultsFileName
>0       % WriteDisplacementField
>-       % DisplacementsFileName
>0  % WriteMeshFile
>-    % MeshFileName
>
>END
>
>
>
>
>--
>View this message in context:
>http://itk-insight-users.2283740.n2.nabble.com/error-in-DeformableRegistra
>tion1-and-FEM-in-InsightApplication-tp7146324p7146324.html
>Sent from the ITK Insight Users mailing list archive at Nabble.com.
>_____________________________________
>Powered by www.kitware.com
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Kitware offers ITK Training Courses, for more information visit:
>http://www.kitware.com/products/protraining.html
>
>Please keep messages on-topic and check the ITK FAQ at:
>http://www.itk.org/Wiki/ITK_FAQ
>
>Follow this link to subscribe/unsubscribe:
>http://www.itk.org/mailman/listinfo/insight-users



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-users mailing list