vtk

VTK快速使用基础

旧巷老猫 提交于 2019-11-27 15:08:15
作为一个成熟的图形可视化函数库,VTK可以在处理三维重建问题时有方便的处理流程。以下是为了快速使用VTK而做的一些总结。 一、两个基本的对象模型 1、绘图模型 绘图模型包括以下核心对象: ●vtkActor/vtkActor2D、vtkVolume——vtkProp/vtkProp3D 的子类; ●vtkLight ●vtkCamera ●vtkProperty/vtkProperty2D ●vtkMapper/vtkMapper2D——vtkAbstractMapper 的子类 ●vtkTransform ●vtkLookupTable、vtkColorTransferFunction——vtkScalarsToColors 的子类 ●vtkRenderer ●vtkRenderWindow ●vtkRenderWindowInteractor 将以上几个对象结合起来我们就创建了一个场景,Props 代表我们在这个场景里面所看到的东西,如果 Props 按照 3D 处理,那么他是 Prop3D 类型,2D 的话就是 Actor2D 类型,Props 并不直接代表几何学的东西,而是涉及绘图,它也涉及一个 Property 对象,这个对象是用来控制 Props 的外观的(如颜色等),Actors 和 Volumes 有一个内部的变换对象,vtkTransform,这个对象压缩 4*4

从DICOM开始入门医学图像处理-1-开发工具

六月ゝ 毕业季﹏ 提交于 2019-11-27 15:01:49
前言 前一段时间接触了一个项目,主要是开发一个PC客户端,实现DICOM格式的医学影像的浏览和一些简单的处理,因此了解了一些医学影像方面的东西,分享出来供大家参考. 背景介绍 PACS系统 PACS系统是Picture Archiving and Communication Systems的缩写,意为影像归档和通信系统。它是应用在医院影像科室的系统,主要的任务就是把日常产生的各种医学影像(包括核磁,CT,超声,各种X光机,各种红外仪、显微仪等设备产生的图像)通过各种接口(模拟,DICOM,网络)以数字化的方式海量保存起来,当需要的时候在一定的授权下能够很快的调回使用.简单的来讲,在使用PACS的医院,所有的影像学检查产生的图片都会上传到PACS服务器上,以统一的文件格式保存,在影像检查设备的工作站上安装有PACS客户端,他负责向服务器上传新产生的文件,或者胸PACS上调取某些图片,同时,PACS客户端一般都集成了简单的图像浏览功能,有些高级的甚至带有辅助诊断和编辑功能. DICOM DICOM是PACS系统所采用的文件存储协议.目前最新标准为DICOM3.0,以 DICOM形式存储的档案中包括影像资料,病人的基本信息,检查所用的仪器的信息等 工具推荐 比较好获得的DICOM查看器有 Pmsdview 和 RadiAnt 等,其中, RadiAnt是一个小巧且强大的软件

CMake ExternalProject_Add() and FindPackage()

青春壹個敷衍的年華 提交于 2019-11-27 06:59:40
Is there are proper way to find a library (via FindPackage() ) which was built with ExternalProject_Add() ? The problem is that CMake cannot find the library at CMake-time because the external library gets build at compile time. I know that it is possible to combine these two CMake function when building the library and the project in a superbuild but I want to use it in a normal CMake project. In fact I would like to build VTK 6 with ExternalProject_Add and find it with FindPackage all inside my CMake project. there is a way to do this. but it´s kind of hackish. you basically add a custom

Combining Qt 5.4.1 with vtk 6.2.0 (using CMake GUI 3.2.1) on windows

孤街醉人 提交于 2019-11-27 06:30:32
问题 I know almost nothing about CMake. What I'm trying to do is to use VTK with Qt. Unfortunately, I'm stuck at the CMake part. For some reason, when I press "configure", I get the following error: CMake Error at GUISupport/Qt/CMakeLists.txt:58 (find_package): By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Widgets", but CMake did not find one. Could not find a package configuration file provided by

How to install VTK 6.1 for OSX 10.8 with Cocoa/XCode support?

谁都会走 提交于 2019-11-27 01:46:31
问题 The extremely helpful guidelines posted at http://www.vtk.org/Wiki/Cocoa_VTK and via the readme file by Sean McBride and Mike Jackson inside the VTK repo were slightly out of date for VTK 6.1. So in case this helps anybody, I'm posting instructions for installing VTK 6.1 on OSX 10.8 with support for the SimpleCocoaVTK Xcode project. 回答1: * Installing VTK 6.1 for OSX 10.8 with Cocoa support * These instructions slightly modify Ryan Glover's instructions at http://www.vtk.org/Wiki/Cocoa_VTK and

CMake ExternalProject_Add() and FindPackage()

半城伤御伤魂 提交于 2019-11-26 17:36:38
问题 Is there are proper way to find a library (via FindPackage() ) which was built with ExternalProject_Add() ? The problem is that CMake cannot find the library at CMake-time because the external library gets build at compile time. I know that it is possible to combine these two CMake function when building the library and the project in a superbuild but I want to use it in a normal CMake project. In fact I would like to build VTK 6 with ExternalProject_Add and find it with FindPackage all