“…One approach to optimize this task is to use the Euclidean Distance Transform (EDT). This transform computes a distance map for the 3D volume, where each voxel value represents the minimum distance from that voxel to the surface [42,43]. Let I(x,y), x ¼1yN and y ¼1yM, a pixel in an image I, where x and y are the Cartesian coordinates of the pixel I(x,y), and Iðx,yÞ ¼ g, g¼0,y,L is an integer value, which represents the intensity of light in that pixel.…”