Measuring the depth of malignant melanomas