Dear Kulpreet,
What version of FSL are you using?
All the best,
Mark
On 29 Jul 2011, at 19:11, Kulpreet Koura wrote:
> Hi Mark,
> Thank you for responding...
> When I enter the argument, it makes no change to the tdim or pixdim4.
> After entering fslchpixdim <filename> 1 1 1 2.2999999523
> I did fslinfo on same file. But pixdim4 remains at 1.000000
>
> Thanks,
>
> -----Original Message-----
> From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf Of Mark Jenkinson
> Sent: Friday, July 29, 2011 9:58 AM
> To: [log in to unmask]
> Subject: Re: [FSL] changing hdr info
>
> Hi,
>
> Try using fslchpixdim.
> I think you'll find that easier, as you just need to give it
> the new dimensions that you want (so keep the same
> spatial dimensions in mm and specify 2.299999 for
> your tdim argument).
>
> All the best,
> Mark
>
>
> On 29 Jul 2011, at 14:43, Kulpreet Singh wrote:
>
>> Hi,
>>
>> I am very new to nifti and fsl, so please be gentle :-)
>>
>> I need to edit the header info for nifti image files.
>>
>> Here is my problem. I need to fslmerge images. And that looks for consistent header information.
>>
>> Most files are consistent (pixdim = 2.2999999523); however, a handful show pixdim4 to be different (1.7500000) in fslinfo or fslhd output.
>>
>> I tried fsledithd; however, just entering the command changed the pixdim4 to 1.0000000.
>> (I entered fsledithd <file>
>> it opened an editor w/ header information. I exited out, and control+c to get back to command prompt.
>> when i checked fslinfo on file, it showed pixdim4 = 1.0000000)
>>
>> Can I change the pixdim4 for file to equal 2.2999999523 and how do it do it?
>>
>> Thank you very much in advance for the help.
>>
>> Kulpreet Singh
>> First time FSL user (breaker?) at Duke
>>
>
|