Hello MRtrix3 Community,
I have a very simple issue. Yet, could not find the real solution. I would like to smooth the edges of the mask. The mask was created from dwi2mask and then processed manually. Would you please suggest me?
Suren
Hello MRtrix3 Community,
I have a very simple issue. Yet, could not find the real solution. I would like to smooth the edges of the mask. The mask was created from dwi2mask and then processed manually. Would you please suggest me?
Suren
Hi Suren,
There are two possible ways to interpret “smoothing a mask”:
Smoothing in such a way that the result is no longer a binary mask, but contains values between 0.0 and 1.0. This is simply image smoothing; see mrfilter smooth
.
Smoothing in such a way that the outer surface of the binary selection has less high-frequency features. This can be done with a combination of voxel2mesh
, meshfilter smooth
, mesh2voxel
and mrthreshold -abs 0.5
.
Rob