Objective To establish a fast adaptive active contour model based on local gray difference for parotid duct image segmentation. Methods On the basis of the LBF model, we added the mean difference of the local gray scale inside and outside the contour as the energy term of the driving evolution curve, and the local gray-scale variance difference was used to replace λ1 and λ2 as the control term of the energy parameter value. Two local similarity factors of different neighborhood sizes were introduced to corr...