I would recommend to try to use a Python package, which is specialized to read medical images, so that your data won’t be clipped or disturbed in any other way.
Once you’ve found a package, you could use their load functionality inside your __getitem__ method.