Page MenuHomePhabricator

Implement unit test for reading of DICOM images
Closed, DuplicatePublic

Description

+++ This bug was initially created as a clone of T5593 +++

A unit test should test some aspects of reading DICOM series. This is a sketch for such a test:

  • Read a single slice with a negative value in tag (0018,0088) Spacing between slices
    • should be silently inverted because single slice spacing is not dramatic
    • see T5593
  • Read a CT with a tilted geometry
    • some kind of clear error or hint should be produced
    • code checking this condition is available
    • see T1823
  • Read a "normal" volume and check basic known properties such as
    • spacing
    • dimension
    • origin

Such a test or set of tests will help if ITK changes it's DICOM reading code.

Related Objects

Event Timeline

maleike added a subscriber: maleike.

I can provide images and some code parts.

Testing bugs are part of their respective modules -> changing component to other, please assign appropriate component.

kislinsk reopened subtask Restricted Maniphest Task as Open.Jun 27 2018, 2:59 PM
kislinsk closed subtask Restricted Maniphest Task as Resolved.Jun 27 2018, 3:25 PM