The distances are calculated by a general method for measuring a distance from stereo images.
the cpu 331 generates a mask object by arranging sphere objects having a predetermined radius in a three-dimensional space.