fslmaths does this. Peace, Matt. _____ From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf Of WangPing Sent: Monday, July 20, 2009 2:41 PM To: [log in to unmask] Subject: [FSL] what command can do erosion/dilation on a binary image? Importance: High dear fsl experts: I am just wondering what fsl command can do morphological operations (erosion/dilation) on a binary image? Thanks a lot. Ping _____ 使用新一代 Windows Live Messenger 轻松交流和共享! <http://www.windowslive.cn/Messenger/> 立刻下载!