What is the photo supposed to look like? Several possibilities are the data is floating point and imshow is interpreting it as an integer (expected range is 0-255) but the data is float (expected range is 0-1) or vice versa.