Mark,
great, thanks!
martin
Mark Jenkinson wrote:
> Hi,
>
> It isn't possible to save an image that is not rectangular.
> But you can certainly mask an image by making everything zero outside a
> spherical region. The best way is to make a spherical mask and then
> just mask with this. To do that I recommend making an image with the
> everything zero except the centre voxel (you can easily do this with
> the -roi option in fslmaths) and then use the -kernel sphere option
> in fslmaths together with -fmean to turn this single voxel into a
> sphere. You can then (separately) use this result to mask your image
> in fslmaths.
>
> All the best,
> Mark
>
>
> On 18 Feb 2008, at 18:03, Martin M Monti wrote:
>
>> Hi, I know you can use fslroi to create cubic or similar ROIs --
>> using it in its first form -- is there a way to produce a spherical
>> ROI, specifying the center in voxels/mm and a radius -- for example?
>>
>> cheers
>>
>> martin
>>
|