From d2c41bdbabdf9ee03821b5c913fd3dcf0b775f39 Mon Sep 17 00:00:00 2001 From: aTrotier Date: Fri, 18 Dec 2020 12:26:32 +0000 Subject: [PATCH] Minus offset along kz --- .../functions/phaseOffsetCorrection_BruKitchen.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reco-a_MP2RAGE_CS/functions/phaseOffsetCorrection_BruKitchen.m b/reco-a_MP2RAGE_CS/functions/phaseOffsetCorrection_BruKitchen.m index 0f791f5..8c118ba 100644 --- a/reco-a_MP2RAGE_CS/functions/phaseOffsetCorrection_BruKitchen.m +++ b/reco-a_MP2RAGE_CS/functions/phaseOffsetCorrection_BruKitchen.m @@ -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) @@ -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;