How to process the byte array so that the pixels in QLabel are displayed as when using matplotlib cmap=”gray”?
Software is being developed to edit a dataset with a specific extension and structure. It is required to put the resulting image into a QLabel, but when reading the data in Format_Grayscale16
mode, it is darker than when opening matplotlib with the "grey"
color map.
How to process the byte array so that the pixels in QLabel are displayed as when using matplotlib cmap=”gray”?
Software is being developed to edit a dataset with a specific extension and structure. It is required to put the resulting image into a QLabel, but when reading the data in Format_Grayscale16
mode, it is darker than when opening matplotlib with the "grey"
color map.