Back to results
US 12,755,332 B2Granted
Image processing method for image expansion and apparatus, and storage medium and device
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorsJing Cheng, Shaohui Jiao
Life of this patent
Estimating the term…
Abstract
Provided are an image processing method and apparatus, a storage medium, and a device. The method includes acquiring edge image information in an expansion direction of an original image, selecting a target expansion mode from at least two candidate expansion modes according to the edge image information, and processing the original image by using the target expansion mode to obtain a target image.
Claims11
An image processing method, performed by an electronic device, comprising:
- acquiring edge image information in an expansion direction of an original image;
- selecting a target expansion mode from at least two candidate expansion modes according to the edge image information, wherein the at least two candidate expansion modes comprise a first mode and a second mode, the first mode is to implement expansion by copying edge pixels, and the second mode is to implement expansion based on a neural network model;
- and
- processing the original image by using the target expansion mode to obtain a target image;
- wherein selecting the target expansion mode from the at least two candidate expansion modes according to the edge image information comprises:
- determining a complexity of image content of an edge region according to the edge image information;
- in response to determining that the complexity is less than or equal to a first preset complexity, determining the first mode as the target expansion mode;
- and
- in response to determining that the complexity is greater than a second preset complexity, determining the second mode as the target expansion mode, wherein the second preset complexity is greater than or equal to the first preset complexity.
6 more elements
Dependencies are inferred from the claim text.