qimage

PyQt5 QImage isn't reading the image from 2D grayscale array correctly

PyQt5 QImage isn't reading the image from 2D grayscale array correctly Question: My code down gave me odd results, as seen in the attached photo QImage to the left, and ndarray to the right. How can I solve the problem of transforming 2D grayscale ndarray to QImage correctly please? Edit: The Original Image is here: …

Total answers: 2