The present work describes an automatic approach to relative orientation procedure performed on an individual stereopair. For this purpose a test program has been built using Visual C++ 6.0 to enable this photogrammetric process to be fully automatic. The backgrounds are presented to describe the working of the program: relative orientation, image processing for determination of input data and robust estimation techniques, which are necessary for automatic control over the blunders, found in the relative orientation procedure and for minimizing their effect on orientation parameters. The work also describes the steps of building the test program and schematic diagrams of its functionality. A special emphasis is placed on different methods for determining conjugate points. Initially the points were identified and measured manually furthermore a semi-automatic approach was implemented and finally a fully automatic one. Determining the conjugate points according to these steps it was possible to compare the results and to point out the advantages and disadvantages of the automatic relative orientation. The program was tested on aerial and close range images.