Hi all,
I wanted to follow upon this question as I was able to identify the
source of the problem. It turns out that something had gone wrong in
the creation of my mask image, and it was, in fact, empty. Running
the command I give below without the mask option and argument worked
fine, as does it running it with a proper mask. I'm not exactly sure
why this raised an error about the dimensionality of my input image,
but I did find the problem rather confusing, so I bring it up here in
case it's an easy fix.
Best,
Michael
On Tue, Jun 28, 2011 at 10:07 PM, Michael Waskom <[log in to unmask]> wrote:
> Hi,
>
> I'm attempting to use fsl_regfilt to remove some confounds from a
> timeseries. I have a 4d image and a design matrix text file with 18
> columns and the same number of rows as there are frames in my
> timeseries.
>
> I am invoking fsl_regfilt like so:
>
> $ fsl_regfilt --in=bold_mcf_st --out=bold_mcf_st_regfilt
> --design=confound_matrix.dat
> --filter='1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18' --mask=mask
>
> However, when I run this, I get the following error:
>
> ERROR: need to specify 4D input to use filtering
>
> However,
>
> $ fslinfo bold_mcf_st
> filename bold_mcf_st.nii.gz
> data_type FLOAT32
> dim1 128
> dim2 128
> dim3 67
> dim4 60
> ...
>
>
> What gives? That looks 4D to me. I'm sure it's something simple I'm
> missing, but the documentation for this program is rather sparse...
>
> Thanks,
> Michael
>
|