/Bayesian-surprise-for-video

Computes the Bayesian surprise values after each frame in a video.

Primary LanguageMATLAB

-First read the video using the fileread.m code.

-Then compute surprise matrix for the input video using CalcSurprise.m code.

-View the surprise frame by frame using ShowSurprise.m code.

-Code built taking help from Nathan Mundhenk's code for surprise detection and gbvs code for saliency maps.