<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Thank you for your answer, Luis. If I want to develope my own special image metric, I need to calculate the derivative. What should I do? Should I derive my own class from itk class and override the GetDerivative() and GetValueAndDerivative()?<BR><BR>> Date: Wed, 23 Jul 2008 10:29:29 -0400<BR>> From: luis.ibanez@kitware.com<BR>> To: gjtian@hotmail.com<BR>> CC: insight-users@itk.org<BR>> Subject: Re: [Insight-users] Image Registration Metric Derivative Calculation<BR>> <BR>> <BR>> Hi 田光建,<BR>> <BR>> <BR>> Simply call the method<BR>> <BR>> <BR>> GetDerivative()<BR>> <BR>> or<BR>> <BR>> GetValueAndDerivative()<BR>> <BR>> on the metric that you are using.<BR>> <BR>> It will return an array with the values of the derivative<BR>> of the Metric with respect to the transform parameters.<BR>> <BR>> Regards,<BR>> <BR>> <BR>> Luis<BR>> <BR>> <BR>> ------------------<BR>> 田光建 wrote:<BR>> > Hi,All<BR>> > <BR>> > I want to know how to calculate the metric derivative in ITK for <BR>> > registration. We assume that the first order derivative of the image <BR>> > metric with respect to the transformation parameters, I want to know how <BR>> > to calculate it?<BR>> > <BR>> > Thank you all.<BR>> > <BR>> > <BR>> > _______________________________________________<BR>> > Insight-users mailing list<BR>> > Insight-users@itk.org<BR>> > http://www.itk.org/mailman/listinfo/insight-users<BR><br /><hr />MSN上小游戏,工作休闲两不误! <a href='http://im.live.cn/minigame' target='_new'>马上就开始玩!</a></body>
</html>