% Tilke Judd May 2011
% Baseline chance model to compare saliency models against.

function map = chanceModel(imgfile)

% get the size of the input image
img = imread (imgfile);
[h, w, c] = size(img);

% resize the center image to the size of the imgfile
map = rand(h, w);
map = (map-min(map(:)))/(max(map(:))-min(map(:)));
map = uint8(map*255);
