Automatic prediction of functional outcome of patients with ischaemic stroke