imshow interpolation='bilinear' equivalen in pyqtgraph
56 views
Skip to first unread message
Agus
unread,
Dec 14, 2018, 5:02:10 AM12/14/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqtgraph
Dear experts,
I usually use matplotlib with imshow and interpolation='bilinear' method to display my image looks smoother.
Does pyqtgraph have something like this?
Regards,
Agus
Jim Crowell
unread,
Dec 17, 2018, 10:28:46 AM12/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqtgraph
I don't know if it's exactly the same, but the ImageItem has a setAutoDownsample() method (and an 'autoDownSample' keyword argument that you can use in setImage() or the constructor) that might be similar enough for your purposes...
Jim Crowell
unread,
Dec 18, 2018, 9:56:41 AM12/18/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqtgraph
I should have said, it does the downsampling by averaging nearby pixels. Looks like the size of the neighborhood depends on the amount by which the image is downsized.