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

Add initial support for bitsAllocated=1 #212

Merged
merged 2 commits into from
Aug 22, 2021
Merged

Conversation

suyashkumar
Copy link
Owner

@suyashkumar suyashkumar commented Jul 17, 2021

This adds initial support for bitsAllocated=1 assuming LittleEndian ordering.

I'm not sure if we should be assuming LittleEndian ordering all the time.

@suyashkumar suyashkumar self-assigned this Aug 22, 2021
@suyashkumar suyashkumar added the enhancement New feature or request label Aug 22, 2021
@suyashkumar
Copy link
Owner Author

I think I will go ahead and merge these changes soon, mostly because they should only affect DICOMs where bitsAllocated=1, and previously we had incorrect (or an error) behavior there anyway. The tests pass, and this appears somewhat consistent with Pydicom's approach, so I feel it's better to include in the next release than not.

@suyashkumar
Copy link
Owner Author

This will address #211 for the case bitsAllocated = 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant