Skip to content

Use the voi function, window and rescale of the decoded frame#601

Merged
Enet4 merged 3 commits intoEnet4:masterfrom
dougyau:voi-lut-single-frame
Dec 7, 2024
Merged

Use the voi function, window and rescale of the decoded frame#601
Enet4 merged 3 commits intoEnet4:masterfrom
dougyau:voi-lut-single-frame

Conversation

@dougyau
Copy link
Copy Markdown
Contributor

@dougyau dougyau commented Nov 13, 2024

When decoding a single frame, frame_number is set to 1 but the voi_lut_function, the rescale and the window data is kept as an array. This change will use the data corresponding to the frame it will fallback to the first element if possible.

@dougyau dougyau changed the title Use the voi lut function, window and rescale corresponding to the frame Use the voi function, window and rescale of the decoded frame Nov 13, 2024
@Enet4 Enet4 added A-lib Area: library C-pixeldata Crate: dicom-pixeldata labels Nov 13, 2024
Copy link
Copy Markdown
Owner

@Enet4 Enet4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this looks OK. Thank you. 👍

@Enet4 Enet4 merged commit e7b2ac3 into Enet4:master Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lib Area: library C-pixeldata Crate: dicom-pixeldata

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants