主权项 |
1. An image processing method in accordance with depth information for use in an electronic device, comprising:
obtaining at least one image with depth information; displaying the image on a display unit of the electronic device; receiving a selection of an ROI (Region Of Interest) in the image via a user interface; obtaining a first depth value corresponding to the selected ROI from the depth information; obtaining a second depth value corresponding to at least one pixel except the selected ROI in the image, wherein the second depth value and the first depth value are different; and mapping the first depth value to a first effect level of an image effect, wherein the image effect has a plurality of effect levels; mapping the second depth value to a second effect level of the image effect, wherein the second effect level and the first effect level are different; and applying the image effect to the image according to the depth information of the image, wherein the selected ROI is applied with the mage effect in the first effect level, the at least one pixel except the selected ROI in the image is applied with the image effect in the second effect level. |