Stereo method is used to measure the distance from camera to object widely. When a surface of object does not have any textures, for example a white wall, it is difficult to search the corresponding points between the left and right images. In this research, we propose a distance measurement method by using RGB pattern in order to solve the missing corresponding-points problem. The RGB pattern with some characteristic are projected to the objects by projector. In this method the RGB pattern captured by CCD camera is changed to binary RGB pattern, the corresponding-points search is performed from this RGB binary pattern. We use the index based on the XOR for the RGB binary pattern as the index used in the corresponding-points search. Since this method does not use normalized cross correlation, it has the merit which high-speed processing is possible. In this paper we verify the validity of proposed method by using some experiments.