Classification and diagnosis of ear malformations