[vtkusers] Using Interpolation and vtkImageReslice
Wagner Sales
wsalles2003 at yahoo.com.br
Wed Apr 18 20:50:27 EDT 2007
Hi all,
I'm using vtkImageReslice to extract and interpolate a slice from a DICOM dataset. To play with this, I was changed the VTK/Examples/ImageProcessing/ImageProcessing/Cxx/ImageSlicing.cxx to read my Dicom serie, display and write the result(vtkPNGWriter), was are shifted by the vtkImageShiftScale.
On the screen, when I change the current slice, the image are correct displayed. But, on writer, something appears to be wrong ( image atached ).
I was tested the interpolate modes, but the image aspect are the same, not like I can see on display. I need the exact result that's are displayed, since I'll use this image to view in another viewer wich will take the pixels, draw and display.
Just to help, the code are atached too.
Someone can help what's I'm doing wrong?
Thks,
Wagner Sales
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070418/61e20fe3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image.png
Type: image/png
Size: 39580 bytes
Desc: 529070563-Image.png
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070418/61e20fe3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageSlicing.cxx
Type: text/x-c++src
Size: 8766 bytes
Desc: 2985661556-ImageSlicing.cxx
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070418/61e20fe3/attachment.cxx>
More information about the vtkusers
mailing list