[Insight-users] Question about "Non-rigid Groupwise Registration using B-Spline Deformation Model"

Kaveh Kohan kaveh.kohan at yahoo.com
Sun Aug 16 16:34:12 EDT 2009


Hello all,


I am not sure I am allowed to ask questions about the code submitted to the Insight Journal or not. If it is the case, please refer to the right place.

I have a question about this paper:


Non-rigid Groupwise Registration using B-Spline Deformation Model
Balci S.K., Golland P., Wells W.M.http://www.insight-journal.org/browse/publication/173


Code compiles with no problem but it fails the tests:


I appreciate any help.

Regards,
Kaveh

>> make test
Running tests...
Start processing tests
Test project /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration
  1/ 72 Testing CreateRandImages001              Passed
  2/ 72 Testing RegistrationTest001           ***Exception: Other
  3/ 72 Testing WriteOutputsTest001              Passed
  4/ 72 Testing CreateRandImages002              Passed
  5/ 72 Testing RegistrationTest002           ***Exception: Other
  6/ 72 Testing WriteOutputsTest002              Passed
  7/ 72 Testing CreateRandImages003              Passed
  8/ 72 Testing RegistrationTest003           ***Exception: Other
  9/ 72 Testing WriteOutputsTest003              Passed
 10/ 72 Testing CreateRandImages004              Passed
 11/ 72 Testing RegistrationTest004              Passed 
 14/ 72 Testing RegistrationTest005           ***Failed 
 15/ 72 Testing WriteOutputsTest005           ***Exception: Other
 16/ 72 Testing CreateRandImages006              Passed
 17/ 72 Testing RegistrationTest006           ***Failed 
 18/ 72 Testing WriteOutputsTest006           ***Exception: Other
 19/ 72 Testing CreateRandImages007              Passed
 20/ 72 Testing RegistrationTest007           ***Exception: Other
 21/ 72 Testing WriteOutputsTest007              Passed
 22/ 72 Testing CreateRandImages008              Passed
.....

Here I have attached part of the log file for more information (sorry it is too long):

Start testing: Aug 16 15:21 EDT
----------------------------------------------------------
Changing directory into: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
1/72 Testing: CreateRandImages001
1/72 Test: CreateRandImages001
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/CreateImageSetAffine" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/BrainWeb/brainweb1e1a10f20.mha" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData001" "2" "on" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"CreateRandImages001" start time: Aug 16 15:21 EDT
Output:
----------------------------------------------------------
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData001/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData001/Images/1.mhd
----------------------------------------------------------
"CreateRandImages001" end time: Aug 16 15:21 EDT
"CreateRandImages001" time elapsed: 00:00:10
----------------------------------------------------------

2/72 Testing: RegistrationTest001
2/72 Test: RegistrationTest001
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/GroupwiseRegistration" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/filenames001.txt" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/parameters001.txt" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"RegistrationTest001" start time: Aug 16 15:21 EDT
Output:
----------------------------------------------------------
message: Reading Image: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData001/Images/0.mhd
message: Reading Image: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData001/Images/1.mhd
message: Starting Registration 
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 0
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 91
message: Optimizer learning rate : 0.0001
message: Number of total pixels : 109350
message: Number of used pixels : 4418
Iter 000   000   1.227695   
Iter 010   010   1.098265   
Iter 020   020   1.054892   
Iter 030   030   1.015671   
Iter 040   040   0.992513   
Iter 050   050   0.956442   
Iter 060   060   0.940513   
Iter 070   070   0.936067   
Iter 080   080   0.936119   
Iter 090   090   0.935719   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 1
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 52
message: Optimizer learning rate : 0.000100
message: Number of total pixels : 874800
message: Number of used pixels : 8836
Iter 100   008   0.930055   
Iter 110   018   0.930085   
Iter 120   028   0.930297   
Iter 130   038   0.929665   
Iter 140   048   0.929934   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 2
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 29
message: Optimizer learning rate : 0.000100
message: Number of total pixels : 7069860
message: Number of used pixels : 17672
Iter 150   005   0.929710   
Iter 160   015   0.929916   
Iter 170   025   0.929514   
message: Registration Completed 
message: Time Report 
terminate called after throwing an instance of 'itk::ExceptionObject'
  what():  /home/kaveh/bin/InsightToolkit-3.10.1/Code/Common/itkResourceProbesCollectorBase.txx:50:
