WO2019105262A1 - Procédé, appareil et dispositif de traitement de flou d'arrière-plan - Google Patents

Procédé, appareil et dispositif de traitement de flou d'arrière-plan Download PDF

Info

Publication number
WO2019105262A1
WO2019105262A1 PCT/CN2018/116479 CN2018116479W WO2019105262A1 WO 2019105262 A1 WO2019105262 A1 WO 2019105262A1 CN 2018116479 W CN2018116479 W CN 2018116479W WO 2019105262 A1 WO2019105262 A1 WO 2019105262A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
blurring
target
region
blurred
Prior art date
Application number
PCT/CN2018/116479
Other languages
English (en)
Chinese (zh)
Inventor
欧阳丹
谭国辉
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019105262A1 publication Critical patent/WO2019105262A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Definitions

  • a further embodiment of the present application provides a non-transitory computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements a background blurring processing method as described in the above embodiments of the present application.
  • the coordinates of the pixel corresponding to the point A are (30, 50), and in the preview image data of the camera 2, the pixel corresponding to the point A.
  • the contour edge of the shooting body is detected, and the target blurred area in the area to be blurred is determined according to the edge of the contour, wherein the target blurred area includes shooting The contour edge of the subject and the portion of the main image to be blurred.
  • the color of the shooting body area and the area to be blurred is different. Therefore, the contour edge of the shooting body can be determined by detecting the color channel, for example, when the subject is a human face, the face is The area is the color of the human body such as skin color, and the other areas are the colors of other scenes different from the color of the face area. Therefore, the color channel detection algorithm can be used to identify the area where the skin color is located to determine the person in the foreground according to the area covered by the skin color.
  • the outline edge of the face area that is, the outer edge of the area covered by the skin color area is the outline edge of the face area.
  • the pixel points in the first region may be blurred when the second region is blurred.
  • the corresponding second region is determined as the target blur region when the color approximation reaches the preset range, wherein the preset range corresponding to the color approximation
  • the ambiguous processing capability of the terminal device is related. The higher the ambiguity processing capability is, the smaller the value corresponding to the preset range is, and the stronger the ambiguity is, the higher the value corresponding to the preset range is.
  • Step 104 Obtain a target blurring intensity of the target blurring area according to a preset blurring strategy.
  • the edge contour of the shooting body When it is detected that the brightness of the shooting scene is lower than the preset threshold, in order to prevent the edge contour of the shooting body from being blurred, it is detected whether there is a face and a hair area to determine whether the current night portrait is photographed, if not, directly
  • the blurring process of the area to be blurred is performed in a normal manner, and if present, the hair contour edge of the detected portrait is obtained by taking the hair region and the corresponding background sub-region as the boundary of the hair contour edge, and the background sub-region is used as the target blurring region. Further, the blurring weight is gradually increased from the edge of the hair contour to the edge of the hair contour.
  • the edge region of the hair may be blurred due to poor imaging effect, and the background blurring process of the present application is adopted.
  • the edge of the hair is blurred in a dark environment, so that the edges of the hair are not blurred in the blurred image, and the hair and the background portion can be transitioned. Smoother and more natural.
  • FIG. 9 is a schematic structural diagram of a background blur processing device according to an embodiment of the present application. As shown in FIG. 9, the background blur processing device is provided.
  • the first obtaining module 100, the first determining module 200, the second determining module 300, the second obtaining module 400, and the processing module 500 are included.
  • the first determining module 200 is configured to determine, according to the depth of field information and the focus area, the area to be blurred in the main image and the corresponding original blurring intensity.
  • the second determining module 300 is configured to detect a contour edge of the shooting subject in the main image when detecting that the shooting scene brightness is lower than a preset threshold, and determine a target blurring area in the to-be-defined area according to the contour edge.
  • the second obtaining module 400 is configured to obtain a target blurring intensity of the target blurring area according to a preset blurring strategy.
  • the area to be blurred and the corresponding original blurring intensity when detecting that the brightness of the shooting scene is lower than a preset threshold, detecting the contour edge of the shooting subject, and determining the target blurring area in the area to be blurred according to the edge of the contour, according to
  • the preset blurring strategy determines the target blurring intensity of the target blurring area, and then blurs the target blurring area according to the target blurring intensity, and treats the non-target blurring in the blurring area according to the original blurring intensity.
  • the area is blurred. Thereby, the contour edge of the photographing body is prevented from being blurred, and the blurring effect of the image is improved.
  • the present application further provides a computer device, wherein the computer device is any device including a memory including a storage computer program and a processor running the computer program, for example, a smart phone, a personal computer, or the like.
  • the computer device further includes an image processing circuit, and the image processing circuit may be implemented by using hardware and/or software components, and may include various processing units defining an ISP (Image Signal Processing) pipeline.
  • Figure 10 is a schematic illustration of an image processing circuit in one embodiment. As shown in FIG. 10, for convenience of explanation, only various aspects of the image processing technique related to the embodiment of the present application are shown.
  • the ISP processor 1040 processes the raw image data pixel by pixel in a variety of formats.
  • each image pixel can have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 1040 can perform one or more image processing operations on the raw image data, collecting statistical information about the image data. Among them, image processing operations can be performed with the same or different bit depth precision.
  • ISP processor 1040 When receiving raw image data from sensor 1020 interface or from image memory 1030, ISP processor 1040 can perform one or more image processing operations, such as time domain filtering.
  • the processed image data can be sent to image memory 1030 for additional processing prior to being displayed.
  • the ISP processor 1040 receives the processed data from the image memory 1030 and performs image data processing in the original domain and in the RGB and YCbCr color spaces.
  • the processed image data may be output to display 1070 for viewing by a user and/or further processed by a graphics engine or a GPU (Graphics Processing Unit). Additionally, the output of ISP processor 1040 can also be sent to image memory 1030, and display 1070 can read image data from image memory 1030.
  • image memory 1030 can be configured to implement one or more frame buffers.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

La présente invention concerne un procédé, un appareil et un dispositif de traitement de flou d'arrière-plan, le procédé consistant : à acquérir une image principale photographiée par une caméra principale et une image secondaire photographiée par une caméra secondaire et, en fonction de l'image principale et de l'image secondaire, à acquérir des informations de profondeur de champ ; en fonction des informations de profondeur de champ et d'une zone de mise au point, à déterminer une zone à rendre floue dans l'image principale et une intensité de flou initiale correspondante ; lorsqu'il est détecté que la luminosité de scène de photographie est inférieure à un seuil prédéfini, à détecter un bord de contour du sujet de photographie principal et, en fonction du bord de contour, à déterminer une zone de flou cible dans la zone à rendre floue, et à déterminer une intensité de flou cible de la zone de flou cible ; en fonction de l'intensité de flou cible, à exécuter un traitement de flou de la zone de flou cible et, en fonction de l'intensité de flou initiale, à exécuter un traitement de flou des zones de flou non cibles dans la zone à rendre floue. Ainsi, les bords de contour du sujet de photographie principal ne sont pas flous de manière erronée, ce qui permet d'améliorer l'effet de flou de l'image.
PCT/CN2018/116479 2017-11-30 2018-11-20 Procédé, appareil et dispositif de traitement de flou d'arrière-plan WO2019105262A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711243751.6 2017-11-30
CN201711243751.6A CN107977940B (zh) 2017-11-30 2017-11-30 背景虚化处理方法、装置及设备

Publications (1)

Publication Number Publication Date
WO2019105262A1 true WO2019105262A1 (fr) 2019-06-06

Family

ID=62008884

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/116479 WO2019105262A1 (fr) 2017-11-30 2018-11-20 Procédé, appareil et dispositif de traitement de flou d'arrière-plan

Country Status (2)

Country Link
CN (1) CN107977940B (fr)
WO (1) WO2019105262A1 (fr)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111080571A (zh) * 2019-11-15 2020-04-28 北京迈格威科技有限公司 摄像头遮挡状态检测方法、装置、终端和存储介质
CN113674303A (zh) * 2021-08-31 2021-11-19 Oppo广东移动通信有限公司 图像处理方法、装置、电子设备及存储介质
CN113766090A (zh) * 2020-06-02 2021-12-07 武汉Tcl集团工业研究院有限公司 一种图像处理方法、终端以及存储介质
CN114216656A (zh) * 2021-12-13 2022-03-22 惠州Tcl移动通信有限公司 一种摄像头虚化效果性能测试卡、系统及制备方法
CN116894768A (zh) * 2023-09-11 2023-10-17 成都航空职业技术学院 一种基于人工智能的目标检测优化方法和系统

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977940B (zh) * 2017-11-30 2020-03-17 Oppo广东移动通信有限公司 背景虚化处理方法、装置及设备
CN110555809B (zh) * 2018-06-04 2022-03-15 瑞昱半导体股份有限公司 基于前景影像的背景虚化方法与电子装置
CN108848367B (zh) * 2018-07-26 2020-08-07 宁波视睿迪光电有限公司 一种图像处理的方法、装置及移动终端
CN109147271B (zh) * 2018-08-24 2020-12-18 浙江大丰实业股份有限公司 演出支撑设备防崩塌预警平台
CN110956577A (zh) * 2018-09-27 2020-04-03 Oppo广东移动通信有限公司 电子装置的控制方法、电子装置和计算机可读存储介质
CN113129312B (zh) * 2018-10-15 2022-10-28 华为技术有限公司 一种图像处理方法、装置与设备
CN111311482B (zh) * 2018-12-12 2023-04-07 Tcl科技集团股份有限公司 背景虚化方法、装置、终端设备及存储介质
CN109741280B (zh) * 2019-01-04 2022-04-19 Oppo广东移动通信有限公司 图像处理方法、装置、存储介质及电子设备
TWI693576B (zh) * 2019-02-26 2020-05-11 緯創資通股份有限公司 影像模糊處理方法與系統
CN111539960B (zh) * 2019-03-25 2023-10-24 华为技术有限公司 图像处理方法以及相关设备
CN110264431A (zh) * 2019-06-29 2019-09-20 北京字节跳动网络技术有限公司 视频美化方法、装置及电子设备
CN110751668B (zh) * 2019-09-30 2022-12-27 北京迈格威科技有限公司 图像处理方法、装置、终端、电子设备及可读存储介质
CN112785487B (zh) * 2019-11-06 2023-08-04 RealMe重庆移动通信有限公司 图像处理方法及装置、存储介质和电子设备
WO2021102702A1 (fr) * 2019-11-26 2021-06-03 深圳市大疆创新科技有限公司 Procédé et appareil de traitement d'image
CN113052754B (zh) * 2019-12-26 2022-06-07 武汉Tcl集团工业研究院有限公司 一种图片背景虚化的方法及装置
CN111064895B (zh) * 2019-12-31 2022-02-01 维沃移动通信有限公司 一种虚化拍摄方法和电子设备
CN111246092B (zh) * 2020-01-16 2021-07-20 Oppo广东移动通信有限公司 图像处理方法、装置、存储介质及电子设备
CN113138387B (zh) * 2020-01-17 2024-03-08 北京小米移动软件有限公司 图像采集方法、装置、移动终端及存储介质
CN111866369B (zh) * 2020-05-28 2022-08-02 北京迈格威科技有限公司 图像处理方法及装置
CN113938578A (zh) * 2020-07-13 2022-01-14 武汉Tcl集团工业研究院有限公司 一种图像虚化方法、存储介质及终端设备
CN112634298B (zh) * 2020-12-18 2022-08-12 展讯通信(上海)有限公司 图像处理方法及装置、存储介质、终端
CN112712536B (zh) * 2020-12-24 2024-04-30 Oppo广东移动通信有限公司 图像处理方法、芯片及电子装置
CN113747028B (zh) * 2021-06-15 2024-03-15 荣耀终端有限公司 一种拍摄方法及电子设备
CN117095028B (zh) * 2023-09-01 2024-03-08 广州市星飞达电子科技有限公司 一种基于机器视觉的图像处理跟踪方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587586A (zh) * 2008-05-20 2009-11-25 株式会社理光 一种图像处理装置及图像处理方法
CN105979165A (zh) * 2016-06-02 2016-09-28 广东欧珀移动通信有限公司 虚化照片生成方法、装置和移动终端
CN106060423A (zh) * 2016-06-02 2016-10-26 广东欧珀移动通信有限公司 虚化照片生成方法、装置和移动终端
CN107977940A (zh) * 2017-11-30 2018-05-01 广东欧珀移动通信有限公司 背景虚化处理方法、装置及设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2013273830A1 (en) * 2013-12-23 2015-07-09 Canon Kabushiki Kaisha Post-processed bokeh rendering using asymmetric recursive Gaussian filters
CN105141858B (zh) * 2015-08-13 2018-10-12 上海斐讯数据通信技术有限公司 照片背景虚化系统及其方法
CN106875356A (zh) * 2017-01-22 2017-06-20 深圳市金立通信设备有限公司 一种图像处理的方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587586A (zh) * 2008-05-20 2009-11-25 株式会社理光 一种图像处理装置及图像处理方法
CN105979165A (zh) * 2016-06-02 2016-09-28 广东欧珀移动通信有限公司 虚化照片生成方法、装置和移动终端
CN106060423A (zh) * 2016-06-02 2016-10-26 广东欧珀移动通信有限公司 虚化照片生成方法、装置和移动终端
CN107977940A (zh) * 2017-11-30 2018-05-01 广东欧珀移动通信有限公司 背景虚化处理方法、装置及设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIU, YI ET AL.: "Automatic Segmentation of Images with Low Depth of Field Based on Graph Cuts", ACTA AUTOMATICA SINICA, vol. 41, no. 8, 31 August 2015 (2015-08-31), pages 211 - 214, ISSN: 0254-4156 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111080571A (zh) * 2019-11-15 2020-04-28 北京迈格威科技有限公司 摄像头遮挡状态检测方法、装置、终端和存储介质
CN111080571B (zh) * 2019-11-15 2023-10-20 北京迈格威科技有限公司 摄像头遮挡状态检测方法、装置、终端和存储介质
CN113766090A (zh) * 2020-06-02 2021-12-07 武汉Tcl集团工业研究院有限公司 一种图像处理方法、终端以及存储介质
CN113766090B (zh) * 2020-06-02 2023-08-01 武汉Tcl集团工业研究院有限公司 一种图像处理方法、终端以及存储介质
CN113674303A (zh) * 2021-08-31 2021-11-19 Oppo广东移动通信有限公司 图像处理方法、装置、电子设备及存储介质
CN114216656A (zh) * 2021-12-13 2022-03-22 惠州Tcl移动通信有限公司 一种摄像头虚化效果性能测试卡、系统及制备方法
CN116894768A (zh) * 2023-09-11 2023-10-17 成都航空职业技术学院 一种基于人工智能的目标检测优化方法和系统
CN116894768B (zh) * 2023-09-11 2023-11-21 成都航空职业技术学院 一种基于人工智能的目标检测优化方法和系统

Also Published As

Publication number Publication date
CN107977940B (zh) 2020-03-17
CN107977940A (zh) 2018-05-01

Similar Documents

Publication Publication Date Title
WO2019105262A1 (fr) Procédé, appareil et dispositif de traitement de flou d'arrière-plan
KR102278776B1 (ko) 이미지 처리 방법, 기기, 및 장치
JP6968992B2 (ja) デュアルカメラベースの撮像のための方法、移動端末、および記憶媒体
KR102279436B1 (ko) 이미지 처리 방법, 장치 및 기기
US10757312B2 (en) Method for image-processing and mobile terminal using dual cameras
JP7145208B2 (ja) デュアルカメラベースの撮像のための方法および装置ならびに記憶媒体
CN107945105B (zh) 背景虚化处理方法、装置及设备
EP3198852B1 (fr) Appareil de traitement d'image, et procédé de commande correspondant
WO2019105261A1 (fr) Procédé et appareil de floutage d'arrière-plan et dispositif
WO2019105254A1 (fr) Procédé, appareil et dispositif de traitement de flou d'arrière-plan
CN108734676B (zh) 图像处理方法和装置、电子设备、计算机可读存储介质
EP3480784B1 (fr) Procédé et dispositif de traitement d'images
WO2019105206A1 (fr) Procédé et dispositif de traitement d'image
WO2019011147A1 (fr) Procédé et appareil de traitement de région de visage humain dans une scène de rétroéclairage
WO2019109805A1 (fr) Procédé et dispositif de traitement d'image
WO2019105298A1 (fr) Procédé de traitement de flou d'image, dispositif, dispositif mobile et support d'informations
KR20200041371A (ko) 더블 카메라 기반 이미징 방법 및 장치
WO2019105260A1 (fr) Procédé, appareil et dispositif d'obtention de profondeur de champ

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18884230

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18884230

Country of ref document: EP

Kind code of ref document: A1