摘要 |
The invention relates to a system (200), a method and a computer program product for image processing, in particular for introducing blurring effects to an image (202). In a particular embodiment, the image processing includes: receiving an image (202); applying shader code, using one or more processors, to the image (202) to generate a blurred image version (BIV) (206); receiving configuration information pertaining to a mask (210); generating the mask (210) that includes an unblurred region and a blurred region, based at least in part on the configuration information; and applying the mask (210) to combine the image (202) and the BIV (206) to render a composite image (214) that includes an unblurred portion comprising a portion of the image corresponding to the unblurred region of the mask (210), and a blurred portion comprising a portion of the BIV corresponding to the blurred region of the mask (210). |