WO2017036273A1 - 成像的方法及装置 - Google Patents

成像的方法及装置 Download PDF

Info

Publication number
WO2017036273A1
WO2017036273A1 PCT/CN2016/093636 CN2016093636W WO2017036273A1 WO 2017036273 A1 WO2017036273 A1 WO 2017036273A1 CN 2016093636 W CN2016093636 W CN 2016093636W WO 2017036273 A1 WO2017036273 A1 WO 2017036273A1
Authority
WO
WIPO (PCT)
Prior art keywords
image data
camera
image
background
parameter
Prior art date
Application number
PCT/CN2016/093636
Other languages
English (en)
French (fr)
Inventor
阴刚
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017036273A1 publication Critical patent/WO2017036273A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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/63Control of cameras or camera modules by using electronic viewfinders

Definitions

  • This document relates to, but is not limited to, the field of communications, and in particular to a method and apparatus for imaging.
  • the camera of the mobile phone can only be imaged by a single camera, and it is impossible to simultaneously image different scenes or characters onto one photo.
  • the PHOTOSHOP tool is used to synthesize the characters and scenes in the picture to generate the desired composite photos.
  • the PHOTOSHOP tool is used to synthesize information such as characters and scenes in the picture. Post-production is required. The composite effect cannot be seen during shooting, which reduces the personal experience and feeling of people watching the picture. In addition, the PS process of the picture needs Professional technical support, non-professionals have a poor effect on different image synthesis.
  • Self-timer sticks have safety hazards in many scenes (such as playgrounds and outdoor). For example, in the roller coaster, big turntable and other rotating and stimulating items in the playground, the self-timer lever is used.
  • the high-motion selfie stick may cause harm to others. It may affect the normal operation of mechanical equipment; taking a metal selfie stick to photograph in the thunderstorms in the wild is likely to cause casualties.
  • the embodiment of the invention provides a method and a device for imaging, which can realize diversification of the framing.
  • a method for imaging includes: acquiring image data acquired by an imaging device, wherein the image data includes: a first image acquired by a first camera in the imaging device Data and second image data acquired by the second camera, the first image data and the second image data are image data acquired synchronously by the first camera and the second camera; An image data and the second image data are combined into a third image data.
  • the combining the first acquired image data and the second image data into the third image data comprises: adjusting a background transparency parameter of the first image data and the second image data; The first image data and the second image data after adjusting the background transparency parameter are combined into the third image data.
  • the combining the first image data and the second image data according to the adjusted background transparency parameter into the third image data comprises: setting a transparency parameter of the first image data to be opaque; and combining the second image
  • the first image data whose data and background parameters are opaque is obtained as the third image with the second image data as a background; or the transparency parameter of the second image data is set to be opaque;
  • combining the first image data And the second image data that is opaque with the background parameter is obtained as the third image with the first image data as a background; or the transparency parameters of the first image data and the second image data are both set to be opaque
  • the second image data and the first image data after the adjustment of the background transparency parameter are combined to obtain the third image with the first image data or the second image data as a background.
  • the method further includes: blurring or deleting the first image number And/or a specified thing or person in the background of the second image data.
  • the method before acquiring the image data collected by the imaging device, includes: adjusting a shooting parameter of the imaging device, wherein the shooting parameter includes at least one of: a framing parameter of the imaging device, the The focal length of the imaging device and the outline of the subject within the viewing range of the imaging device.
  • the adjusting the shooting parameters of the image capturing apparatus comprises: displaying the shooting object in a first preview area of the terminal; determining whether the displayed shooting object meets a preset condition; and if the determination result is negative Adjusting the shooting parameters of the imaging device.
  • the image data further includes: fourth image data collected by a third camera in the imaging device, the first image data, the second image data, and the fourth image data are Image data acquired synchronously by the first camera, the second camera, and the third camera; the method further comprising: the first image data, the second image data, and the first The four image data are merged into the third image data.
  • an apparatus for imaging includes: an acquisition module configured to acquire image data acquired by an imaging apparatus, wherein the image data includes: a first one of the imaging apparatuses The first image data collected by the camera and the second image data collected by the second camera, the first image data and the second image data are synchronously collected by the first camera and the second camera; the first merge module And arranging to merge the first image data and the second image data acquired synchronously into third image data.
  • the first merging module includes: a first adjusting unit, configured to adjust background transparency parameters of the first image data and the second image data; and a merging unit, configured to adjust the background transparency parameter
  • a first adjusting unit configured to adjust background transparency parameters of the first image data and the second image data
  • a merging unit configured to adjust the background transparency parameter
  • the merging unit comprises: a first setting subunit, configured to set a transparency parameter of the first image data to be opaque; and a first merging subunit, configured to merge the second image data and a background parameter
  • the opaque first image data is obtained as the third image with the second image data as a background; or the second setting subunit is configured to set the transparency parameter of the second image data to be opaque;
  • the second merge a subunit configured to merge the first image data and the second image data whose background parameter is opaque to obtain the third image with the first image data as a background; or, the third setting subunit is set to be First image data and second image data
  • the transparency parameter is set to be opaque;
  • the third merge subunit is configured to merge the adjusted background transparency parameter, and the second image data and the first image data are obtained by using the first image data or the second image data as a background The third image.
  • the device further includes: a processing module configured to blur or delete the first image data before the first image data and the second image data after combining the background transparency parameter are merged into the third image data And/or a specified thing or person in the background of the second image data.
  • a processing module configured to blur or delete the first image data before the first image data and the second image data after combining the background transparency parameter are merged into the third image data And/or a specified thing or person in the background of the second image data.
  • the device further includes: an adjustment module, configured to adjust a shooting parameter of the image capturing device before acquiring image data collected by the image capturing device, wherein the shooting parameter comprises at least one of: the image capturing device The framing parameter, the focal length of the imaging device, and the contour of the photographic subject within the framing range of the imaging device.
  • an adjustment module configured to adjust a shooting parameter of the image capturing device before acquiring image data collected by the image capturing device, wherein the shooting parameter comprises at least one of: the image capturing device The framing parameter, the focal length of the imaging device, and the contour of the photographic subject within the framing range of the imaging device.
  • the adjustment module includes: a display unit configured to display the photographing object in a first preview area of the terminal; and a determining unit configured to determine whether the displayed photographing object meets a preset condition; the second adjusting unit And set to adjust the shooting parameters of the image pickup apparatus in the case where the determination result is negative.
  • the image data further includes: fourth image data collected by a third camera in the imaging device, the first image data, the second image data, and the fourth image data are Image data acquired synchronously by the first camera, the second camera, and the third camera; the device further includes: a second merging module, configured to: the first image data to be synchronously acquired, the second The image data and the fourth image data are combined into the third image data.
  • the image data collected by the image capturing device is acquired, wherein the image data includes: first image data collected by the first camera in the image capturing device and second image data collected by the second camera, the first image data And the second image data is synchronously collected by the first camera and the second camera; and the first image data and the second image data that are synchronously acquired are combined into the third image data, thereby realizing framing diversification and achieving user experience improvement. effect.
  • FIG. 1 is a flow chart of a method of imaging in accordance with an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of an alternative structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 2 of an alternative structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 5 is a block diagram 3 of an alternative structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 4 of an alternative structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 7 is a block diagram 5 of an alternative structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 8 is a block diagram 6 of an alternative structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 9 is a flow chart of a method for simultaneously framing, selecting, previewing, and imaging a multi-camera according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for imaging according to an embodiment of the present invention.
  • the method can be used for a terminal having a camera function, such as a mobile phone or a tablet computer, as shown in FIG.
  • the process includes the following steps:
  • Step S102 acquiring image data acquired by the image capturing device, where the image data includes: first image data collected by the first camera in the image capturing device and second image data collected by the second camera, the first image data and the second image
  • the data is image data acquired synchronously by the first camera and the second camera;
  • Step S104 combining the first image data and the second image data acquired synchronously into the third image data.
  • first acquiring the first camera through the imaging device The first image data and the second image data are synchronously acquired by the head and the second camera, and then the first image data and the second image data acquired synchronously are combined into the third image data, thereby realizing diversification of the framing and achieving Improve the user experience.
  • the foregoing step S104 involves combining the first image data and the second image data that are acquired synchronously into the third image data.
  • the foregoing combining operation may be performed in the following manner:
  • Step S11 adjusting background transparency parameters of the first image data and the second image data
  • Step S12 the first image data and the second image data after the adjustment of the background transparency parameter are merged into the third image data.
  • the first image data and the second image data in the foregoing steps S11 and S12 may be acquired by a front or rear camera of the mobile phone, in the application scenario, Adjust the background button to set the background transparency of the front or rear camera so that the combined image is the background that the user wants to preserve.
  • Step S21 setting a transparency parameter of the first image data to be opaque
  • Step S22 combining the second image data and the first image data whose background parameter is opaque to obtain the third image with the second image data as the background.
  • Step S31 setting a transparency parameter of the second image data to be opaque
  • Step S32 combining the first image data and the second image data whose background parameter is opaque to obtain the third image with the first image data as the background.
  • Step S41 setting the transparency parameters of the first image data and the second image data to be opaque
  • Step S42 combining the second image data and the first image number after adjusting the background transparency parameter
  • the third image with the first image data or the second image data as a background is obtained.
  • the method of merging the third image data may be to set the background of one of the image data to be opaque, thereby displaying another image data, and when the background of the two image data is opaque, The background of the image data of one of them is randomly selected as the background of the third image data.
  • the first image data and the second image data in the foregoing steps may be acquired by a front or rear camera of the mobile phone.
  • the background is adjusted.
  • the preview area defaults to placing the front camera framing on the top layer and the rear camera framing on the bottom layer. Select the transparency according to the user's preference and specific circumstances.
  • the first image data and/or the specified thing or character in the background of the second image data may be blurred or deleted, so that the background that the user wants to retain may be acquired.
  • the shooting parameters may include: a framing parameter of the imaging device, a focal length of the imaging device, and a contour of the photographic object within the framing range of the imaging device. .
  • adjusting the shooting parameters of the image capturing apparatus includes: displaying the shooting object in a first preview area of the terminal; determining whether the displayed shooting object meets a preset condition; and determining whether the result is negative In this case, adjust the shooting parameters of the camera.
  • the effect of the camera framing can be selected according to the user's preference.
  • the image data involved in the optional embodiment of the present invention includes: in addition to the first image data collected by the first camera and the second image data collected by the second camera in the image capturing device in step S102,
  • the third camera in the imaging device collects fourth image data, and the first image data, the second image data, and the fourth image data are synchronously acquired by the first camera, the second camera, and the third camera; and the image is collected
  • the first image data, the second image data, and the fourth image data acquired synchronously are combined into the third image data.
  • two or more cameras can be simultaneously photographed for synthesis.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
  • module may implement a combination of software and/or hardware of a predetermined function.
  • apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: an acquisition module 22 configured to acquire image data acquired by an imaging apparatus, wherein the image data includes: the imaging The first image data collected by the first camera in the device and the second image data collected by the second camera, the first image data and the second image data are acquired synchronously by the first camera and the second camera;
  • the module 24 is coupled to the acquisition module 22 and configured to combine the first image data and the second image data acquired synchronously into the third image data.
  • FIG. 3 is a block diagram showing an optional structure of an apparatus for imaging according to an embodiment of the present invention.
  • the apparatus relates to a first merging module 24 of the apparatus shown in FIG. 2, and the first merging module 24 includes: An adjusting unit 32 is configured to adjust background transparency parameters of the first image data and the second image data; the merging unit 34 is coupled to the first adjusting unit 32, and is configured to adjust the first image data according to the background transparency parameter and the first The two image data are merged into the third image data.
  • the merging unit 34 includes: a first setting subunit 41 configured to set a transparency parameter of the first image data to be opaque a first merging sub-unit 42 coupled to the first setting sub-unit 41, configured to combine the second image data and the first image data opaque with the background parameter to obtain a third image with the second image data as a background; or,
  • the second setting sub-unit 43 is set to transmit the second image data
  • the brightness parameter is set to be opaque; the second combining sub-unit 44 is coupled to the second setting sub-unit 43 and configured to merge the second image data with the first image data and the background parameter opaque to obtain a third image with the first image data as the background.
  • the third setting sub-unit 45 is configured to set the transparency parameters of the first image data and the second image data to be opaque; the third merging sub-unit 46 is coupled to the third setting sub-unit 45, and is set to be combined and adjusted.
  • the second image data and the first image data after the background transparency parameter are obtained as the third image with the first image data or the second image data as the background.
  • the apparatus includes: a processing module 52, and an acquisition module 22 and a first merge, in addition to all the modules of FIG.
  • the modules 24 are respectively coupled and configured to blur or delete the first image data and/or the second image data before the first image data and the second image data after the adjustment of the background transparency parameter are merged into the third image data. A specified thing or person in the background.
  • FIG. 6 is a block diagram of an optional structure of an apparatus for imaging according to an embodiment of the present invention.
  • the apparatus includes an adjustment module 62 coupled to the acquisition module 22 and configured in addition to all the modules of FIG. 2 .
  • the shooting parameters of the imaging device are adjusted, wherein the shooting parameters include at least one of the following: a viewing parameter of the imaging device, a focal length of the imaging device, and a shooting range of the imaging device. The outline of the object.
  • the adjustment module 62 includes: a display unit 72 configured to display the photographing object in a first preview area of the terminal; 74, coupled to the display unit 72, is configured to determine whether the displayed image meets the preset condition; the second adjustment unit 76 is coupled to the determination unit 74, and is configured to adjust the camera if the determination result is negative. Shooting parameters of the device.
  • the image data in the apparatus further includes: fourth image data collected by a third camera in the image capturing apparatus, first.
  • the image data, the second image data, and the fourth image data are synchronously acquired by the first camera, the second camera, and the third camera.
  • the device further includes: a second merging module 82 coupled to the first merging module 24, and configured The first image data, the second image data, and the fourth image data acquired in synchronization are merged into the third image data.
  • the device shown in the optional embodiment of the present invention includes a mobile phone device but is not limited to a mobile phone device, and the device This device can be used by devices with multiple cameras.
  • the device may include: a video collection unit, a scene contour selection processing unit, a background filtering unit, a fine adjustment adaptive processing unit, a composite preview display unit, and a data processing generated photo unit.
  • the video capture unit completes the framing and data acquisition of the camera before and after the completion, and the collected data is original data, which can be separately processed by zooming and contrasting.
  • the scene contour selection processing unit can adapt the selection according to the user's selection of the scene, and the user can also adjust the contour range and shape by himself.
  • the background filtering unit recognizes the characters and scenes required by the user through the focal length and contour recognition processing, and takes unnecessary scenes as a background and filters them through transparent adjustment.
  • the fine-tuning adaptive processing unit is responsible for preserving the focal length, contrast, contour and other data of the front and rear cameras, and based on these data, adaptively fine-tunes the focal length and contour lines when the user has a slight position to ensure the final framing in clarity and Choose to meet user needs.
  • the composite display unit needs to display the data after background filtering and fine adjustment, and display it in a multi-layer technology, retaining a background, or a real background, a semi-transparent virtual background, etc., and presenting the final imaging effect to the user.
  • the data synthesis processing unit needs to process the data presented to the user and synthesize the electronic photograph.
  • the scene contour selection processing unit can adapt to the contour of the scene, help the user to select the scene, but also allows the user to adjust or fine-tune the contour of the object.
  • the background filtering unit can process the captured scene data according to the focus and the contour of the object, and filter the unwanted background.
  • Fine-tuning the adaptive processing unit which can prevent the user or the camera position from slightly changing after the focal length and the contour of the object are determined, and adapt to the focal length and the contour of the object to enable clear display of the contour of the object.
  • FIG. 9 is a flow chart of a method for simultaneous framing, selecting, previewing, and imaging a multi-camera according to an embodiment of the present invention. As shown in FIG. 9, the method includes the following steps:
  • Prerequisite There must be two or more normal cameras available on the device. The following is a description of the front and rear camera of the mobile phone.
  • Step S901 Turn on the device to enter an available state, and open the front camera to work.
  • Step S902 Adjust the parameters such as the framing, focal length, and contour of the camera to achieve user satisfaction and maintain the settings.
  • Step S903 Turn off the front camera to open the rear camera, adjust the preview, framing, focal length, and contour of the camera to achieve user satisfaction, and keep the settings.
  • Step S904 Turn on the front and rear cameras at the same time, adjust the background transparency of the front or rear camera framing preview, so as to keep the image of the subject or thing clear, blur or remove the background without the front or back preview.
  • Step S905 The stationary device allows the device to automatically adjust the fine focus according to the set focal length and contour, and take in a relatively clear figure of a person or a thing.
  • Step S906 Select a suitable effect, start taking a picture, and generate an electronic picture.
  • Steps S902 and S903 can be refined to:
  • the camera automatically adjusts the focus according to the selected person or thing, and adapts to the contour of the scene, and keeps relevant information.
  • the preview area will display the outline of the person or thing to be retained as a line or a dotted line. If the user is not satisfied, the user can adjust and keep the selection setting.
  • Step S904 is added as:
  • the background transparency of the front or rear camera by adjusting the background button, which is 100% opaque.
  • the preview area defaults to placing the front camera framing on the top layer and the rear camera framing on the bottom layer.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the above optional implementation manner further realizes that two or more cameras can be used for photographing at the same time, and the synthetic mode is selected according to the user's preference; the user can adapt to the selected scene, and the user can adjust the selected area.
  • Choice you don't need a third party to complete a group photo taking a family photo, such as a family photo; the front camera framing people, the rear camera framing vision, can eliminate dangerous (such as cliffs, high altitude, zoo) venues, users need to face the cliff or It is an unpredictable dangerous situation against the self-portrait of dangerous animals; it can directly image the framing of 2 or 2 cameras to prevent the unrealistic PS and other work that requires considerable technical work, and the user is shooting the scene, If the effect is not satisfactory, you can adjust it immediately to avoid the unfortunate effect.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • image data collected by the image capturing device includes: first image data collected by the first camera in the image capturing device and second image data collected by the second camera, first image data and second image data Synchronous acquisition for the first camera and the second camera;
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs the above steps S1, S2 according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above technical solution can realize the diversification of the framing and achieve the effect of improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

