Dear all,
I’m trying to perform a series of progressively larger dilations of a (binary) tumour mask (each tumour starts at approximately 5x5x5cm). However, this process seems to get rather slow with larger the dilations e.g. <1 min for 2mm, 6 hours for 20mm, 20 hours for 30mm. I am slightly perplexed that a reasonably straightforward geometrical process takes so long. Hence, I wonder if it is a problem with my command or approach to the problem, or is this to be expected?
My command is:
fslmaths tumour_mask -kernel sphere 20 -dilM -bin dilated_mask -odt float
I use FSL 5.0.9 on either a linux cluster (16 cores of 2.4GHz) or a Macbook (2.4GHz Intel Core i5 8GB memory), both with similar performance.
Note I’ve tried various different options including -fmean but without improvement. I’ve also tried to dilate the previous mask in a smaller increment (e.g. 28-30mm) but this is just as slow, therefore I wonder it it is a feature of the final size of the tumour/mask. Just dilating a single voxel to the required size is not quite ideal as it doesn’t correspond to the actual tumour contour (which isn’t spherical).
Any help would be most appreciated.
Best wishes,
Mike
|