itk::ERROR: The probe "5Total Time " does not exist. It can not be stopped.
----------------------------------------------------------
"RegistrationTest001" end time: Aug 16 15:22 EDT
"RegistrationTest001" time elapsed: 00:01:27
----------------------------------------------------------

3/72 Testing: WriteOutputsTest001
3/72 Test: WriteOutputsTest001
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/ComputeOutputs" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/filenames001.txt" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/parameters001.txt" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"WriteOutputsTest001" start time: Aug 16 15:22 EDT
Output:
----------------------------------------------------------
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/InputImage/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/InputImage/Slices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/InputImage/Images/1.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/InputImage/Slices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/InputImage/MeanImages/Mean.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/InputImage/MeanImages/MeanSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/InputImage/STDImages/STD.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/InputImage/STDImages/STDSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/Slices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/DeformationSlices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/Images/1.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/Slices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/DeformationSlices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/MeanImages/Mean.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/MeanImages/MeanSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/STDImages/STD.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration001/Affine/STDImages/STDSlice.jpg
----------------------------------------------------------
"WriteOutputsTest001" end time: Aug 16 15:23 EDT
"WriteOutputsTest001" time elapsed: 00:00:33
----------------------------------------------------------

4/72 Testing: CreateRandImages002
4/72 Test: CreateRandImages002
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/CreateImageSetAffine" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/BrainWeb/brainweb165a10f17.mha" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData002" "2" "on" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"CreateRandImages002" start time: Aug 16 15:23 EDT
Output:
----------------------------------------------------------
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData002/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData002/Images/1.mhd
----------------------------------------------------------
"CreateRandImages002" end time: Aug 16 15:23 EDT
"CreateRandImages002" time elapsed: 00:00:14
----------------------------------------------------------

5/72 Testing: RegistrationTest002
5/72 Test: RegistrationTest002
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/GroupwiseRegistration" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/filenames002.txt" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/parameters002.txt" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"RegistrationTest002" start time: Aug 16 15:23 EDT
Output:
----------------------------------------------------------
message: Reading Image: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData002/Images/0.mhd
message: Reading Image: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData002/Images/1.mhd
message: Starting Registration 
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 0
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 91
message: Optimizer learning rate : 0.0001
message: Number of total pixels : 109350
message: Number of used pixels : 4418
Iter 000   000   1.190699   
Iter 010   010   1.152962   
Iter 020   020   1.078033   
Iter 030   030   1.037346   
Iter 040   040   0.979855   
Iter 050   050   0.938906   
Iter 060   060   0.929191   
Iter 070   070   0.927413   
Iter 080   080   0.926543   
Iter 090   090   0.927394   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 1
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 52
message: Optimizer learning rate : 0.000100
message: Number of total pixels : 874800
message: Number of used pixels : 8836
Iter 100   008   0.922379   
Iter 110   018   0.922248   
Iter 120   028   0.922527   
Iter 130   038   0.922528   
Iter 140   048   0.922339   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 2
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 29
message: Optimizer learning rate : 0.000100
message: Number of total pixels : 7069860
message: Number of used pixels : 17672
Iter 150   005   0.921810   
Iter 160   015   0.921652   
Iter 170   025   0.921858   
message: Registration Completed 
message: Time Report 
terminate called after throwing an instance of 'itk::ExceptionObject'
  what():  /home/kaveh/bin/InsightToolkit-3.10.1/Code/Common/itkResourceProbesCollectorBase.txx:50:
itk::ERROR: The probe "5Total Time " does not exist. It can not be stopped.
----------------------------------------------------------
"RegistrationTest002" end time: Aug 16 15:25 EDT
"RegistrationTest002" time elapsed: 00:01:31
----------------------------------------------------------

