<!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, everyone:</DIV>
<DIV> </DIV>
<DIV>When I running the ITKAPP [IntensityBased2D3DRegistration],</DIV>
<DIV>an error occurs as the following: </DIV>
<DIV> </DIV>
<DIV>itk::ExceptionObject (00F7FCD0)</DIV>
<DIV>Location: "void __thiscall itk::RegularStepGradientDescentBaseOptimizer::Advance</DIV>
<DIV>OneStep(void)"</DIV>
<DIV>File: ITKSource\Code\Numerics\itkRegularStepGradientDescentBaseOptimizer.cxx</DIV>
<DIV>Line: 200</DIV>
<DIV>Description: itk::ERROR: RegularStepGradientDescentOptimizer(015128A8): The size</DIV>
<DIV> of Scales is 6, but the NumberOfParameters for the CostFunction is 9.</DIV>
<DIV> </DIV>
<DIV>Can someone tell my why? ( The test example is from BrainWeb )</DIV>
<DIV> </DIV>
<DIV>1.</DIV>
<DIV>Is it the problem of </DIV>
<DIV>itk::Optimizer::ScalesType weightings( 6 ); ?</DIV>
<DIV> </DIV>
<DIV>What does it use for? How to expand it into <STRONG>9?</STRONG></DIV>
<DIV> </DIV>
<DIV>2.</DIV>
<DIV>And when I ignore the option of the command line</DIV>
<DIV> ./IntensityBased2D3DRegistration [-t -100 -100 -100] projection.mhd /data/BrainWeb/brainweb165a10f17.mha</DIV>
<DIV> </DIV>
<DIV>The iteration of optimizer is 0, and the parameters of transform do not change.</DIV>
<DIV>furthermore the programe crashed when writing the wrong result image.</DIV>
<DIV> </DIV>
<DIV>Don't you think it is more reasonable that we should not input any tranformation information before registration?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-------------- </DIV>
<DIV>jimmy</DIV>
<DIV>2007-07-18 </DIV></FONT></BODY></HTML>