In order to realize the automatic recognition of intracranial hematoma and accurate measurement of hematoma volume in patients with ICH (intracerebral hemorrhage), the FCM algorithm (fuzzy c-means algorithm) was improved in this study, and a new level set segmentation algorithm based on FCM was obtained, FCRLS (fuzzy c-means regularized level set). Then, 120 ICH patients were used as the research objects, and the FCRLS algorithm was evaluated by the recall, precise, and F1-score values to evaluate the effect of intracranial hematoma recognition. The CT images of 48 patients with intracranial hematoma were used as the data set of the FCRLS algorithm. The hematoma was segmented, and the DSC (Dice similarity coefficient) value and running time were used to evaluate the segmentation results of the algorithm. At the same time, the LS (level set) algorithm and the FCM algorithm were introduced for comparison. The results show that the recall value of the FCRLS algorithm is 0.89, the precise value is 0.94, the F1-score value is 0.91, the Dice coefficient is 94.81%, and the running time is 14.48 s. Compared with the LS algorithm and the FCM algorithm, the above five indicators have significant differences ( P < 0.05 ). Hematoma volume measurement found that the average error of FCRLS algorithm from expert measurement results was 5.62%, which was statistically significant compared with LS algorithm and FCM algorithm ( P < 0.05 ). In summary, the FCRLS algorithm can accurately identify the cerebral hematoma area of ICH patients, has an ideal segmentation effect on the hematoma, and can accurately measure the true volume of the hematoma, which is worthy of clinical application.