问题
I've downloaded ActiViz.NET 5.8 to use it in my C# application, now the examples I downloaded show 3D by reading a vti file..
How can I create a vti file from a stack of images?
Thank you
回答1:
Simply use gdcm2vtk from the command line:
$ gdcm2vtk DICOM_input_directory output.vti
See gdcm2vtk man page. Of course GDCM is wrapped in C# language so the command line can be used from any Activiz.NET + GDCM application.
On debian/linux, simply do:
$ sudo apt-get install libvtkgdcm-tools
On windows/macosx you'll need to compile GDCM+VTK.
来源:https://stackoverflow.com/questions/19590457/convert-stack-of-dicom-images-into-vti-file