Image processing method, apparatus, and device
AssigneeHuawei Technologies Co., Ltd.
InventorsHuan Lin, Jie Ji, Jiangzheng Wu
Life of this patent
Estimating the term…
Abstract
An image processing method, where, in the method, a special image filter is generated, and super-resolution is performed on an image based on the image filter. The image filter includes filter parameters corresponding to each pixel in an image that requires super-resolution processing, and pixels with different texture features correspond to different filter parameters. The image super-resolution method, apparatus, device, and the like may be applied to various scenarios such as a video, a game, and photographing.
Claims20
An image processing method comprising:
- obtaining a first image comprising first pixels;
- obtaining a texture image of the first image, wherein the texture image comprises second pixels;
- obtaining, in the texture image, a plurality of local texture images and respective weight values of the plurality of local texture images based on texture features of the second pixels, wherein textures in the plurality of local texture images have a same texture feature;
- obtaining, based on the plurality of local texture images and the respective weight values, an image filter corresponding to the first image, wherein the image filter comprises respective filter parameters corresponding to each pixel of the first pixels, and wherein respective pixels of the first pixels that correspond to different texture features correspond to different filter parameters of the respective filter parameters;
- and
- performing, based on the image filter, super-resolution processing on the first image to obtain a super-resolution image of the first image.
A computer system comprising:
- a memory configured to store a computer program;
- and
- one or more processors coupled to the memory, wherein when executed by the one or more processors, the computer program causes the computer system to:
- obtain a first image that comprises first pixels;
- obtain a texture image of the first image, wherein the texture image comprises second pixels;
- obtain, in the texture image, a plurality of local texture images and respective weight values of the plurality of local texture images based on texture features of the second pixels, wherein textures in the plurality of local texture images have a same texture feature;
- obtain, based on the plurality of local texture images and the respective weight values, an image filter, wherein the image filter comprises respective filter parameters corresponding to each pixel of the first pixels, and wherein respective pixels of the first pixels that correspond to different texture features correspond to different filter parameters of the respective filter parameters;
- and
- perform, based on the image filter, super-resolution processing on the first image to obtain a super-resolution image of the first image.
A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable storage medium and that, when executed by one or more processors, cause an apparatus to:
- obtain a first image that comprises first pixels;
- obtain a texture image of the first image, wherein the texture image comprises second pixels;
- obtain, in the texture image, a plurality of local texture images and respective weight values of the plurality of local texture images based on texture features of the second pixels, wherein textures in the plurality of local texture images have a same texture feature;
- obtain, based on the plurality of local texture images and the respective weight values, an image filter, wherein the image filter comprises respective filter parameters corresponding to each pixel of the first pixels, and wherein respective pixels of the first pixels that correspond to different texture features correspond to different filter parameters of the respective filter parameters;
- and
- perform, based on the image filter, super-resolution processing on the first image to obtain a super-resolution image of the first image.
Dependencies are inferred from the claim text.