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
Thank you for your report @ggirelli and sorry for the late reply.
Do you have a suggestion on how to implement this? Otherwise I'll decide what to do with it before the next release (either try to decide from the metadata or leave it as-is).
So, the Parser._raw_metadata.SLxImageAttributes.ePixelType tag seems to match the SampleFormat TIFFTag. Hence, possible values should be:
1 = unsigned integer data
2 = two's complement signed integer data
3 = IEEE floating point data
4 = undefined data format
We can combine this with the bits per pixel from the Parser.SLxImageAttributes.uiBpcInMemory tag to build a dtype compatible with numpy. How about something like:
See here.
The text was updated successfully, but these errors were encountered: