Skip to content

Commit

Permalink
FEAT: translation+rotation+isotropic scaling affine (SEZ)
Browse files Browse the repository at this point in the history
  • Loading branch information
brudfors committed Jul 4, 2022
1 parent 93850c0 commit 2d5665a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spm_mb_shape.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,22 @@
B(3,1,5) = -1;
B(2,3,6) = 1;
B(3,2,6) = -1;
case 'SEZ'
% I don't know what this one should be called
% but it is SE(3) with an isotropic zoom.
B = zeros(4,4,7);
B(1,4,1) = 1;
B(2,4,2) = 1;
B(3,4,3) = 1;
B(1,2,4) = 1;
B(2,1,4) = -1;
B(1,3,5) = 1;
B(3,1,5) = -1;
B(2,3,6) = 1;
B(3,2,6) = -1;
B(1,1,7) = 1;
B(2,2,7) = 1;
B(3,3,7) = 1;
case 'Aff'
% Aff(3) - Affine
B = zeros(4,4,12);
Expand Down

0 comments on commit 2d5665a

Please sign in to comment.