Returns the image with the given index. Note that for the moment, the image is loaded at maximum depth (i.e. : can be 16bits), and converted to RGB autoatically. If a 8bits image is needed, consider the cv2.convertScaleAbs to change bit depth The rgb parameters indicates if the conversion should be performed.