[Insight-developers] test problems
C. Aaron Cois
cacst11+ at pitt . edu
Fri, 28 Jun 2002 11:57:19 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0087_01C21E9A.F4B20720
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have been checking through the code for our new test to fix our =
warning messages, and i
think i have found the problems, which bring up a few questions:
Question #1: In itkLevenbergMarquardtOptimizer.cxx, in
the member function StartOptimization, it calls minimize() (
m_VnlOptimizer->minimize( parameters ); , line 102 ). minimize is a
function from vnl_levenberg_marquardt which is declared in the header =
file
to be a fallback function to minimize_with_gradient and
minimize_without_gradient, to be called when you cant remember if you =
have a
gradient or not. Since we have a gradient, but the minimize() function =
just
falls back on calling the minimize_without_gradient function, we are =
getting
all of these warnings. Ideally, the StartOptimization function should =
take
a parameter based on whether or not you have a gradient, and call the
appropriate function. Who should we talk to about this?
Question #2: We are not quite clear on the verbose_ flag in the
vnl_levenberg_marquardt code...does anyone know how it is set?
Thanks
Aaron
------=_NextPart_000_0087_01C21E9A.F4B20720
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4916.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>I have been=20
checking through the code for our new test to fix our warning messages, =
and=20
i<BR>think i have found the problems, which bring up a few=20
questions:</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman"=20
size=3D3></FONT></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>Question #1:=20
</FONT></FONT><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3> In itkLevenbergMarquardtOptimizer.cxx, in<BR>the member =
function=20
StartOptimization, it calls minimize() (<BR>m_VnlOptimizer->minimize( =
parameters ); , line 102 ). minimize is a<BR>function from=20
vnl_levenberg_marquardt which is declared in the header file<BR>to be a =
fallback=20
function to minimize_with_gradient and<BR>minimize_without_gradient, to =
be=20
called when you cant remember if you have a<BR>gradient or not. =
Since we=20
have a gradient, but the minimize() function just<BR>falls back on =
calling the=20
minimize_without_gradient function, we are getting<BR>all of these=20
warnings. Ideally, the StartOptimization function should take<BR>a =
parameter based on whether or not you have a gradient, and call=20
the<BR>appropriate function. Who should we talk to about=20
this?<BR><BR>Question #2: We are not quite clear on the =
verbose_ =20
flag in the<BR>vnl_levenberg_marquardt code...does anyone know how it is =
set?<BR><BR> =20
Thanks<BR><BR>  =
; =20
Aaron</FONT><BR></DIV></FONT></BODY></HTML>
------=_NextPart_000_0087_01C21E9A.F4B20720--