MATLAB: Which is the fastest way to display gray scale images (480 by 640)

fast displayimageImage Processing Toolbox

I am developing a motion tracking turret using a webcam. Presently the code works at 10 fps.
I'm using imshow to display images. But only the last image shows up, after the program is terminated. If i use pause(0.5) the images are displayed, but this messes up the frame rate.
Any solutions?

Best Answer

You have to get the handle to the image in your axes, and then assign your webcam snapshot to the CData property (I think that's what it's called). This will be faster than imshow.