If robots(machines) have a visual function, they do beneficial works. So it is important to know the distance from robots to objects. The distance can obtain from the parallax calculated from a stereo-image. In this report, we apply our method to actual stereo-image analysis. It is found that the parallax is not calculated correctly in the part of no patterns. This problem is improved by illuminating the pattern light to the objects.