 Newly admitted patients with a diabetic foot ulcer or venous leg ulcer are included at the first visit in the polyclinic. The data mentioned below are gathered at the first visit and the following examinations are performed including 3D photos. The ulcer area and ulcer volume are estimated from the photos by the 3D camera. The ulcer examination is repeated after 2, 4, 8, 12, 24, 36 and 52 weeks or until healing of the ulcer. Ulcer healing is estimated using changes in ulcer size per time unit. Patients are treated by standard ulcer treatment methods and are unaffected by the project per se. During the trial the different methods of treatment are noted including changes from initial treatment. The variables will be quantified after one year depending on time to heal, establishment of a chronic ulcer non-healing after one year or an amputation has been performed. 