Detect & Present movements. Mammal Visual system

This function tracks and presents moving regions in real time from still camera or file.
Updated 1 Feb 2015

View License

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:

Cite As

Nikolay S. (2024). Detect & Present movements. Mammal Visual system (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

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.