I’m using matshow to display a sequence of images in a QT window; i.e each time a key is pressed a new image is displayed. The performance seems somewhat sluggish (my baseline here is displaying the images using opencv). So I’m wondering if there are some well established methods for using matshow efficiently that I’m missing. Currently, I’m clearing the figure in between each call to matshow. Does this lead to expensive deallocation and reallocation of memory which could potentially be avoided by simply changing the values stored in memory?
The Intellisis Corporation