dicom

Where is possible download “.dcm” files for free? [closed]

亡梦爱人 提交于 2019-12-02 16:38:26
I'd like know a free database for free download of medical images in DICOM file format. Do you know any database? The NIH (National Institute of Health) has a bunch of free DICOM databases (from actual real patients). Go check the collection descriptions for more information and for instruction on how to fetch the data. http://www.dclunie.com/ scroll to "images" http://www.pcir.org/index.html click "for researcher" and then "downloads". Has also links to other repositories http://barre.nom.fr/medical/samples/ Somewhere on the DICOM site there are several example images including multiframe

Unification ct scan voxel size by using interpolation in Python

二次信任 提交于 2019-12-02 12:59:41
问题 I have used interp2 in Matlab, such as the following code, that is part of @rayryeng's answer in: Three dimensional (3D) matrix interpolation in Matlab: d = size(volume_image) [X,Y] = meshgrid(1:1/scaleCoeff(2):d(2), 1:1/scaleCoeff(1):d(1)); for ind = z %Interpolate each slice via interp2 M2D(:,:,ind) = interp2(volume_image(:,:,ind), X, Y); end Example of Dimensions: The image size is 512x512 and the number of slices is 133. So: volume_image(rows, columns, slices in 3D dimenson) : 512x512x133

ITK笔记——读取多帧DICOM图像

谁都会走 提交于 2019-12-02 11:08:33
上篇笔记介绍了单个DICOM图像的读取( ITK笔记——读取单个DICOM切片 ),接下来看如何读取DICOM序列以及使用。 读取多个DICOM图像 定义数据类型 using PixelType = signed short; constexpr unsigned int Dimension = 3; // The dimension is 3, not 2 using ImageType = itk::Image<PixelType, Dimension>; 初始化GDCM接口 using ImageIOType = itk::GDCMImageIO; ImageIOType::Pointer dicomIO = ImageIOType::New(); 设置ImageFileReader using NamesGeneratorType = itk::GDCMSeriesFileNames; NamesGeneratorType::Pointer nameGenarator = NamesGeneratorType::New(); nameGenarator->SetDirectory(argv[1]); using FilenamesContainer = std::vector<std::string>; FilenamesContainer filenames =

how to resolve index exceeds matrix dimensions in matlab?

末鹿安然 提交于 2019-12-02 10:32:24
I am trying to read series of dicom images from a folder named as series 8.below is code to read series of dicom images from a particular folder.i am getting error index exceeds matrix dimensions at info = dicominfo(fullfile(fileFolder,fileNames{1})) . clear all; close all; clc; fileFolder = fullfile(pwd, 'series 8'); files = dir ( fullfile (fileFolder, '*.dcm')); fileNames = {files.name}; %examine file header (metadata , from dicom stack) info = dicominfo(fullfile(fileFolder,fileNames{1})) %extract size info from metadata voxelsize = [info.PixelSpacing;info.SliceThickness]; %read one file to

How to read nested/child DICOM tags from sequences using fo-dicom?

流过昼夜 提交于 2019-12-02 08:48:02
For my project, I'm trying to read a radiation therapy plan (RT Plan) out of a DICOM file with fo-dicom 3.0.2 and C# in VS2015 (.Net 4.5.2). Thanks to a DICOM Editor, I know the values stored in the different DicomTags , but I cant get access to all Tag s. e.g I'm trying to read the DicomTag.BeamDose and I know the value isn't empty. string storedfile = file_path + file_name; Dicom.DicomFile file = Dicom.DicomFile.Open(@storedfile); MessageBox.Show(file.Dataset.Get<string>(Dicom.DicomTag.BeamDose)); Running the code throws an exception with message: (300a,0084) not found in dataset. As

How to show legally DICOM 16 unsigned integer on the device are supporting 8 bit unsigned integer?

安稳与你 提交于 2019-12-02 06:40:50
问题 I'm working on a Medical app on iOS. The iOS devices just support GL_UNSIGNED_BYTE with GL_LUMINANCE or generally just support 8 bit per component. Now I have some grayscale images are 16 bit unsigned integer and I want to show them. I find we can't show 16 bit unsigned integer and Therefore I should convert them to 8 bit unsigned integer. But in Medical I should not loss data or should have minimum data loss. Now, my question is : how to convert 16 bit unsigned integer to 8 bit unsigned

What does the index refer to when selecting a pixel on an image in Matlab?

こ雲淡風輕ζ 提交于 2019-12-02 02:42:21
When looking at a single pixel of an image in Matlab, what does this index refer to? X/Y refer to the coordinates of the pixel, and RGB refers to the color, but any ideas on what the index is? To clarify, when I am viewing a figure in Matlab and use the data cursor to select a point, the three lines shown are: X: ### Y: ### Index: ### RGB: ###, ###, ### I am trying to "average" several dicom images together, and it appears that the numbers that are added and being manipulated is this index value, but I'm not sure what it refers to. For example, here is an image that I might be reading: %loads

JPEG Lossless in DICOM

做~自己de王妃 提交于 2019-12-01 21:33:48
In the DICOM spec one of the Transfer Syntaxes is 1.2.840.10008.1.2.4.70 defined as JPEG Lossless, Nonhierarchical, First- Order Prediction (Processes 14 [Selection Value 1]) . What does "JPEG Lossless, Nonhierarchical, First- Order Prediction (Processes 14 [Selection Value 1])" mean? Is this format the same as JPEG-LS? This page seems to indicate that there is some difference (JPEG-LS is listed in the bottom section). Is is possible to read or write this format in Python? Looking over the docs for Pillow is no clear to me that the format is supported. This post is somewhat relevant . JPEG

How can I save a common image format to DICOM? [closed]

烂漫一生 提交于 2019-12-01 19:17:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . How can I save a common image format to DICOM? 回答1: You can try to use Grassroots DICOM library , or look in codeplex DICOM related projects. Also ClearCanvas is promising open source project 回答2: Here you go: gdcmimg holiday.jpg holiday.dcm From: http://gdcm.sourceforge.net/html/gdcmimg.html 回答3: DCMTK's

read DICOM image using C#

送分小仙女□ 提交于 2019-12-01 14:50:38
How to read a DICOM file using C# ? There is a codeproject article that you probably checked out. If not, maybe it can help you out. http://www.codeproject.com/KB/graphics/dicomImageViewer.aspx . It is a DICOM viewer that reads DICOM files where image bit depth is 8 or 16 bits. Rune Grimstad I don't know of any native libraries for reading DICOM files, but you can use ImageMagik to read them and convert them to a format that you can use. To use ImageMagik from C# you can do something like this: how to use imageMagick with C# There is also a managed-code wrapper library for ImageMagik called