Skip to content

Commit

Permalink
Lack of slice timing does not imply multiband
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Jan 21, 2023
1 parent 337de36 commit 1d4413e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5921,7 +5921,7 @@ void setMultiBandFactor(int dim3, uint64_t indx0, struct TDICOMdata *dcmList) {
if (isSameFloatGE(dcmList[indx0].CSA.sliceTiming[v], 0.0))
mb++;
}
if ((dcmList[indx0].CSA.multiBandFactor < 2) && (mb > 1))
if ((dcmList[indx0].CSA.multiBandFactor < 2) && (mb > 1) && (mb < dim3))
dcmList[indx0].CSA.multiBandFactor = mb;
} // setMultiBandFactor()

Expand Down

0 comments on commit 1d4413e

Please sign in to comment.