[vtkusers] a little Problem trying the VTK Medical example (VTK/Examples/Medical/Cxx/Medical1.cxx)

charfeddine amir charfeddine_amir at yahoo.fr
Wed Mar 15 09:23:16 EST 2006


Re lee,
 thx for reply,
 i generate my files from itk processing with vtk format:
 volume1.vtk, volume2.vtk, ... , volume256.vtk
 each file is a 256 * 256 pixels
 i changed the Medical1.cxx to :
 
 vtkVolume16Reader *v16 = vtkVolume16Reader::New();
     v16->SetDataDimensions (256,256);
     v16->SetImageRange (1,255);
     v16->SetDataByteOrderToLittleEndian();
     v16->SetFilePrefix (argv[1]);
     v16->SetDataSpacing (1, 1, 1);
 
 thx for your time,
 Regards.
 
lee ricky <rickyhust at gmail.com> a écrit : Hi
 you result is volume.1, volume.2,.., volume.32, volume.64, volume.63, volume.62, ..., volume.33?
 It's really strange!
 what's the  format of you files?    bmp   raw  dicom?

 
 2006/3/14, charfeddine amir <charfeddine_amir at yahoo.fr>: Hi all,
I'm new with VTK , so please support me if i ask stupid questions,
I tried the example Medical1.cxx to reconstruct the VTKData/Data/headsq/quarter , and evry thing was OK, but when i tried it with my volume, i get a little problem.
he reconstruct the volume but inverted, i explain :
suppose my volume is composed of 64 slice ( volume.1, ... , volume.64)
the volume i get is like resulting from slice ordered like this : volume.1, volume.2,.., volume.32, volume.64, volume.63, volume.62, ..., volume.33
please if someone could help me there, i can send u my volume to try that and understand my problem. 
thx a lot for your time,
regards.
  

---------------------------------
 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.  Téléchargez la version beta.  


_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:  http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers 




 

		
---------------------------------
 Nouveau : téléphonez moins cher avec Yahoo! Messenger. Appelez le monde entier à partir de 0,012 €/minute ! Téléchargez la version beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060315/488dab19/attachment.htm>


More information about the vtkusers mailing list