Device and method for processing images

The invention provides a device and a method for processing images. The device comprise an image acquisition unit used for acquiring original image information, an image processing unit used for differentiating the background pixel and the foreground pixel of an original image, an image filtering unit used for filtering the background pixel and an image synthesizing unit used for synthesizing theforeground pixel and the filtered background pixel and generating an new image with virtualized background. The technical scheme can virtualize the background of the image acquired by a digital imageacquiring device.