Due to the possible interaction between cerebral small vessel disease (CSVD) and a variety of brain diseases or pathological changes, people's interest in small vessel pathology was growing. With the increased imaging resolution at ultra-high field MRI, imaging cerebral small vessels become feasible with TOF-MRA sequence. In this study, we introduced an automated vascular segmentation and tracing method based on deep learning, machine learning and multi filtering. Our method performed well for the multistage branching of cerebral vessels, and could quantitatively evaluate the vasculature. The technique was potentially useful for the clinical studies of CSVD.