Skip to content

Add parsing and methods for metadata relevant for DICOM conversion#50

Open
erikogabrielsson wants to merge 1 commit intoamspath:mainfrom
erikogabrielsson:dicom-metadata
Open

Add parsing and methods for metadata relevant for DICOM conversion#50
erikogabrielsson wants to merge 1 commit intoamspath:mainfrom
erikogabrielsson:dicom-metadata

Conversation

@erikogabrielsson
Copy link
Contributor

  • Allocated string lengths are based on the Length of Value for the VR that the corresponding DICOM attribute should have.
  • DICOM_SOFTWARE_VERSIONS, DICOM_DATE_OF_LAST_CALIBRATION, and DICOM_TIME_OF_LAST_CALIBRATION are specified as IStringArray in the isyntax specifications, and could potentially contain multiple items.
  • Although the corresponding DICOM attributes for DICOM_LOSSY_IMAGE_COMPRESSION_RATIO and DICOM_LOSSY_IMAGE_COMPRESSION_METHOD allow multiple values, the isyntax specification specifies them as IDouble and IString, so parse them as single values.

C is not my strongest language, so please review thoroughly and give feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant