At the present time in many countries of the worlds preoperative planning of interventions for lumbar joint is realized with caliper, protractor, plastic templates and x-ray images. From these reasons the measurement is time consuming with many errors. Over the past few years, an increasing appreciation of the usefulness of digital technology has emerged among various field of medicine. This paper presents current applications of computer technology in the field of surgery and pre-operative planning of total hip implantation. The new developed CoXaM software offers simple solution of the problems by using the digital x-ray images and handmade plastic templates. The developed software combines the digital x-ray images with the digital templates for planning implantation and reimplatation interventions of hip joints. The pre-operative planning process is fast, precise, and cost-efficient, and it provides a permanent, archived record of the templating process. The new proposed methodology provides the opportunity for comfortable, user-friendly and dimensionally accurate computer programming surgical operation.