Mercurial > hg > smallbox
changeset 231:b1db9e090542 luisf_dev
fixed comments
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 18 Apr 2012 18:12:15 +0100 |
parents | 8768cefe5753 |
children | 15fd4c5be71a 1fbd28dfb99e |
files | Problems/generatePierreProblem.m |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Problems/generatePierreProblem.m Wed Apr 18 15:23:39 2012 +0100 +++ b/Problems/generatePierreProblem.m Wed Apr 18 18:12:15 2012 +0100 @@ -88,18 +88,16 @@ if (numel(blocksize)==1) blocksize = ones(1,p)*blocksize; end -%% -%% create dictionary data %% +%% create dictionary data S=im2col(src,blocksize,'sliding'); - for j= 1:size(S,2) S(:,j)=S(:,j)./norm(S(:,j)); end -%% create measurement matrix %% - +%% observed patches matrix +% that are going to be decomposed on the dictionary T=im2col(trg,blocksize, 'distinct'); %% output structure %%