Convert a jpeg image series into vti image file

三世轮回 提交于 2020-02-08 05:18:19

问题


I'm using VTK API in my C# application. Please can someone explain how to convert my image series which is in .jpeg format to .vti image file to be able to use it in my application? The image series contains sequential abdomen images. Quick reply will be most appropriated. Thanks in advance!


回答1:


You can read each image in the series using: http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/JPEGReader

Then, you could combine them into a 3D image manually: http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/IterateImageData

Or more automatically with: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/CombiningRGBChannels



来源:https://stackoverflow.com/questions/8102681/convert-a-jpeg-image-series-into-vti-image-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!