ITK
ericohe
AI工程师
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ITK 读取DICOM中特定tag的值
Read and Print DICOM Tags // This example illustrates how to read a DICOM series into a volume and then // print most of the DICOM header information. The binary fields are skipped. #include "itkImageSeriesReader.h" #include "itkGDCMImageIO.h" #...原创 2021-08-20 11:15:27 · 745 阅读 · 0 评论 -
ITK生成mhd文件(附加额外Tag信息)
bool writeMhdFile(const char* dicomPath, const char *mhdFileName, bool useCompression) { typedef itk::Image<short, 3> ImageType; ImageType::Pointer image; if (!dicomSeriesToITKImage(dicomPath, image)) { return false; } ...原创 2021-07-28 13:47:54 · 526 阅读 · 0 评论 -
ITK_non_uniform_sampling_deviation(ITK bug)
现象 zspacing 些许误差 虽然只是 1 与0.99999995617647042之间的差异 左边ITK 4.13,右边ITK5.1.0 万一,有二货,float类型直接判断相等的话,会导致问题 问题发现 https://github.com/InsightSoftwareConsortium/ITK/issues/1607 https://github.com/InsightSoftwareConsortium/ITK/pull/1616/files 解决 要么降级到...原创 2021-07-27 18:14:51 · 716 阅读 · 0 评论 -
ITK图像分割(PNG图像)
/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o.原创 2021-04-02 16:02:49 · 497 阅读 · 0 评论 -
VTK合并mhd文件
vtkNew<vtkImageAppend> append; append->SetAppendAxis(2); //for loop { vtkNew<vtkImageChangeInformation> filter; filter->SetInputData(extractVOI->GetOutput()); filter->SetOutputExtentStart(0, 0, 0); filter->S...原创 2021-03-04 09:49:05 · 390 阅读 · 1 评论 -
ITK读取多帧DICOM图像并显示图像
依赖: ITK/4.13.2 VTK/8.2.0 代码: #include <itkGDCMImageIO.h> #include <itkGDCMSeriesFileNames.h> #include <itkImageSeriesReader.h> #include <itkImag...原创 2021-01-21 17:30:21 · 921 阅读 · 1 评论 -
python DICOM文件转mha/mhd
pip3 install SimpleITK pip3 install opencv-python原创 2020-12-31 10:50:58 · 2118 阅读 · 4 评论
分享