diff --git a/cat_vol_sanlm.m b/cat_vol_sanlm.m index 4a980868..a249429b 100644 --- a/cat_vol_sanlm.m +++ b/cat_vol_sanlm.m @@ -371,6 +371,8 @@ clear srcRS srcr srcR; src = src / 2; end + else + NCstrr1 = 0; NCstrr2 = 0; end NCstrr = mean([NCstrr1 NCstrr2]); % or sum() / 2 ;