Giter VIP home page Giter VIP logo

itkdicom's Introduction

ITKDICOM

image

Better support for DICOM in ITK.

Objectives:

  • Write out valid DICOM images
  • Ensure anonymization is possible

Approach:

  • Write out images typed by their modality
  • Whitelist a set of metadata / tags required per modality
  • Whitelist metadata for anonymization
  • Use DCMTK for heavy lifting

This repository is currently a work in progress, and functional filters are not yet available.

itkdicom's People

Contributors

jcfr avatar thewtex avatar zachmullen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

itkdicom's Issues

Re-enable the KWStyle test on CI

The KWStyle test is currently ignored in test/Docker/test.sh. It should be re-enabled after all header files have been populated.

polymorphic pixel type reader

When using an ITK reader one needs to specify a pixel type, but many file formats, including DICOM, are polymorphic and the actual data type is only known by reading the file.

Slicer includes a layer that queries the data type and then uses macros so that the native data type of the file can be returned. This is all implemented in the VTK code that wraps ITK, such as these examples:

https://github.com/Slicer/Slicer/blob/master/Libs/vtkITK/vtkITKArchetypeImageSeriesReader.cxx#L190

https://github.com/Slicer/Slicer/blob/dac2a3d60e91aeee5912751509455be2217f69fd/Libs/vtkITK/vtkITKArchetypeImageSeriesScalarReader.cxx#L90

It would be great if ITK implemented a more native support for this pattern to simplify the logic for users of the code.

This was discussed as an issue on the Slicer forum topic here:

https://discourse.slicer.org/t/slicer-dicom-scalar-volume-plugin-relies-on-old-gdcm-why-do-we-not-use-dcmtk/354/11

Support writing a 16bit 3D image to a single DICOM file

Request from the mailing list:

When I try to save an 8bit 3D image to a single DICOM file using ITK/GDCM, it succeeds. A suitable SOP class (Multi-frame Grayscale Byte Secondary Capture Image IOD) is assigned to the DICOM image. The same code fails when the image is 16bit, though DICOM standard does seem to have a suitable SOP class (Multi-frame Grayscale Word Secondary Capture Image IOD) for the 16bit image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.