Dear SPM Experts,
I would like to dilate a given ROI using any Matlab function and came across two possible SPM functions:
dilated_mask = cg_morph_vol(mask,'dilate',2,0.5)
dilated_image = spm_dilate(image,kernel)
What are the differences, if there are any, between these two functions? More importantly, how should I define the input images for each function? Should they be the coordinates for the rois? I'm aware that spm_ov_roi.m can perform image dilation too, but I have also been unsuccessful at figuring out how to use this function. Any helpful suggestions would be much appreciated.
Thanks,
Vy
|