<html><body><div style="font-family: lucida console,sans-serif; font-size: 10pt; color: #000000"><div>Hi everyone, <br></div><div>I have two images one fixed image and one moving image a I registered them and I have the transformation matrix in the ITK Transform format.<br></div><div><br></div><div>I think, now if I take the index [0 0 0] and calculate the physical point associated with the index [0 0 0],i.e., the origin using </div><div>moving_image->TransformIndexToPhysicalPoint( index, P0 ).<br></div><div><br></div><div>My assumption is that if to this physical point P0, I apply the calculated transform using </div><div>P1= transform->TransformPoint(P0)<br></div><div><br></div><div>and then calculate the index associated with the transformed point P1, in the fixed image like,<br></div><div>fixed_image->TransformPhysicalPointToIndex(P0, new_index)<br></div><div><br></div><div>The new_index should be the origin for the fixed image,i.e., P0 should be the origin of the new image.<br></div><div>But I am not getting the same results. <br></div><div><br></div><div>Am I doing something wrong ?</div><div><br></div><div>Thanks for any help<br></div><div>Vikash<br></div><div><br></div></div></body></html>