You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
287 B
Matlab

function RFrecon=reconstruct_V1RF(w,sigma)
[n,c]=size(w);
LoG=filter_definitions_LGN(sigma);
for j=1:n,
%convolve the ON and OFF weights with the LoG filter
RFon=conv2(w{j,1},LoG,'same');
RFoff=conv2(w{j,2},-LoG,'same');
%save reconstructd values
RFrecon{j}=RFon+RFoff;
end