[Insight-users] problem about DeformableRegistration1.cxx

Tang Songyuan songyuantang at yahoo . com . cn
Thu, 22 May 2003 02:19:26 +0800 (CST)


When I peformed the modul of
DeformableRegistration1.cxx,I met a question, which is

the exception  caught during reference file reading.
The image format I used is PNG. Who can tell me how to
solve the problem. The configure file is followed, and
VC 6.0 is used.

% Configuration file #1 for
DeformableRegistration1.cxx
%
%--------------- Patameters for aingle 
1	  % number of levels in in the multi-resolution
pyramid
1 	 % highest level to use in pyramid
  1 1 		% Scaling at lowest level for each image
dimension
  4   		% Number of pixels per element
  1.e4  	% Elasticity (E)
  1.e4 		% Density (Rhoc)
  1.		% Image energy scaling
  5		% NumberOfIntergrationPoints
  1		% WidthOfMetricRegion
  20		% MaximumIterations
%-------------Parameters for the Registration
0 1.0	% Similarity metric  (0=mean sq, 1=ncc,
2=pattern int, 3=MI
1.0	% Alpha
1	%DescentDirection
2	%DoLineSearch (0=never,1=always,2=if need)
1.e1	%Timestep
1.e-15	%Energy Reduction Factor
%------------Information about the image inputs
2 	% ImageDimension
128	% Nx
128	% Ny
128	% Nz
F:\\Program
Files\\InsightToolkit-1.2.0\\Examples\\Data\\circle.png
%referernce 
F:\\fluid\\image\\rect.png	%target
%-----------------The action below depend on the value
of the flag
0	% UseLandMarks?
-	%LandMarkFileName
F:\\fluid\\image\\result	% ResultFileName
1			% WriteDisplacementField?
F:\\fluid\\image\\disp	% DisplacementFileName
0			% ReadMeshFile?
-			% MeshFileName
END
 
Best Regards

sytang




_________________________________________________________
Do You Yahoo!? 
相见不如聊天!不出门一样面对面!网络摄像头对对派送中~赶快用你的雅虎电邮帐号参与吧……
http://cn . rd . yahoo . com/mail_cn/tag/?http://cn . messenger . yahoo . com/