Abstract: | This paper proposed a method to automatically generate the trimap for digital matting. Camera parameters of aperture and shutter speed are used to control its exposure, and accordingly to take pictures of stationary foreground with blurred background. Our method was inspired by color difference matting, both of which require a pre-record background image. In our method, only one image was required. Upon this input image, the process of blurring-deblurring, subtraction, thresholding and dilation were applied to finally generate the trimap. No user's direct interface with the image was needed, and the user only needed to adjust the threshold or width of dilation for some input images. It reduces users' conservative interaction, and results are reliable for most of the pictures. |