Inclusion Criteria:  Craniocerebral injury patients needing operative treatment Treatment-resistant epilepsy patients needing resection surgery  Exclusion Criteria:  Vital signs unstable Pregnancy Tumor Incomplete medical history, imaging and clinical diagnosis