Code
-
All code is released without warranty under the terms of the GNU General Public
License version 2. Please report bugs to michael.spratling@kcl.ac.uk.
However, I may not have the time to provide fixes or support.
v1_response_properties.zip (March 2010)
MATLAB code for modelling V1 simple cell RF properties using the PC/BC-DIM model.
This code performs the experiments described in:M. W. Spratling (2010) Predictive coding as a model of response properties in cortical area V1. Journal of Neuroscience, 30(9):3531-43. Please cite this paper if you use this code.
pc_attention.zip (Feb. 2010)
MATLAB code for modelling visual attention and binding using the PC/BC-DIM model.
This code performs the experiments described in:M. W. Spratling (2008) Predictive coding as a model of biased competition in visual attention. Vision Research, 48(12):1391-408. Please cite this paper if you use this code.
dim_squares.m (Feb. 2010)
MATLAB code for learning the squares problem using the divisive input modulation (DIM) algorithm.
This code performs one of the tasks described in:M. W. Spratling, K. De Meyer and R. Kompass (2009) Unsupervised learning of overlapping image components using divisive input modulation. Computational Intelligence and Neuroscience, 2009(381457):1-19. Please cite this paper if you use this code.