changeset 122:38d4fbf6ae24 sup_158_IMG_Processing_toolbox_

Pierre_Problem.m - IMP toolbox dependencies removed
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Wed, 25 May 2011 14:15:57 +0100
parents 5a20f4936159
children 0e2959c83824
files Problems/Pierre_Problem.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Problems/Pierre_Problem.m	Tue May 24 16:18:21 2011 +0100
+++ b/Problems/Pierre_Problem.m	Wed May 25 14:15:57 2011 +0100
@@ -91,7 +91,7 @@
 %%
 %% create dictionary data %%
 
-S=im2col(src,blocksize,'sliding');
+S=im2colstep(src,blocksize);
 
 for j= 1:size(S,2)
     S(:,j)=S(:,j)./norm(S(:,j));
@@ -99,7 +99,7 @@
 
 %% create measurement matrix %%
 
-T=im2col(trg,blocksize, 'distinct');
+T=im2colstep(trg,blocksize, blocksize);
 
 %% output structure %%