一种成像的方法及装置,其中,该方法包括:采用获取通过摄像设备采集的图像数据,其中,图像数据包括:摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,第一图像数据和第二图像数据为第一摄像头和第二摄像头同步采集的图像数据;将同步采集的第一图像数据和第二图像数据合并为第三图像数据。上述技术方案可实现取景多样化,进而达到了提高用户体验度的效果。

Description

成像的方法及装置 技术领域
本文涉及但不限于通信领域,具体而言,涉及一种成像的方法及装置。
背景技术
随着人们生活水平的提升,人们现在已经越来越倾向于通过手机照相,而不再专门配备照相机。但是,相关技术中手机照相只能通过单摄像头成像,无法实现不同景物或人物同时成像到一张相片上。
如果要实现不同景物或是人物能成像到一张电子相片上,主要采用以下技术方案:
1、事先拍摄不同景物、场景、人物后,后期通过PHOTOSHOP工具对图片中的人物和景物等信息进行合成,生成需要的合成照片。
2、设置场景布取景拍摄,后期再修整。
3、借助自拍杆进行拍摄。
但是需要说明的是,上述三种技术分别存在以下问题:
1)通过PHOTOSHOP工具对图片中的人物和景物等信息进行合成需要后期制作,在拍摄时不能看到合成效果,降低了人们观景留影的个人体验和感受;另外,对图片的PS过程,需要专业技术支持,非专业人员对不同图片合成的效果很差。
2)拍出来的效果需要修剪,整理,而且取景比较有限,只适合照相,不适合旅游观景时的留影需求。
3)自拍杆在很多场景(如游乐场、户外)存在安全隐患,如在游乐场的过山车、大转盘等旋转类、刺激类项目中使用自拍杆,高举的自拍杆可能对他人造成伤害,也可能影响机械设备正常运行;持金属自拍杆在野外雷雨天气拍照容易造成人员伤亡。
针对相关技术中只能通过单摄像头成像,造成取景单一问题,尚未提出有效的解决方案。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种成像的方法及装置,能够实现取景多样化。
根据本发明实施例的一个方面,提供了一种成像的方法,包括:获取通过摄像设备采集的图像数据,其中,所述图像数据包括:所述摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,所述第一图像数据和所述第二图像数据为所述第一摄像头和所述第二摄像头同步采集的图像数据;将同步采集的所述第一图像数据和所述第二图像数据合并为第三图像数据。
可选地,所述将同步采集的所述第一图像数据和所述第二图像数据合并为第三图像数据包括:调整所述第一图像数据和所述第二图像数据的背景透明度参数;依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据。
可选地,所述依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据包括:将所述第一图像数据的透明度参数设置为不透明;合并所述第二图像数据和背景参数不透明的第一图像数据得到以所述第二图像数据为背景的所述第三图像;或,将所述第二图像数据的透明度参数设置为不透明;合并所述第一图像数据和背景参数不透明的第二图像数据得到以所述第一图像数据为背景的所述第三图像;或,将所述第一图像数据和所述第二图像数据的透明度参数都设置为不透明;合并调整背景透明度参数后第二图像数据以及所述第一图像数据得到以所述第一图像数据或所述第二图像数据为背景的所述第三图像。
可选地,在依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据之前,所述方法还包括:虚化或者删除所述第一图像数 据和/或所述第二图像数据背景中的指定事物或人物。
可选地,在获取通过摄像设备采集的图像数据之前,所述方法包括:调整所述摄像设备的拍摄参数,其中所述拍摄参数包括以下至少之一:所述摄像设备的取景参数、所述摄像设备的焦距、和所述摄像设备的取景范围内拍摄对象的轮廓。
可选地,所述调整所述摄像设备的拍摄参数包括:在终端的第一预览区域显示所述拍摄对象;判断显示的所述拍摄对象是否满足预设条件;在判断结果为否的情况下,调整所述摄像设备的拍摄参数。
可选地,所述图像数据还包括:所述摄像设备中的第三摄像头采集的第四图像数据,所述第一图像数据、所述第二图像数据以及所述第四图像数据为所述第一摄像头、所述第二摄像头、以及所述第三摄像头同步采集的图像数据;所述方法还包括:将同步采集的所述第一图像数据、所述第二图像数据、以及所述第四图像数据合并为所述第三图像数据。
根据本发明实施例的另一方面,提供了一种成像的装置,包括:获取模块,设置为获取通过摄像设备采集的图像数据,其中,所述图像数据包括:所述摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,所述第一图像数据和所述第二图像数据为所述第一摄像头和所述第二摄像头同步采集;第一合并模块,设置为将同步采集的所述第一图像数据和所述第二图像数据合并为第三图像数据。
可选地,所述第一合并模块包括:第一调整单元,设置为调整所述第一图像数据和所述第二图像数据的背景透明度参数;合并单元,设置为依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据。
可选地,所述合并单元包括:第一设置子单元,设置为将所述第一图像数据的透明度参数设置为不透明;第一合并子单元,设置为合并所述第二图像数据和背景参数不透明的第一图像数据得到以所述第二图像数据为背景的所述第三图像;或,第二设置子单元,设置为将所述第二图像数据的透明度参数设置为不透明;第二合并子单元,设置为合并所述第一图像数据和背景参数不透明的第二图像数据得到以所述第一图像数据为背景的所述第三图像;或,第三设置子单元,设置为将所述第一图像数据和所述第二图像数据 的透明度参数都设置为不透明;第三合并子单元,设置为合并调整背景透明度参数后第二图像数据以及所述第一图像数据得到以所述第一图像数据或所述第二图像数据为背景的所述第三图像。
可选地,所述装置还包括:处理模块,设置为在依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据之前,虚化或者删除所述第一图像数据和/或所述第二图像数据背景中的指定事物或人物。
可选地,所述装置还包括:调整模块,设置为在获取通过摄像设备采集的图像数据之前,调整所述摄像设备的拍摄参数,其中所述拍摄参数包括以下至少之一:所述摄像设备的取景参数、所述摄像设备的焦距、所述摄像设备的取景范围内拍摄对象的轮廓。
可选地,所述调整模块包括:显示单元,设置为在终端的第一预览区域显示所述拍摄对象;判断单元,设置为判断显示的所述拍摄对象是否满足预设条件;第二调整单元,设置为在判断结果为否的情况下,调整所述摄像设备的拍摄参数。
可选地,所述图像数据还包括:所述摄像设备中的第三摄像头采集的第四图像数据,所述第一图像数据、所述第二图像数据以及所述第四图像数据为所述第一摄像头、所述第二摄像头、以及所述第三摄像头同步采集的图像数据;所述装置还包括:第二合并模块,设置为将同步采集的所述第一图像数据、所述第二图像数据、以及所述第四图像数据合并为所述第三图像数据。
通过本发明实施例,采用获取通过摄像设备采集的图像数据,其中,图像数据包括:摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,第一图像数据和第二图像数据为第一摄像头和第二摄像头同步采集;将同步采集的第一图像数据和第二图像数据合并为第三图像数据的方式,实现取景多样化,达到了提高用户体验度的效果。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1是根据本发明实施例的成像的方法的流程图;
图2是根据本发明实施例的成像的装置的结构框图;
图3是根据本发明实施例的成像的装置的可选结构框图一;
图4是根据本发明实施例的成像的装置的可选结构框图二;
图5是根据本发明实施例的成像的装置的可选结构框图三;
图6是根据本发明实施例的成像的装置的可选结构框图四;
图7是根据本发明实施例的成像的装置的可选结构框图五;
图8是根据本发明实施例的成像的装置的可选结构框图六;
图9是根据本发明实施例的多摄像头同时取景、选景、预览并成像的方法流程图。
本发明的实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种成像的方法,图1是根据本发明实施例的成像的方法的流程图,该方法可用于手机、平板电脑等具备摄像功能的终端,如图1所示,该流程包括如下步骤:
步骤S102,获取通过摄像设备采集的图像数据,其中,图像数据包括:摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,第一图像数据和第二图像数据为第一摄像头和第二摄像头同步采集的图像数据;
步骤S104,将同步采集的该第一图像数据和该第二图像数据合并为第三图像数据。
通过上述步骤S102至步骤S104,首先获取通过摄像设备中的第一摄像 头和第二摄像头同步采集的第一图像数据和第二图像数据,然后将同步采集的该第一图像数据和该第二图像数据合并为第三图像数据,实现了取景的多样化,达到了提高用户体验度的效果。
上述步骤S104涉及将同步采集的该第一图像数据和该第二图像数据合并为第三图像数据,在本实施例的一个可选实施方式中,可以通过以下方式完成上述合并动作:
步骤S11,调整第一图像数据和第二图像数据的背景透明度参数;
步骤S12,依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据。
在本实施例的可选实施方式中,例如上述步骤S11和步骤S12中的第一图像数据和第二图像数据可以是通过手机的前置或后置摄像头获取的,在该应用场景中,通过调节背景按钮,设置前置或后置摄像头的背景透明度,可以使得合成后的图像是用户想要保留的背景。
对于上述步骤S12涉及到的依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据的方式,在本实施例的一个可选的实施方式中,可以通过以下方式实现:
步骤S21,将第一图像数据的透明度参数设置为不透明;
步骤S22,合并第二图像数据和背景参数不透明的第一图像数据得到以该第二图像数据为背景的该第三图像。
在另一个可选的实施方式中,可以通过以下方式实现:
步骤S31,将第二图像数据的透明度参数设置为不透明;
步骤S32,合并第一图像数据和背景参数不透明的第二图像数据得到以该第一图像数据为背景的该第三图像。
在另一个可选的实施方式中,可以通过以下方式实现:
步骤S41,将第一图像数据和该第二图像数据的透明度参数都设置为不透明;
步骤S42,合并调整背景透明度参数后第二图像数据以及该第一图像数 据得到以该第一图像数据或该第二图像数据为背景的该第三图像。
由上述步骤可知,该合并第三图像数据的方式可以是将其中之一的图像数据的背景设置为不透明,进而显示另一个图像数据,而在两个图像数据的背景都为不透明时,则会随机选择其中之一的图像数据的背景作为第三图像数据的背景。
通过上述可选的实施方式,例如上述步骤中的第一图像数据和第二图像数据可以是通过手机的前置或后置摄像头获取的,在该应用场景中,同时打开摄像头后,通过调节背景按钮,设置前置或后置摄像头的背景透明度,以100%为不透明。都设置为不透明时,预览区域默认把前置摄像头取景放到图层上层,后置摄像头取景放在下层。以用户喜好和具体情况选择透明度,当上层需要显示的预览背景不是全透明的时候,可以选择把上下图层调换来显示,或是设置上层背景全透下层的人物或是需要的景物区域。保证选择的人物和事物,始终能清晰在最前面。
可选的,在步骤S12之前,可以通过虚化或者删除该第一图像数据和/或该第二图像数据背景中的指定事物或人物,进而可以获取用户想要保留的背景。
在步骤S102之前,还需要调整摄像设备的拍摄参数,在本发明的可选实施方式中,拍摄参数可以包括:摄像设备的取景参数、摄像设备的焦距、摄像设备的取景范围内拍摄对象的轮廓。
在本实施例的一个可选实施方式中,调整摄像设备的拍摄参数包括:在终端的第一预览区域显示该拍摄对象;判断显示的该拍摄对象是否满足预设条件;在判断结果为否的情况下,调整该摄像设备的拍摄参数。通过该方法可以根据用户喜好选取摄像头取景的效果。
可选地,在本发明可选实施方式中涉及到的图像数据除了包括步骤S102中的摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据外还包括:摄像设备中的第三摄像头采集第四图像数据,第一图像数据、第二图像数据以及第四图像数据为第一摄像头、第二摄像头、以及第三摄像头同步采集;并且在在采集到上述图像数据后将同步采集的第一图像数据、第二图像数据、以及第四图像数据合并为第三图像数据。可见,在本 实施例中可以同时使用2个或2个以上摄像头拍照进行合成。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
在本实施例中还提供了一种成像的装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的成像的装置的结构框图,如图2所示,该装置包括:获取模块22,设置为获取通过摄像设备采集的图像数据,其中,该图像数据包括:该摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,该第一图像数据和该第二图像数据为该第一摄像头和该第二摄像头同步采集;第一合并模块24,与获取模块22耦合连接,设置为将同步采集的该第一图像数据和该第二图像数据合并为第三图像数据。
图3是根据本发明实施例的成像的装置的可选结构框图一,如图3所示,该装置涉及到图2所示装置的第一合并模块24,该第一合并模块24包括:第一调整单元32,设置为调整第一图像数据和第二图像数据的背景透明度参数;合并单元34,与第一调整单元32耦合连接,设置为依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据。
图4是根据本发明实施例的成像的装置的可选结构框图二,如图4所示,合并单元34包括:第一设置子单元41,设置为将第一图像数据的透明度参数设置为不透明;第一合并子单元42,与第一设置子单元41耦合连接,设置为合并第二图像数据和背景参数不透明的第一图像数据得到以第二图像数据为背景的第三图像;或,第二设置子单元43,设置为将第二图像数据的透 明度参数设置为不透明;第二合并子单元44与第二设置子单元43耦合连接,设置为合并第一图像数据和背景参数不透明的第二图像数据得到以第一图像数据为背景的第三图像;或,第三设置子单元45,设置为将第一图像数据和第二图像数据的透明度参数都设置为不透明;第三合并子单元46与第三设置子单元45耦合连接,设置为合并调整背景透明度参数后第二图像数据以及第一图像数据得到以该第一图像数据或第二图像数据为背景的该第三图像。
图5是根据本发明实施例的成像的装置的可选结构框图三,如图5所示,该装置除了包括图2的所有模块外还包括:处理模块52,与获取模块22和第一合并模块24分别耦合连接,设置为在依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据之前,虚化或者删除该第一图像数据和/或该第二图像数据背景中的指定事物或人物。
图6是根据本发明实施例的成像的装置的可选结构框图四,如图6所示,该装置除了包括图2的所有模块外还包括:调整模块62,与获取模块22耦合连接,设置为在获取通过摄像设备采集的图像数据之前,调整摄像设备的拍摄参数,其中该拍摄参数包括以下至少之一:该摄像设备的取景参数、该摄像设备的焦距、该摄像设备的取景范围内拍摄对象的轮廓。
图7是根据本发明实施例的成像的装置的可选结构框图五,如图7所示,调整模块62包括:显示单元72,设置为在终端的第一预览区域显示该拍摄对象;判断单元74,与显示单元72耦合连接,设置为判断显示的该拍摄对象是否满足预设条件;第二调整单元76,与判断单元74耦合连接,设置为在判断结果为否的情况下,调整该摄像设备的拍摄参数。
图8是根据本发明实施例的成像的装置的可选结构框图六,如图8所示,该装置中的图像数据还包括:摄像设备中的第三摄像头采集的第四图像数据,第一图像数据、第二图像数据以及该第四图像数据为第一摄像头、第二摄像头、以及第三摄像头同步采集;该装置还包括:第二合并模块82,与第一合并模块24耦合连接,设置为将同步采集的该第一图像数据、该第二图像数据、以及该第四图像数据合并为该第三图像数据。
下面结合本发明的可选实施例对本发明做进行举例描述。
本发明可选实施例所示的装置包括手机装置但不限于手机设备,设备上 装置有多个摄像头的设备都可以使用本方案。所述装置可包括:视频采集单元、景物轮廓选择处理单元、背景过滤单元、微调自适应处理单元、合成预览显示单元、数据处理生成照片单元。其中视频采集单元完成前后摄像机的取景和数据采集,采集的数据为原始数据,可以分别进行变焦、对比等处理。景物轮廓选择处理单元,可以根据用户选择景物适应选择,用户也可以自己调节轮廓范围和形状。其中的背景过滤单元,通过焦距和轮廓识别处理,把用户需要的人物和景物识别出来,把不需要的景物当成背景,通过透明调节过滤掉。微调自适应处理单元,负责保存前后摄像头的焦距、对比度、轮廓等数据,并根据这些数据,在用户有少许位置移动的情况下,自适应微调焦距和轮廓线路,保证最终的取景在清晰度和选择上符合用户需求。合成显示单元,需要把经过背景过滤和微调处理后的数据,以多图层技术显示出来,保留一个背景,或者一个实背景,一个半透虚背景等,再把最终的成像效果呈现给用户。数据合成处理单元,需要把呈现给用户的数据进行加工,合成电子照片。
本发明可选实施例的具体操作流程为:
1、打开需要使用的设备。
2、开启摄像头,同时对前景摄像头的取景和后置摄像头的取景进行调整,以达到用户满意为止。
3、对取景中的最终效果适应的焦距、对比度、轮廓等分别进行保存以使前景或后景聚焦的人物或是事物清晰突出。
4、在小范围内,定格变焦和事物轮廓,并自适应微调聚焦和事物轮廓。调节背景透明按钮,设置前取景背景透明或是后背景透明,以达到前后所选景物在同一个背景上呈现,并在预览显示区域观看效果。
5、对显示呈现的效果生成合乎用户要求的照片。
本发明可选实施例的技术流程为:
1、可以并能同时打开多个摄像头,并摄取数据。
2、景物轮廓选择处理单元,能适应景物轮廓,帮助用户选择景物,也可让用户自己调节或是微调事物轮廓。
3、背景过滤单元,能根据聚焦和事物轮廓对取的景物数据进行处理,过滤不需要的背景。
4、微调自适应处理单元,能在焦距大小和事物轮廓确定后,防止用户或是摄像头位置有稍微变动,在焦距和事物轮廓上适应调整,使能清晰显示事物轮廓。
5、前后景物合成的预览时,采用图层叠加技术,保证显示效果的完美,无缝呈现。
6、成像时,直接过滤重叠的背景数据,直接成像,不采用成像后,合成图片的方式完成成像。
图9是根据本发明实施例的多摄像头同时取景、选景、预览并成像的方法流程图,如图9所示,该方法包括如下步骤:
前提:设备上必须有两个或两个以上可用正常摄像头。以下以手机前后摄像头作为说明。
步骤S901:开启设备进入可用状态,打开前置摄像头进行工作。
步骤S902:调整摄像头的取景、焦距、事物轮廓等等参数,达到用户满意为止,并保持设置。
步骤S903:关闭前置摄像头打开后置摄像头,调整摄像头的预览、取景、焦距、事物轮廓等参数,达到用户满意为止,并保持设置
步骤S904:同时开启前置和后置摄像头,调整前置或是后置摄像头取景预览背景透明度,以便保持主体人物或是事物图像清晰,虚化或去掉不需要前置或后置预览背景。
步骤S905:静止设备,让设备自动根据设置的焦距、轮廓,适应微调,摄取比较清晰的人物或是事物图像。
步骤S906:选择合适效果,开始拍照,生成电子图片。
步骤S902和S903可以细化为:
在预览区域,选择事物或是人物,摄像机根据所选人物或是事物自动调整焦距、并适应景物轮廓,并保持相关信息
在焦距确定后,预览区域会以线条或是虚线显示需要保留的人物或是事物轮廓,用户不满意,可以自行调整并保持选择设置。
步骤S904补充为:
同时打开摄像头后,通过调节背景按钮,设置前置或后置摄像头的背景透明度,以100%为不透明。都设置为不透明时,预览区域默认把前置摄像头取景放到图层上层,后置摄像头取景放在下层。
以用户喜好和具体情况选择透明度,当上层需要显示的预览背景不是全透明的时候,可以选择把上下图层调换来显示,或是设置上层背景全透下层的人物或是需要的景物区域。保证选择的人物和事物,始终能清晰在最前面。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
综上所述,通过上述可选实施方式,进而实现了:可以同时使用2个或2个以上摄像头拍照,并根据用户喜好,选择合成方式;可以帮助适应选择景物,也可以用户自己调节选择区域选择;不需要借助第三方可以完成家庭合影等需要全员参与的集体拍照;前摄像头取景人物,后摄像头取景远景,可以杜绝在危险(比如悬崖、高空、动物园)场地,用户需要背对悬崖或是背对危险动物自拍出现不可预知的危险情况;可以直接对2个或是2个摄像头的取景进行成像,防止后期PS等不真实和需要相当技术的工作,并且用户在拍摄的时候对景物、效果有不满意的,可以立即调整,避免出现遗憾的效果。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,获取通过摄像设备采集的图像数据,其中,图像数据包括:摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,第一图像数据和第二图像数据为第一摄像头和第二摄像头同步采集;
S2,将同步采集的该第一图像数据和该第二图像数据合并为第三图像数据。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述步骤S1,S2。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
上述技术方案可实现取景多样化,达到了提高用户体验度的效果。

