Removing confounding information from fetal ultrasound images