The method involves stitching together many thin “slices” of light reflecting off an object.