Code for modelling visual attention and feature binding using the PC/BC-DIM model.
Go to file
mwspratling 347de3179b 1st release Feb 2010 2023-02-13 13:13:19 +00:00
LICENSE 1st release Feb 2010 2023-02-13 12:59:09 +00:00
README.md 1st release Feb 2010 2023-02-13 13:13:19 +00:00
linear_PCBC_attention_model.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
linear_PCBC_iteration.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
nonlinear_PCBC_attention_model.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
nonlinear_PCBC_iteration.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
norm_weights.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
pc_binding.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
pc_binding_spatial.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
pc_featural_selection.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
pc_featural_tuning_curve.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
pc_posner.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
pc_spatial_selection.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
pc_spatial_selection_contrast.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
pc_spatial_tuning_curve.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
plot_network.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00
plot_network_enhance.m 1st release Feb 2010 2023-02-13 12:59:09 +00:00

README.md

This code implements the simulation results reported in:

M. W. Spratling (2008) Predictive Coding as a Model of Biased Competition in Visual Attention. Vision Research, 48(12):13911408.

Please cite this paper if this code is used in, or to motivate, any publications.


USAGE


This code requires MATLAB. It was tested with MATLAB Version 7.7 (R2008b).

To use this software:

    run matlab 
    cd to the directory containing this code 
    run one of the functions with the name pc_*

Each of the pc_* functions runs one of the experiments reported in the above publication. The following table gives details of which MATLAB function produces each figure in this article.

Figure MATLAB Function
3 pc_spatial_selection.m
4 pc_spatial_selection_contrast.m
6 pc_featural_selection.m
7 pc_spatial_tuning_curve.m
8 pc_featural_tuning_curve.m
9 pc_posner.m
10 pc_binding.m
11 pc_binding_spatial.m