Method for processing image, electronic device and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorLiangqi GUO
Life of this patent
Estimating the term…
Abstract
An image is obtained. A denoised image is determined by performing denoising processing on the image based on a preset denoising method. At least two frequency information components of the denoised image are obtained by performing filter processing on a preset region image of the denoised image on at least two preset frequency levels. A sharpened image is obtained by performing superposition processing on the denoised image based on at least two frequency information components and a preset adjustment parameter. A target image is determined based on the sharpened image.
Claims20
A method for processing an image, applied to an electronic device, comprising:
- obtaining an image;
- determining a denoised image by performing denoising processing on the image based on a preset denoising method;
- obtaining at least two frequency information components of the denoised image by performing filter processing on a preset region image of the denoised image on at least two preset frequency levels, wherein the at least two frequency information components correspond to at least two preset frequency levels respectively;
- obtaining a sharpened image by performing superposition processing on the denoised image based on the at least two frequency information components and a preset adjustment parameter;
- and
- determining a target image based on the sharpened image.
An electronic device, comprising:
- a processor;
- a memory, configured to store instructions executable by the processor;
- wherein, the processor is configured to:
- obtain an image;
- determine a denoised image by performing denoising processing on the image based on a preset denoising method;
- obtain at least two frequency information components of the denoised image by performing filter processing on a preset region image of the denoised image on at least two preset frequency levels, wherein the at least two frequency information components correspond to at least two preset frequency levels respectively;
- obtain a sharpened image by performing superposition processing on the denoised image based on the at least two frequency information components and a preset adjustment parameter;
- and
- determine a target image based on the sharpened image.
A non-transitory computer readable storage medium, wherein when instructions stored on the storage medium are executed by an electronic device, the electronic device is caused to execute a method for processing an image, the method comprising:
- obtaining an image;
- determining a denoised image by performing denoising processing on the image based on a preset denoising method;
- obtaining at least two frequency information components of the denoised image by performing filter processing on a preset region image of the denoised image on at least two preset frequency levels, wherein the at least two frequency information components correspond to at least two preset frequency levels respectively;
- obtaining a sharpened image by performing superposition processing on the denoised image based on the at least two frequency information components and a preset adjustment parameter;
- and
- determining a target image based on the sharpened image.
Dependencies are inferred from the claim text.