Mercurial > hg > smallbox
diff Problems/Pierre_Problem.m @ 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 | 1b63e6a201a2 |
children | 002ec1b2ceff |
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 %%