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

DICOM images with fixed RescaleSlope != 1.0 cannot be imported without conversion to float #124

Open
Sethur opened this issue Aug 30, 2021 · 0 comments

Comments

@Sethur
Copy link

Sethur commented Aug 30, 2021

OS: Windows 10, x64
ImageJ: 153k

Currently, DICOM images with a fixed RescaleSlope != 1.0 for all slices cannot be imported without conversion to float, because the import logic handles every slice separately and has no way of knowing wether all slices will have the same RescaleSlope in the DICOM header.

This unfortunately leads to a slower import process for DICOM volumes with many slices even though most DICOM volumes (especially for CT and MRI) use fixed values and could be imported via calibrated 16-bit unsigned integer.

Pull request #122 fixes this issue by adding a new DICOM preference that allows the user to state that his DICOM RescaleSlope and -Intercept is fixed in imported volumes, allowing the import logic to avoid converting every image to float.

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

No branches or pull requests

1 participant