[ITK] [ITK-users] Lost Patient, Study and Series DICOM tags

Bradley Lowekamp brad at lowekamp.net
Fri Jul 8 14:53:03 EDT 2016


Hello,

We have just merged the topic which adds the “SetMetaData” method to the SimpleITK Image interface into the “next” development branch of SimpleITK [1]. We expect for this to shortly be merged into the master branch after nightly testing. We are also creating an example which uses it for writing a modified DICOM file.

There should be nightly binaries that follow shortly there after for CSharp [2]. This may meet your needs.

Directly using GDCM is a sensible way to go for more control over DICOM IO. I have not done what you propose, but I expect it is possible. You would likely need some lower level buffer access as is done here[3].

HTH,
Brad

[1] https://github.com/SimpleITK/SimpleITK/commit/69865add060e87c175c7f212c7bdddab11e127ab
[2] https://itk.org/Wiki/SimpleITK/GettingStarted#Nightly_binaries
[3] https://itk.org/SimpleITKDoxygen/html/CSharp_2ImageGetBuffer_8cs-example.html

> On Jul 8, 2016, at 2:41 PM, Piotr Piasecki <piotpia124 at student.polsl.pl> wrote:
> 
> I know that GDCM library (or its elements) is used in some cases in ITK. If SimpleITK does not provide write access to dicom tags whether is it possible to use GDCM wrapped in C# to do this? I can imagine a scenario in which I'll use SimpleITK to process image, and GDCM to replace specified tags.
> 
> Is it possible? If so, I would ask for help person skilled in using GDCM in C#. Are there any examples of how to do such a thing?
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users

_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list