Hi Ed
If they're really that small, this should work:
fslmaths mask.nii -kernel 3D -dilM -ero mask-holefilled
Regards
Rolf
On 28 September 2011 16:44, Ed Gronenschild
<[log in to unmask]> wrote:
> Hi,
>
> I'm looking for a tool to fill holes of only 1 voxel in size
> in a binary mask.
>
> Ed
>
--
Rolf A Heckemann, MD PhD
Médecin chercheur
Fondation Neurodis
CERMEP - Imagerie du Vivant
Hôpital Neurologique Pierre Wertheimer
59 Boulevard Pinel
69003 Lyon
France
|