Skip to content

Multivalue for WindowCenter and WindowWidth #1

@anoukstein

Description

@anoukstein

The string values for WindowCenter and Width can have multivalues separated by . The string to int in DicomImage could take this into account eg
if let v = self.dataset.string(forTag: "WindowWidth") {
self.windowWidth = Int(v.split(separator: "\")[0]) ?? self.windowWidth
}
if let v = self.dataset.string(forTag: "WindowCenter") {
self.windowCenter = Int(v.split(separator: "\")[0]) ?? self.windowCenter
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions