WO2019033970A1 - Procédé de virtualisation d'image, dispositif mobile et dispositif de stockage - Google Patents
Procédé de virtualisation d'image, dispositif mobile et dispositif de stockage Download PDFInfo
- Publication number
- WO2019033970A1 WO2019033970A1 PCT/CN2018/099373 CN2018099373W WO2019033970A1 WO 2019033970 A1 WO2019033970 A1 WO 2019033970A1 CN 2018099373 W CN2018099373 W CN 2018099373W WO 2019033970 A1 WO2019033970 A1 WO 2019033970A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- camera module
- clear
- blurred
- acquiring
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
Definitions
- the present invention relates to the field of image capturing technology, and in particular, to a method for blurring an image, a mobile device, and a storage device.
- the software algorithm crops out the parts of the photo that need to be highlighted according to the user's needs, and then performs the fuzzy algorithm processing on the rest of the image, and then synthesizes the two, and finally produces a similar A background blur effect produced by the SLR, because the subject that needs to be highlighted by the photo is completely captured by the algorithm and cut and generated, there will be a large error, so the blurred photo generated by this method is less effective;
- two camera modules are used, one captures the subject and the other captures the depth of field information, and then the captured body depth information is used to crop the main part of the object, and then the rest of the image is performed.
- the fuzzy algorithm processes and then synthesizes it, because the algorithm can accurately find the things that need to be highlighted according to the depth of field information, so the photo effect generated by this method is better than the former method;
- the technical problem to be solved by the present invention is to provide a method for blurring an image, a mobile device, and a storage device, which can realize image blurring only through a set of camera modules.
- a technical solution adopted by the present invention is to provide a method for image blurring, the method comprising:
- a mobile device which includes a processor and a camera module.
- the processor is connected to the camera module, and the processor can execute a program to implement the following actions:
- another technical solution adopted by the present invention is to provide a storage device that stores program data, and the program data can be executed to implement a method for image blurring, the method comprising:
- Obtaining the first image includes: acquiring a clear image as the first image in the depth of field of the camera module; and acquiring the second image comprises: controlling the lens of the camera module to move along the depth of field direction, acquiring one outside the depth of field of the camera module A blurred image corresponding to the clear image is used as the second image.
- the beneficial effects of the present invention are: different from the prior art, the two images are collected by the two sets of image capturing devices to obtain a composite image, and the present invention obtains the first image through the camera module, and then changes the lens position of the camera module to obtain the second image. The image is combined to form a third image that is selectively blurred, and the image is blurred by only one set of camera modules.
- FIG. 1 is a schematic diagram of the principle of a camera module of the present invention
- FIG. 2 is a schematic flow chart of an embodiment of an image blurring method according to the present invention.
- FIG. 3 is a schematic flow chart of another embodiment of an image blurring method of the present invention.
- FIG. 4 is a schematic structural diagram of an embodiment of a mobile device according to the present invention.
- Figure 5 is a block diagram showing an embodiment of a memory device of the present invention.
- FIG. 1 is a schematic diagram of the principle of the camera module of the present invention.
- the lens of the camera module is equivalent to a convex lens. Due to the depth of field of the convex lens, when photographing, the subject to be photographed is within the depth of field, while other parts are outside the depth of field. Objects within the depth of field will be clearly imaged, while other parts outside the depth of field will be blurred, resulting in a blurry subject with clear subjects and blurred backgrounds.
- the depth of field varies depending on the focal length of the lens, the aperture value, and the shooting distance.
- the focal length and aperture value of the mobile device are fixed values, which are determined by the specifications and process level when the camera module is manufactured during the production process of the mobile device, and may not be adjusted later, so after the mobile device completes production
- the focal length and aperture value of the camera module are determined accordingly. Because the focal length of the camera module of the mobile device and the aperture are insufficient to form a shallow depth of field, the captured photos are clearly imaged within the depth of field of the camera module. The sharpness of the shooting distance will be different.
- FIG. 2 is a schematic flow chart of an embodiment of an image blurring method according to the present invention.
- the camera module captures the first image according to the need
- the first image may be a clear image, or a blurred image
- the second image corresponds to the first image, that is, when the first image is a clear image.
- the reverse is reversed.
- the focal length of the lens is not actually changed, but the focus position of the camera module is changed, so that the lens can be moved to a suitable position. Allows the subject to be within the depth of field so that clear imaging can be received over the depth of field on the other side of the lens, thus achieving autofocus within a certain range (Auto Focus). Autofocus does not change the focal length, but changes the object distance and distance to find the sharpest point that the subject can image.
- the camera module finds the sharpest focus point, continue to control the lens to move back and forth, you will find that the image will become blurred. Due to the movement of the lens, the subject deviates from the imaging position of the best definition, resulting in the entire picture changing. It is blurred, that is, the phenomenon that the focus is not clear and the picture is blurred. As long as the distance of the lens movement can be controlled properly, the effect of the complete blurring of the current scene image can be fully realized, that is, the effect of blurring blurring is formed by using optical characteristics, and the blurring effect and the blurring of the SLR camera are realized. The effect is the same as the imaging is not clear, compared to the use of software to achieve better imaging results.
- S203 Acquire a second image by using a camera module.
- the second image corresponds to the first image, that is, when the first image is a clear image, the second image is a blurred blurred image, and when the first image is a blurred blurred image, the second image is For clear images, that is, when the first image is captured within the depth of field of the camera module, the lens of the control camera module is moved to a second image outside the depth of field to capture blurring, when the first image is in the camera module When shooting outside the depth of field, the lens of the control camera module moves to a second image with a clear depth of field.
- S204 synthesize the first image and the second image into a third image, where the third image is a selectively blurred image;
- the third image may be a background blur image or a selectively blurred image such as a main body blur image, and the third image is synthesized according to the first image and the second image captured by the camera module.
- an image is a clear image and the second image is a blurred image
- the outline of the clear body is determined in the first image, thereby cutting out a body that needs to be clear, and embedding a clear body into a corresponding position on the second image
- a third image in which the main body is clear and the background is blurred.
- the contour of the blurring main body is determined in the first image, thereby cutting out a blurring process.
- the main body inserts a main body that needs to be blurred in a corresponding position on the second image, thereby synthesizing a third image in which the main body is blurred and the background is clear.
- the present invention acquires the first image through the camera module, and then changes the lens position of the camera module to acquire the second image, thereby synthesizing the selectively blurred third image, which is realized only by a set of camera modules. Image blur.
- FIG. 3 is a schematic flow chart of another embodiment of the image blurring method of the present invention.
- the shooting function of the mobile device is enabled, the camera module is turned on, and the corresponding picture is taken as needed.
- the position of the camera module on the mobile device may be located at the end of the mobile device, or in the middle of the mobile device, etc., and the camera module capable of conveniently using the mobile device is required to perform relative shooting, which is not limited herein.
- the first image is captured by the camera module, and the shooting target is focused within the depth of field of the camera module to obtain a clear image as the first image of the embodiment.
- the camera module can focus on the shooting target outside the depth of field, and obtain a blurred image as the first image of the embodiment, and the corresponding second image is a clear image.
- This embodiment synthesizes a third image that is selectively blurred, which is not limited herein.
- step S304 is performed, and if the focus target is not selected, step S302 is continued.
- the lens is moved along the depth of field of the camera module, outside the depth of field of the camera module and according to the selected blurring effect, in the corresponding depth of field Obtaining a blurred image corresponding to the first image as the second image of the embodiment, that is, after selecting a suitable blurring effect, the camera module correspondingly captures the second image according to the position where the target of the first image is captured.
- the first image and the second image are identical except that the image quality is different.
- the second image corresponds to the first image, that is, when the first image is a clear image, the second image is a blurred blurred image, and when the first image is a blurred blurred image, the second image is clear
- the image that is, when the first image is captured in the depth of field of the camera module, the lens of the control camera module is moved to the second image outside the depth of field range, and the first image is in the depth of field of the camera module.
- the lens of the control camera module is moved to a second image with a clear depth in the depth of field.
- the blurring effect in the embodiment may be different according to the depth of focus of the camera module and the depth of field of the camera module, so as to achieve different blurring effects, that is, the focus of the camera module and the camera module.
- the focal length of the lens is not actually changed, but the focus position of the camera module is changed, so that the lens can be moved to a suitable position. Allows the subject to be within the depth of field so that clear imaging can be received over the depth of field on the other side of the lens, thus achieving autofocus within a certain range (Auto Focus). Autofocus does not change the focal length, but changes the object distance and distance to find the sharpest point that the subject can image.
- the camera module finds the sharpest focus point, continue to control the lens to move back and forth, you will find that the image will become blurred. Due to the movement of the lens, the subject deviates from the imaging position of the best definition, resulting in the entire picture changing. It is blurred, that is, the phenomenon that the focus is not clear and the picture is blurred. As long as the distance of the lens movement can be controlled properly, the effect of the complete blurring of the current scene image can be fully realized, that is, the effect of blurring blurring is formed by using optical characteristics, and the blurring effect and the blurring of the SLR camera are realized. The effect is the same as the imaging is not clear, compared to the use of software to achieve better imaging results.
- step S306 is performed, and if the blurring effect is not selected, step S304 is continued.
- the shooting operation is ended, and the third image is combined and output according to the first image and the second image captured by the camera module.
- the first image is a clear image
- the second image is a blurred image.
- the method of synthesizing the third image is explained, and thus the first image and the second image of the present embodiment are not limited.
- the first image acquiring a clear body of the third image, synthesizing the clear body into a corresponding position on the second image, obtaining a third image with a clear subject and a blurred background; or acquiring according to the first image
- the clear background of the third image is synthesized into a corresponding position on the second image to obtain a third image with the subject blurred and the background clear.
- determining the outline of the image body on the first image thereby selecting a clear body or a clear background
- determining the outline of the image body is obtained by algorithm cutting, which is a conventional means by those skilled in the art, and is no longer used herein. Narration.
- the present invention acquires a first image in the depth of field of the camera module, and then controls the lens of the camera module to move in the depth direction of the camera module, and acquires a second image outside the depth of field of the camera module, thereby Synthesizing the third image of the selective blur, through a set of camera modules, to achieve image blur, which can improve image blur.
- FIG. 4 is a schematic structural diagram of an embodiment of a mobile device according to the present invention.
- the mobile device 400 includes a processor 401 and a camera module 402.
- the processor 401 is connected to the camera module 402.
- the position of the camera module 402 on the mobile device 400 can be located at the end of the mobile device 400, or In the middle area of the mobile device 400, the camera module 402 that can conveniently use the mobile device 400 is required to perform corresponding shooting operations, which is not limited herein.
- the processor 401 is capable of executing a program to control the camera module 402 to obtain a clear image as the first image within its depth of field; then controlling the lens of the camera module 402 to move along the depth of field and acquiring outside the depth of field range a blurred image corresponding to the clear image is used as the second image; according to the first image, the clear body of the third image is acquired, and the clear body is synthesized to the corresponding position on the second image, and the body is clear and the background is blurred. Or three images; or according to the first image, obtain a clear background of the third image, and synthesize the clear background to the corresponding position on the second image to obtain a third image with the subject blurred and the background clear.
- the processor 401 drives the movement of the motor inside the camera module 402 to push the lens to move, and does not actually change the focal length of the lens.
- the focal length and aperture of the camera module 402 remain unchanged, but the focus position of the camera module 402 is changed. This allows the lens to be moved to the proper position so that the subject being shot is within the depth of field, so that clear imaging can be received over the depth of field on the other side of the lens, thus achieving autofocus within a certain range.
- Autofocus does not change the focal length, but changes the object distance and distance to find the sharpest point that the subject can image.
- the camera module 402 finds the sharpest focus point, continue to control the lens to move back and forth, and the image will be blurred. Due to the movement of the lens, the subject deviates from the imaging position of the best definition, resulting in the entire picture. It becomes blurred, that is, the phenomenon that the focus is not clear and the picture is blurred. As long as the distance of the lens movement can be controlled properly, the effect of the complete blurring of the current scene image can be fully realized, that is, the effect of blurring blurring is formed by using optical characteristics, and the blurring effect and the blurring of the SLR camera are realized. The effect is the same as the imaging is not clear, compared to the use of software to achieve better imaging results.
- FIG. 5 is a schematic structural diagram of an embodiment of a storage device according to the present invention.
- the storage device 500 stores the program data 501, and the program data 501 can be executed to implement the image blurring method described in the above embodiments, and details are not described herein again.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device implementations described above are merely illustrative.
- the division of the modules or units is only a logical function division.
- there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the object of the present embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only) Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.
- the present invention acquires a first image in the depth of field of the camera module, and then controls the lens of the camera module to move in the depth direction of the camera module, and acquires a second image outside the depth of field of the camera module, thereby Synthesizing the third image of the selective blur, through a set of camera modules, to achieve image blur, which can improve image blur.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
L'invention concerne un procédé de virtualisation d'image, un dispositif mobile et un dispositif de stockage. Le procédé consiste à : acquérir une première image par l'intermédiaire d'un module de caméra ; changer la position d'une lentille de la lentille de caméra ; puis acquérir une deuxième image par l'intermédiaire du module de caméra ; et synthétiser la première image avec la deuxième image en une troisième image, la troisième image étant une image virtualisée facultative.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710709675.7A CN107707809A (zh) | 2017-08-17 | 2017-08-17 | 一种图像虚化的方法、移动设备以及存储装置 |
| CN201710709675.7 | 2017-08-17 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019033970A1 true WO2019033970A1 (fr) | 2019-02-21 |
Family
ID=61169673
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/099373 Ceased WO2019033970A1 (fr) | 2017-08-17 | 2018-08-08 | Procédé de virtualisation d'image, dispositif mobile et dispositif de stockage |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107707809A (fr) |
| WO (1) | WO2019033970A1 (fr) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107707809A (zh) * | 2017-08-17 | 2018-02-16 | 捷开通讯(深圳)有限公司 | 一种图像虚化的方法、移动设备以及存储装置 |
| TWI701637B (zh) * | 2018-07-02 | 2020-08-11 | 緯創資通股份有限公司 | 影像合成方法與系統 |
| CN110505406A (zh) * | 2019-08-26 | 2019-11-26 | 宇龙计算机通信科技(深圳)有限公司 | 背景虚化方法、装置、存储介质及终端 |
| CN110830715B (zh) * | 2019-10-31 | 2021-06-25 | 维沃移动通信(杭州)有限公司 | 一种拍照方法及电子设备 |
| CN111246092B (zh) * | 2020-01-16 | 2021-07-20 | Oppo广东移动通信有限公司 | 图像处理方法、装置、存储介质及电子设备 |
| CN114762313B (zh) * | 2020-01-16 | 2024-03-01 | Oppo广东移动通信有限公司 | 图像处理方法、装置、存储介质及电子设备 |
| CN111212231B (zh) * | 2020-01-16 | 2021-06-15 | Oppo广东移动通信有限公司 | 图像处理方法、装置、存储介质及电子设备 |
| WO2022011657A1 (fr) * | 2020-07-16 | 2022-01-20 | Oppo广东移动通信有限公司 | Procédé et appareil de traitement d'image, dispositif électronique et support d'enregistrement lisible par ordinateur |
| CN114359077A (zh) * | 2021-12-22 | 2022-04-15 | 北京旷视科技有限公司 | 图像处理方法、计算机程序产品和电子设备 |
| CN116208850B (zh) * | 2023-02-07 | 2025-07-25 | 深圳市谨讯软件有限公司 | 图像生成方法、装置及设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1392724A (zh) * | 2001-06-19 | 2003-01-22 | 卡西欧计算机株式会社 | 图像拾取装置和方法、记录图像拾取方法程序的存储介质 |
| US20110149098A1 (en) * | 2009-12-18 | 2011-06-23 | Electronics And Telecommunications Research Institute | Image processing apparutus and method for virtual implementation of optical properties of lens |
| CN103945116A (zh) * | 2013-01-23 | 2014-07-23 | 三星电子株式会社 | 用于在具有相机的移动终端中处理图像的设备和方法 |
| CN104639831A (zh) * | 2015-01-05 | 2015-05-20 | 信利光电股份有限公司 | 一种照相机及拓展景深的方法 |
| CN106303221A (zh) * | 2016-07-29 | 2017-01-04 | 广东欧珀移动通信有限公司 | 控制方法、装置及移动终端 |
| CN107707809A (zh) * | 2017-08-17 | 2018-02-16 | 捷开通讯(深圳)有限公司 | 一种图像虚化的方法、移动设备以及存储装置 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106303202A (zh) * | 2015-06-09 | 2017-01-04 | 联想(北京)有限公司 | 一种图像信息处理方法及装置 |
-
2017
- 2017-08-17 CN CN201710709675.7A patent/CN107707809A/zh active Pending
-
2018
- 2018-08-08 WO PCT/CN2018/099373 patent/WO2019033970A1/fr not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1392724A (zh) * | 2001-06-19 | 2003-01-22 | 卡西欧计算机株式会社 | 图像拾取装置和方法、记录图像拾取方法程序的存储介质 |
| US20110149098A1 (en) * | 2009-12-18 | 2011-06-23 | Electronics And Telecommunications Research Institute | Image processing apparutus and method for virtual implementation of optical properties of lens |
| CN103945116A (zh) * | 2013-01-23 | 2014-07-23 | 三星电子株式会社 | 用于在具有相机的移动终端中处理图像的设备和方法 |
| CN104639831A (zh) * | 2015-01-05 | 2015-05-20 | 信利光电股份有限公司 | 一种照相机及拓展景深的方法 |
| CN106303221A (zh) * | 2016-07-29 | 2017-01-04 | 广东欧珀移动通信有限公司 | 控制方法、装置及移动终端 |
| CN107707809A (zh) * | 2017-08-17 | 2018-02-16 | 捷开通讯(深圳)有限公司 | 一种图像虚化的方法、移动设备以及存储装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107707809A (zh) | 2018-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019033970A1 (fr) | Procédé de virtualisation d'image, dispositif mobile et dispositif de stockage | |
| CN102158650B (zh) | 图像处理设备和图像处理方法 | |
| CN101616261B (zh) | 图像记录设备和方法、图像处理设备和方法 | |
| TWI330747B (en) | Image capture apparatus and auto focus control method | |
| CN101415077B (zh) | 构图判定设备和构图判定方法 | |
| CN104243800B (zh) | 控制装置和存储介质 | |
| CN111901524B (zh) | 对焦方法、装置和电子设备 | |
| WO2014071840A1 (fr) | Procédé et dispositif de prise de photographies et de vidéos | |
| CN102096898A (zh) | 图像处理的方法和设备 | |
| KR101739379B1 (ko) | 디지털 촬영 장치 및 이의 제어 방법 | |
| TW201008277A (en) | Image pick up device and storage medium | |
| KR102146854B1 (ko) | 촬영 장치 및 이의 제어 방법 | |
| WO2015192547A1 (fr) | Procédé permettant de capturer une image tridimensionnelle se basant sur un terminal mobile, et terminal mobile | |
| CN110636276A (zh) | 视频拍摄方法、装置、存储介质及电子设备 | |
| CN103780839B (zh) | 一种拍照方法及拍照终端 | |
| WO2017128750A1 (fr) | Procédé de collecte d'images et dispositif de collecte d'images | |
| CN106027914A (zh) | 摄像装置和摄像方法 | |
| CN115022526A (zh) | 全景深图像生成方法和装置 | |
| WO2018161817A1 (fr) | Support de stockage, ainsi que procédé et système de simulation de photographie dans une scène de réalité virtuelle | |
| CN105847659A (zh) | 一种生成水印图像的方法、装置及智能终端 | |
| CN115412714B (zh) | 数据处理方法、控制终端、ar终端、ar系统及存储介质 | |
| CN105282455A (zh) | 一种拍照方法、装置及移动终端 | |
| JP2009060355A (ja) | 撮像装置、撮像方法、およびプログラム | |
| JP7616211B2 (ja) | 情報処理装置、情報処理方法、及び、プログラム | |
| CN105933602A (zh) | 一种摄像头拍摄方法及装置 |
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: 18846669 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: 18846669 Country of ref document: EP Kind code of ref document: A1 |