Two-step dermoscopy algorithm