-
公开(公告)号:US20220319077A1
公开(公告)日:2022-10-06
申请号:US17634002
申请日:2020-08-04
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Wenjie ZHANG , Weicai ZHONG , Liang HU
Abstract: This application relates to the field of digital image processing technologies, and discloses an image-text fusion method and apparatus, and an electronic device, to minimize blockage of a saliency feature in an image by a text when the text is laid out in the image, and obtain a higher visual balance degree after the text is laid out in the first image, thereby achieving a better layout effect. According to the method of this application, first, a plurality of candidate text templates and layout positions of a plurality of corresponding texts in an image can be determined, so that a text laid out in the image does not block a visually salient object having a greater feature value, such as a human face or a building. Then based on magnitudes of feature values of pixels blocked by the text, a balance degree of feature value distribution of pixels in each region in the image in which the text is laid out, and the like when the text is laid out in the image at corresponding layout positions in the image by using different text templates, a final text template of the text and a layout position of the text in the image are determined.