This functions presents a figure with only moving regions of the video. The user can control signal source (a file or a device on the computer) several parameters, to achieve the presentation of regions he is interested in. App user will have to set for the default parameters. Perhaps I'll think of a version where those params can also be changed inside App. This function can be though of as a mammal vision system simulation (some mammals, like dogs, see only object that move). My son likes to play the following game: first he is hiding (he stays still, to get a totally dark screen), and the he moves, and shown by the application.
See video form my web-camera: https://www.youtube.com/watch?v=4HneLWBIFVQ
Important- when running this function for the first time with Matlab 2013 and later, use the Support Package Installer to install your camera Video Interface. For most cases that would be the OS Generic Video Interface.
Had to modify the code so it will suite fast computers. The video versions ran too fast on them, and some reported Matlab was freezing on USB input.
Packed the Submission files into an App.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.