Hi,
This isn't one of the pre-packaged options.
Easiest way is to create a temporary image that has coronal slices
and use the -A option. For example:
fslswapdim origimage RL IS PA coronal_tmp
slicer coronal_tmp -A 750 coronal_images.png
then you can delete coronal_tmp.nii.gz
All the best,
Mark
P.S. If you don't have valid orientation information in
your original image then the first step won't work and you'll
need to try something like
fslswapdim origimage -x z y coronal_tmp
instead.
On 16 Sep 2009, at 14:51, Yunjie Tong wrote:
> Hi Mark,
>
> Thanks for your reply. What I really want is to "output all coronal
> slices into one image of certain width". Is there a simple way to
> do it?
>
> Thanks again,
>
> Best,
>
> Yunjie
>
>
> On Sep 15, 2009, at 2:50 AM, Mark Jenkinson wrote:
>
>> Hi,
>>
>> You've got the syntax wrong here.
>> What I think you want is:
>> slicer rendered_thresh_zstat1 -y 0.3 rendered_thresh_zstat1_cor.png
>> which would do one slice (at 30% of the way along).
>> The -A only outputs axial slices.
>> If you want multiple slices then you can repeat the above command or
>> repeat several "-y n filename.png" clauses.
>>
>> Also, if you want a particular slice number then use a negative
>> value: e.g. -y -17 filename.png
>> outputs the 17th slice (y=17 in voxel coordinates).
>>
>> Hope this helps.
>> All the best,
>> Mark
>>
>>
>> On 14 Sep 2009, at 22:07, Yunjie Tong wrote:
>>
>>> Hi,
>>>
>>> I would like to see my FEAT result in coronal display. I tried to
>>> run "
>>> slicer rendered_thresh_zstat1 -y 1 -A 750
>>> rendered_thresh_zstat1.png"
>>> It failed. Is there anything I can do to make it work?
>>>
>>> Best,
>>>
>>> Yunjie
>>>
>
|