<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY><FONT face=ËÎÌå size=2>
<DIV>Hi,&nbsp;everyone:</DIV>
<DIV>&nbsp;</DIV>
<DIV>When&nbsp;I&nbsp;running&nbsp;the&nbsp;ITKAPP&nbsp;[IntensityBased2D3DRegistration],</DIV>
<DIV>an&nbsp;error&nbsp;occurs&nbsp;as&nbsp;the&nbsp;following:&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>itk::ExceptionObject&nbsp;(00F7FCD0)</DIV>
<DIV>Location:&nbsp;"void&nbsp;__thiscall&nbsp;itk::RegularStepGradientDescentBaseOptimizer::Advance</DIV>
<DIV>OneStep(void)"</DIV>
<DIV>File:&nbsp;ITKSource\Code\Numerics\itkRegularStepGradientDescentBaseOptimizer.cxx</DIV>
<DIV>Line:&nbsp;200</DIV>
<DIV>Description:&nbsp;itk::ERROR:&nbsp;RegularStepGradientDescentOptimizer(015128A8):&nbsp;The&nbsp;size</DIV>
<DIV>&nbsp;of&nbsp;Scales&nbsp;is&nbsp;6,&nbsp;but&nbsp;the&nbsp;NumberOfParameters&nbsp;for&nbsp;the&nbsp;CostFunction&nbsp;is&nbsp;9.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can&nbsp;someone&nbsp;tell&nbsp;my&nbsp;why?&nbsp;&nbsp;&nbsp;(&nbsp;The&nbsp;test&nbsp;example&nbsp;is&nbsp;from&nbsp;BrainWeb&nbsp;)</DIV>
<DIV>&nbsp;</DIV>
<DIV>1.</DIV>
<DIV>Is&nbsp;it&nbsp;the&nbsp;problem&nbsp;of&nbsp;&nbsp;&nbsp;</DIV>
<DIV>itk::Optimizer::ScalesType&nbsp;weightings(&nbsp;6&nbsp;);&nbsp;&nbsp;?</DIV>
<DIV>&nbsp;</DIV>
<DIV>What&nbsp;does&nbsp;it&nbsp;use&nbsp;for?&nbsp;&nbsp;How&nbsp;to&nbsp;expand&nbsp;it&nbsp;into&nbsp;<STRONG>9?</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>2.</DIV>
<DIV>And&nbsp;when&nbsp;I&nbsp;ignore&nbsp;the&nbsp;option&nbsp;of&nbsp;the&nbsp;command&nbsp;line</DIV>
<DIV>&nbsp;./IntensityBased2D3DRegistration&nbsp;[-t&nbsp;-100&nbsp;-100&nbsp;-100]&nbsp;projection.mhd&nbsp;/data/BrainWeb/brainweb165a10f17.mha</DIV>
<DIV>&nbsp;</DIV>
<DIV>The&nbsp;iteration&nbsp;of&nbsp;optimizer&nbsp;is&nbsp;0,&nbsp;and&nbsp;the&nbsp;parameters&nbsp;of&nbsp;transform&nbsp;do&nbsp;not&nbsp;change.</DIV>
<DIV>furthermore&nbsp;the&nbsp;programe&nbsp;crashed&nbsp;when&nbsp;writing&nbsp;the&nbsp;wrong&nbsp;result&nbsp;image.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Don't&nbsp;you&nbsp;think&nbsp;it&nbsp;is&nbsp;more&nbsp;reasonable&nbsp;that&nbsp;we&nbsp;should&nbsp;not&nbsp;input&nbsp;any&nbsp;tranformation&nbsp;information&nbsp;before&nbsp;registration?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>--------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<DIV>jimmy</DIV>
<DIV>2007-07-18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV></FONT></BODY></HTML>