JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for FSL Archives


FSL Archives

FSL Archives


FSL@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

FSL Home

FSL Home

FSL  October 2010

FSL October 2010

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

fslmaths -tfce problem

From:

Yiou Li <[log in to unmask]>

Reply-To:

FSL - FMRIB's Software Library <[log in to unmask]>

Date:

Thu, 14 Oct 2010 11:08:30 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (304 lines)

Hi All,

Just came across a problem with fslmaths -tfce, I used the following comment

fslmaths inputfile -tfce 2 0.5 26 outputfile

and the output is always all zeros, also tried to play around with the
E, H, and connectivity parameters as well as -odt float but same
result always.

I uploaded my file with the reference 768449.

Please kindly check and advise.

Best,
Leo


On Tue, Jun 22, 2010 at 1:38 AM, Matthew Webster
<[log in to unmask]> wrote:
> Hello!
>           I think I'd need to test the image to make sure - there's a number of conditions that could generate this error..
>
> Many Regards
>
> Matthew
>> Clark - thanks a lot!
>>
>> Matthew - what do you think?
>>
>> Cheers-
>> Andreas
>>
>> ________________________________________
>> Von: FSL - FMRIB's Software Library [[log in to unmask]] im Auftrag von Clark Johnson [[log in to unmask]]
>> Gesendet: Montag, 21. Juni 2010 23:52
>> An: [log in to unmask]
>> Betreff: Re: [FSL] AW: [FSL] tfce error
>>
>> Mathew / Andreas
>>
>> This looks like the issue discussed in February both on the list serve )028951) and subsequently off line  (have pasted a couple emails below).  We never got this working so am interested to hear if something else has developed
>>
>> Clark
>>
>> Pasted emails from our discussion in February.
>> ===========
>> Hello,
>>          I've gone back through the emails I sent you - it looks like I might have made a typo in the correction:
>>
>> Can you change the relevant line to:
>>
>> tfce(input_volume[t], height_power, size_power, connectivity, 0, input_volume[t].max()/100.0);
>>
>> and rebuild/retest fslmaths?
>>
>> Many Regards
>> Matthew
>>
>>
>> Mathew:
>>
>> With the very kind support of Michael Hanke we compiled the updated version of fslmaths.  Unfortunately, it still generates an error
>>
>> The new error is “Segmentation fault”
>>
>> Looks like something else in the flsmaths code needs to be changed.
>>
>> Clark
>>
>>
>> =================
>>
>>
>> Hi!
>>     Can you replace the line in fslmaths.cc that reads:
>>
>>         tfce(input_volume[t], height_power, size_power, connectivity, 0, 0);
>>
>> with
>>
>>         tfce(input_volume[t], height_power, size_power, connectivity, 0, input_volume[t].max());
>>
>> and then recompile - the new binary should work as intended...
>>
>> Many Regards
>>
>> Matthew
>>
>>
>> I’ll give it a try.  
>>
>>
>>
>>
>>
>> From: Matthew Webster [mailto:[log in to unmask]]
>> Sent: Tuesday, February 16, 2010 8:02 AM
>> To: Clark Johnson
>> Subject: Re: [FSL] fslmaths & tfce option
>>
>> Many Thanks,
>>                         I can give you a one-line change to fslmaths that will fix this problem, if you're OK with rebuilding the fslmaths binary by hand...
>>
>> Many Regards
>> Matthew
>>
>>
>>
>> Hi Mathew
>>
>> The number is 102509
>>
>> Thanks
>>
>> Clark
>>
>>
>> From: Matthew Webster [mailto:[log in to unmask]]
>> Sent: Tuesday, February 16, 2010 6:23 AM
>> To: Clark Johnson
>> Subject: Re: [FSL] fslmaths & tfce option
>>
>> Hello Clark,
>>                     I think I have a solution to this, but I would like to check with your input image:
>>
>> Can you upload your image to:
>>
>> http://www.fmrib.ox.ac.uk/cgi-bin/upload.cgi
>>
>> and let me know the 6-digit reference number?
>>
>> Many Regards
>>
>> Matthew
>>
>>
>>
>>
>> Hi Steve:
>>
>> Fslstats output for the tstat1 image:
>>
>> -1.77 2.37
>> -9.77 10.33
>>
>> Other info –
>>
>> FSL version 4.1.5
>> OS: Ubuntu 9.10 (64bit)
>>
>> As always – thanks to everyone there  for the wonderful support
>>
>> Clark
>>
>> From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf Of Stephen Smith
>> Sent: Monday, February 15, 2010 1:35 AM
>> To: [log in to unmask]
>> Subject: Re: [FSL] fslmaths & tfce option
>>
>> Hi - you only have one input image - so it can't be that - but presumably there is something wrong with the input.  What do you get from:
>>
>> fslstats tstat1 -r -R
>>
>> fslhd tstat1
>>
>> Cheers.
>>
>>
>> On 12 Feb 2010, at 19:03, Clark Johnson wrote:
>>
>>
>>
>>
>>
>> I’m poking around with the tfce option in fslmaths
>>
>> fslmaths  tstat1 –tfce 2  .5  6  myoutput
>>
>> and keep getting the error:
>>
>> RBD_COMMON::BaseException
>>
>> From the list I see this error occurring when files  have different dimensions – but am not making much progress sorting this out.
>>
>> I’ve tried:
>>
>> •         upsampling to the MNI  2mm standard image
>> •         Setting –odt to float
>> •         Another (several other) input image(s)
>>
>> Still the same error – this must be obvious and “stupid” but . . .
>>
>> What am I missing?
>>
>> Clark
>>
>>
>>
>> ---------------------------------------------------------------------------
>> Stephen M. Smith, Professor of Biomedical Engineering
>> Associate Director,  Oxford University FMRIB Centre
>>
>> FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
>> +44 (0) 1865 222726  (fax 222717)
>> [log in to unmask]    http://www.fmrib.ox.ac.uk/~steve
>> ---------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf Of Andreas Bartsch
>> Sent: Monday, June 21, 2010 3:03 AM
>> To: [log in to unmask]
>> Subject: [FSL] AW: [FSL] AW: [FSL] tfce error
>>
>> Hi Matthew,
>>
>> thanks. The reference number is
>> 410828
>> The file is called zstat1.nii.gz.
>> However, it is just one example where fslmaths --tfce is failing.
>> Cheers-
>> Andreas
>> ________________________________________
>> Von: FSL - FMRIB's Software Library [[log in to unmask]] im Auftrag von Matthew Webster [[log in to unmask]]
>> Gesendet: Montag, 21. Juni 2010 10:34
>> An: [log in to unmask]
>> Betreff: Re: [FSL] AW: [FSL] tfce error
>>
>> Hi,
>>     If you upload the image to:
>>
>> http://www.fmrib.ox.ac.uk/cgi-bin/upload.cgi
>>
>> and let us know the 6-digit reference number, we'll be able to have a look at the image.
>>
>> Many Regards
>>
>> Matthew
>>
>>> hi,
>>>
>>> ok - fslmaths does always produce the below mentioned error
>>>
>>> fslmaths blah -tfce 2 0.5 6 tfce_blah
>>> terminate called after throwing an instance of 'RBD_COMMON::BaseException'
>>> Abort trap
>>>
>>> with any image i use as blah. i'm running on 10.5.8
>>> can anyone test this, should i send an example?
>>> strangely, all other fslmaths functionalities seem fine. and the image do not only contain negative values.
>>> cheers-
>>> andreas
>>> ________________________________________
>>> Von: Bartsch, Andreas
>>> Gesendet: Sonntag, 30. Mai 2010 02:55
>>> An: FSL - FMRIB's Software Library
>>> Betreff: AW: [FSL] tfce error
>>>
>>> nope - certainly not. can show you the file next week.
>>> see you tomorrow, have a good flight!
>>> andreas
>>> ________________________________
>>> Von: FSL - FMRIB's Software Library [[log in to unmask]] im Auftrag von Stephen Smith [[log in to unmask]]
>>> Gesendet: Samstag, 29. Mai 2010 23:34
>>> An: [log in to unmask]
>>> Betreff: Re: [FSL] tfce error
>>>
>>> Urgh!  Did it have only negative values?
>>> See you tomorrow.
>>> xxx
>>>
>>>
>>> On 29 May 2010, at 22:08, Andreas Bartsch wrote:
>>>
>>> hi,
>>>
>>> i got the following error:
>>>
>>> fslmaths zstat1 -tfce 2 0.5 6 tfce_zstat1
>>> terminate called after throwing an instance of 'RBD_COMMON::BaseException'
>>> Abort trap
>>>
>>> any ideas?
>>>
>>> cheers,
>>> andreas
>>>
>>>
>>> ---------------------------------------------------------------------------
>>> Stephen M. Smith, Professor of Biomedical Engineering
>>> Associate Director,  Oxford University FMRIB Centre
>>>
>>> FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
>>> +44 (0) 1865 222726  (fax 222717)
>>> [log in to unmask]<mailto:[log in to unmask]>    http://www.fmrib.ox.ac.uk/~steve
>>> ---------------------------------------------------------------------------
>>>
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager