A very common disease in agricultural countries is the corneal ulcer. Particularly in the public hospitals, several patients come every week presenting this kind of pathology. One of the most important features to diagnose the regression of the disease is the determination of the vanishing of the affected area. An automatic system (optical system and software), attached to a Slit Lamp, has been developed to determine automatically the area of the ulcer and to follow up its regression. The clinical procedure to isolate the ulcer is still done, but the measuring time is fast enough to not cause discomfort to the patient as the traditional evaluation does. The system has been used in the last 6 months in a hospital that has about 80 patients per week presenting corneal ulcer. The patients follow up (which is an indispensable criteria for the cure of the disease) has been improved by the system and has guaranteed the treatment success.