Hi, I am newbie to pyqtgraph.I opened the image file with scipy.misc.imread which stored the image data into numpy array and then attached the numpy array to the imageItem. Then, I found that the image was displayed with 90 degree rotation counter-clockwise. If I used the matplotlib.imshow, the image would be displayed correctlly. Is there any difference between the imageItem and the imshow function in matplotlib?
--
You received this message because you are subscribed to the Google Groups "pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyqtgraph+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/c126bba3-1a44-4759-a50e-f36e811c3ade%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No, it was not transposed. When I run the following code, I found the image was rotated 270 degree counter-clockwise.self.imageItem.setImage(targetImage.T)Perhaps I should rearrange the image data matrix.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/e17b11b1-f680-4322-870e-0c8f851b7af4%40googlegroups.com.