dcmqi icon indicating copy to clipboard operation
dcmqi copied to clipboard

SEG converter must work when no derivation image items are present

Open fedorov opened this issue 9 years ago • 3 comments

Currently, it segfaults!

fedorov avatar Nov 23 '16 17:11 fedorov

Next remaining issue is

E: FrameOfReferenceUID (0020,0052) absent in FrameOfReferenceModule (type 1)

@michaelonken where in DCMTK is FrameOfReference initialized for SEG?

In this particular situation, it is missing in the source images, so I will need to do something else (create a new UID probably, although that is not very helpful!), but I also wanted to know what function carries over metadata from the source images into the SEG.

fedorov avatar Nov 23 '16 17:11 fedorov

Next issue

W: ReferencedInstanceSequence (0008,114a) absent in SeriesAndInstanceReferenceMacro (type 1)
E: ReferencedInstanceSequence (0008,114a) absent in SeriesAndInstanceReferenceMacro (type 1)
Condition failed: W: ReferencedInstanceSequence (0008,114a) absent in SeriesAndInstanceReferenceMacro (type 1)
E: ReferencedInstanceSequence (0008,114a) absent in SeriesAndInstanceReferenceMacro (type 1)
Missing Attribute(s) in /Users/fedorov/github/dcmqi/libsrc/ImageSEGConverter.cpp:385

fedorov avatar Nov 23 '16 18:11 fedorov

For the Frame of Reference: You have to set one yourself by getting() the module from the IOD class and calling the specific setter() for the attribute.

For the Referenced Instance Sequence: Can you point me to the code where you populate the Common Instance Reference Module?

michaelonken avatar Nov 24 '16 12:11 michaelonken