8000 DicomImage.WindowCenter calculation bug · Issue #1296 · fo-dicom/fo-dicom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
DicomImage.WindowCenter calculation bug #1296
Closed
@willy-skipper

Description

@willy-skipper

Describe the bug
DicomImage.WindowCenter calculation wrong if WindowCenter ((0028,1050) [DS]) = 20958.0000415
Currently it calculates 20958.0000415 as 209580000415

To Reproduce
Open image with decimal WindowCenter value.

Expected behavior
WindowCenter should be at least rounded to 20958

Screenshots or test DICOM files
image

Environment
Fellow Oak DICOM version: 4.0.8)
OS: Windows 10 x64
Platform: .NET Framework 4.6.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0