I had forgot to binaries my mask. I didn't know that after registering a binary mask to an other space its not binary any more.Does the default kernel dilate the mask by one voxel?Best,MohamadOn Mon, Jan 25, 2016 at 6:56 PM, mohamad reza khodaei <[log in to unmask]> wrote:Thanks for your response.you used the command below?fslmaths roi.nii.gz -kernel 3D -dilM dilateROI.nii.gzFor me, it create an output which is exactly the same with the input!I want my ROI to be dilated by one voxel.Best,MohamadOn Mon, Jan 25, 2016 at 4:34 PM, Matthew Webster <[log in to unmask]> wrote:Hello,The command below worked for me on a test image - how does it fail on your data?Kind RegardsMatthewThanks for your responseI tried -dilM but it didn't worked, which kernel should i use to have dilation by 1 voxel?i tried:fslmaths roi.nii.gz -kernel 3D -dilM dilateROI.nii.gzany idea?bestmohamadOn Tue, Jan 19, 2016 at 8:30 PM, Matthew Webster <[log in to unmask]> wrote:Hello,
fslmaths with one of the -dilM,-dilD,-dilF options should do the job.
Kind Regards
Matthew
> Dear experts,
>
> How can i dilate a ROI by one voxel?
>
> Best regards
--Mohammad Reza Khodaei M.Sc. student of Biomedical Engineering, School of medicine, Shahid Beheshti university, Tehran, Iran--Mohammad Reza Khodaei M.Sc. student of Biomedical Engineering, School of medicine, Shahid Beheshti university, Tehran, Iran--Mohammad Reza Khodaei M.Sc. student of Biomedical Engineering, School of medicine, Shahid Beheshti university, Tehran, Iran