The invention discloses a three-dimensional segmentation method based on three-dimensional
Gaussian sputtering and an SAM two-dimensional segmentation model, and belongs to the field of three-dimensional
image processing, and the method comprises the following steps: obtaining an
RGB image of an existing public
data set, and training a three-dimensional
Gaussian scene through a three-dimensional
Gaussian sputtering method; constructing a new
view angle selector, and selecting an optimal segmentation
view angle for three-dimensional segmentation through the new
view angle selector; a two-dimensional segmentation
mask is calculated by means of an SAM two-dimensional segmentation model, a three-dimensional Gaussian scene is initially segmented by adopting a
separation algorithm based on three-dimensional Gaussian space information, and a rough three-dimensional segmentation
mask is obtained; constructing a background filter combining three-dimensional Gaussian depth and color information, filtering background Gaussian points in the rough three-dimensional segmentation
mask, and reserving a foreground segmentation result, thereby obtaining a final three-dimensional Gaussian scene; and rendering by adopting a three-dimensional Gaussian
sputtering method to obtain a foreground image after the background is removed. According to the invention, accurate foreground-background segmentation can be realized.