Hi <br>i am tryign to get the pixels from a vtkImageData but it seems that the line <br><br>myImage->GetPointData()->GetScalars()->GetTuple1(number); <br><br>causes a run time error. number is an integer and myImage a pointer to vtkImageData. Is there any problem with this method? <br><br>Otherwise is there a better way of accessing the pixels of a vtkImageData? I 've seen the GetScalarPointer() method but i am not sure how to use it.<br><br>Thanks <br><p> 
<hr size=1>Fussy? Opinionated? Impossible to please? Perfect. <a href="http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ">Join Yahoo!'s user panel</a> and lay it on us.