Claims (14)

  1. 一种成像的方法,包括:
    获取通过摄像设备采集的图像数据,其中,所述图像数据包括:所述摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,所述第一图像数据和所述第二图像数据为所述第一摄像头和所述第二摄像头同步采集的图像数据;
    将同步采集的所述第一图像数据和所述第二图像数据合并为第三图像数据。
  2. 根据权利要求1所述的方法,其中,所述将同步采集的所述第一图像数据和所述第二图像数据合并为第三图像数据包括:
    调整所述第一图像数据和所述第二图像数据的背景透明度参数;
    依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据。
  3. 根据权利要求2所述的方法,其中,所述依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据包括:
    将所述第一图像数据的透明度参数设置为不透明;
    合并所述第二图像数据和背景参数不透明的第一图像数据得到以所述第二图像数据为背景的所述第三图像;或,
    将所述第二图像数据的透明度参数设置为不透明;
    合并所述第一图像数据和背景参数不透明的第二图像数据得到以所述第一图像数据为背景的所述第三图像;或,
    将所述第一图像数据和所述第二图像数据的透明度参数都设置为不透明;
    合并调整背景透明度参数后第二图像数据以及所述第一图像数据得到以所述第一图像数据或所述第二图像数据为背景的所述第三图像。
  4. 根据权利要求2所述的方法,所述方法还包括:
    在依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第 三图像数据之前,虚化或者删除所述第一图像数据和/或所述第二图像数据背景中的指定事物或人物。
  5. 根据权利要求1所述的方法,所述方法还包括:
    在获取通过摄像设备采集的图像数据之前,调整所述摄像设备的拍摄参数,其中所述拍摄参数包括以下至少之一:
    所述摄像设备的取景参数、所述摄像设备的焦距、和所述摄像设备的取景范围内拍摄对象的轮廓。
  6. 根据权利要求5所述的方法,其中,所述调整所述摄像设备的拍摄参数包括:
    在终端的第一预览区域显示所述拍摄对象;
    判断显示的所述拍摄对象是否满足预设条件;
    在判断结果为否的情况下,调整所述摄像设备的拍摄参数。
  7. 根据权利要求1所述的方法,所述图像数据还包括:
    所述摄像设备中的第三摄像头采集的第四图像数据,所述第一图像数据、所述第二图像数据以及所述第四图像数据为所述第一摄像头、所述第二摄像头、以及所述第三摄像头同步采集的图像数据;
    所述方法还包括:
    将同步采集的所述第一图像数据、所述第二图像数据、以及所述第四图像数据合并为所述第三图像数据。
  8. 一种成像的装置,包括:
    获取模块,设置为获取通过摄像设备采集的图像数据,其中,所述图像数据包括:所述摄像设备中的第一摄像头采集的第一图像数据和第二摄像头采集的第二图像数据,所述第一图像数据和所述第二图像数据为所述第一摄像头和所述第二摄像头同步采集;
    第一合并模块,设置为将同步采集的所述第一图像数据和所述第二图像数据合并为第三图像数据。
  9. 根据权利要求8所述的装置,其中,所述第一合并模块包括:
    第一调整单元,设置为调整所述第一图像数据和所述第二图像数据的背景透明度参数;
    合并单元,设置为依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据。
  10. 根据权利要求9所述的装置,其中,所述合并单元包括:
    第一设置子单元,设置为将所述第一图像数据的透明度参数设置为不透明;
    第一合并子单元,设置为合并所述第二图像数据和背景参数不透明的第一图像数据得到以所述第二图像数据为背景的所述第三图像;或
    第二设置子单元,设置为将所述第二图像数据的透明度参数设置为不透明;
    第二合并子单元,设置为合并所述第一图像数据和背景参数不透明的第二图像数据得到以所述第一图像数据为背景的所述第三图像;或
    第三设置子单元,设置为将所述第一图像数据和所述第二图像数据的透明度参数都设置为不透明;
    第三合并子单元,设置为合并调整背景透明度参数后第二图像数据以及所述第一图像数据得到以所述第一图像数据或所述第二图像数据为背景的所述第三图像。
  11. 根据权利要求9所述的装置,所述装置还包括:
    处理模块,设置为在依据调整背景透明度参数后的第一图像数据和第二图像数据合并为第三图像数据之前,虚化或者删除所述第一图像数据和/或所述第二图像数据背景中的指定事物或人物。
  12. 根据权利要求8所述的装置,所述装置还包括:
    调整模块,设置为在获取通过摄像设备采集的图像数据之前,调整所述摄像设备的拍摄参数,其中所述拍摄参数包括以下至少之一:
    所述摄像设备的取景参数、所述摄像设备的焦距、所述摄像设备的取景范围内拍摄对象的轮廓。
  13. 根据权利要求12所述的装置,其中,所述调整模块包括:
    显示单元,设置为在终端的第一预览区域显示所述拍摄对象;
    判断单元,设置为判断显示的所述拍摄对象是否满足预设条件;
    第二调整单元,设置为在判断结果为否的情况下,调整所述摄像设备的拍摄参数。
  14. 根据权利要求8所述的装置,所述图像数据还包括:所述摄像设备中的第三摄像头采集的第四图像数据,所述第一图像数据、所述第二图像数据以及所述第四图像数据为所述第一摄像头、所述第二摄像头、以及所述第三摄像头同步采集的图像数据;
    所述装置还包括:
    第二合并模块,设置为将同步采集的所述第一图像数据、所述第二图像数据、以及所述第四图像数据合并为所述第三图像数据。
