Uh, I am sorry. I mixed up a script I wrote for the purpose of defining
the according to an given voxel coordinate a a script that comes with
the fsl package. next time I try 'which' before trying to help...
wolf
On 10/21/2009 12:04 PM, Mark Jenkinson wrote:
> Hi,
>
> There is no 'set_origin' in FSL I'm afraid.
> We also do not write out Analyze files anymore.
> So the best you can do is the following:
> - convert your analyze image to nifti:
> fslchfiletype NIFTI_GZ ana_image nifti_image
> - remove the orientation information from the nifti image with:
> fslorient -deleteorient nifti_image
> - convert back to Analyze
> fslchfiletype ANALYZE nifti_image new_ana_image
>
> This should get rid of the origin information, defaulting
> to 0,0,0.
>
> All the best,
> Mark
>
>
>
> On 21 Oct 2009, at 10:15, wolf zinke wrote:
>
>> Hi,
>>
>> Try 'set_origin' ;-) .
>>
>>
>> wolf
>>
>>
>> On 10/21/2009 06:00 AM, Xi Liang wrote:
>>> Dear all,
>>>
>>> How can I set the origin of the image to 0,0,0?
>>>
>>> Regards,
>>>
>>> Xi
>>>
>>
|