Page MenuHomePhabricator

Property enums of DICOM module are not supported by scene serialization
Closed, ResolvedPublic

Description

Status: the dicom reader code generates two unspupported properties associated with the loaded image

  • dicomseriesreader.PixelSpacingInterpretation
  • dicomseriesreader.ReaderImplementationLevel

They are generated in mitk::DICOMImageBlockDescriptor::DescribeImageWithProperties(). In both cases the property stores an enum defined in mitkDICOMEnums.h (e.g. GenericProperty<PixelSpacingInterpretation>), but those template instaces have no registered property serializer. Thus an error/warning is caused when serializing sessions with loaded DICOM files and both properties are silently dropped.

I think it is not a critical bug, because the dropped properties are normaly not used. But it is irritating for users because the see an error message when saving a scene and might think something is realy corrupted.

Clean solution would be to introduce also property serializer for the used GenericProperty types (or maybe that information is dropped in context of T25307).

Event Timeline

floca added a project: Restricted Project.May 27 2020, 1:50 PM
kislinsk claimed this task.
kislinsk added a project: Moved to git.dkfz.de.
kislinsk added a subscriber: kislinsk.

This task was closed here on Phabricator since it was migrated to GitLab. Please continue on GitLab.