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  2006

FSL 2006

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: FLIRT not-reproducible results on and across multiple platforms

From:

Arthur Mikhno <[log in to unmask]>

Reply-To:

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

Date:

Fri, 24 Mar 2006 09:30:44 -0500

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (258 lines)

Thanks Mark,

This is really great... I appreciate that you took the time to look  
at this problem for me.

I was wondering if you can comment on why results in the same  
platform vary when choosing different starting angles.
Rephrased: On the SAME platform, should you expect the same result if  
choosing different search angles? What search angle is most reliable.

Thanks,
Arthur


On Mar 24, 2006, at 12:15 AM, Mark Jenkinson wrote:

> Dear Arthur,
>
> I've just had a look at your images and now I understand why the  
> results
> are so variable.  I'm no expert on non-MR data, but I assume that  
> these
> are PET or SPECT images.  They have very poor quality anatomy, have
> significant reconstruction artifact (radial streams) and also seem  
> to have
> some artifacts in the inferior portions (large black areas).
> I've put some example gif images of these volumes at:
>   http://www.fmrib.ox.ac.uk/~mark/files/fsl/
> so that you can confirm that these are the images that you are dealing
> with and that the transfer did not corrupt them.
>
> Given these images I would expect that flirt would struggle to find  
> a good
> and stable registration (a good, strong minima in the cost  
> function) and so
> this explains why you see your variations of up to 2mm.  I'm afraid  
> that
> flirt and fsl are tuned for MR data.  One thing which might help is to
> do brain extraction (which we recommend anyway, as a matter of  
> course -
> see the FSL FAQ for details of this and other registration  
> recommendations).
>
> Unfortunately, BET does a poor job on these images (again, it is  
> developed
> for MR images) so you will have to find some other way.  However,  
> it is
> worth doing if you want to try to get good registrations, as the  
> background
> of these images is very strong and contains a lot of structure  
> which will
> make the registration more biased and less stable while it is  
> included.
>
> Sorry I do not have better news, but it does explain why we do not  
> normally
> see such large variations in registration between platforms.
>
> Best of luck,
> 	Mark
>
>
> On 23 Mar 2006, at 09:44, Arthur Mikhno wrote:
>
>> Thanks Mark,
>>
>> I have uploaded the files to your server with the number 915331. I  
>> named the zip file that as well. The input image for  
>> coregistration was: NHBTA002.15.FI.hdr and the reference image was  
>> NHBTA002.08.FI.hdr.
>>
>> Also, I made a mistake about the variation in degrees, I was eye  
>> balling it. The actual differences are up to .6 degrees but are  
>> also clearly visible visually. This is because .6 degrees can  
>> translate in to a motion of 2+ mm in an image that contains 256,  
>> 1mm voxels. Translation is also an issue.
>>
>> In the zip file there are two folders:
>> Originals: Contains two images with numbers 15 and 08. In my tests  
>> I coregistered 15 to 8 using the following parameters:
>> Rigd 6 Parameters, mutualinfo, trilinear... and the various search  
>> angles.
>>
>> Results: Contains the resulting images of all the test runs.  
>> Anything that has a .1. and a .2. in the file name is the first  
>> and second run. Also I included the .mat files for all the runs.
>>
>> ---
>> Here is a summary of the rotation angles and translations that are  
>> a result of the coregistration for all the test runs.
>> *Note: I used flirt 5.3 for Solaris and Mac  and flirt 5.2 for the  
>> Linux
>> *The results are more pronounced in degrees where there is a  
>> difference in up o .6 degrees in some runs.
>>
>>
>> Rotations (in radians):
>> Linux (gaba)
>>    -0.0104   -0.0035         0
>>    -0.0067    0.0020   -0.0014
>>    -0.0067    0.0020   -0.0014
>>    -0.0009    0.0007   -0.0016
>>    -0.0009    0.0007   -0.0016
>>
>> Unix, Solaris 10 (hal)
>>    -0.0021   -0.0011         0
>>    -0.0122    0.0005   -0.0008
>>    -0.0122    0.0005   -0.0008
>>    -0.0030   -0.0008   -0.0002
>>    -0.0030   -0.0008   -0.0002
>>
>> Mac OS 10.5
>>   -0.0138    0.0003   -0.0014
>>     0.0001   -0.0010   -0.0051
>>    -0.0021   -0.0010   -0.0000
>>    -0.0021   -0.0010   -0.0000
>>    -0.0138   -0.0005         0
>>    -0.0138   -0.0005         0
>>    -0.0139    0.0002   -0.0002
>>
>>
>> Translations (in mm):
>> Linux (gaba)
>>    -0.1184    1.0070   -0.2453
>>     0.2208    0.3916   -0.7737
>>     0.2208    0.3916   -0.7737
>>     0.1655    0.0346   -0.2972
>>     0.1655    0.0346   -0.2972
>>
>> Unix, Solaris (hal)
>>   -0.0854    0.1305   -0.0691
>>     0.1571    1.2035   -0.3944
>>     0.1571    1.2035   -0.3944
>>     0.0028    0.1201   -0.2275
>>     0.0028    0.1201   -0.2275
>>
>> Mac OS 10.5
>>     0.2756    1.2033   -0.6820
>>    -0.1728    0.5083    2.1885
>>    -0.0486    0.1598   -0.1579
>>    -0.0486    0.1598   -0.1579
>>    -0.0217    1.3398   -0.6298
>>    -0.0217    1.3398   -0.6298
>>     0.0470    1.2903   -0.6842
>>
>> Thanks again for any help.
>>
>> Arthur
>>
>>
>> On Mar 22, 2006, at 11:58 PM, Mark Jenkinson wrote:
>>
>>> Dear Arthur,
>>>
>>> We normally see some variation across platforms due to the fact
>>> that the implementation of the underlying maths can vary (e.g.  
>>> floats
>>> versus doubles for certain library functions that we use) but it is
>>> very unusual to see such large variations.
>>>
>>> For example, registering example_func to structural_brain from
>>> the FEEDS data set gave me the following on two platforms.
>>>
>>> Linux:
>>> 0.998744 0.007186 -0.049590 2.220527
>>> -0.005183 0.999170 0.040397 -0.558773
>>> 0.049839 -0.040089 0.997952 83.827855
>>> 0.000000 0.000000 0.000000 1.000000
>>>
>>> Mac:
>>> 0.998743 0.007158 -0.049610 2.224911
>>> -0.005156 0.999171 0.040373 -0.560217
>>> 0.049858 -0.040066 0.997952 83.824333
>>> 0.000000 0.000000 0.000000 1.000000
>>>
>>> You can see that the differences here are very small - much
>>> smaller than you seem to be getting.  Also, I have never come
>>> across a variation between runs on the same system!  If the
>>> inputs and options to flirt are the same the results will be
>>> the same as it is completely deterministic.
>>>
>>> Therefore, I think the best way to see what is happening here is if
>>> we could try this with your data.  Could you please upload it to  
>>> us using:
>>>   http://www.fmrib.ox.ac.uk/cgi-bin/upload.cgi
>>>
>>> Don't forget to send us the ID number of the upload.
>>>
>>> All the best,
>>> 	Mark
>>>
>>>
>>>
>>> On 22 Mar 2006, at 10:00, Arthur Mikhno wrote:
>>>
>>>> Hey All,
>>>>
>>>> Need HELP reproducing results (coregistrations) on multiple  
>>>> platforms. Why are coregistrations of the same images using same  
>>>> parameters across platforms not the same?
>>>>
>>>> I developing applications using FLIRT for use on multiple  
>>>> platforms (Sun Solaris 10, Linux Redhat, Mac OSX 10.5).
>>>> Using the same options in coregistrations the results on all  
>>>> systems are different. This is a summary of what options I used  
>>>> and the results. I basically just varied the search angle in all  
>>>> my tests.
>>>>
>>>> FLIRT:: Cost: mutualinfo Search: -180 180 Interp: Trilinear
>>>> Coregistration on and across all systems varied by a rotation of  
>>>> up to 2 degrees and/or translation of several voxels.
>>>> (Min Max Values or Images are DIFFERENT... large visible  
>>>> differences).
>>>> Results could not be replicated on any system twice.
>>>> Each time I ran flirt on any given system I would get a  
>>>> different result than the previous time. This occurred even on  
>>>> the same operating system.
>>>>
>>>> FLIRT:: Cost: mutualinfo Search: -90 90 Interp: Trilinear
>>>> Coregistrations can be replicated any given system. (Min Max  
>>>> Values of images are the same.. no visible difference)
>>>> Coregistrations on and across all systems varied by a rotation  
>>>> of up to 2 degrees and/or translation of several voxels.
>>>>
>>>> FLIRT:: Cost: mutualinfo Search: -30 30 Interp: Trilinear
>>>> Coregistrations can be replicated any given system. (Min Max  
>>>> Values of images are the same.. no visible difference)
>>>> Coregistrations on and across all systems varied by a rotation  
>>>> of up to 2 degrees and/or translation of several voxels.
>>>> Coregistrations on Solaris and Linux were more similar to each  
>>>> other then the mac.
>>>>
>>>> FEEDS TESTS RESULTS:
>>>> FLIRT:
>>>> Solaris: 0.0%
>>>> Linux: .3%
>>>> Mac: .33%
>>>>
>>>> BET:
>>>> Solaris: 0.0
>>>> Linux: 0.0
>>>> Mac: 0.0
>>>>
>>>> Conclusion:
>>>> For coregistration to be reproducible a search angle smaller  
>>>> than 90 and preferably smaller then 45 should be chosen.
>>>> Results across platforms do not seem to be reproducible.
>>>>
>>>> Does anyone know what can be causing this or how to get around  
>>>> this problem? I need to make sure that what I run on the MAC and  
>>>> on Linux is the same. How can I figure out which coregistration  
>>>> is most accurate?
>>>>
>>>> Please let me know if I did not provide enough information.
>>>>
>>>> Thanks,
>>>> Arthur

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

May 2024
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