6/72 Testing: WriteOutputsTest002
6/72 Test: WriteOutputsTest002
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/ComputeOutputs" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/filenames002.txt" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/parameters002.txt" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"WriteOutputsTest002" start time: Aug 16 15:25 EDT
Output:
----------------------------------------------------------
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/InputImage/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/InputImage/Slices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/InputImage/Images/1.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/InputImage/Slices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/InputImage/MeanImages/Mean.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/InputImage/MeanImages/MeanSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/InputImage/STDImages/STD.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/InputImage/STDImages/STDSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/Slices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/DeformationSlices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/Images/1.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/Slices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/DeformationSlices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/MeanImages/Mean.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/MeanImages/MeanSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/STDImages/STD.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration002/Affine/STDImages/STDSlice.jpg
----------------------------------------------------------
"WriteOutputsTest002" end time: Aug 16 15:25 EDT
"WriteOutputsTest002" time elapsed: 00:00:33
----------------------------------------------------------

7/72 Testing: CreateRandImages003
7/72 Test: CreateRandImages003
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/CreateImageSetAffine" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/BrainWeb/brainweb1e5a10f17.mha" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData003" "2" "on" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"CreateRandImages003" start time: Aug 16 15:25 EDT
Output:
----------------------------------------------------------
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData003/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData003/Images/1.mhd
----------------------------------------------------------
"CreateRandImages003" end time: Aug 16 15:26 EDT
"CreateRandImages003" time elapsed: 00:00:10
----------------------------------------------------------

8/72 Testing: RegistrationTest003
8/72 Test: RegistrationTest003
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/GroupwiseRegistration" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/filenames003.txt" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/parameters003.txt" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"RegistrationTest003" start time: Aug 16 15:26 EDT
Output:
----------------------------------------------------------
message: Reading Image: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData003/Images/0.mhd
message: Reading Image: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData003/Images/1.mhd
message: Starting Registration 
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 0
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 91
message: Optimizer learning rate : 0.0001
message: Number of total pixels : 109350
message: Number of used pixels : 4418
Iter 000   000   1.245178   
Iter 010   010   1.110602   
Iter 020   020   0.998306   
Iter 030   030   0.951793   
Iter 040   040   0.942401   
Iter 050   050   0.942380   
Iter 060   060   0.941821   
Iter 070   070   0.942148   
Iter 080   080   0.941740   
Iter 090   090   0.942077   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 1
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 52
message: Optimizer learning rate : 0.000100
message: Number of total pixels : 874800
message: Number of used pixels : 8836
Iter 100   008   0.937660   
Iter 110   018   0.937802   
Iter 120   028   0.938248   
Iter 130   038   0.937815   
Iter 140   048   0.937590   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 2
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 29
message: Optimizer learning rate : 0.000100
message: Number of total pixels : 7069860
message: Number of used pixels : 17672
Iter 150   005   0.934868   
Iter 160   015   0.934439   
Iter 170   025   0.934178   
message: Registration Completed 
message: Time Report 
terminate called after throwing an instance of 'itk::ExceptionObject'
  what():  /home/kaveh/bin/InsightToolkit-3.10.1/Code/Common/itkResourceProbesCollectorBase.txx:50:
itk::ERROR: The probe "5Total Time " does not exist. It can not be stopped.
----------------------------------------------------------
"RegistrationTest003" end time: Aug 16 15:27 EDT
"RegistrationTest003" time elapsed: 00:01:26
----------------------------------------------------------

9/72 Testing: WriteOutputsTest003
9/72 Test: WriteOutputsTest003
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/ComputeOutputs" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/filenames003.txt" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/parameters003.txt" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"WriteOutputsTest003" start time: Aug 16 15:27 EDT
Output:
----------------------------------------------------------
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/InputImage/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/InputImage/Slices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/InputImage/Images/1.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/InputImage/Slices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/InputImage/MeanImages/Mean.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/InputImage/MeanImages/MeanSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/InputImage/STDImages/STD.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/InputImage/STDImages/STDSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/Slices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/DeformationSlices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/Images/1.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/Slices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/DeformationSlices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/MeanImages/Mean.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/MeanImages/MeanSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/STDImages/STD.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration003/Affine/STDImages/STDSlice.jpg
----------------------------------------------------------
"WriteOutputsTest003" end time: Aug 16 15:27 EDT
"WriteOutputsTest003" time elapsed: 00:00:31
----------------------------------------------------------

10/72 Testing: CreateRandImages004
10/72 Test: CreateRandImages004
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/CreateImageSetBspline" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/BrainWeb/brainweb1e1a10f20.mha" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData004" "2" "on" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"CreateRandImages004" start time: Aug 16 15:27 EDT
Output:
----------------------------------------------------------
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData004/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData004/Images/1.mhd
----------------------------------------------------------
"CreateRandImages004" end time: Aug 16 15:32 EDT
"CreateRandImages004" time elapsed: 00:04:14
----------------------------------------------------------

