I am trying to use the ImageMath subfunction TimeSeriesSubset to crop my BOLD images.
When I run what seems to me to be the correct syntax, >ImageMath 4 new TimeSeriesSubset Test_BOLD.nii.gz 100
I get the following error: libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: basic_string
Abort trap: 6
I've also tried ImageMath -d 4 new TimeSeriesSubset Test_BOLD.nii.gz 100
and got this error: Dimension 0 is not supported
And I tried it with no # of images ImageMath 4 new TimeSeriesSubset Test_BOLD.nii.gz
and got Segmentation fault: 11
What am I doing wrong?
Also, when I choose a # of images, are they taken from the start, end, or middle? I am trying to remove the first 10 timepoints before I process the fMRI data, and I assume that this is the correct function to do so.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to use the ImageMath subfunction TimeSeriesSubset to crop my
BOLD images.
When I run what seems to me to be the correct syntax,
ImageMath 4 new TimeSeriesSubset Test_BOLD.nii.gz 100
I get the following error:
libc++abi.dylib: terminating with uncaught exception of type
std::out_of_range: basic_string Abort trap: 6
I've also tried
ImageMath -d 4 new TimeSeriesSubset Test_BOLD.nii.gz 100
and got this error:
Dimension 0 is not supported
And I tried it with no # of images
ImageMath 4 new TimeSeriesSubset Test_BOLD.nii.gz
and got
Segmentation fault: 11
What am I doing wrong?
Also, when I choose a # of images, are they taken from the start, end, or
middle? I am trying to remove the first 10 timepoints before I process the
fMRI data, and I assume that this is the correct function to do so.
I am trying to use the ImageMath subfunction TimeSeriesSubset to crop my BOLD images.
When I run what seems to me to be the correct syntax,
>ImageMath 4 new TimeSeriesSubset Test_BOLD.nii.gz 100I get the following error:
libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: basic_string Abort trap: 6I've also tried
ImageMath -d 4 new TimeSeriesSubset Test_BOLD.nii.gz 100and got this error:
Dimension 0 is not supportedAnd I tried it with no # of images
ImageMath 4 new TimeSeriesSubset Test_BOLD.nii.gzand got
Segmentation fault: 11What am I doing wrong?
Also, when I choose a # of images, are they taken from the start, end, or middle? I am trying to remove the first 10 timepoints before I process the fMRI data, and I assume that this is the correct function to do so.
recommend ANTsR for something like that ...
brian
On Wed, Jan 13, 2016 at 4:29 PM, Bryson Reynolds brysonbr@users.sf.net
wrote: