简体   繁体   English

如何在C#中使用VTK进行3D体积渲染

[英]How to 3D Volume Render using VTK in C#

I'm new in the field of C#, using it to render DICOM images via VTK TKit. 我是C#领域的新手,使用它通过VTK TKit渲染DICOM图像。 I've already installed vtk in Visual Studio, and I'm trying to create a 3D Volume Rendering of DICOM image. 我已经在Visual Studio中安装了vtk,并且正在尝试创建DICOM图像的3D体积渲染。 I suppose that I've got to study how to implement the dll files of the vtk TKit, in order to proceed with the 3D Volume Rendering creation. 我想我必须学习如何实现vtk TKit的dll文件,以便继续进行3D体积渲染的创建。 So, the question is: What to start with? 因此,问题是:从什么开始?

You need to use ActiViz.NET , to get the C# binding (Keep in mind that VTK is C++). 您需要使用ActiViz.NET来获取C#绑定(请注意,VTK是C ++)。 You may then compile GDCM + C# binding to get a better DICOM reader than the default provided by VTK. 然后,您可以编译GDCM + C#绑定,以获得比VTK提供的默认值更好的DICOM阅读器。

On debian-like system, simply do: 在类似debian的系统上,只需执行以下操作:

sudo apt-get install libvtkgdcm-cil

On windows, follows the build instructions 在Windows上,遵循构建说明

I'm very thankful for your rapid answer. 非常感谢您的迅速回答。 I agree that Activiz.NET is necessary for the binding/wrapping of the C# libraries, using the c++ ones. 我同意Activiz.NET对于使用C ++进行C#库的绑定/包装是必需的。 I use windows, but thaks you in anticipation for the debian system instruction. 我使用Windows,但是让您对debian系统指令有所期待。 So, by downloading these, I'll be able to "synthesize" the 3D volume rendering? 因此,通过下载这些文件,我将能够“合成” 3D体积渲染?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM