Image processing method, apparatus and device
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorGong ZHANG
Life of this patent
Estimating the term…
Abstract
An image processing method, an apparatus and a device are provided. The method includes: a first image is captured according to a preset first exposure time and a second image is captured according to a second exposure time by using dual cameras; a first foreground area and a first background area of the first image are determined, and a second foreground area of the second image is determined; image fusion is performed on the second foreground area and the first foreground area to generate a third foreground area; and blurring processing is performed on the first background area, and the third foreground area and the first background area subjected to the blurring processing are composed to generate a target image.
Claims20
An image processing method, applied in a terminal device and comprising:
- capturing a first image according to a preset first exposure time and a second image according to a second exposure time by using dual cameras, wherein the second exposure time is determined according to brightness of a shooting scene and a preset threshold;
- determining a first foreground area and a first background area of the first image and determining a second foreground area of the second image;
- performing image fusion processing on the second foreground area and the first foreground area to generate a third foreground area;
- and
- performing blurring processing on the first background area, and composing the third foreground area and the first background area subjected to the blurring processing to generate a target image.
An image processing apparatus, applied into a terminal device and comprising:
- a memory and a processor, the memory storing one or more computer programs that, when executed by the processor, cause the processor to execute an image processing method, the method comprising:
- capturing a first image according to a preset first exposure time and a second image according to a second exposure time by using dual cameras, wherein the second exposure time is determined according to brightness of a shooting scene and a preset threshold;
- determining a first foreground area and a first background area of the first image and determining a second foreground area of the second image;
- performing image fusion processing on the second foreground area and the first foreground area to generate a third foreground area;
- and
- performing blurring processing on the first background area, and composing the third foreground area and the first background area subjected to the blurring processing to generate a target image.
A non-transitory computer-readable storage medium, having stored thereon a computer program that, when executed by a processor, causes the processor to implement an image processing method, the method comprising:
- capturing a first image according to a preset first exposure time and a second image according to a second exposure time by using dual cameras, wherein the second exposure time is determined according to brightness of a shooting scene and a preset threshold;
- determining a first foreground area and a first background area of the first image and determining a second foreground area of the second image;
- performing image fusion processing on the second foreground area and the first foreground area to generate a third foreground area;
- and
- performing blurring processing on the first background area, and composing the third foreground area and the first background area subjected to the blurring processing to generate a target image.
Dependencies are inferred from the claim text.