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
Is your feature request related to a problem? Please describe.
Image data loaded from non-medical 2D formats like jpeg are transposed by the ImageReader class loading them, this is because these images are WH order and typical Pytorch ordering is HW. It's not clear to users that this is happening and can be really confused when using the loaders with natural images or photographs, or even MedNIST data as compared to loading with PIL directly.
Describe the solution you'd like
Documentation for LoadImage should be updated to state that this occurs for a number of non-medical specific file formats.
Describe alternatives you've considered
Tilting my head to the side any time I visualise an image.
Additional context
I had forgotten this was intended behaviour and wasn't helped by documentation.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Image data loaded from non-medical 2D formats like jpeg are transposed by the
ImageReader
class loading them, this is because these images are WH order and typical Pytorch ordering is HW. It's not clear to users that this is happening and can be really confused when using the loaders with natural images or photographs, or even MedNIST data as compared to loading with PIL directly.Describe the solution you'd like
Documentation for
LoadImage
should be updated to state that this occurs for a number of non-medical specific file formats.Describe alternatives you've considered
Tilting my head to the side any time I visualise an image.
Additional context
I had forgotten this was intended behaviour and wasn't helped by documentation.
The text was updated successfully, but these errors were encountered: