<div>Hi Everybody,</div>  <div>&nbsp;</div>  <div>i'm operating on volume of type "vtkImageData" as an o/p of vtkVolume16Reader(or actually&nbsp;vtkDicomReader)....</div>  <div>&nbsp;</div>  <DIV align=left><FONT color=#000000>i need to get the coordinate of a point in the volume. typically&nbsp;decided to use the method "GetPoint()".....but when i tried to use it this error appeared on vtk output window (or at least that's a part of it)</FONT></DIV>  <DIV align=left>&nbsp;</DIV>  <DIV align=left><FONT color=#000000>"error : requesting a point from an empty image"</FONT></DIV>  <DIV align=left><FONT color=#000000></FONT>&nbsp;</DIV>  <DIV align=left><FONT color=#000000>i did everything to work this out....even reforming this "vtkImageData" to "vtkStructuredPoints" using "vtkCastToConcrete" class....but the same error reappeared...</FONT></DIV>  <DIV align=left><FONT color=#000000></FONT>&nbsp;</DIV>  <DIV align=left><FONT color=#000000>here are some code snippets that
 illustrate how i got the vtk data and how i tried to get the point coordinates</FONT></DIV>  <DIV align=left><STRONG><FONT color=#00bf60>//////////////////////////////////////////////////////////////////////////////////////</FONT></STRONG></DIV>  <DIV align=left><STRONG><FONT color=#000000>//Volume reader used to construct volume</FONT></STRONG></DIV>  <DIV align=left><FONT color=#000000>vtkVolume16Reader v16 = </FONT><FONT color=#000000 size=2>new</FONT><FONT size=2><FONT color=#000000> vtkVolume16Reader();</FONT></DIV>  <DIV align=left><FONT color=#000000>v16.SetDataDimensions(64, 64);</FONT></DIV>  <DIV align=left><FONT color=#000000>v16.SetDataByteOrderToLittleEndian();</FONT></DIV>  <DIV align=left><FONT color=#000000>v16.SetFilePrefix(</FONT></FONT><FONT color=#000000 size=2>"D:/New Folder/vtk/vtkdata-5.0.2/VTKData/Data/headsq/quarter"</FONT><FONT size=2><FONT color=#000000>);</FONT></DIV>  <DIV align=left><FONT color=#000000>v16.SetImageRange(1, 93);</FONT></DIV> 
 <DIV align=left><FONT color=#000000>v16.SetDataSpacing(3.2, 3.2, 1.5);</FONT></DIV>  <DIV align=left><STRONG><FONT color=#000000></FONT></STRONG></DIV>  <DIV align=left><STRONG><FONT color=#000000></FONT></STRONG></DIV></FONT><FONT size=2>  <DIV><STRONG><FONT color=#00bf60>//////////////////////////////////////////////////////////////////////////////////////</FONT></STRONG></DIV>  <DIV><STRONG><FONT color=#000000>//an object of the class that&nbsp;Extract views....i pass the o/p of volume reader directly</FONT></STRONG></DIV>  <DIV><STRONG><FONT color=#000000>// it's of vtkImageData type</FONT></STRONG></DIV>  <DIV><FONT color=#000000>Views N = </FONT></FONT><FONT color=#000000><FONT size=2>new</FONT><FONT size=2> Views(v16.GetOutput(),v16.GetDataDimensions(),93);</DIV></FONT></FONT>  <DIV><STRONG><FONT color=#00bf60>//////////////////////////////////////////////////////////////////////////////////////</FONT></STRONG></DIV>  <DIV><STRONG><FONT color=#000000>//here is the
 problem...when i try to get certain point (defined by its index)</FONT></STRONG></DIV>  <DIV><STRONG><FONT color=#000000>//coordinates </FONT></STRONG><STRONG><FONT color=#000000>and pass the o/p of this method to a reference...AND HERE I GET THE </FONT></STRONG></DIV>  <DIV><STRONG><FONT color=#000000>//ERROR</FONT></STRONG></DIV>  <DIV><FONT color=#000000>double [] </FONT><FONT color=#000000>x=Volume.GetPoint((32+2*64*64));</FONT></DIV>  <DIV><STRONG><FONT color=#00bf60>//////////////////////////////////////////////////////////////////////////////////////</FONT></STRONG></DIV>  <DIV><STRONG><FONT color=#00bf60></FONT></STRONG>&nbsp;</DIV>  <DIV><FONT color=#000000>thanks alot....and really sorry for your time....</FONT></DIV><p>&#32;

<hr size=1>No need to miss a message. <a href="http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail
">Get email on-the-go </a><br>with Yahoo! Mail for Mobile. <a href="http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail
">Get started.</a>