11/72 Testing: RegistrationTest004
11/72 Test: RegistrationTest004
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/GroupwiseRegistration" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/filenames004.txt" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/parameters004.txt" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"RegistrationTest004" start time: Aug 16 15:32 EDT
Output:
----------------------------------------------------------
message: Reading Image: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData004/Images/0.mhd
message: Reading Image: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/ImageData004/Images/1.mhd
message: Starting Registration 
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 0
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 30
message: Optimizer learning rate : 0.0001
message: Number of total pixels : 109350
message: Number of used pixels : 4418
Iter 000   000   1.128343   
Iter 010   010   1.121785   
Iter 020   020   1.120393   
Iter 030   030   1.128548   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 1
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 17
message: Optimizer learning rate : 0.000100
message: Number of total pixels : 874800
message: Number of used pixels : 8836
Iter 040   009   1.137226   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type AffineTransform
message: Multiresolution level : 2
message: Number of total parameters : 24
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 9
message: Optimizer learning rate : 0.000100
message: Number of total pixels : 7069860
message: Number of used pixels : 17672
Iter 050   001   1.157223   
message: Registration using UnivariateEntropyMultiImageMetric
message: Transform Type BSplineDeformableTransformOpt
message: Multiresolution level : 0
message: Number of total parameters : 7986
message: Optimizertype : GradientDescentLineSearchOptimizer
message: Optimizer # of Iter. to go : 168
message: Optimizer learning rate : 625.000000
message: Number of total pixels : 109350
message: Number of used pixels : 8837
ExceptionObject caught !

itk::ExceptionObject (0x2b4e48048890)
Location: "void itk::MultiThreader::SingleMethodExecute()" 
File: /home/kaveh/bin/InsightToolkit-3.10.1/Code/Common/itkMultiThreader.cxx
Line: 429
Description: itk::ERROR: MultiThreader(0xc2ba20): Exception occurred during SingleMethodExecute
/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Source/UnivariateEntropyMultiImageMetric.txx:238:
itk::ERROR: UnivariateEntropyMultiImageMetric(0xc25e50): Too many samples mapped outside the moving buffer


----------------------------------------------------------
"RegistrationTest004" end time: Aug 16 15:33 EDT
"RegistrationTest004" time elapsed: 00:01:01
----------------------------------------------------------

12/72 Testing: WriteOutputsTest004
12/72 Test: WriteOutputsTest004
Command: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/bin/ComputeOutputs" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/filenames004.txt" "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/parameters004.txt" 
Directory: /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing
"WriteOutputsTest004" start time: Aug 16 15:33 EDT
Output:
----------------------------------------------------------
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/InputImage/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/InputImage/Slices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/InputImage/Images/1.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/InputImage/Slices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/InputImage/MeanImages/Mean.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/InputImage/MeanImages/MeanSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/InputImage/STDImages/STD.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/InputImage/STDImages/STDSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/Images/0.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/Slices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/DeformationSlices/0.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/Images/1.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/Slices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/DeformationSlices/1.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/MeanImages/Mean.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/MeanImages/MeanSlice.jpg
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/STDImages/STD.mhd
Writing /home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Affine/STDImages/STDSlice.jpg
terminate called after throwing an instance of 'itk::ExceptionObject'
  what():  /home/kaveh/bin/InsightToolkit-3.10.1/Code/IO/itkTransformFileReader.cxx:74:
itk::ERROR: TransformFileReader(0x2b667c004300): The file could not be opened for read access 
Filename: "/home/kaveh/Src/BSplineGroupwiseRegistration/GroupwiseRegistration/MultiImageRegistration/Testing/Temporary/Registration004/Bspline_Grid_8/TransformFiles/0.txt"
----------------------------------------------------------
"WriteOutputsTest004" end time: Aug 16 15:33 EDT
"WriteOutputsTest004" time elapsed: 00:00:33
----------------------------------------------------------

13/72 Testing: CreateRandImages005
13/72 Test: CreateRandImages005
.....


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090816/7af9e81b/attachment-0001.htm>


More information about the Insight-users mailing list