Automatic segmentation method for foreground and background of optical field image

Dai Feng,Ma Yike,Zhang Yongdong,Chen Xianyu
2015-01-01
Abstract:The invention provides an automatic segmentation method for the foreground and background of an optical field image, and the method comprises the steps: 1) enabling the optical field image to be divided into a plurality of basic regions based on a super-pixel segmentation algorithm; 2) extracting the focusing degree of each basic region; 3) generating various types of possible foreground and background segmentation schemes, and selecting the foreground and background segmentation scheme with the lowest total cost, wherein the total cost is the sum of the cost of single foreground or background regions formed by the segmentation of all basic regions, and the cost of each single region of each basic region is obtained through the focusing degree of the basic region; or the total cost is the weighted sum of the cost of signal regions of all basic regions and the region similarity cost of the adjacent basic regions, and the region similarity cost of the adjacent basic regions is obtained through an image characteristic distance two adjacent foreground and background adjacent basic regions. The method can achieve the accurate automatic segmentation of the foreground and background of the optical field image with smaller field depth difference, and improves the accuracy of segmentation. Moreover, the method is smaller in calculation work.
What problem does this paper attempt to address?