Hello All, I hadn't noticed the strange dimension variable in the header. I solved the problem by manually editing the header dimension to 3 instead of 5. Still unsure how the dimension got changed to 5, however I think it may have something to do with Chris Rorden's dcm2nii conversion from the native .ima DICOM format. Thanks for the quick feedback! -- Taylor Smith Lab Technician Rabchevsky Lab University of Kentucky Spinal Cord and Brain Injury Research Center (SCoBIRC) B0436, BBSRB, 741 S. Limestone St. Lexington, KY 40508 Email: [log in to unmask] Phone: 859-323-5359 -----Original Message----- From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf Of Hongyu Yang Sent: Tuesday, April 29, 2014 2:52 PM To: [log in to unmask] Subject: Re: [FSL] fsl_regfilt -f function Hello Stephen, When I ran echo X`cat bad_components.txt`X I got this: X1 2 3 4 5 7 9 10 18 22 40 44 50 X Thanks, Hongyu