PCT/CN2016/093636 2015-08-31 2016-08-05 成像的方法及装置 WO2017036273A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510549251.XA CN106488108A (zh) 2015-08-31 2015-08-31 成像的方法及装置
CN201510549251.X 2015-08-31

Publications (1)

Publication Number Publication Date
WO2017036273A1 true WO2017036273A1 (zh) 2017-03-09

Family

ID=58186688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/093636 WO2017036273A1 (zh) 2015-08-31 2016-08-05 成像的方法及装置

Country Status (2)

Country Link
CN (1) CN106488108A (zh)
WO (1) WO2017036273A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461950A (zh) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 图像处理方法及装置
CN114095641A (zh) * 2020-07-21 2022-02-25 珠海格力电器股份有限公司 一种图像的显示方法和装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231524A (zh) * 2017-05-31 2017-10-03 珠海市魅族科技有限公司 拍摄方法及装置、计算机装置和计算机可读存储介质
CN107566751B (zh) * 2017-09-30 2019-11-26 北京金山安全软件有限公司 图像处理方法、装置、电子设备及介质
CN108377341A (zh) * 2018-05-14 2018-08-07 Oppo广东移动通信有限公司 拍照方法、装置、终端及存储介质
CN111929323A (zh) * 2020-06-02 2020-11-13 珠海诚锋电子科技有限公司 一种瓦楞纸包装箱印刷瑕疵视觉检测方法及装置

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4309740B2 (ja) * 2003-10-22 2009-08-05 パイオニア株式会社 撮影装置および撮影方法
JP4366481B2 (ja) * 2003-07-18 2009-11-18 カシオ計算機株式会社 撮像装置及び撮像方法
CN102938825A (zh) * 2012-11-12 2013-02-20 北京小米科技有限责任公司 一种拍摄照片和视频的方法及装置
CN103024272A (zh) * 2012-12-14 2013-04-03 广东欧珀移动通信有限公司 移动终端的双摄像头控制装置、方法、***以及移动终端
CN103247037A (zh) * 2012-02-10 2013-08-14 联想(北京)有限公司 图像处理方法、装置和电子设备
CN103916582A (zh) * 2013-01-07 2014-07-09 华为技术有限公司 一种图像处理方法及装置
CN103945045A (zh) * 2013-01-21 2014-07-23 联想(北京)有限公司 一种数据处理的方法及装置
US20140232904A1 (en) * 2013-02-21 2014-08-21 Samsung Electronics Co., Ltd. Combining effective images in electronic device having a plurality of cameras

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4366481B2 (ja) * 2003-07-18 2009-11-18 カシオ計算機株式会社 撮像装置及び撮像方法
JP4309740B2 (ja) * 2003-10-22 2009-08-05 パイオニア株式会社 撮影装置および撮影方法
CN103247037A (zh) * 2012-02-10 2013-08-14 联想(北京)有限公司 图像处理方法、装置和电子设备
CN102938825A (zh) * 2012-11-12 2013-02-20 北京小米科技有限责任公司 一种拍摄照片和视频的方法及装置
CN103024272A (zh) * 2012-12-14 2013-04-03 广东欧珀移动通信有限公司 移动终端的双摄像头控制装置、方法、***以及移动终端
CN103916582A (zh) * 2013-01-07 2014-07-09 华为技术有限公司 一种图像处理方法及装置
CN103945045A (zh) * 2013-01-21 2014-07-23 联想(北京)有限公司 一种数据处理的方法及装置
US20140232904A1 (en) * 2013-02-21 2014-08-21 Samsung Electronics Co., Ltd. Combining effective images in electronic device having a plurality of cameras

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461950A (zh) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 图像处理方法及装置
CN111461950B (zh) * 2019-01-18 2023-10-17 北京小米移动软件有限公司 图像处理方法及装置
CN114095641A (zh) * 2020-07-21 2022-02-25 珠海格力电器股份有限公司 一种图像的显示方法和装置

