||Exposure to substances like xeno-estrogens during embryonic development or early in life may affect the morphology and function of testicular tissue. Measuring the morphological changes in testicular tissue has therefore drawn the attention of many research groups in the field of reproductive toxicology. Usually a large number of slides will be studied and measurements are performed manually. This process is extremely time consuming and is subjective. Using automated image analysis, one can achieve a fast and viable method for analyzing testicular histological images. One suggested quantity to study is the height of the epithelium. Epithelial height is the distance from the border of the testicular tubule to the border of its lumen. In this talk, I suggest some solutions for automatically finding borders of lumen and testicular tubules in testis.