Dear Liam, David and David,
Thanks, that worked perfectly!
On Jul 16, 2009, at 3:22 PM, "Nestor, Liam (Contractor)" <[log in to unmask]
> wrote:
> Try this:
>
> fslmaths roi01.nii.gz -add roi02.nii.gz rois.combined (where
> rois.combined is the prefix of your created mask).
>
> Liam.
>
>
> *******************************************
> Liam Nestor, Ph.D
> Office C8-523
> Laboratory for Molecular Neuroimaging
> Semel Institute for Neuroscience and Human Behavior
> 760 Westwood Plaza
> Los Angeles 90024
> Tel: 310-206-0655
> E-mail: [log in to unmask]
> *******************************************
> ________________________________________
> From: FSL - FMRIB's Software Library [[log in to unmask]] On Behalf
> Of David Flitney [[log in to unmask]]
> Sent: Thursday, July 16, 2009 8:27 AM
> To: [log in to unmask]
> Subject: Re: [FSL] How to create one mask using multiple ROI's
>
> I think all you need is in fslmaths. Create your mask by summing the
> ROIs together then use -mas to apply your mask, e.g., "fslmaths
> <input_image> -mas <mask_image> <output_image>"
> I guess mas must be short for mask :-)
>
> On 16 Jul 2009, at 16:18, John Kuster wrote:
>
> Dear FSLers,
>
> I would like to take a 3d image and mask out everything but a certain
> number of regions of interest, all in this one mask. Is there a
> command
> that can do this? I checked here,
> http://www.fmrib.ox.ac.uk/fsl/avwutils/index.html, but did not see
> one.
>
> Also, similarly, if I want to edit a mask to include only a ROI, or a
> set of ROI's how can I do that?
>
> Thanks for your time and help,
>
> Jake
>
>
> --
> Dave Flitney, IT Manager
> Oxford Centre for Functional MRI of the Brain
> E:[log in to unmask]<mailto:[log in to unmask]> W:+44-1865-222713
> F:+44-1865-222717
> URL: http://www.fmrib.ox.ac.uk/~flitney
>
>
>
>
> IMPORTANT WARNING: This email (and any attachments) is only
> intended for the use of the person or entity to which it is
> addressed, and may contain information that is privileged and
> confidential. You, the recipient, are obligated to maintain it in a
> safe, secure and confidential manner. Unauthorized redisclosure or
> failure to maintain confidentiality may subject you to federal and
> state penalties. If you are not the intended recipient, please
> immediately notify us by return email, and delete this message from
> your computer.
>
>
|