Skip to content

Commit

Permalink
Update mergeTenCrop.m
Browse files Browse the repository at this point in the history
fixed the width index and height index
  • Loading branch information
zhoubolei committed Apr 28, 2017
1 parent 0d378e1 commit 6ddaaba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mergeTenCrop.m
Expand Up @@ -22,8 +22,8 @@
curCrop2 = permute(cropImgSet(end:-1:1,:,:,curr+5),[2 1 3 4]);


alignImgSet(i:i+cropSize-1, j:j+cropSize-1,:,curr) = curCrop1;
alignImgSet(i:i+cropSize-1, j:j+cropSize-1,:, curr+5) = curCrop2;
alignImgSet(j:j+cropSize-1, i:i+cropSize-1,:,curr) = curCrop1;
alignImgSet(j:j+cropSize-1, i:i+cropSize-1,:, curr+5) = curCrop2;

curr = curr + 1;

Expand Down

0 comments on commit 6ddaaba

Please sign in to comment.