[vtkusers] I have some trouble in display a volume data

zhq 15891495523 at 126.com
Sun Dec 29 05:07:23 EST 2013


Dear all :
      I want to display a volume data .
      I use the vtkVolumeRayCastCompositeFunction class .
      but the result makes me crazy 
<http://vtk.1045678.n5.nabble.com/file/n5725158/QQ%E6%88%AA%E5%9B%BE20131229175638.png> 
      I check the pixel with MITK , and I find only the vessel's pixel is
bigger than 10 . Also , I check the pixel with matlab
      But when I want to check the pixel with VTK , the result is -67044352
, I just can't believe it !
      int * p = (int *)reader->GetOutput()->GetScalarPointer(100,100,0);
     std::cout<<*p<<std::endl;
     Could somebody give me some ideas!
     Thanks in advance!
zhq



--
View this message in context: http://vtk.1045678.n5.nabble.com/I-have-some-trouble-in-display-a-volume-data-tp5725158.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list