changeset 230:8768cefe5753 luisf_dev

Fixed the issues that were preventing the Pierre Villars experiment to run correctly.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 18 Apr 2012 15:23:39 +0100
parents ae71e160f80c
children b1db9e090542
files Problems/generatePierreProblem.m
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Problems/generatePierreProblem.m	Wed Apr 18 13:54:21 2012 +0100
+++ b/Problems/generatePierreProblem.m	Wed Apr 18 15:23:39 2012 +0100
@@ -91,7 +91,8 @@
 %%
 %% create dictionary data %%
 
-S=im2colstep(src,blocksize);
+S=im2col(src,blocksize,'sliding');
+
 
 for j= 1:size(S,2)
     S(:,j)=S(:,j)./norm(S(:,j));
@@ -99,7 +100,7 @@
 
 %% create measurement matrix %%
 
-T=im2colstep(trg,blocksize, blocksize);
+T=im2col(trg,blocksize, 'distinct');
 
 %% output structure %%