Skip to content
Discussion options

You must be logged in to vote

fo-dicom uses a more generic approach than your code. The calculation of the pixel data depending on WindowLevel and WindowWith does not apply to the definition in DICOM-Standard. WindowWidth and WindowCenter are not always applied in a linear way, sometimes you have to use SIGMOID, a exponential function. This depends on the content of VOILUTFunction (https://dicom.innolitics.com/ciods/breast-projection-x-ray-image/breast-projection-x-ray-image-multi-frame-functional-groups/52009229/00289132/00281056)

Then there are other properties like rescale slope and rescale intercept.

Futhermore some images contain Lookup-Tables, that have to be applied.

Your code assumes that the pixeldata always …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gofal
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #1765 on December 06, 2024 06:29.