WO2018053906A1 - 一种基于双摄像头的拍摄方法、装置和移动终端 - Google Patents
一种基于双摄像头的拍摄方法、装置和移动终端 Download PDFInfo
- Publication number
- WO2018053906A1 WO2018053906A1 PCT/CN2016/104069 CN2016104069W WO2018053906A1 WO 2018053906 A1 WO2018053906 A1 WO 2018053906A1 CN 2016104069 W CN2016104069 W CN 2016104069W WO 2018053906 A1 WO2018053906 A1 WO 2018053906A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- camera
- image
- foreground
- background
- area
- Prior art date
Links
- 230000009977 dual effect Effects 0.000 title claims abstract description 81
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000003384 imaging method Methods 0.000 claims description 8
- 230000002194 synthesizing effect Effects 0.000 claims description 6
- 230000015572 biosynthetic process Effects 0.000 claims description 3
- 238000003786 synthesis reaction Methods 0.000 claims description 3
- 230000036544 posture Effects 0.000 abstract description 17
- 230000006870 function Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
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/80—Camera processing pipelines; Components thereof
-
- 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/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/957—Light-field or plenoptic cameras or camera modules
Definitions
- the present invention relates to the field of image processing technologies, and in particular, to a dual camera-based photographing method, apparatus, and mobile terminal.
- a main object of the present invention is to provide a dual camera-based photographing method, apparatus and mobile terminal for dynamically adjusting the foreground and background poses in an image during shooting.
- the background image and the foreground image are combined in a set posture to form a final image.
- the dividing the foreground area and the background area by the image captured by the first camera and the image captured by the second camera respectively including:
- Determining whether the image captured by the first camera and the image captured by the second camera include a character area includes: if yes, setting the character area to an image acquired by the first camera and collected by the second camera a foreground area of the image, the image captured by the first camera and the remaining area of the image captured by the second camera are set as a background area; if not, each pixel in the image captured by the first camera is calculated a first distance value to the first camera, based on the first distance value, dividing the image acquired by the first camera into a foreground area and a background area, and calculating each pixel in the image captured by the second camera Pointing a second distance value to the second camera, and dividing the image acquired by the second camera into a foreground area and a background area based on the second distance value. Further, performing foreground area removal processing on the image collected by the first camera to form a background image includes:
- performing the background area removal processing on the image collected by the second camera to form a foreground image including:
- the combining the background image and the foreground image according to a set posture to form a final image includes:
- the foreground image is placed in the background image in a set position, and the foreground image and/or the background image are scaled and/or rotated adjusted to form a final image.
- the invention also provides a dual camera based imaging device, comprising:
- Obtaining a module configured to acquire an image acquired by the first camera and an image acquired by the second camera;
- a dividing module configured to respectively divide an image captured by the first camera and an image captured by the second camera into a foreground area and a background area;
- a processing module configured to perform a foreground area removal process on the image captured by the first camera to form a background image; and perform background area removal processing on the image captured by the second camera to form a foreground image;
- the synthesis module is configured to combine the background image and the foreground image according to a set posture to form a final image.
- the dividing module is specifically configured as:
- the processing module includes: a foreground processing unit and a background processing unit;
- the foreground processing unit is configured to delete the content of the foreground area in the image collected by the first camera, and fill the foreground area according to the content of the background area in the image collected by the first camera to form content Complete background image;
- the background processing unit is configured to delete the content of the background area in the image acquired by the second camera, and form a foreground image that retains only the content of the foreground area in the image captured by the second camera.
- synthesizing module is specifically configured as:
- the foreground image is placed in the background image in a set position, and the foreground image and/or the background image are scaled and/or rotated adjusted to form a final image.
- the present invention also provides a mobile terminal comprising: a dual front camera or a dual rear camera, and a dual camera based imaging device as described above.
- the dual camera-based shooting method, device and mobile terminal when a user uses a mobile terminal having a dual front or dual rear camera to take a picture or record, a camera generates a background image only for the background image in the shooting scene. Another camera generates a foreground image that only captures the foreground image in the scene, and then blends the foreground image into the background image in an editable manner. Finally, the user adjusts the pose of the foreground image and the background image to form a photo or video that meets the user's requirements.
- the invention can adjust the foreground and the background posture in the shooting scene in real time and dynamically, and has convenient operation and strong interest, and the user's shooting experience is improved to the utmost extent.
- FIG. 1 is a flow chart of a dual camera-based photographing method according to a first embodiment of the present invention
- FIG. 2 is a flow chart of a dual camera-based photographing method according to a second embodiment of the present invention.
- FIG. 3 is a schematic diagram showing the structure of a dual camera-based photographing apparatus according to a third embodiment of the present invention.
- FIG. 4 is a schematic diagram showing the structure of a dual camera-based imaging device according to a fourth embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
- a first embodiment of the present invention provides a dual camera-based photographing method, as shown in FIG. 1, comprising the following specific steps:
- Step S101 Acquire an image acquired by the first camera and an image acquired by the second camera.
- the first camera and the second camera are dual front camera or dual rear cameras of a certain mobile terminal.
- a mobile terminal having a dual front camera is provided with two front cameras on the mobile terminal.
- a mobile terminal having a dual rear camera is provided with two rear cameras on the mobile terminal.
- Step S102 Perform division of the foreground area and the background area on the image acquired by the first camera and the image collected by the second camera, respectively.
- the foreground refers to a scene or person near the camera in front of the subject in the image
- the background refers to the scene behind the subject in the image, away from the camera.
- step S102 includes:
- Step S103 Perform foreground area removal processing on the image acquired by the first camera to form a background image, and perform background area removal processing on the image collected by the second camera to form a foreground image.
- the performing foreground area removal processing on the image collected by the first camera to form a background image includes:
- the foreground area in the image captured by the first camera has no pattern and color after deleting the content of the foreground area in the image acquired by the first camera, it is necessary to utilize the background area in the image collected by the first camera.
- the pattern and color fill the foreground area to complete the picture of the background image.
- Performing a background area removal process on the image captured by the second camera to form a foreground image including:
- Step S104 Combine the background image and the foreground image according to a set posture to form a final image.
- step S104 includes:
- the foreground image is placed in the background image in a set position, and the foreground image and/or the background image are scaled and/or rotated adjusted to form a final image.
- a second embodiment of the present invention provides a dual camera-based photographing method, as shown in FIG. 2, including the following specific steps:
- Step S201 setting the shooting mode for the dual front camera or the dual rear camera. If the shooting mode is set to the shooting mode for adjusting the foreground and background postures, step S202 is performed, and if the shooting mode is set to the normal shooting mode, the shooting is performed in a conventional manner using the dual front camera or the dual rear camera.
- a mobile terminal having a dual front camera is provided with two front cameras on the mobile terminal.
- a mobile terminal having a dual rear camera is provided with two rear cameras on the mobile terminal.
- Step S202 Perform function setting on the dual front camera or the dual rear camera. One camera is used to form the foreground image and the other camera is used to form the background image.
- the first camera is set as a camera for forming a background image
- the second camera is set as a camera for forming a foreground image
- Step S203 shooting a certain scene by using the set dual front camera or the dual rear camera to obtain two images about the certain scene.
- Step S204 Perform division of the foreground area and the background area on the two images, respectively.
- the characters are combined with the scenery, and the characters are taken as the main body in the image, and the scenery is used as the background in the image.
- First based on the user's shooting habit, first determine whether the image area is included in the image, and if so, set the person area as the foreground area of the image, and the remaining area in the image is set as the background area; if not, calculate the image a distance value for each pixel in the distance, the distance being the distance from each pixel in the image to the camera that acquired the image, based on the distance value of each pixel in the image Divided into foreground and background areas.
- the dividing the image into a foreground area and a background area based on a distance value of each pixel in the image includes:
- the average distance value of each connected area is calculated, the connected area having the smallest average distance value is set as the foreground area, and the other areas in the image are set as the background area.
- Step S205 Perform foreground area removal processing on one image to form a background image; perform background area removal processing on the other image to form a foreground image.
- the image collected by the first camera is processed as follows:
- Step A1 deleting the content of the foreground area in the image, when the content of the foreground area in the image is deleted, the foreground area of the image forms a black unpatterned area.
- Step A2 extracting an outline of a background area in the image, performing a module topology on the foreground area according to an outline of a background area in the image, and filling the foreground area with a topological contour, so that the foreground area has a topological contour skeleton.
- Step A3 Using the content of the background area in the image, the content of the background area is gradually filled into the foreground area with the topological contour skeleton by the filling algorithm and the area generating algorithm, and finally a complete background image is formed.
- the image collected by the second camera is processed as follows:
- the content of the background area in the image is deleted, forming a foreground image that retains only the content of the foreground area.
- Step S206 placing the foreground image in the background image according to the positional relationship and the scale of the foreground image and the background image in the original captured image.
- Step S207 Perform posture adjustment on the foreground image and the background image to form a final image.
- the posture adjustment includes: adjusting a position of the foreground image in the background image, and performing zoom adjustment and rotation adjustment on the foreground image and the background image.
- a third embodiment of the present invention provides a dual camera based imaging device, as shown in FIG. 3, comprising the following components:
- the obtaining module 301 is configured to acquire an image acquired by the first camera and an image acquired by the second camera.
- the first camera and the second camera are dual front cameras or dual rear cameras on the mobile terminal.
- the two cameras on the mobile phone collect two images about a certain scene.
- the dividing module 302 is configured to perform division of the foreground area and the background area on the image acquired by the first camera and the image collected by the second camera, respectively.
- the foreground refers to a scene or person near the camera in front of the subject in the image
- the background refers to the scene behind the subject in the image, away from the camera.
- the dividing module 302 is specifically configured to
- the processing module 303 is configured to perform a foreground region removal process on the image captured by the first camera to form a background image, and perform background region removal processing on the image captured by the second camera to form a foreground image.
- the processing module 303 includes: a foreground processing unit and a background processing unit;
- the foreground processing unit is configured to delete the content of the foreground area in the image collected by the first camera, and fill the foreground area according to the content of the background area in the image collected by the first camera to form content Complete background image;
- the background processing unit is configured to delete the content of the background area in the image acquired by the second camera, and form a foreground image that retains only the content of the foreground area in the image captured by the second camera.
- the synthesis module 304 is configured to combine the background image and the foreground image according to a set posture to form a final image.
- synthesizing module 304 is specifically configured as:
- the foreground image is placed in the background image in a set position, and the foreground image and/or the background image are scaled and/or rotated adjusted to form a final image.
- a fourth embodiment of the present invention provides a dual camera based imaging device, as shown in FIG. 4, comprising the following components:
- the shooting mode setting module 401 is configured to set the shooting mode of the dual front camera or the dual rear camera. If the shooting mode is set to the shooting mode for adjusting the foreground and background postures, the function setting module 402 is triggered, and if the shooting mode is set to the normal shooting mode, the shooting is performed in a conventional manner using the dual front camera or the dual rear camera.
- the function setting module 402 is configured to perform function setting on the dual front camera or the dual rear camera. One camera is used to form the foreground image and the other camera is used to form the background image.
- the first camera is set as a camera for forming a background image
- the second camera is set as a camera for forming a foreground image
- the shooting module 403 is configured to capture a certain scene by using the set dual front camera or the dual rear camera to obtain two images about the certain scene.
- the dividing module 404 is configured to divide the foreground area and the background area separately for the two images.
- the characters are combined with the scenery, and the characters are taken as the main body in the image, and the scenery is used as the background in the image.
- First based on the user's shooting habit, first determine whether the image area is included in the image, and if so, set the person area as the foreground area of the image, and the remaining area in the image is set as the background area; if not, calculate the image a distance value for each pixel in the distance, the distance being the distance from each pixel in the image to the camera that acquired the image, based on the distance value of each pixel in the image, dividing the image into The foreground area and the background area.
- the dividing module 404 is specifically configured as:
- the average distance value of each connected area is calculated, the connected area having the smallest average distance value is set as the foreground area, and the other areas in the image are set as the background area.
- the processing module 405 is configured to perform foreground region removal processing on one image to form a background image, and perform background region removal processing on the other image to form a foreground image.
- the processing module 405 includes: a foreground processing unit and a background processing unit;
- the dual front camera or the dual rear camera is configured.
- the foreground processing unit is specifically configured as:
- the content of the foreground area in the image is deleted, and when the content of the foreground area in the image is deleted, the foreground area of the image forms a black unpatterned area.
- Extracting an outline of a background region in the image performing a module topology on the foreground region according to an outline of a background region in the image, and filling the foreground region with a topological contour such that the foreground region has a topological contour skeleton.
- the content of the background region in the image is gradually filled into the foreground region having the topological contour skeleton by the filling algorithm and the region generation algorithm, thereby finally forming a complete background image.
- the dual front camera or the dual rear camera is configured.
- the background processing unit is specifically configured as:
- the content of the background area in the image is deleted, forming a foreground image that retains only the content of the foreground area.
- the image synthesizing module 406 is configured to place the foreground image in the background image according to the positional relationship and the scale of the foreground image and the background image in the original captured image.
- the attitude adjustment module 407 is configured to perform posture adjustment on the foreground image and the background image to form a final image.
- the posture adjustment includes: adjusting a position of the foreground image in the background image, and performing zoom adjustment and rotation adjustment on the foreground image and the background image.
- FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- a fifth embodiment of the present invention, a mobile terminal 500 comprising: a dual front camera or a dual rear camera, and a dual camera based imaging device introduced in the third embodiment or the fourth embodiment of the present invention.
- the mobile terminal 500 having a dual front camera is provided with two front cameras on the mobile terminal 500; and the mobile terminal 500 having a dual rear camera is provided with two rear cameras on the mobile terminal 500.
- the mobile terminal 500 further includes: at least one processor 501, such as a CPU, at least one receiver 503, at least one memory 504, at least one transmitter 505, at least A communication bus 502.
- the communication bus 502 is used to implement connection communication between these components.
- the receiver 503 and the transmitter 505 may be wired transmission ports, or may be wireless devices, for example, including antenna devices for performing data communication with other devices.
- the memory 504 may be a high speed RAM memory or a non-transitory memory.
- the processor 501 can execute the operating system of the mobile terminal 500 and various installed applications, program codes, and the like.
- each module described above includes the acquiring module 301, the dividing module 302, and the like.
- Program code is stored in the memory 504, and the processor 501 can invoke program code stored in the memory 504 via the communication bus 502 to perform related functions.
- the various modules eg, the acquisition module 301, the partitioning module 302 described in FIGS. 3, 4 are program code stored in the memory 504 and executed by the processor 501, thereby The functions of the various units are implemented.
- the memory 504 stores a plurality of instructions that are executed by the processor 501 to implement a dual camera based photographing method. Specifically, the performing, by the processor 501, the acquiring, by the first camera, an image acquired by the first camera and an image captured by the second camera; respectively, the image collected by the first camera and the second camera The captured image performs division of the foreground region and the background region; performing foreground region removal processing on the image captured by the first camera to form a background image; performing background region removal processing on the image captured by the second camera to form a foreground An image; the background image and the foreground image are combined according to a set posture to form a final image.
- the dividing the foreground region and the background region by the image captured by the first camera and the image captured by the second camera respectively comprises: determining an image and a scene captured by the first camera Whether the image captured by the second camera includes a person area, and if so, the person area is set as an image captured by the first camera and a foreground area of the image captured by the second camera, and the first camera collects And the remaining area in the image captured by the second camera is set as a background area; if not, calculating a first distance value of each pixel in the image collected by the first camera to the first camera, based on The first distance value is used to divide the image collected by the first camera into a foreground area and a background area, and calculate a second distance value of each pixel point in the image collected by the second camera to the second camera. And dividing the image acquired by the second camera into a foreground area and a background area based on the second distance value.
- the performing foreground area removal processing on the image captured by the first camera to form a background image includes: deleting content of a foreground area in the image captured by the first camera, and according to the The content of the background area in the image captured by the first camera fills the foreground area to form a complete background image.
- performing a background area removal process on the image captured by the second camera to form a foreground image includes: deleting content of a background area in the image captured by the second camera, forming only reserved A foreground image of the content of the foreground area in the image captured by the second camera.
- the synthesizing the background image and the foreground image according to a set posture to form a final image comprises: placing the foreground image in the background image according to a set position. And performing zoom adjustment and/or rotation adjustment on the foreground image and/or the background image to form a final image.
- the dual camera-based shooting method, device and mobile terminal introduced in the embodiments of the present invention, when a user uses a mobile terminal having a dual front or dual rear camera to take a picture or video, a camera generates a background of only the background image in the shooting scene.
- the image, another camera generates a foreground image that only captures the foreground image in the scene, and then incorporates the foreground image into the background image in an editable manner.
- the user adjusts the pose of the foreground image and the background image to form a photo or video that meets the user's requirements.
- the invention can adjust the foreground and the background posture in the shooting scene in real time and dynamically, and has convenient operation and strong interest, and the user's shooting experience is improved to the utmost extent.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
一种基于双摄像头的拍摄方法、装置和移动终端,该方法包括:获取第一摄像头采集的图像和第二摄像头采集的图像(S101);分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分(S102);对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像;对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像(S103);将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像(S104)。基于此,可以实时地、动态地调整拍摄场景中的前景和背景的姿态,操作便捷、趣味性强,最大程度的改善了用户的拍摄体验。
Description
本申请要求于2016年9月22日提交中国专利局,申请号为201610840250.5、发明名称为“一种基于双摄像头的拍摄方法、装置和移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及图像处理技术领域,尤其涉及一种基于双摄像头的拍摄方法、装置和移动终端。
随着移动终端的配置和性能的不断提升,已出现具有双前摄像头或双后摄像头的移动终端,尤其是手机领域,大部分手机都具有双后摄像头的配置。但是,目前手机采用双后摄像头的主要目的是为了提升拍照效果,而缺乏通过双后摄像头进行差异化处理的功能。用户如需对一张照片中的前景和背景进行调整处理,只能借助第三方图像处理软件,例如,Photoshop、绘声绘影等。因此,无法实时地、动态地调整背景和前景中的成像姿态。
本发明的主要目的在于提供一种基于双摄像头的拍摄方法、装置和移动终端,在拍摄过程中动态地调整图像中前景与背景的姿态。
本发明采用的技术方案是,所述基于双摄像头的拍摄方法,包括:
获取第一摄像头采集的图像和第二摄像头采集的图像;
分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分;
对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像;对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像;
将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像。
进一步的,所述分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分,包括:
判断所述第一摄像头采集的图像和所述第二摄像头采集的图像中是否包含人物区域,若是,则将所述人物区域设置为所述第一摄像头采集的图像和所述第二摄像头采集的图像的前景区域,所述第一摄像头采集的图像和所述第二摄像头采集的图像中的其余区域设置为背景区域;若否,则计算所述第一摄像头采集的图像中的每个像素点到第一摄像头的第一距离值,基于所述第一距离值,将所述第一摄像头采集的图像划分为前景区域和背景区域,并计算所述第二摄像头采集的图像中的每个像素点到第二摄像头的第二距离值,基于所述第二距离值,将所述第二摄像头采集的图像划分为前景区域和背景区域。进一步的,所述对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像,包括:
删除所述第一摄像头采集的图像中的前景区域的内容,并根据所述第一摄像头采集的图像中的背景区域的内容对所述前景区域进行填充,形成内容完整的背景图像。
进一步的,所述对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像,包括:
删除所述第二摄像头采集的图像中的背景区域的内容,形成只保留所述第二摄像头采集的图像中的前景区域的内容的前景图像。
进一步的,所述将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像,包括:
将所述前景图像按照设定的位置放置于所述背景图像中,并对所述前景图像和/或所述背景图像进行缩放调整和/或旋转调整,以形成最终图像。
本发明还提供一种基于双摄像头的拍摄装置,包括:
获取模块,设置为获取第一摄像头采集的图像和第二摄像头采集的图像;
划分模块,设置为分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分;
处理模块,设置为对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像;对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像;
合成模块,设置为将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像。
进一步的,所述划分模块,具体设置为:
判断所述第一摄像头采集的图像和所述第二摄像头采集的图像中是否包含人物区域,若是,则将所述人物区域设置为所述第一摄像头采集的图像和所述第二摄像头采集的图像的前景区域,所述第一摄像头采集的图像和所述第二摄像头采集的图像中的其余区域设置为背景区域;若否,则计算所述第一摄像头采集的图像中的每个像素点到第一摄像头的第一距离值,基于所述第一距离值,将所述第一摄像头采集的图像划分为前景区域和背景区域,并计算所述第二摄像头采集的图像中的每个像素点到第二摄像头的第二距离值,基于所述第二距离值,将所述第二摄像头采集的图像划分为前景区域和背景区域。进一步的,所述处理模块,包括:前景处理单元和背景处理单元;
所述前景处理单元,设置为删除所述第一摄像头采集的图像中的前景区域的内容,并根据所述第一摄像头采集的图像中的背景区域的内容对所述前景区域进行填充,形成内容完整的背景图像;
所述背景处理单元,设置为删除所述第二摄像头采集的图像中的背景区域的内容,形成只保留所述第二摄像头采集的图像中的前景区域的内容的前景图像。
进一步的,所述合成模块,具体设置为:
将所述前景图像按照设定的位置放置于所述背景图像中,并对所述前景图像和/或所述背景图像进行缩放调整和/或旋转调整,以形成最终图像。
本发明还提供一种移动终端,包括:双前摄像头或双后摄像头,以及如上所述的基于双摄像头的拍摄装置。
本发明有益效果如下:
本发明所述的基于双摄像头的拍摄方法、装置和移动终端,用户使用具有双前或者双后摄像头的移动终端进行拍照或者录像时,一颗摄像头生成只有拍摄场景中的背景画面的背景图像,另外一颗摄像头生成只有拍摄场景中的前景画面的前景图像,再将所述前景图像以可编辑的方式融入背景图像中。最后用户调整前景图像和背景图像的姿态,形成满足用户要求的照片或视频。本发明可以实时地、动态地调整拍摄场景中的前景和背景的姿态,操作便捷、趣味性强,最大程度的改善了用户的拍摄体验。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明设置为解释本发明,并不构成对本发明的不当限定。在附图中:
图1是本发明第一实施例的基于双摄像头的拍摄方法的流程图;
图2是本发明第二实施例的基于双摄像头的拍摄方法的流程图;
图3是本发明第三实施例的基于双摄像头的拍摄装置的组成结构示意图;
图4是本发明第四实施例的基于双摄像头的拍摄装置的组成结构示意图;
图5是本发明第五实施例的移动终端的结构示意图。
为使本发明的目的、技术方案和优点更加清楚,以下结合附图及具体实施例,对本发明作进一步地详细说明。
本发明的第一实施例,提供了一种基于双摄像头的拍摄方法,如图1所示,包括以下具体步骤:
步骤S101:获取第一摄像头采集的图像和第二摄像头采集的图像。
所述第一摄像头和第二摄像头为某一移动终端的双前摄像后或双后摄像头。具有双前摄像头的移动终端为在所述移动终端上设置有两个前置摄像头。具有双后摄像头的移动终端为在所述移动终端上设置有两个后置摄像头。当所述某一移动终端进行拍摄时,通过第一摄像头和第二摄像头分别采集到两个图像。
步骤S102:分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分。
前景是指位于图像中的主体之前的靠近摄像头的景物或人物,背景是指位于图像中的主体之后的,远离摄像头的景物。
具体的,步骤S102,包括:
判断所述第一摄像头采集的图像和所述第二摄像头采集的图像中是否包含人物区域,若是,则将所述人物区域设置为所述第一摄像头采集的图像和所述第二摄像头采集的图像的前景区域,所述第一摄像头采集的图像和所述第二摄像头采集的图像中的其余区域设置为背景区域;若否,则计算所述第一摄像头采集的图像中的每个像素点到第一摄像头的第一距离值,基于所述第一距离值,将所述第一摄像头采集的图像划分为前景区域和背景区域,并计算所述第二摄像头采集的图像中的每个像素点到第二摄像头的第二距离值,基于所述第二距离值,将所述第二摄像头采集的图像划分为前景区域和背景区域。步骤S103:对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像;对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像。
具体的,所述对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像,包括:
删除所述第一摄像头采集的图像中的前景区域的内容,并根据所述第一摄像头采集的图像中的背景区域的内容对所述前景区域进行填充,形成内容完整的背景图像。
由于当删除所述第一摄像头采集的图像中前景区域的内容后,所述第一摄像头采集的图像中的前景区域没有图案和颜色,需要利用所述第一摄像头采集的图像中的背景区域的图案和颜色对前景区域进行填充,以使所述背景图像的画面完整。
所述对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像,包括:
删除所述第二摄像头采集的图像中的背景区域的内容,形成只保留所述第二摄像头采集的图像中的前景区域的内容的前景图像。
步骤S104:将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像。
具体的,步骤S104,包括:
将所述前景图像按照设定的位置放置于所述背景图像中,并对所述前景图像和/或所述背景图像进行缩放调整和/或旋转调整,以形成最终图像。
本发明的第二实施例,提供了一种基于双摄像头的拍摄方法,如图2所示,包括以下具体步骤:
步骤S201:对双前摄像头或双后摄像头进行拍摄模式的设置。若将拍摄模式设置为调整前景和背景姿态的拍摄模式,则执行步骤S202,若将拍摄模式设置为普通拍摄模式,则利用双前摄像头或双后摄像头按照常规方法进行拍摄。
具有双前摄像头的移动终端为在所述移动终端上设置有两个前置摄像头。具有双后摄像头的移动终端为在所述移动终端上设置有两个后置摄像头。
步骤S202:对双前摄像头或双后摄像头进行功能设置。设置一个摄像头用于形成前景图像,另一个摄像头用于形成背景图像。
在本实施例中,将第一摄像头设置为用于形成背景图像的摄像头,将第二摄像头设置为用于形成前景图像的摄像头。
步骤S203:通过设置好的双前摄像头或双后摄像头对某一场景进行拍摄,得到关于所述某一场景的两个图像。
步骤S204:分别对所述两个图像进行前景区域和背景区域的划分。
通常,用户拍摄的图像中都是将人物与风景结合,并且将人物作为图像中的主体,风景作为图像中的背景。基于用户的拍摄习惯,首先判断图像中是否包含人物区域,若是,则将所述人物区域设置为所述图像的前景区域,所述图像中的其余区域设置为背景区域;若否,则计算图像中的每个像素点的距离值,所述距离值为图像中的每个像素点到采集所述图像的摄像头的距离,基于所述图像中的每个像素点的距离值,将所述图像划分为前景区域和背景区域。
进一步的,所述基于所述图像中的每个像素点的距离值,将所述图像划分为前景区域和背景区域,包括:
基于所述图像中的每个像素点的距离值,将所述图像划分为多个连通区,每个连通区中的各个像素点之间的距离差值均在设定范围内;
计算每个连通区的平均距离值,将平均距离值最小的连通区设置为前景区域,将所述图像中的其他区域设置为背景区域。
步骤S205:对一个图像进行前景区域移除处理,形成背景图像;对另外一个图像进行背景区域移除处理,形成前景图像。
具体的,根据步骤S202中对双前摄像头或双后摄像头进行的功能设置,将第一摄像头所采集的图像按照如下方法进行处理:
步骤A1:删除所述图像中的前景区域的内容,当图像中的前景区域的内容删除时,所述图像的前景区域形成了黑色无图案的区域。
步骤A2:提取所述图像中的背景区域的轮廓,根据所述图像中的背景区域的轮廓对所述前景区域进行模块拓扑,用拓扑轮廓填充所述前景区域,使得所述前景区域具有拓扑轮廓骨架。
步骤A3:利用所述图像中的背景区域的内容,通过填充算法和区域生成算法,逐渐将所述背景区域的内容填充到所述具有拓扑轮廓骨架的前景区域,最终形成内容完整的背景图像。
根据步骤S202中对双前摄像头或双后摄像头进行的功能设置,将第二摄像头所采集的图像按照如下方法进行处理:
删除所述图像中的背景区域的内容,形成只保留前景区域的内容的前景图像。
步骤S206:按照原拍摄图像中前景图像和背景图像的位置关系和比例大小,将所述前景图像放置于所述背景图像中。
步骤S207:对所述前景图像和背景图像进行姿态调整,以形成最终的图像。
具体的,所述姿态调整包括:调整前景图像在背景图像中的位置,以及对前景图像和背景图像进行缩放调整、旋转调整。
本发明的第三实施例,提供了一种基于双摄像头的拍摄装置,如图3所示,包括以下组成部分:
获取模块301,设置为获取第一摄像头采集的图像和第二摄像头采集的图像。
具体的,所述第一摄像头和第二摄像头为移动终端上的双前摄像头或双后摄像头。以手机为例,具有双前摄像头或双后摄像头的手机在对某一场景进行拍照和摄像时,所述手机上的两个摄像头采集到关于某一场景的两个图像。
划分模块302,设置为分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分。
前景是指位于图像中的主体之前的靠近摄像头的景物或人物,背景是指位于图像中的主体之后的,远离摄像头的景物。
具体的,划分模块302,具体设置为
判断所述第一摄像头采集的图像和所述第二摄像头采集的图像中是否包含人物区域,若是,则将所述人物区域设置为所述第一摄像头采集的图像和所述第二摄像头采集的图像的前景区域,所述第一摄像头采集的图像和所述第二摄像头采集的图像中的其余区域设置为背景区域;若否,则计算所述第一摄像头采集的图像中的每个像素点到第一摄像头的第一距离值,基于所述第一距离值,将所述第一摄像头采集的图像划分为前景区域和背景区域,并计算所述第二摄像头采集的图像中的每个像素点到第二摄像头的第二距离值,基于所述第二距离值,将所述第二摄像头采集的图像划分为前景区域和背景区域。处理模块303,设置为对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像;对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像。
具体的,处理模块303,包括:前景处理单元和背景处理单元;
所述前景处理单元,设置为删除所述第一摄像头采集的图像中的前景区域的内容,并根据所述第一摄像头采集的图像中的背景区域的内容对所述前景区域进行填充,形成内容完整的背景图像;
所述背景处理单元,设置为删除所述第二摄像头采集的图像中的背景区域的内容,形成只保留所述第二摄像头采集的图像中的前景区域的内容的前景图像。
合成模块304,设置为将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像。
具体的,合成模块304,具体设置为:
将所述前景图像按照设定的位置放置于所述背景图像中,并对所述前景图像和/或所述背景图像进行缩放调整和/或旋转调整,以形成最终图像。
本发明的第四实施例,提供了一种基于双摄像头的拍摄装置,如图4所示,包括以下组成部分:
拍摄模式设置模块401,设置为对双前摄像头或双后摄像头进行拍摄模式的设置。若将拍摄模式设置为调整前景和背景姿态的拍摄模式,则触发功能设置模块402,若将拍摄模式设置为普通拍摄模式,则利用双前摄像头或双后摄像头按照常规方法进行拍摄。
功能设置模块402,设置为对双前摄像头或双后摄像头进行功能设置。设置一个摄像头用于形成前景图像,另一个摄像头用于形成背景图像。
在本实施例中,将第一摄像头设置为用于形成背景图像的摄像头,将第二摄像头设置为用于形成前景图像的摄像头。
拍摄模块403,设置为通过设置好的双前摄像头或双后摄像头对某一场景进行拍摄,得到关于所述某一场景的两个图像。
划分模块404,设置为分别对所述两个图像进行前景区域和背景区域的划分。
通常,用户拍摄的图像中都是将人物与风景结合,并且将人物作为图像中的主体,风景作为图像中的背景。基于用户的拍摄习惯,首先判断图像中是否包含人物区域,若是,则将所述人物区域设置为所述图像的前景区域,所述图像中的其余区域设置为背景区域;若否,则计算图像中的每个像素点的距离值,所述距离值为图像中的每个像素点到采集所述图像的摄像头的距离,基于图像中的每个像素点的距离值,将所述图像划分为前景区域和背景区域。
具体的,划分模块404,具体设置为:
基于图像中的每个像素点的距离值,将所述图像划分为多个连通区,每个连通区中的各个像素点之间的距离差值均在设定范围内;
计算每个连通区的平均距离值,将平均距离值最小的连通区设置为前景区域,将所述图像中的其他区域设置为背景区域。
处理模块405,设置为对一个图像进行前景区域移除处理,形成背景图像;对另外一个图像进行背景区域移除处理,形成前景图像。
具体的,所述处理模块405,包括:前景处理单元和背景处理单元;
根据功能设置模块402中对双前摄像头或双后摄像头进行功能设置,针对第一摄像头所采集的图像,所述前景处理单元,具体设置为:
删除所述图像中的前景区域的内容,当图像中的前景区域的内容删除时,所述图像的前景区域形成了黑色无图案的区域。
提取所述图像中的背景区域的轮廓,根据所述图像中的背景区域的轮廓对所述前景区域进行模块拓扑,用拓扑轮廓填充所述前景区域,使得所述前景区域具有拓扑轮廓骨架。
利用所述图像中的背景区域的内容,通过填充算法和区域生成算法,逐渐将所述背景区域的内容填充到所述具有拓扑轮廓骨架的前景区域,最终形成内容完整的背景图像。
根据功能设置模块402中对双前摄像头或双后摄像头进行功能设置,针对第二摄像头所采集的图像,所述背景处理单元,具体设置为:
删除所述图像中的背景区域的内容,形成只保留前景区域的内容的前景图像。
图像合成模块406,设置为按照原拍摄图像中前景图像和背景图像的位置关系和比例大小,将所述前景图像放置于所述背景图像中。
姿态调整模块407,设置为对所述前景图像和背景图像进行姿态调整,以形成最终的图像。
具体的,所述姿态调整包括:调整前景图像在背景图像中的位置,以及对前景图像和背景图像进行缩放调整、旋转调整。
如图5所示,是本发明实施例提供的移动终端的结构示意图。本发明的第五实施例,一种移动终端500,包括:双前摄像头或双后摄像头,以及本发明第三实施例或者第四实施例中介绍的基于双摄像头的拍摄装置。具有双前摄像头的移动终端500为在所述移动终端500上设置有两个前置摄像头;具有双后摄像头的移动终端500为在所述移动终端500上设置有两个后置摄像头。
在进一步的实施例中,结合图3及图4,所述的移动终端500还包括:至少一个处理器501,例如CPU,至少一个接收器503,至少一个存储器504,至少一个发送器505,至少一个通信总线502。其中,所述通信总线502用于实现这些组件之间的连接通信。其中,所述接收器503和所述发送器505可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他设备进行数据通信。所述存储器504可以是高速RAM存储器,也可以是非暂态存储器(non-transitory memory)。
所述处理器501可执行所述移动终端500的操作系统以及安装的各类应用程序、程序代码等,例如,上述的各个模块,包括所述获取模块301、所述划分模块302等。
所述存储器504中存储有程序代码,且所述处理器501可通过通信总线502,调用所述存储器504中存储的程序代码以执行相关的功能。例如,图3、4中所述的各个模块(例如,所述获取模块301、所述划分模块302)是存储在所述存储器504中的程序代码,并由所述处理器501所执行,从而实现所述各个单元的功能。
在本发明的一个实施例中,所述存储器504存储多个指令,所述多个指令被所述处理器501所执行以实现基于双摄像头的拍摄方法。具体而言,所述处理器501对所述多个指令的执行包括:获取第一摄像头采集的图像和第二摄像头采集的图像;分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分;对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像;对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像;将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像。
在进一步的实施例中,所述分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分,包括:判断所述第一摄像头采集的图像和所述第二摄像头采集的图像中是否包含人物区域,若是,则将所述人物区域设置为所述第一摄像头采集的图像和所述第二摄像头采集的图像的前景区域,所述第一摄像头采集的图像和所述第二摄像头采集的图像中的其余区域设置为背景区域;若否,则计算所述第一摄像头采集的图像中的每个像素点到第一摄像头的第一距离值,基于所述第一距离值,将所述第一摄像头采集的图像划分为前景区域和背景区域,并计算所述第二摄像头采集的图像中的每个像素点到第二摄像头的第二距离值,基于所述第二距离值,将所述第二摄像头采集的图像划分为前景区域和背景区域。
在进一步的实施例中,所述对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像,包括:删除所述第一摄像头采集的图像中的前景区域的内容,并根据所述第一摄像头采集的图像中的背景区域的内容对所述前景区域进行填充,形成内容完整的背景图像。
在进一步的实施例中,所述对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像,包括:删除所述第二摄像头采集的图像中的背景区域的内容,形成只保留所述第二摄像头采集的图像中的前景区域的内容的前景图像。
在进一步的实施例中,所述将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像,包括:将所述前景图像按照设定的位置放置于所述背景图像中,并对所述前景图像和/或所述背景图像进行缩放调整和/或旋转调整,以形成最终图像。
具体地,所述处理器501对上述指令的具体实现方法可参考图1-2对应实施例中相关步骤的描述,在此不赘述。
本发明实施例中介绍的基于双摄像头的拍摄方法、装置和移动终端,用户使用具有双前或者双后摄像头的移动终端进行拍照或者录像时,一颗摄像头生成只有拍摄场景中的背景画面的背景图像,另外一颗摄像头生成只有拍摄场景中的前景画面的前景图像,再将所述前景图像以可编辑的方式融入背景图像中。最后用户调整前景图像和背景图像的姿态,形成满足用户要求的照片或视频。本发明可以实时地、动态地调整拍摄场景中的前景和背景的姿态,操作便捷、趣味性强,最大程度的改善了用户的拍摄体验。
以上所述仅为本发明的实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。
Claims (10)
- 一种基于双摄像头的拍摄方法,其特征在于,包括:获取第一摄像头采集的图像和第二摄像头采集的图像;分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分;对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像;对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像;将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像。
- 根据权利要求1所述的基于双摄像头的拍摄方法,其特征在于,所述分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分,包括:判断所述第一摄像头采集的图像和所述第二摄像头采集的图像中是否包含人物区域,若是,则将所述人物区域设置为所述第一摄像头采集的图像和所述第二摄像头采集的图像的前景区域,所述第一摄像头采集的图像和所述第二摄像头采集的图像中的其余区域设置为背景区域;若否,则计算所述第一摄像头采集的图像中的每个像素点到第一摄像头的第一距离值,基于所述第一距离值,将所述第一摄像头采集的图像划分为前景区域和背景区域,并计算所述第二摄像头采集的图像中的每个像素点到第二摄像头的第二距离值,基于所述第二距离值,将所述第二摄像头采集的图像划分为前景区域和背景区域。
- 根据权利要求1所述的基于双摄像头的拍摄方法,其特征在于,所述对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像,包括:删除所述第一摄像头采集的图像中的前景区域的内容,并根据所述第一摄像头采集的图像中的背景区域的内容对所述前景区域进行填充,形成内容完整的背景图像。
- 根据权利要求1所述的基于双摄像头的拍摄方法,其特征在于,所述对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像,包括:删除所述第二摄像头采集的图像中的背景区域的内容,形成只保留所述第二摄像头采集的图像中的前景区域的内容的前景图像。
- 根据权利要求1所述的基于双摄像头的拍摄方法,其特征在于,所述将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像,包括:将所述前景图像按照设定的位置放置于所述背景图像中,并对所述前景图像和/或所述背景图像进行缩放调整和/或旋转调整,以形成最终图像。
- 一种基于双摄像头的拍摄装置,其特征在于,包括:获取模块,设置为获取第一摄像头采集的图像和第二摄像头采集的图像;划分模块,设置为分别对所述第一摄像头采集的图像和所述第二摄像头采集的图像进行前景区域和背景区域的划分;处理模块,设置为对所述第一摄像头采集的图像进行前景区域移除处理,形成背景图像;对所述第二摄像头采集的图像进行背景区域移除处理,形成前景图像;合成模块,设置为将所述背景图像和所述前景图像按照设定的姿态进行合成,形成最终图像。
- 根据权利要求6所述的基于双摄像头的拍摄装置,其特征在于,所述划分模块,具体设置为:判断所述第一摄像头采集的图像和所述第二摄像头采集的图像中是否包含人物区域,若是,则将所述人物区域设置为所述第一摄像头采集的图像和所述第二摄像头采集的图像的前景区域,所述第一摄像头采集的图像和所述第二摄像头采集的图像中的其余区域设置为背景区域;若否,则计算所述第一摄像头采集的图像中的每个像素点到第一摄像头的第一距离值,基于所述第一距离值,将所述第一摄像头采集的图像划分为前景区域和背景区域,并计算所述第二摄像头采集的图像中的每个像素点到第二摄像头的第二距离值,基于所述第二距离值,将所述第二摄像头采集的图像划分为前景区域和背景区域。
- 根据权利要求6所述的基于双摄像头的拍摄装置,其特征在于,所述处理模块,包括:前景处理单元和背景处理单元;所述前景处理单元,设置为删除所述第一摄像头采集的图像中的前景区域的内容,并根据所述第一摄像头采集的图像中的背景区域的内容对所述前景区域进行填充,形成内容完整的背景图像;所述背景处理单元,设置为删除所述第二摄像头采集的图像中的背景区域的内容,形成只保留所述第二摄像头采集的图像中的前景区域的内容的前景图像。
- 根据权利要求6所述的基于双摄像头的拍摄装置,其特征在于,所述合成模块,具体设置为:将所述前景图像按照设定的位置放置于所述背景图像中,并对所述前景图像和/或所述背景图像进行缩放调整和/或旋转调整,以形成最终图像。
- 一种移动终端,其特征在于,包括:双前摄像头或双后摄像头,以及权利要求6~9中任一项所述的基于双摄像头的拍摄装置。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610840250.5 | 2016-09-22 | ||
CN201610840250.5A CN106375662B (zh) | 2016-09-22 | 2016-09-22 | 一种基于双摄像头的拍摄方法、装置和移动终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018053906A1 true WO2018053906A1 (zh) | 2018-03-29 |
Family
ID=57898025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/104069 WO2018053906A1 (zh) | 2016-09-22 | 2016-10-31 | 一种基于双摄像头的拍摄方法、装置和移动终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106375662B (zh) |
WO (1) | WO2018053906A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112991242A (zh) * | 2019-12-13 | 2021-06-18 | RealMe重庆移动通信有限公司 | 图像处理方法、图像处理装置、存储介质与终端设备 |
Families Citing this family (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108353126B (zh) | 2015-04-23 | 2019-08-23 | 苹果公司 | 处理相机的内容的方法、电子设备和计算机可读存储介质 |
US9912860B2 (en) | 2016-06-12 | 2018-03-06 | Apple Inc. | User interface for camera effects |
CN106851113A (zh) * | 2017-03-30 | 2017-06-13 | 努比亚技术有限公司 | 一种基于双摄像头的拍照方法及移动终端 |
CN107133939A (zh) * | 2017-04-24 | 2017-09-05 | 努比亚技术有限公司 | 一种照片合成方法、设备及计算机可读存储介质 |
CN108810326B (zh) * | 2017-04-27 | 2022-11-18 | 中兴通讯股份有限公司 | 一种拍照方法、装置及移动终端 |
DK180859B1 (en) | 2017-06-04 | 2022-05-23 | Apple Inc | USER INTERFACE CAMERA EFFECTS |
CN109218630B (zh) * | 2017-07-06 | 2022-04-12 | 腾讯科技(深圳)有限公司 | 一种多媒体信息处理方法及装置、终端、存储介质 |
CN107767430A (zh) * | 2017-09-21 | 2018-03-06 | 努比亚技术有限公司 | 一种拍摄处理方法、终端及计算机可读存储介质 |
CN108174088A (zh) * | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | 一种亮度调节方法、装置、终端及计算机可读存储介质 |
CN108322644A (zh) * | 2018-01-18 | 2018-07-24 | 努比亚技术有限公司 | 一种图像处理方法、移动终端以及计算机可读存储介质 |
US11112964B2 (en) | 2018-02-09 | 2021-09-07 | Apple Inc. | Media capture lock affordance for graphical user interface |
US11722764B2 (en) | 2018-05-07 | 2023-08-08 | Apple Inc. | Creative camera |
US10375313B1 (en) | 2018-05-07 | 2019-08-06 | Apple Inc. | Creative camera |
CN108965695A (zh) * | 2018-06-27 | 2018-12-07 | 努比亚技术有限公司 | 一种拍摄方法、移动终端及计算机可读存储介质 |
US11770601B2 (en) | 2019-05-06 | 2023-09-26 | Apple Inc. | User interfaces for capturing and managing visual media |
US10674072B1 (en) | 2019-05-06 | 2020-06-02 | Apple Inc. | User interfaces for capturing and managing visual media |
US11321857B2 (en) | 2018-09-28 | 2022-05-03 | Apple Inc. | Displaying and editing images with depth information |
US11128792B2 (en) | 2018-09-28 | 2021-09-21 | Apple Inc. | Capturing and displaying images with multiple focal planes |
CN110012229B (zh) * | 2019-04-12 | 2021-01-08 | 维沃移动通信有限公司 | 一种图像处理方法和终端 |
US11706521B2 (en) | 2019-05-06 | 2023-07-18 | Apple Inc. | User interfaces for capturing and managing visual media |
CN111901475A (zh) * | 2019-05-06 | 2020-11-06 | 苹果公司 | 用于捕获和管理视觉媒体的用户界面 |
CN110430364A (zh) * | 2019-08-26 | 2019-11-08 | 武汉众果科技有限公司 | 一种摄影拍照抠图局部动态图合成方法 |
US11039074B1 (en) | 2020-06-01 | 2021-06-15 | Apple Inc. | User interfaces for managing media |
US11212449B1 (en) | 2020-09-25 | 2021-12-28 | Apple Inc. | User interfaces for media capture and management |
US11778339B2 (en) | 2021-04-30 | 2023-10-03 | Apple Inc. | User interfaces for altering visual media |
US11539876B2 (en) | 2021-04-30 | 2022-12-27 | Apple Inc. | User interfaces for altering visual media |
US12112024B2 (en) | 2021-06-01 | 2024-10-08 | Apple Inc. | User interfaces for managing media styles |
CN113794831B (zh) * | 2021-08-13 | 2023-08-25 | 维沃移动通信(杭州)有限公司 | 视频拍摄方法、装置、电子设备及介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5940139A (en) * | 1996-08-07 | 1999-08-17 | Bell Communications Research, Inc. | Background extraction in a video picture |
CN101938604A (zh) * | 2009-07-02 | 2011-01-05 | 联想(北京)有限公司 | 一种图像处理方法及照相机 |
CN102063610A (zh) * | 2009-11-13 | 2011-05-18 | 鸿富锦精密工业(深圳)有限公司 | 影像辨识系统及方法 |
CN104580910A (zh) * | 2015-01-09 | 2015-04-29 | 宇龙计算机通信科技(深圳)有限公司 | 基于前、后摄像头的图像合成方法及系统 |
CN105611146A (zh) * | 2015-09-30 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | 基于双摄像头的成像方法及装置 |
CN105678696A (zh) * | 2014-11-20 | 2016-06-15 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
CN105957045A (zh) * | 2016-04-29 | 2016-09-21 | 珠海市魅族科技有限公司 | 一种图像合成的方法及装置 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105005992B (zh) * | 2015-07-07 | 2016-03-30 | 南京华捷艾米软件科技有限公司 | 一种基于深度图的背景建模和前景提取的方法 |
-
2016
- 2016-09-22 CN CN201610840250.5A patent/CN106375662B/zh active Active
- 2016-10-31 WO PCT/CN2016/104069 patent/WO2018053906A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5940139A (en) * | 1996-08-07 | 1999-08-17 | Bell Communications Research, Inc. | Background extraction in a video picture |
CN101938604A (zh) * | 2009-07-02 | 2011-01-05 | 联想(北京)有限公司 | 一种图像处理方法及照相机 |
CN102063610A (zh) * | 2009-11-13 | 2011-05-18 | 鸿富锦精密工业(深圳)有限公司 | 影像辨识系统及方法 |
CN105678696A (zh) * | 2014-11-20 | 2016-06-15 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
CN104580910A (zh) * | 2015-01-09 | 2015-04-29 | 宇龙计算机通信科技(深圳)有限公司 | 基于前、后摄像头的图像合成方法及系统 |
CN105611146A (zh) * | 2015-09-30 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | 基于双摄像头的成像方法及装置 |
CN105957045A (zh) * | 2016-04-29 | 2016-09-21 | 珠海市魅族科技有限公司 | 一种图像合成的方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112991242A (zh) * | 2019-12-13 | 2021-06-18 | RealMe重庆移动通信有限公司 | 图像处理方法、图像处理装置、存储介质与终端设备 |
Also Published As
Publication number | Publication date |
---|---|
CN106375662A (zh) | 2017-02-01 |
CN106375662B (zh) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018053906A1 (zh) | 一种基于双摄像头的拍摄方法、装置和移动终端 | |
WO2014035072A1 (en) | Photographing apparatus, method of controlling the same, and computer-readable recording medium | |
WO2018040444A1 (zh) | 一种双摄像头拍照控制方法、拍照控制装置及终端 | |
WO2017090986A1 (en) | Electronic apparatus and method for controlling electronic apparatus thereof | |
WO2017090848A1 (en) | Photographing device and operating method of the same | |
WO2016048020A1 (ko) | 3d 파노라마 이미지 생성을 위한 영상 생성 장치 및 방법 | |
CN108322644A (zh) | 一种图像处理方法、移动终端以及计算机可读存储介质 | |
WO2015037957A1 (ko) | 영상 흔들림 보정을 이용한 영상 안정화 장치 및 방법 | |
WO2016095094A1 (zh) | 图像处理系统、遥控拍摄组件及曝光信息提示方法 | |
WO2015126060A1 (ko) | 이미지를 처리하기 위한 전자 장치 및 방법 | |
WO2016003253A1 (en) | Method and apparatus for image capturing and simultaneous depth extraction | |
WO2022014791A1 (en) | Multi-frame depth-based multi-camera relighting of images | |
CN110099217A (zh) | 一种基于tof技术的图像拍摄方法、移动终端及计算机可读存储介质 | |
WO2021162307A1 (ko) | 전자 장치 및 그의 hdr 영상 생성 방법 | |
EP3818689A1 (en) | Method and electronic device for switching between first lens and second lens | |
WO2017119575A1 (ko) | 영상촬영장치 및 영상촬영방법 | |
EP3164992A1 (en) | Method and apparatus for image capturing and simultaneous depth extraction | |
EP4042670A1 (en) | Electronic device and method for displaying image at the electronic device | |
WO2016021830A1 (ko) | Nui 장치에 의해 수집된 동작정보의 보정 방법 및 장치 | |
WO2018110889A1 (ko) | 영상의 화이트 밸런스를 보정하는 방법 및 전자 장치 | |
WO2020101434A1 (ko) | 영상의 리타겟팅을 위한 영상 처리 장치 및 방법 | |
WO2019216572A1 (ko) | 휴대 단말에서의 영상 제공 방법 및 그 장치 | |
CN111866388A (zh) | 一种多重曝光拍摄方法、设备及计算机可读存储介质 | |
WO2017209509A1 (ko) | 영상 처리 장치, 그의 영상 처리 방법 및 비일시적 컴퓨터 판독가능 기록매체 | |
WO2024104436A1 (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: 16916645 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: 16916645 Country of ref document: EP Kind code of ref document: A1 |