Hi,
You can use the -roi optioin in fslmaths, but that will just zero out the remaining part of the image, without changing the actual image size. Alternatively, you can use fslroi, which will create a smaller image that contains only the ROI.
All the best,
Mark
On 20 Mar 2014, at 17:14, Ylva Lilja <[log in to unmask]> wrote:
> Dear all,
>
> I am trying to extract subvolumes of a T1 image and a B0 image (from a DTI data set), from the same patient. The aim is to coregister the subvolumes to each other in a second step. I would like to extract a sphere or a cube of about 20 mm around the optic chiasm, preserving all the image information/parameters in those subvolumes. I believe fslmath can be used for this purpose? What would be the command for this?
>
> Grateful for any help!
>
> /Ylva
|