Method and apparatus for processing image
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsQiang RAO, Jiakang DENG, Hao JIANG, Shuangshuang YIN, Meiya CHEN, Yangchenxu LIU, Jiaxu DONG
Life of this patent
Estimating the term…
Abstract
A method for processing an image and a mobile terminal. The method includes: obtaining a lens effect instruction, and determining a target blurring algorithm from a plurality of preset blurring algorithms based on the lens effect instruction, in which the blurring algorithms are algorithms for simulating optical lens effects; and obtaining a target image by blurring an image to be processed based on the target blurring algorithm.
Claims20
A method for processing an image, comprising:
- obtaining a lens effect instruction, and determining a target blurring algorithm from a plurality of preset blurring algorithms based on the lens effect instruction, wherein the plurality of preset blurring algorithms are algorithms for simulating optical lens effects;
- and
- obtaining a target image by blurring an image to be processed based on the target blurring algorithm.
A mobile terminal, comprising:
- a processor;
- and
- a memory having computer instructions stored thereon,
- wherein the processor is configured to:
- obtain a lens effect instruction, and determine a target blurring algorithm from a plurality of preset blurring algorithms based on the lens effect instruction, wherein the plurality of preset blurring algorithms are algorithms for simulating optical lens effects;
- and
- obtain a target image by blurring an image to be processed based on the target blurring algorithm.
A non-transitory storage medium having computer instructions stored thereon, wherein the computer instructions are configured to cause a computer to implement a method for processing an image, the method comprising:
- obtaining a lens effect instruction, and determining a target blurring algorithm from a plurality of preset blurring algorithms based on the lens effect instruction, wherein the plurality of preset blurring algorithms are algorithms for simulating optical lens effects;
- and
- obtaining a target image by blurring an image to be processed based on the target blurring algorithm.
Dependencies are inferred from the claim text.