[MINC-users] Minctracc problem
Vasiliki N. Ikonomidou
ikonomidou at ieee.org
Tue Dec 2 18:05:21 EST 2008
Thank you very much, changing to byte outside of minctracc solved the
problem I had.
The version that is installed on my machine is the one that comes with
the Freesurfer 4.1.0 distribution, for minctracc it gives
The program <...> was built from:
Package MNI AutoReg, version 0.98r, compiled by nicks at fishie
(i686-pc-linux-gnu) on 2007-11-01 at 16:25:48
so I guess it's a fairly old one...
Again, thanks a lot,
Vicky
Vladimir Fonov wrote:
> Hello,
>
> Vasiliki N. Ikonomidou wrote:
>
>> I am trying to register a T2-weighted image to an IR-SPGR one, using the
>> following command for calculating the transform:
>> minctracc -est_center -est_translations -lsq7 -mi t2.mnc spgr.mnc
>> t2_2_spgr.xfm -clobber
>> This worked out fine for most of my datasets, but for four of them,
>> after getting the message
>>
>> WARNING: source volume not UNSIGNED_BYTE, will do conversion now.
>> Converting: ............................................ (which
>> takes forever)
>>
> This looks like a bug in the minctracc, which version are you using ?
> (run minctracc -version).
>
>
>
>> it gives the message
>>
>> Not implemented yet in cache_volume_range_has_changed()
>> WARNING: target volume not UNSIGNED_BYTE, will do conversion now.
>>
>> and then minctracc quits without creating the .xfm file.
>> mri_info gives both source and target volumes to be SHORT(4). minctracc
>> works if I change the cost criterion, but the results are off.
>>
>> Any suggestions as to what I might be doing wrong?
>>
> You can try converting problematic images into byte first, and see if
> minctracc will work:
>
> mincreshape -unsigned -byte t2.mnc t2_byte.mnc
> mincreshape -unsigned -byte spgr.mnc spgr_byte.mnc
> minctracc -est_center -est_translations -lsq7 -mi t2_byte.mnc
> spgr_byte.mnc t2_2_spgr.xfm -clobber
>
>
More information about the MINC-users
mailing list