-
公开(公告)号:US12131443B2
公开(公告)日:2024-10-29
申请号:US17484063
申请日:2021-09-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xizhong Xiao , Zhe Wei , Chung Yuen Li
CPC classification number: G06T5/70 , G06T7/194 , G06T7/50 , G06T2207/10004 , G06T2207/10024 , G06T2207/20092
Abstract: An image processing method is disclosed. The method includes: obtaining an image including a target portrait, where the image includes a foreground and a background, and the target portrait corresponds to the foreground; determining a target hairline from the image, where the target hairline includes a part that overlaps with the background; and performing blur processing on the image to obtain a target image, where the target hairline is blurred to a smaller degree than the background is blurred, and the target portrait is blurred to a smaller degree than the background is blurred. This image processing method may highlight details of a portrait, so that these details, for example a hairline, scattered in a background, are not considered as the background to be blurred, thereby improving the experience of portrait photography.