ITK/Release 4/DICOM: Difference between revisions

From KitwarePublic
< ITK‎ | Release 4
Jump to navigationJump to search
Line 53: Line 53:


== Discussion about RT-Struct ==
== Discussion about RT-Struct ==
* there is an existing implementation in vtk. Reading should be easier than writing, the later requiring some DICOM knowledge.
** vtkGDCMPolyDataReader [http://gdcm.sourceforge.net/html/classvtkGDCMPolyDataReader.html here]
*** The actual function needed is [https://sourceforge.net/apps/trac/gdcm/browser/trunk/Utilities/VTK/vtkGDCMPolyDataReader.cxx#L229 here] int vtkGDCMPolyDataReader::RequestData_RTStructureSetStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector)
** vtkGDCMPolyDataWriter [http://gdcm.sourceforge.net/html/classvtkGDCMPolyDataWriter.html here]
** vtkRTStructSetProperties [http://gdcm.sourceforge.net/html/classvtkRTStructSetProperties.html here]
** Examples/Cxx/GenerateRTSTRUCT
* there is IJ papers to read and write RTSTRUCT
** [http://hdl.handle.net/1926/1521 write]
** [http://hdl.handle.net/10380/3132 read]
Some leftover GDCM milestone [http://sourceforge.net/apps/trac/gdcm/query?group=status&milestone=%5BMM-12%5D+-+RT+support here]


= TCons =
= TCons =

Revision as of 10:29, 12 August 2011

Improving DICOM Support

Goals

Improve the support for DICOM in ITK

  1. DICOM communication layer (a.k.a. PACS support, DICOM Protocol)
  2. Streaming
  3. Read and write RTStruct
  4. type checking
  5. minimum DICOM skeleton generation

other requests from the ITK community

handling of higher order manifold as described in DICOM standard

handling of DICOMDIR format disk archives (navneeth)

  • Unlike a standard dicom series (located in a single directory) the DICOMDIR format spreads files across directories
  • A reader that reads the DICOMDIR file and parses appropriate files & directories is desirable

Development process

The idea is to simplify the maintenance in the future:

  • update included version of gdcm
  • synchronise included version and gdcm proper
  • send the patches upstream

To do this, we forked a version of gdcm in github to use for integration and maintenance in iTK v4 (https://github.com/ComplexSystemsModeling/GDCM). This fork will get all the modifications and patches from ITK, and will let us easily send them upstream. Builds for ITK using this fork and the original gdcm (https://github.com/malaterre/GDCM) have been set up. Eventually there will be three kinds of itk/gdcm builds on the dashboard:

  • ITK with included gdcm
  • ITK with SYSTEM_GDCM using our fork
  • ITK with SYSTEM_GDCM using gdcm proper

Modifications should go to our fork of gdcm first, so we expect the ITK with GDCM FORK to be the greenest. Then, we should transfer those to ITK, and eventually upstream.

dev process:

  • modify code (this can be either in ITK or in GDCM FORK, depending on the modification)
  • (re) install GDCM FORK on the system (as ITK does not work with a build tree of gdcm)
  • check ITK with GDCM FORK (local-experimental-nightly)
  • push to itk-gerrit
  • check ITK proper builds
  • gerrit merge

That means, developers need to maintain both a SYSTEM GDCM FORK build and an ITK build locally.

Discussions and Brainstorming

Discussions about PACS Support

Discussion about Streaming

  • JPEG2000

Discussion about RT-Struct

  • there is an existing implementation in vtk. Reading should be easier than writing, the later requiring some DICOM knowledge.
    • vtkGDCMPolyDataReader here
      • The actual function needed is here int vtkGDCMPolyDataReader::RequestData_RTStructureSetStorage(gdcm::Reader const &reader, vtkInformationVector *outputVector)
    • vtkGDCMPolyDataWriter here
    • vtkRTStructSetProperties here
    • Examples/Cxx/GenerateRTSTRUCT
  • there is IJ papers to read and write RTSTRUCT

Some leftover GDCM milestone here

TCons

Meeting