A computing device (101), a method, and a
computer program product for replicating a three-dimensional
label mask (20) of a three-dimensional
volumetric data set (190) in a network of computing devices (100), wherein the device (101) receives, from a further computing device (102) of the network, a set of segmentation input data (21) describing an edit (2-1) of the
label mask (20) at the further computing device (102), the set of segmentation input data comprising current position data, size data, and a
label identifier associated with a spherical segmentation object (102-1) used by the second computing device (102) to interactively edit the label
mask. The replication module (101-10) replicates an edited label mask of a further computing device (102) associated with a set of segmentation input data by calculating respective ellipsoids corresponding to the spherical segmentation object (102-1) stretched inversely proportional to the shapes of the voxels in the label mask, determining voxels (vi) of the label mask having positions inside the segmentation
object based on the ratio of the distance between each
voxel position in all three dimensions and the center position of the
ellipsoid divided by the respective semi-axis lengths of the
ellipsoid, the division being performed by negating the exponents of each denominator using respective bitwise operations on a
graphics processing unit of the computing device (101), and updating the determined voxels in the replicated label mask (10) according to the label identifiers of the segmentation input data (21).