Consider the problem of determining the 3D distance between a pair of 2-colored spots. One option is to find x1,y1,z1 and x2,y2,z2, e.g. using a 3D PSF, and calculate the distance. But why not optically encode the *distance*, rather than individual positions?