Also Published As

Publication number Publication date
CN106488108A (zh) 2017-03-08

Similar Documents

Publication Publication Date Title
WO2017036273A1 (zh) 成像的方法及装置
US10469746B2 (en) Camera and camera control method
US8446479B2 (en) Photographing apparatus
KR101873668B1 (ko) 이동 단말의 촬영 방법 및 이동 단말
US9264585B2 (en) Enriched digital photographs
WO2016165488A1 (zh) 照片处理方法及装置
CN105049569A (zh) 基于手机前后摄像头的全景照片合成方法
WO2015192547A1 (zh) 一种基于移动终端的三维照片拍摄方法及移动终端
JP6907274B2 (ja) 撮像装置及び撮像方法
WO2013155804A1 (zh) 一种照片拍摄方法及电子设备
WO2019214574A1 (zh) 图像拍摄方法、装置及电子终端
CN105812670B (zh) 一种拍照的方法及终端
US20150082168A1 (en) Media content creation
US9497384B2 (en) Template photography and methods of using the same
TW200922290A (en) Image capturing apparatus and method for providing image blur information
CN110072059A (zh) 图像拍摄装置、方法及终端
JP2009169209A (ja) 画像表示装置、画像表示方法、および画像表示用プログラム
CN109429005A (zh) 图像拍摄方法及装置、终端
CN101472064A (zh) 拍摄***及其景深处理方法
CN104869283B (zh) 一种拍摄方法及电子设备
CN107392850B (zh) 图像处理方法及其***
KR101094648B1 (ko) 구도결정을 하는 사진사 로봇 및 그 제어방법
CN106488128B (zh) 一种自动拍照的方法及装置
WO2016202073A1 (zh) 图像处理的方法和装置
JP5440588B2 (ja) 構図判定装置、構図判定方法、プログラム

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: 16840702

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: 16840702

Country of ref document: EP

Kind code of ref document: A1