Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

fslmaths fill holes

# fslmaths can fill holes in a binary mask.
# `-fillh`: fill holes in a binary mask (holes are internal - i.e. do not touch the edge of the FOV) 
# `-fillh26`: fill holes using 26 connectivity  (it'll fill more vigourously)
fslmaths lesion -fillh lesion
 
PREVIOUS NEXT
Tagged: #fslmaths #fill #holes
ADD COMMENT
Topic
Name
3+9 =