Abstract. Extraction of bone contours from x-ray images is an important first step in computer analysis of medical images. It is more complex than the segmentation of CT and MR images because the regions delineated by bone contours are highly nonuniform in intensity and texture. Classical segmentation algorithms based on homogeneity criteria are not applicable. This paper presents a model-based approach for automatically extracting femur contours from hip x-ray images. The method works by first detecting prominent features, followed by registration of the model to the x-ray image according to these features. Then the model is refined using active contour algorithm to get the accurate result. Experiments show that this method can extract the contours of femurs with regular shapes, despite variations in size, shape and orientation.