You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Pixel Representation Attribute can and should be inspected to determine if the pixel data values are signed integers or not. At the moment unsigned is assumed, and we should return an error if the data is signed. We should also support pulling in signed integers as well.
The text was updated successfully, but these errors were encountered:
Put up a quick draft in #296 to return an error, but need to check a couple more things. It might not be too hard to just go ahead and parse the signed and unsigned ints outright.
suyashkumar
changed the title
Check for and support Signed Integers in Native Pixel Data
Check for Signed Integers in Native Pixel Data
Nov 6, 2023
Probably the right way to handle this is to support multiple data types for PixelData, including floats. This would also help with #291 and #161 as well if we allowed the parsed values to be differently sized ints.
The Pixel Representation Attribute can and should be inspected to determine if the pixel data values are signed integers or not. At the moment unsigned is assumed, and we should return an error if the data is signed. We should also support pulling in signed integers as well.
The text was updated successfully, but these errors were encountered: