questions > RE: dcm2niix for Philips PAR/REC files
Dec 3, 2018  01:12 PM | josephine g
RE: dcm2niix for Philips PAR/REC files
Hi Chris,

Thanks for your pointers. I upgraded to the newest dcm2niix version and changed the command, but got the same error that the package is unable to detect any images. However, it seemed to locate the PAR files after uncompressing them (filename.PAR.gz > filename.PAR). 
However, it now returns a different error related to the number of slices:

path/to/new_version/dcm2niix -o /$outdir /$imgdir/filename.PAR

Compression will be faster with 'pigz' installed
Chris Rorden's dcm2niiX version v1.0.20181125 GCC4.8.2 (64-bit Linux)
Warning: dcm2niix PAR is not actively supported (hint: use dicm2nii)
Found 18950 slices, but expected divisible by 18962: slices*grad*bval*cardiac*echo*dynamic*mix*labels = 38*1*1*1*1*499*1*1
/$imgdir
Error: Total number of slices (18950) not divisible by slices per 3D volume (38) [acquisition aborted]. Try dicm2nii or R2AGUI: 
/$imgdir


It also reported an error related to the number of dynamics, which was inconsistent with the header info. This warning disappeared after manually changing the header (PAR file). 

Can you give any advise on how to deal with the error above?
Thanks!

Best,
Josephine

Threaded View

TitleAuthorDate
Nina Reislev Jan 26, 2015
Chris Rorden Jan 26, 2015
Nina Reislev Jan 27, 2015
Rubina Chandnani Aug 26, 2021
Chris Rorden Aug 26, 2021
Rubina Chandnani Aug 26, 2021
Rubina Chandnani Aug 27, 2021
Chris Rorden Aug 27, 2021
Chris Rorden Jan 27, 2015
Luigi Antelmi Dec 6, 2016
Chris Rorden Dec 6, 2016
Shilpi Modi Jan 3, 2020
Chris Rorden Jan 3, 2020
Shilpi Modi Jan 9, 2020
josephine g Nov 28, 2018
Chris Rorden Nov 28, 2018
RE: dcm2niix for Philips PAR/REC files
josephine g Dec 3, 2018
Chris Rorden Dec 3, 2018
josephine g Dec 3, 2018
Josh Robinson Sep 27, 2018
Chris Rorden Sep 27, 2018