<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>Thanks for your Help, but unfortunately it seems that it doesnt solve my problems.<br><br>I try to explain my problem.<br><br>I have&nbsp; two 3d nifti images. Both images have a different scale, rotation and shift. Those information are stored in the niftiheader.<br><br>When i read the nifti-images i use the OrientImageFilter to get the right orientation. I think the OrientImageFilter uses the spatial orientation information located in the nifti header. So this already works fine.<br>But how can i obtain the scale and shift information to rescale and translate my two images or at least one image, so i can superimpose them.<br><br>In the InsightApplication LandmarkInitializedMutualInformationRegistration you have the facility to see both images you have loaded one above the other.<br>But currently the scale and the location of the moving image (i guess the fixed image is the reference image) is incorrect.<br><br>Thanks for your help!<br><br><br><br><br>&gt; From: dbetz@stud.hs-bremen.de<br>&gt; To: insight-users@itk.org<br>&gt; Date: Thu, 6 Nov 2008 20:35:44 +0100<br>&gt; Subject: Re: [Insight-users] Using Orientation Information from Nifti header<br>&gt; <br>&gt; Hello Eric,<br>&gt; <br>&gt; &gt; Well, i solved the orientation problem by using the itk::OrientImageFilter<br>&gt; &gt; class.<br>&gt; &gt;<br>&gt; &gt; but now i got problems with the location in space.<br>&gt; &gt;<br>&gt; &gt; When i load 2 nifti images and superimpose them (i´m currently using the<br>&gt; &gt; InsightApllication LandmarkInitializedMutualInformationRegistration) then<br>&gt; &gt; it looks like they dont really match. The orientation is fine, but the<br>&gt; &gt; location in space in not the right one.<br>&gt; &gt;<br>&gt; &gt; Which class i´m supposed to use to read and use the location in space from<br>&gt; &gt; the header?<br>&gt; <br>&gt; I have no clue about LandmarkInitializedMutualInformationRegistration, but <br>&gt; eventually your problem is related to some issues of ITK.<br>&gt; <br>&gt; Eventually the following links could be helpfull:<br>&gt; <br>&gt; http://www.itk.org/Bug/view.php?id=6558<br>&gt; http://www.itk.org/Wiki/ITK_Release_4.0_Orientation_by_Michael<br>&gt; http://www.itk.org/Wiki/ITK_Release_4.0_Orientation_by_Torsten<br>&gt; http://www.itk.org/Wiki/ITK_Release_4.0_Orientation_by_Kent<br>&gt; http://www.itk.org/pipermail/insight-users/2008-November/027797.html<br>&gt; <br>&gt; Let us now.<br>&gt; <br>&gt; Perhaps someone helps you with your problem when you describe it more <br>&gt; detailed.<br>&gt; <br>&gt; Regards<br>&gt; Daniel Betz<br><br /><hr />Rundum-Schutz für den PC - Windows Live OneCare:  <a href='http://redirect.gimas.net/?n=M0811OneCareDE&d=http://www.microsoft.com/germany/windows/products/windowslive/onecare/default.mspx ' target='_new'>90 Tage kostenlos!</a></body>
</html>