<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Dear vtkusers and developers,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm using VTK for Multi-Planar Reformation (MPR).</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm loading Dicom image (data) into a vtkStructuredPoints (Image1,Image2,Image3,...ImageN)</DIV>
<DIV>&nbsp;</DIV>
<DIV>It works well with some series of images but not always.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In fact, sometimes the images are inverted(up side down == rotation 180°).</DIV>
<DIV>&nbsp;</DIV>
<DIV>I could solve this problem by reversing the loading(ImageN,ImageN-1,...Image1)</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have not found a way to detect when I need to load the volume in normal way or inverted.</DIV>
<DIV>&nbsp;</DIV>
<DIV>For now I use a comparison between SliceLocation that does not work in all cases:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(SliceLocation_ImageN &gt; SliceLocation_ImageN-1)</DIV>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I reverse the loading(ImageN,ImageN-1,...Image1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;(Image1,Image2,Image3,...ImageN)<BR></DIV>
<DIV>Thanks,<BR>B.wassim</DIV></td></tr></table><br>__________________________________________________<br>Do You Yahoo!?<br>En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités <br>http://mail.yahoo.fr Yahoo! Mail