Menu

ImageMath TimeSeriesSubset

Help
2016-01-13
2016-01-13
  • Bryson Reynolds

    Bryson Reynolds - 2016-01-13

    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.

     
    • stnava

      stnava - 2016-01-13

      recommend ANTsR for something like that ...

      brian

      On Wed, Jan 13, 2016 at 4:29 PM, Bryson Reynolds brysonbr@users.sf.net
      wrote:

      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.


      ImageMath TimeSeriesSubset
      https://sourceforge.net/p/advants/discussion/840261/thread/910cfb24/?limit=25#08ae


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/advants/discussion/840261/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
MongoDB Logo MongoDB