<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi there,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>In the itk example codes, ImageRegistration5.cxx,
the translation was set like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>transform->SetTranslation( centerMoving -
centerFixed );</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>where centerMoving is the center of the moving
image and centerFixed is the center of the fixed image. Since translation
maps moving image to the fixed image, shouldn't the translation of the
transform be "centerFixed - centerMoving"?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanx!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Grace</FONT></DIV>
<DIV><FONT size=2> </FONT></DIV></BODY></HTML>