The binary events were further weighted by the estimated motion between two consecutive movie frames at the transition time based on a block-matching algorithm implemented as a built-in function (vision.BlockMatcher) in MATLAB (the block size = 9) [23].