Automatic midline echoencephalography