Print

Print


Hi Jesper, hi Niels,

where is ffr to be found?
Cheers,
Andreas

Von:  Jesper Andersson <[log in to unmask]>
Antworten an:  FSL - FMRIB's Software Library <[log in to unmask]>
Datum:  Montag, 2. Juni 2014 12:50
An:  <[log in to unmask]>
Betreff:  Re: [FSL] Affine matrix inside warp file

HI there Niels, 

FnirtFileReader ffr(³my fnirt output²);
NEWMAT::Matrix aff = ffr.AffineMat();

Good luck Jesper


On 2 Jun 2014, at 11:42, Niels Bergsland <[log in to unmask]> wrote:

> Hi FSL developers,
> I'm guessing this question is mostly addressed to Jesper, but input from
> anyone else is of course appreciated!
> 
> Jesper wrote in an email on 12/1/10 (Subject: Understanding fnirt
> displacements):
> 
> "there is an affine matrix (that which you supplied to fnirt as a starting
> guess) "hidden" inside the header of the warp file"
> 
> I need to extract this matrix. I took a look at the FNIRT source code; I can
> write something to pull it out, but figured I'd ask if this was already
> implemented.
> 
> Thanks!
> 
> 
> -- 
> Niels Bergsland
> Integration Director
> Buffalo Neuroimaging Analysis Center
> 100 High St. Buffalo NY 14203
> [log in to unmask] <mailto:[log in to unmask]>