Dear all,<br><br>finally I was able to make the 3D MPR with correct labels. Thanks for the post<br><a href="http://vtk.1045678.n5.nabble.com/vtkImageReslice-class-td1233015.html#a1233025">http://vtk.1045678.n5.nabble.com/vtkImageReslice-class-td1233015.html#a1233025</a><br>
<br>Which explained the conversions as well as the working of vtkImageReslice filter.<br><br>look for below word in that post.<br> x = T*M*x&#39;    where &quot;T&quot; is ResliceTransform and &quot;M&quot; is ResliceMatrix<br>
<br>My learning:<br><br>1) dicom is left hand system and vtk is the Right handed system. To convert to and from <br>    create the vtkDataSet in nth image to first image. last image is inserted at first and first image is inserted last in sequence.<br>
2) Apply above formula to calculate the effective direction cosines for the arbitrary plane.<br><br>Xeffective = Orientation*T*M<br>where : <br>             Xeffective : Effective direction cosine.<br>                        T : Reslice Transform.<br>
                       M : ResliceMatrix of vtkImageReslice class.<br>                       Orientation : Dicom orientation read from data set.<br><br>This gave me the correct labelling with any rotations (oblique,double oblique).<br>
<br>Once again thank you.<br><br>------------------------------------<br>Prakash.<br>Learn to share and share to learn.<br><br><br><div class="gmail_quote">On Mon, Jan 9, 2012 at 3:26 PM, prakash kotre <span dir="ltr">&lt;<a href="mailto:prakash.medsphere@gmail.com">prakash.medsphere@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>Any Ideas on this issue?<br><br>Thanks and regards<span class="HOEnZb"><font color="#888888"><br>Prakash</font></span><div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">On Fri, Dec 30, 2011 at 5:53 PM, prakash <span dir="ltr">&lt;<a href="mailto:prakash.medsphere@gmail.com" target="_blank">prakash.medsphere@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
I am working on MRI MPR.<br>
I am stuck with MR images labelling part.<br>
I use dcmtk 3.5.4 ( dicom parsing/reading) and vtk 5.4<br>
( vtkImageReslice algorithm).<br>
<br>
The directionCosines of the vtkImageReslice  slicer is taken to<br>
calculate the side labels.<br>
<br>
If MRI is acquired in Axially its image orientation is 1,0,0/0,1,0 and<br>
the side markers are showing correctly.<br>
<br>
But If MRI is acquired other than axial then orientation is different.<br>
the marker calculations are going wrong.<br>
<br>
I think, I need to calculate the side markers taking image orientation<br>
in consideration.<br>
<br>
But I dont know how to do it. Could you please help me ?<br>
<br>
My MPR 3 views are:<br>
<br>
Transform-&gt;Identity();<br>
view1 : break.<br>
view2 : Transform-&gt;RotateX(90);<br>
view3 : Transform-&gt;RotateY(90);<br>
<br>
Thanks and regards<br>
<span><font color="#888888">Prakash<br>
</font></span></blockquote></div><br>
</div></div></blockquote></div><br>