一杯清酒邀明月
天下本无事,庸人扰之而烦耳。
posts - 3121,comments - 209,views - 578万

随笔分类 -  VTK

上一页 1 2 3 4 5 6 7 ··· 10 下一页
VTK 实例28:将JPG类型的灰度图像进行彩色映射(图像彩色映射)
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-15 11:27 一杯清酒邀明月 阅读(86) 评论(0) 推荐(0) 编辑
VTK 实例27:将BMP类型的RGB图像提取各个颜色(R、G、B)组分(提取颜色组分)
摘要:VTK中利用vtkImageExtractComponents可以方便地提取彩色图像的各个颜色通道组分,提取出来的每一个组分数据就是一个灰度数据。 1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MOD 阅读全文
posted @ 2023-08-15 11:26 一杯清酒邀明月 阅读(146) 评论(0) 推荐(0) 编辑
VTK 实例26:将BMP类型的RGB图像转换为灰度图像
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-15 11:24 一杯清酒邀明月 阅读(52) 评论(0) 推荐(0) 编辑
VTK 实例25:BMP图像像素值的访问与修改
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 #include <vtkSmartPointer.h> 5 #include < 阅读全文
posted @ 2023-08-15 11:24 一杯清酒邀明月 阅读(85) 评论(0) 推荐(0) 编辑
VTK 实例24:BMP图像信息的修改(图像维数、原点坐标和像素间隔)
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-15 11:23 一杯清酒邀明月 阅读(100) 评论(0) 推荐(0) 编辑
VTK 实例23:DCM医学图像信息的访问(图像维数、原点坐标和像素间隔)
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-15 11:22 一杯清酒邀明月 阅读(132) 评论(0) 推荐(0) 编辑
VTK 实例22:JPG图像信息的访问(图像维数、原点坐标和像素间隔)
摘要:1 #include <vtkAutoInit.h> 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-15 11:21 一杯清酒邀明月 阅读(59) 评论(0) 推荐(0) 编辑
VTK 实例21:BMP图像信息的访问(图像维数、原点坐标和像素间隔)
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-15 11:20 一杯清酒邀明月 阅读(41) 评论(0) 推荐(0) 编辑
VTK 实例20:用vtkImageViewer2显示三维医学图像mhd的某个切面
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-14 16:02 一杯清酒邀明月 阅读(280) 评论(0) 推荐(0) 编辑
VTK 实例19:用vtkImageCanvasSource2D创建图像
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-14 15:20 一杯清酒邀明月 阅读(257) 评论(2) 推荐(0) 编辑
VTK 实例18:柱体的交互
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkSmartPointer.h> 6 #include 阅读全文
posted @ 2023-08-14 15:10 一杯清酒邀明月 阅读(107) 评论(0) 推荐(0) 编辑
VTK 实例17:手动创建vtkImageData数据集
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include "vtkRenderer.h" 6 #include "vt 阅读全文
posted @ 2023-08-14 15:09 一杯清酒邀明月 阅读(407) 评论(0) 推荐(0) 编辑
VTK 实例16:手动创建vtkPolyData数据集
摘要:1 // This example shows how to manually create vtkPolyData. 2 #include "vtkAutoInit.h" 3 VTK_MODULE_INIT(vtkRenderingOpenGL2); 4 VTK_MODULE_INIT(vtkIn 阅读全文
posted @ 2023-08-14 15:08 一杯清酒邀明月 阅读(226) 评论(0) 推荐(0) 编辑
VTK 实例15:图像数据测量
摘要:1 // First include the required header files for the VTK classes we are using. 2 #include "vtkAutoInit.h" 3 VTK_MODULE_INIT(vtkRenderingOpenGL2); 4 VT 阅读全文
posted @ 2023-08-14 15:07 一杯清酒邀明月 阅读(75) 评论(0) 推荐(0) 编辑
VTK 实例14:读取DCM医学图像并显示
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkDICOMImageReader.h>//DCM医学 阅读全文
posted @ 2023-08-14 15:06 一杯清酒邀明月 阅读(386) 评论(0) 推荐(0) 编辑
VTK 实例13:读取JPG图像并显示
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkJPEGReader.h>//JPG读取类 6 #i 阅读全文
posted @ 2023-08-14 15:05 一杯清酒邀明月 阅读(178) 评论(0) 推荐(0) 编辑
VTK 实例12:读取PNG图像并显示
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 5 #include <vtkPNGReader.h>//PNG读取类 6 #in 阅读全文
posted @ 2023-08-14 15:04 一杯清酒邀明月 阅读(171) 评论(0) 推荐(0) 编辑
VTK 实例11:读取BMP图像并显示
摘要:窗宽(Window Width):表示所显示信号强度值的范围(CT图像上所包含的CT值范围) 窗位(Window Level):又称窗水平。窗位是指窗宽上下限的平均数(窗位的高低影响图像的亮度) 例如:窗宽为300H,当窗位是0H时,其CT值范围为-150H~0H~+150H;如窗位是+40H时,则 阅读全文
posted @ 2023-08-14 15:04 一杯清酒邀明月 阅读(109) 评论(0) 推荐(0) 编辑
VTK 实例10:坐标系统2
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 #include <vtkConeSource.h>//源数据 5 #includ 阅读全文
posted @ 2023-08-14 15:03 一杯清酒邀明月 阅读(90) 评论(0) 推荐(0) 编辑
VTK 实例9:坐标系统1
摘要:1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 #include <vtkConeSource.h>//源数据 5 #includ 阅读全文
posted @ 2023-08-14 15:02 一杯清酒邀明月 阅读(92) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 10 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示