Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically Scale Dicom Image's #50

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Ivan-E-Johnson
Copy link
Collaborator

Overview

When the valid fields are provided we should prefer to apply the provided scaling information at time of conversion from dcm to itk. Most of the time there is no scaling information provided and no scaling is done.

Implementation

When calling the get_itk_image function we check to see if there are the appropriate scaling dicom headers
It then extracts the scaling information out of the provided headers and applies them to the newly generated ITK image

Testing

This was manually tested on over 800 prostate studies with promising results.
There are No Unit tests as of yet

Problems Faced

None

Notes

For more information please refer here

@Ivan-E-Johnson Ivan-E-Johnson requested a review from mbrzus April 18, 2024 21:10
@Ivan-E-Johnson Ivan-E-Johnson self-assigned this Apr 18, 2024
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.

2 participants