Skip to content

Commit

Permalink
Minus offset along kz
Browse files Browse the repository at this point in the history
  • Loading branch information
aTrotier committed Dec 18, 2020
1 parent 9a85bc8 commit d2c41bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%
% imOut=phaseOffsetCorrection()
%
% Author: Aurélien TROTIER (a.trotier@gmail.com)
% Author: Aur�lien TROTIER (a.trotier@gmail.com)
% Date: 2016-06-22
% Partner: none
% Institute: CRMSB (Bordeaux)
Expand Down Expand Up @@ -37,7 +37,7 @@
phaseOffz=zeros(sx,sy,sz);

for k=1:sz
phaseOffz(:,:,k)=ones(sx,sy)*(k-sz/2+1)/sz*sz*bruk.method.PVM_SPackArrSliceOffset/bruk.method.PVM_Fov(3);
phaseOffz(:,:,k)=ones(sx,sy)*(k-sz/2+1)/sz*sz*-bruk.method.PVM_SPackArrSliceOffset/bruk.method.PVM_Fov(3);
end
else
sz=1;
Expand Down

0 comments on commit d2c41bd

Please sign in to comment.