Medical Image Preprocessing Using Python