Try:
fslmaths input.nii.gz -mul -1 -add 1 output.nii.gz
Cheers, John
On 12/7/11 2:26 PM, Rodrigo Perea wrote:
> So, I have a brain mask with 1 as the intensity inside the brain mask and 0 outside.
> Basically, I'll like to know if there is a way to reverse it...so I have 1 outside the mask and 0 inside. I was looking into
> the fslmaths but I dont seem to find a good solution.
> Thanks in advance,
> Rodrigo
|