FMRIB-Software-Library / support

Public FSL issue tracker and support portal
4 stars 0 forks source link

expand mask by 1 voxel #7

Closed hanayik closed 3 years ago

hanayik commented 3 years ago

Checklist

Describe the problem

I have a binary brain mask of a certain brain structure. Is there a way to expand this mask by one voxel on each axis/side, e.g. by using fslmaths or something else?

hanayik commented 3 years ago

Hi

fslmaths <inputmask> -kernel boxv 3 -dilF <outputmask>