In Deep Brain Stimulation (DBS), the location of implanted electrodes in the brain has direct influence on the therapeutic effect of the treatment. This work deals with estimating the position of the implanted DBS electrodes from the images registered by X-ray Computed Tomography (CT) scanners. A technique named junction method that takes advantage of the streak artifacts created by the metal parts of the electrodes in CT images is proposed for this purpose. To start with, the brain image is extracted by defining a brain mask. Next, the edges are intensified by applying a Gaussian convolution operator followed by a measure of the second derivative of the image along all directions in the image plane. Criteria of adjacency and length are applied to the lines detected by the Hough transform to distinguish between tracks of streak artifacts and the brain structure. At some points, straight lines are distorted by noise. To handle this issue, all lines that fit same line equation are merged. The horizontal line connecting the two DBS electrodes (one in each cerebral hemisphere) is called electrode line. To specify the electrodes position, intersections of the electrode line with every other line are marked. Finally, to obtain the vertical position estimate, the above algorithm is applied to the image stack.