WO2019006762A1 - Image capturing apparatus and method - Google Patents

Image capturing apparatus and method Download PDF

Info

Publication number
WO2019006762A1
WO2019006762A1 PCT/CN2017/092286 CN2017092286W WO2019006762A1 WO 2019006762 A1 WO2019006762 A1 WO 2019006762A1 CN 2017092286 W CN2017092286 W CN 2017092286W WO 2019006762 A1 WO2019006762 A1 WO 2019006762A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
camera
wide
angle
photographed
Prior art date
Application number
PCT/CN2017/092286
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Priority to PCT/CN2017/092286 priority Critical patent/WO2019006762A1/en
Priority to CN201780069983.6A priority patent/CN109923850B/en
Publication of WO2019006762A1 publication Critical patent/WO2019006762A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof

Definitions

  • the present application relates to the field of image processing technologies, and in particular, to an image capturing device and method.
  • the industry proposes to set a dual camera in the image capturing device, and use the difference between the image information captured by the two cameras to complement the image information, thereby improving the quality of the captured image.
  • dual camera systems are becoming more and more popular, and are gradually becoming the standard for all mobile phones.
  • the image capturing device currently equipped with a dual camera simply combines the images acquired by the two cameras when capturing an image. In this way, it is impossible to take higher quality images in various scenes.
  • the image capturing device is configured with a wide-angle and telephoto dual camera, and the image capturing device respectively acquires two images through the two cameras, and then fuses the two images to obtain a final captured image. Since the wide-angle camera has a large field of view, it is suitable for close-range shooting.
  • the telephoto camera has a small field of view and is suitable for long-range shooting.
  • the final image obtained by the fusion of the two images obtained by the two cameras whose field of view angles are not matched has a poor stereoscopic effect and poor image quality.
  • the application provides an image capture device and method for improving image capture quality.
  • the present application provides an image capture device.
  • the image capturing device comprises: a wide-angle color camera, a wide-angle black-and-white camera, a telephoto camera, a processor and a memory; wherein the wide-angle color camera, the wide-angle black-and-white camera and the telephoto camera are disposed on the same side of the housing of the image capturing device;
  • the field of view of the camera and the wide-angle color camera are the same, the field of view of the telephoto camera is smaller than the field of view of the wide-angle color camera; and the memory is used to store at least one of the wide-angle color camera, the wide-angle black-and-white camera, or the telephoto camera.
  • a static or moving image of the object is taken; the processor is configured to process the static or dynamic image to obtain an image of the object to be photographed.
  • the image capturing device has three cameras, which are a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera.
  • Each of the three cameras has advantages.
  • the wide-angle black-and-white camera has a large field of view, which is suitable for shooting close-ups.
  • the wide-angle color camera has a larger field of view, which is suitable for shooting close-ups and has a strong ability to capture the color information of the object to be photographed
  • the telephoto camera has a larger field of view. Small, suitable for shooting distant views.
  • the image capturing device can take advantage of the advantages of the three cameras to obtain an image of a better-quality object to be photographed under different scenes (such as close-up, distant view, etc.), thereby improving image capturing quality.
  • the wide-angle color camera is located between the wide-angle black and white camera and the telephoto camera.
  • the image capturing device can use the wide-angle color camera as the main camera, and the other two cameras can serve as the auxiliary camera.
  • the wide-angle color camera is set between the wide-angle black-and-white camera and the telephoto camera, the wide-angle color camera can capture more information about the object to be photographed in the main field of view.
  • the telephoto camera is a telephoto color camera.
  • the image capturing device can obtain color information of the distant scene. And the three cameras in the image capture device can be switched between. For example, when switching from a close-up to a distant view, since the telephoto camera is suitable for shooting a distant view, the image capturing device can be switched from a wide-angle color camera and a wide-angle black-and-white camera to a telephoto camera. Since the telephoto camera is a color camera, the image change after switching can be ensured. It won't be awkward.
  • the telephoto camera is a built-in camera
  • the wide-angle color camera and the wide-angle black-and-white camera are disposed on the external components of the image capture device
  • the external accessories are rotatably connected to the frame of the image capture device
  • the external accessories are
  • the angle formed between the display screens of the image capture device is any angle between 0 and 360 degrees.
  • a wide-angle color camera and a wide-angle black-and-white camera among the three cameras provided in the image capturing device may be disposed on an external component of the image capturing device.
  • the external accessory When the external accessory is rotated, the wide-angle color camera and the wide-angle black-and-white camera rotate simultaneously.
  • the image capture device as a mobile phone as an example, if the user wants to take a self-portrait with the mobile phone, the rotating external accessory is facing the user, that is, through the wide-angle color camera and the wide-angle black-and-white camera, a self-portrait image with higher quality has been obtained.
  • the present application provides an image capturing method, which can be implemented by a device including a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto color camera; wherein the wide-angle color camera and the wide-angle black-and-white camera have the same angle of view, And the field of view of the telephoto color camera is smaller than the field of view of the wide-angle color camera, the resolution of the wide-angle black-and-white camera is greater than or equal to the resolution of the telephoto color camera; the method includes: receiving a zoom instruction, the zoom instruction is used to The current preview image of the device is scaled; if the scaling ratio corresponding to the zoom instruction is less than or equal to the preset ratio, the wide-angle color camera and the wide-angle black-and-white camera respectively acquire the image captured by the captured object; and output an image of the object to be photographed, wherein, The image of the captured object is obtained by fusing the image captured by the wide-angle color camera and the wide-angle black-
  • the image capturing device may select different cameras from among the three cameras to capture images of the object to be photographed according to different scaling ratios.
  • the image capturing device captures an image of the object to be photographed by the wide-angle color camera and the wide-angle black-and-white camera.
  • the zoom ratio is large, the image capturing device captures the object to be photographed through the wide-angle black-and-white camera and the telephoto color camera.
  • the wide-angle black-and-white camera has a large resolution, so in the process of gradually increasing the zoom ratio, although the wide-angle color camera is switched to a focal-focus color camera, the resolution can be ensured not to decrease.
  • the method before acquiring the image captured by the object to be photographed, the method further comprises: determining a brightness value of a scene in which the object to be photographed is located; and controlling the wide-angle color camera and the wide-angle black according to the brightness value respectively
  • Each camera in the white camera and the telephoto color camera captures an image of the corresponding number of frames.
  • the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
  • each camera captures an image of the corresponding number of frames according to the brightness value, including: if the brightness value is greater than the first preset brightness value, controlling each camera to capture the P frame image; or if the brightness value is less than Equal to the second preset brightness value, controlling each camera to capture the Q frame image; wherein, the second preset brightness value is less than the first preset brightness value, P, Q are positive integers, and P is greater than Q.
  • the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
  • the method before outputting the image of the object to be photographed, the method further comprises: determining depth information of the scene in which the object to be photographed is located; and processing the obtained image captured by the object to be photographed according to the depth information.
  • the image capturing device can process the obtained image captured by the object to be photographed according to the depth information of the scene in which the object to be photographed is located, thereby improving the stereoscopic and layered feeling of the image.
  • the present application provides an image capturing method, which can be implemented by a device including a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto black-and-white camera; wherein the wide-angle color camera and the wide-angle black-and-white camera have the same angle of view,
  • the field of view of the telephoto black and white camera is smaller than the field of view of the wide-angle color camera.
  • the resolution of the wide-angle black-and-white camera is greater than or equal to the resolution of the telephoto color camera.
  • the method includes: receiving a zoom instruction, and the zoom instruction is used to preview the current image of the device.
  • the wide-angle color camera and the wide-angle black-and-white camera respectively acquire the image captured by the captured object; and output an image of the object to be photographed, wherein the image of the object to be photographed is The image captured by the wide-angle color camera and the wide-angle black-and-white camera is merged; or if the zoom ratio corresponding to the zoom ratio is greater than the preset ratio, the wide-angle color camera and the telephoto black-and-white camera are simultaneously taken to the image captured by the captured object; Subject image, wherein, to obtain the image of an object to be photographed is fused color camera wide angle and telephoto camera to capture monochrome images.
  • the image capturing device may select an appropriate camera from among the three cameras to capture an image of the object to be photographed according to different scaling ratios.
  • the image capturing device captures the image of the object to be photographed by the wide-angle color camera and the wide-angle black-and-white camera.
  • the zoom ratio is large, the image capturing device captures the object to be photographed through the wide-angle color camera and the telephoto black-and-white camera.
  • the wide-angle black-and-white camera has a large resolution, so in the process of gradually increasing the zoom ratio, although the wide-angle black-and-white camera is switched to the black-and-white camera, the resolution is not reduced.
  • the method before acquiring the image captured by the object to be photographed, the method further comprises: determining a brightness value of the scene where the object to be photographed is located; and controlling the wide-angle color camera, the wide-angle black and white camera, and the telephoto black and white according to the brightness value respectively.
  • Each camera in the camera captures an image of the corresponding number of frames.
  • the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene in which the object to be photographed is located. For example, when the scene is bright, each camera can capture images of fewer frames. When the scene is dark, each camera can capture images with more frames.
  • each camera captures an image of the corresponding number of frames according to the brightness value, including: if the brightness value is greater than the first preset brightness value, controlling each camera to capture the P frame image; or if the brightness value is less than Equal to the second preset brightness value, controlling each camera to capture the Q frame image; wherein, the second preset brightness value is less than the first preset brightness value, P, Q are positive integers, and P is greater than Q.
  • the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
  • the method before outputting the image of the object to be photographed, the method further comprises: determining depth information of the scene in which the object to be photographed is located; and processing the obtained image captured by the object to be photographed according to the depth information .
  • the image capturing device can process the obtained image captured by the object to be photographed according to the depth information of the scene in which the object to be photographed is located, thereby improving the stereoscopic and layered feeling of the image.
  • the present application provides an image capturing method, which can be implemented by a device including a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto black-and-white camera; wherein the wide-angle color camera and the wide-angle black-and-white camera have the same angle of view, And the field of view of the telephoto black and white camera is smaller than the angle of view of the wide-angle color camera, the method includes: determining a scene in which the object to be photographed is located; if the scene is a distant view, acquiring a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera respectively The image captured by the object to be photographed; the depth information of the scene is determined according to the first image acquired by the wide-angle color camera and the second image captured by the wide-angle black and white camera; and the first pre-capture image is processed according to the depth information to obtain an image of the object to be photographed; The first pre-captured image is obtained by
  • the image capturing device includes three cameras: a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera.
  • a wide-angle color camera is suitable for capturing close-ups and capturing the details of the object to be photographed.
  • the strong, wide-angle color camera is suitable for shooting close-ups and has the ability to capture color information of objects to be photographed, while the telephoto camera is suitable for shooting distant scenes.
  • the image capturing device can obtain the depth information of the scene based on the two cameras, and then process the first pre-shot image according to the depth information, so that the final image to be captured is obtained.
  • the image of the object has a strong sense of three-dimensionality.
  • the method further comprises: if the scene is a close-up, acquiring a wide-angle color camera and a wide-angle black-and-white camera respectively to simultaneously capture an image captured by the captured object; the third image acquired by the wide-angle color camera and the wide-angle black-and-white camera.
  • the four images determine the depth information of the scene; the second pre-capture image is processed according to the scene depth information to obtain an image of the object to be photographed; and the second pre-capture image is obtained by fusing the third image and the fourth image.
  • the image capturing device can acquire an image captured by the wide-angle color camera and the wide-angle black-and-white camera at the same time as the object to be photographed. Since the wide-angle black-and-white camera captures images, the ability to capture detailed information of the object to be photographed is strong.
  • the wide-angle color camera has a strong ability to capture the color information of the object to be photographed when the image is captured. Therefore, the image capturing device combines the images acquired by the wide-angle color camera and the wide-angle black-and-white camera to obtain a higher quality image of the object to be photographed.
  • the method before acquiring the image captured by the object to be photographed, the method further comprises: determining a brightness value of the scene; and separately controlling the wide-angle color camera, the wide-angle black-and-white camera, and the long-focus camera according to the brightness value.
  • Each camera in the head captures an image of the corresponding number of frames.
  • the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
  • each camera is separately controlled to collect an image of the corresponding number of frames, including if the brightness value is greater than the first preset brightness value, then each camera is controlled to acquire a P frame image; or if the brightness value is less than And equal to the second preset brightness value, controlling each camera to collect the Q frame image; wherein, the second preset brightness value is less than the first preset brightness value, P, Q are positive integers, and P is greater than Q.
  • the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
  • the present application provides an image capture device.
  • the image capture device has the function of implementing the image capture device in the method design of the second aspect described above. These functions can be implemented in hardware or in software by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the specific structure of the image capture device may include an input unit, a processing unit, and an output unit. These units may perform the respective functions of the methods provided by any of the possible aspects of the second aspect or the second aspect described above.
  • the present application provides an image capture device.
  • the image capture device has the function of implementing the image capture device in the method design of the third aspect described above. These functions can be implemented in hardware or in software by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the specific structure of the image capture device may include an input unit, a processing unit, and an output unit. These units may perform the respective functions of the methods provided by any of the possible aspects of the third aspect or the third aspect described above.
  • the present application provides an image capture device.
  • the image capture device has the function of implementing the image capture device in the method design of the fourth aspect described above. These functions can be implemented in hardware or in software by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the specific structure of the image capture device may include a processing unit and an output unit. These units may perform the respective functions of the methods provided by any of the possible designs of the fourth aspect or the fourth aspect described above.
  • the present application also provides an image capture device.
  • the image capture device has the function of implementing the image capture device in the method design of the third aspect described above. These features can be implemented in hardware.
  • the image capture device includes a memory for storing computer executable program code, a processor coupled to the memory. Wherein the program code stored in the memory comprises instructions which, when executed by the processor, cause the image capture device to perform the method performed by the image capture device in any one of the possible aspects of the third aspect or the third aspect above .
  • the present application also provides an image capture device.
  • the image capture device has the function of implementing the image capture device in the method design of the fourth aspect described above. These features can be implemented in hardware.
  • the image capture device includes a memory for storing computer executable program code, a processor coupled to the memory. Wherein the program code stored in the memory comprises instructions which, when executed by the processor, cause the image capture device to perform the image capture device executed in any one of the possible aspects of the fourth aspect or the fourth aspect described above method.
  • the application further provides an image capture device.
  • the image capture device has the function of implementing the image capture device in the method design of the fifth aspect described above. These features can be implemented in hardware.
  • the image capture device includes a memory for storing computer executable program code, a processor coupled to the memory. Wherein the program code stored in the memory comprises instructions which, when executed by the processor, cause the image capture device to perform the method performed by the image capture device in any one of the possible aspects of the fifth aspect or the fifth aspect above .
  • the present application further provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the image capture method of the second aspect described above.
  • the present application further provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the image capture method of the above third aspect.
  • the present application further provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the image capture method of the above fourth aspect.
  • the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the image capture method of the second aspect described above.
  • the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the image capture method of the third aspect above.
  • the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the image capture method of the fourth aspect described above.
  • the image capturing device has three cameras: a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera.
  • Each of the three cameras has advantages.
  • the wide-angle black-and-white camera has a larger field of view, which is suitable for shooting close-ups and has stronger The ability to capture the details of the object to be photographed
  • the angle of view of the wide-angle color camera is larger for shooting close-ups and has a stronger ability to capture the color information of the object to be photographed
  • the telephoto camera has a smaller field of view for shooting .
  • the image capturing device can take advantage of the advantages of the three cameras to obtain an image of a better-quality object to be photographed under different scenes (such as close-up, distant view, etc.), thereby improving image capturing quality.
  • FIG. 1 is a block diagram of an image capture device provided by the present application.
  • FIG. 3 is a flowchart of another image capturing method provided by the present application.
  • FIG. 5 is a schematic structural diagram of an image capturing device provided by the present application.
  • FIG. 6 is a schematic structural diagram of another image capturing apparatus provided by the present application.
  • FIG. 7 is a schematic structural diagram of another image capturing device provided by the present application.
  • the scene can be understood as the object and the environment in which the object is located.
  • the environment in which the object is located can be large or small, for example, the environment in which the object is located can be broad, such as mountains, sky, and the like.
  • the environment in which the object is located can also be narrow, such as a room, or a simple desk. Therefore, in order to enable the image capturing device to understand and describe the scene like a human, the scene recognition capability is also an important reference indicator for whether the image capturing device is intelligent.
  • the preview image is an image that the image capturing device presents on the shooting preview interface before the image is captured.
  • the user views the shooting effect through the preview image. If the user is satisfied with the shooting effect of the preview image, the user can click the “shooting” button to capture the image.
  • the angle of view is an important performance parameter of the image capture device.
  • the field of view is used to indicate the maximum range of angles that the image capture device can capture during the capture of the image. If the object to be photographed is within this angle range, the object to be photographed is captured by the image capturing device and presented in the preview image. If the object to be photographed is outside this range of angles, the photographed device will not be captured by the image capture device, ie will not be presented in the preview image.
  • the larger the angle of view of the image capturing device the larger the shooting range and the shorter the focal length.
  • the smaller the angle of view of the image capturing device the smaller the shooting range and the longer the focal length.
  • field of view may also be referred to as a “field of view” or “field of view”. That is to say, the name of the "angle of view” is not limited herein, as long as the concept is as above.
  • the depth of the scene can be understood as the distance between the image capturing device and the object to be photographed.
  • the depth of the scene can be represented by a depth map, and each pixel value in the depth map can reflect the distance between the object to be photographed and the image capturing device. The closer the image capturing device is to the image capturing device, the smaller the pixel value is, and the farther away from the image capturing device, the larger the pixel value.
  • scene depth may also be referred to as “depth of field” or “image depth”. That is to say, the name of the “scene depth” is not limited in this paper, as long as the concept is as above.
  • Zoom shooting that is, the image capturing device changes the focal length during the process of capturing an image. For example, when a user captures a distant object through the image capturing device, the object in the preview image displayed by the image capturing device is necessarily displayed smaller. To zoom in on the object in the preview image without changing the position of the user, you can select zoom shooting.
  • zoom shooting includes optical zoom shooting and digital zoom shooting. Both of these methods can change the size of the object in the preview image displayed by the image capture device.
  • Resolution is an important performance parameter of the image capture device.
  • resolution can be understood as the ability to distinguish the details of the original. For example, if the original object is a piece of paper, which is covered with many lines, the image captured by the image capturing device can resolve 100 lines, and the image captured by the image capturing device with weak resolution is only Can recognize 10 lines.
  • the greater the resolution of the image capturing device the stronger the ability of the image capturing device to restore the details of the object to be photographed after capturing the image of the object to be photographed, for example, the user wants to enlarge the captured image, and the image is enlarged. Higher degrees.
  • the resolution is related to pixels, resolution, etc., and the image capturing device with higher pixel or resolution has stronger resolution, and if it is a black-and-white image capturing device, because it captures the details of the object to be photographed.
  • the ability is strong, and the resolution of the black-and-white image capturing device is usually greater than that of the color image capturing device.
  • the industry proposes to set a dual camera in the image capturing device, and use the difference between the image information acquired by the two cameras to complement the image information, thereby improving the quality of the final captured image.
  • the image capturing device equipped with the dual camera captures an image, only the image information acquired by the two cameras is simply superimposed. In this way, it is impossible to take higher quality images in various scenes.
  • the image capture device is configured with two cameras, one being a wide-angle camera and the other being a telephoto camera. The image capturing device acquires two images by the two cameras, and then fuses the image information of the two images to obtain the final captured image.
  • the wide-angle camera has a large field of view, it is suitable for close-range shooting, and the telephoto camera has a small field of view, which is suitable for long-range shooting. Therefore, the current dual-camera image capturing device can take into account the shooting of different scenes, but the field of view of the two cameras does not match, resulting in a poor stereoscopic image and poor image quality. For example, in the two images obtained by the image capturing apparatus of such a dual camera, there are portions where the angles of view overlap, and portions where the angles of view do not coincide.
  • the two images are directly merged, the portion of the final captured image in which the angle of view coincides is high, and the portion of the non-coincident portion has low definition, so that the definition of the central portion and the surrounding portion of the entire image is inconsistent.
  • the two images obtained by the camera with the mismatched field of view cannot obtain the depth map of the larger field of view, so that the entire image cannot be processed based on the depth map, resulting in poor stereoscopic image quality and image quality. Poor.
  • the present application provides a new image capturing device.
  • the image capturing device has three cameras, which are a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera.
  • the image capturing device can obtain the image of the object to be photographed with better quality by using the advantages of the three cameras, thereby improving the obtained image capturing device.
  • the quality of the image The system architecture of the image capture device of the present application will first be described in detail below.
  • the image capture device herein may be a cell phone, a tablet (PAD), or a camera. Take an image capture device, specifically a mobile phone, as an example. Please refer to FIG. 1.
  • FIG. 1 shows the system architecture of the mobile phone 100.
  • the mobile phone 100 includes a wide-angle color camera 110, a wide-angle black-and-white camera 120 and a telephoto camera 130, a processor 140, a display screen 150, a memory 160, and a power source 170.
  • the wide-angle color camera 110, the wide-angle black-and-white camera 120, and the telephoto camera 130 are used to collect images of objects to be photographed, respectively.
  • the processor 140 can be used to process images.
  • Display 150 can be used to display an image.
  • the memory 160 can be used to store images.
  • Power source 170 can be used to power handset 100. The process of the user taking an image through the mobile phone 100 is as follows:
  • the user triggers at least one of the wide-angle color camera 110, the wide-angle black-and-white camera 120, and the telephoto camera 130 in the mobile phone 100 to capture an image of the object to be photographed, and transmits the acquired image to the processor 140.
  • the processor 140 processes the image acquired by the at least one image header and processes the image to obtain a preview image, and the preview image may be an image captured by one of the cameras, for example, an image acquired by the wide-angle color camera 110.
  • the processor 140 transmits the preview image to the display screen 150 for display so that the user can pass the display screen 150. See the preview image before shooting. Specifically, the preview image can be displayed through the display panel 151 in the display screen 150.
  • the user can input a shooting instruction through the touch panel 152 in the display screen 150, so that the mobile phone 100 cooperates with the wide-angle color camera 110, the wide-angle black-and-white camera 120, and the telephoto camera 130 to photograph the object to be photographed.
  • FIG. 2 is a flowchart of an image capturing method according to an embodiment of the present application.
  • the method is applied to the mobile phone shown in FIG. 1 as an example.
  • the process of this method is described as follows:
  • the scene can be understood as the environment in which the object is located, and the environment in which the object is located can be large or small. Therefore, one possible implementation manner of S101 is that the image capturing device determines the scene in which the object to be photographed is located by detecting the distance between the object to be photographed and the image capturing device.
  • the image capturing device can set a standard distance range in advance.
  • the distance between the image capturing device and the object to be photographed is greater than the maximum value within the standard distance range, it is determined that the scene in which the object to be photographed is located is a distant view.
  • the distance between the image capturing device and the object to be photographed is within the standard distance range, it is determined that the scene in which the object to be photographed is located is a medium scene.
  • the distance between the image capturing device and the object to be photographed is smaller than the minimum value within the standard distance range, it is determined that the scene in which the object to be photographed is located is a close-up.
  • S202 Select at least one camera suitable for the scene from among the three cameras included in the image capturing device according to the scene.
  • the image capturing device selects at least one camera suitable for capturing the scene according to the scene and the angle of view of the three cameras.
  • the image capturing device can divide the scene in which the object to be photographed is divided into a close view, a medium view, and a distant view. Then in the first way, there are three situations. In the first case, when the scene in which the object to be photographed is in close-up, the image capturing device selects a camera suitable for capturing the scene. In the second case, when the scene in which the object to be photographed is in the foreground, the image capturing device selects a camera suitable for capturing the scene. In the third case, when the scene in which the object to be photographed is in the middle scene, the image capturing device selects a camera suitable for capturing the scene.
  • the image capturing device can reverse the camera that needs to adopt the angle of view by the scene in which the object to be photographed is located.
  • the scene in which the object to be photographed is located is a close-up view.
  • the image capturing device can select a camera with a large angle of view.
  • the scene in which the object to be photographed is located is a medium shot.
  • the image capture device can select a camera with a moderate angle of view.
  • the scene in which the object to be photographed is located is a distant view.
  • the image capturing device can select a camera with a small angle of view.
  • the image capturing device may set a preset range of angle of view in advance.
  • the camera When the field of view of the camera is greater than the maximum value of the preset field of view, the camera has a larger field of view and is suitable for close-up shooting.
  • the field of view of the camera is less than the minimum value within the range of the preset field of view, the camera's field of view is considered to be small, suitable for long-range shooting.
  • the camera's field of view is considered moderate and suitable for mid-range shooting.
  • the image capturing device can select a camera with a larger angle of view to shoot. For example, since the wide-angle color camera has a large angle of view, a color image can be obtained. Therefore, the image capturing device can directly select a wide-angle color camera for shooting, which is simple and easy to implement. Of course, the image capture device can also select a wide-angle color camera and a wide-angle black and white camera to simultaneously shoot. This approach helps to improve the quality of the final captured image. This is because the wide-angle black-and-white camera has a strong ability to capture detailed information of an object to be photographed when capturing an image.
  • the wide-angle color camera has a strong ability to capture the color information of the object to be photographed when the image is captured. Therefore, the image capturing device combines the images acquired by the wide-angle color camera and the wide-angle black-and-white camera to obtain a higher quality of the captured image.
  • the image capturing device may select a camera with a small angle of view to shoot. For example, since the telephoto camera has a small field of view, if the third camera is a telephoto color camera, the image capturing device can directly select a telephoto color camera for shooting, which is simple and easy to implement. If the third camera is a telephoto black and white camera, the image capturing device can directly select the wide-angle color camera and the telephoto black-and-white camera to simultaneously shoot. Of course, the image capture device can also select three cameras to shoot at the same time. This method helps to improve the quality of the final captured image, the specific reasons will be introduced later.
  • the image capturing device selects at least one camera suitable for capturing the scene according to the brightness of the scene and the format of the camera.
  • the wide-angle color camera and the wide-angle black-and-white camera can be directly used for shooting. This is because the wide-angle color camera has a strong ability to capture color information and brightness information of an object to be photographed.
  • the wide-angle black and white camera has a strong ability to capture detailed information of the object to be photographed.
  • the image acquired by the two cameras is fused to obtain the brightness information, color information, sharpness, and the like of the finally captured image.
  • the image capture device can change the Quadra format of the wide-angle color camera into the Bayer format by the Remosaic algorithm, and then use the wide-angle color camera and the wide-angle black-and-white camera to shoot.
  • the camera is in the Quadra format, the four pixels in the image captured by the camera correspond to one brightness value, so the brightness value of the image is increased by 4 times, that is, the brightness value of the image is large. If the camera is in the Bayer format, one pixel in the image captured by the camera corresponds to a brightness value, and the brightness value in the image is small.
  • the Quadra format can be used to increase the brightness value of the final captured image. If the brightness of the scene is high, then the first camera can capture images with sufficient brightness values in the Bayer format. Therefore, the Quadra format can be converted to the Bayer format.
  • the manner in which the first camera is converted from the Quadra format to the Bayer format may be a Remosaic algorithm, that is, 4 pixels are converted from the original 1 luminance value to 4 luminance values, and the other 3 pixel points are used.
  • the brightness value is complemented by the difference reconstruction.
  • the image capturing device may adopt any one of the above two methods according to actual conditions.
  • the two methods can also be combined, and the present application does not specifically limit this.
  • S203 Acquire an image acquired by at least one camera at the same time on the object to be photographed, and process the acquired image to obtain an image of the object to be photographed.
  • the process of S203 can be specifically implemented in two steps.
  • the three cameras simultaneously acquire images of the object to be photographed;
  • the image capturing device will have three
  • the image captured by the camera is processed to obtain an image of the object to be photographed.
  • the image capture device can determine the number of frames of the image captured by each of the three cameras.
  • One possible implementation manner is that the image capturing device separately controls each camera to collect an image of the corresponding number of frames according to the brightness of the scene in which the object to be photographed is located.
  • the image capture device can control each camera to capture images of more frames.
  • the image capturing device can control each camera to capture images of fewer frames.
  • the brightness of the scene in which the object to be photographed is located can affect the signal-to-noise ratio of the image captured by the camera. If the brightness of the scene is low, the signal-to-noise ratio of the acquired image is relatively low, that is, the ratio of the effective signal to the noise in the acquired image is low, and the noise occupies a large component. At this time, in order to obtain a sufficient effective signal, the image capturing device can control the camera to capture images of more frames. If the brightness of the scene is large, the signal-to-noise of the acquired image is relatively large, that is, the ratio of the effective signal to the noise in the acquired image is large, that is, the composition of the noise is small. At this time, sufficient effective information can be obtained without collecting more images, so the image capturing device can control the camera to acquire fewer frame images.
  • the image capturing device may determine the number of frames of each camera to collect images by other means, which is not specifically limited in the present application.
  • each camera After the image capturing device determines the number of frames of images acquired by each camera, each camera acquires an image of the corresponding number of frames.
  • the image capture device can preprocess the images acquired by each camera separately.
  • the preprocessing process is as follows:
  • the image capturing device can perform noise reduction processing on the image acquired by each camera, and fuse all the frame images after the noise reduction processing to obtain an image with relatively high signal to noise ratio. In this way, each camera will correspond to an image with a relatively high signal to noise ratio. Then, the image capturing device can re-merge the image corresponding to each camera to initially obtain an image of the object to be photographed, and the image can directly be used as the image of the final object to be photographed.
  • the image capturing device may further process the image of the object to be photographed which is initially obtained.
  • the image capturing device may perform image enhancement processing on the initially obtained image of the object to be photographed according to the scene depth information to improve the quality of the image of the final object to be photographed.
  • the image fusion method may be various, such as a wavelet variation fusion method, a pyramid variation fusion method, and the like, which is not specifically limited in the present application.
  • the manner in which the image capturing device determines the depth information of the scene may be various.
  • the image capturing device may determine two cameras having equal fields of view among the three cameras, such as a wide-angle color camera and a wide-angle black-and-white camera, and then the image capturing device determines the depth information of the scene by the parallax of the images acquired by the two cameras.
  • the image capturing device may determine two cameras having equal fields of view among the three cameras, such as a wide-angle color camera and a wide-angle black-and-white camera, and then the image capturing device determines the depth information of the scene by the parallax of the images acquired by the two cameras.
  • the image capturing device may perform image enhancement processing on the image of the object to be photographed which is initially obtained according to the scene depth information.
  • the image capturing device may perform image enhancement processing of contrast and sharpness only on the image of the initially obtained object to be photographed according to the scene depth information, so as to improve the stereoscopic and layered feeling of the image of the final object to be photographed.
  • the image capturing device may perform image enhancement processing only on the foreground of the image of the object to be photographed, such as the sharpness of the portrait, according to the scene depth information, and does not process the sharpness of the background, or performs image blurring processing, similar to Personalized shooting is achieved when the user takes a picture with a large aperture.
  • the image capturing device may further obtain a preliminary image to be taken according to the depth information of the scene.
  • Image sharpening is performed on the sharpness of the area selected by the user on the image of the object, and no processing or image blurring processing is performed on other areas, which is similar to the effect of focusing after the user takes a picture first, thereby realizing personalized shooting.
  • the image of the object to be photographed may be output, for example, displayed on a display screen of the image capturing device or the like.
  • the image of the object to be photographed may be output, for example, displayed on a display screen of the image capturing device or the like.
  • the image capturing device does not change the focal length during the process of capturing an image, that is, the image capturing device performs normal 1x shooting. Another embodiment will be described below. In the following embodiments, the image capturing device performs zoom shooting.
  • FIG. 3 is a flowchart of another image capturing method provided by the present application. The process of this method is described as follows:
  • S301 Receive a zoom instruction, where the zoom instruction is used to indicate that the preview image currently displayed by the image capturing device is scaled.
  • the manner in which different image capture devices receive zoom instructions may vary.
  • the user can input a zoom instruction by performing a zoom operation on a preview image displayed on the touch screen, or can input a zoom instruction or the like through a volume key.
  • the user can adjust the zoom ring to input a zoom command to zoom in on the preview image.
  • the image capture device may have other manners of receiving the zoom instruction, which is not specifically limited in this application.
  • S302 Select at least one camera suitable for the zoom ratio from among three cameras included in the image capturing device according to a scaling ratio corresponding to the zoom instruction.
  • the image capturing device inputs the zooming instruction by the user's zooming operation on the preview image, the user zooms in on the preview image to a greater extent, and the zoom ratio is larger. The user zooms in on the preview image to a lesser extent, and the zoom ratio is smaller.
  • the image capture device inputs the zoom command by adjusting the zoom ring by the user, the larger the amplitude of the zoom ring is adjusted by the user, the larger the zoom ratio is, and the smaller the amplitude of the zoom ring is adjusted by the user, the smaller the zoom ratio is.
  • the zoom magnification there is a certain relationship between the zoom magnification and the zoom ratio.
  • the zoom ratio in this paper can also be understood as the zoom magnification.
  • the image capturing device may select a camera suitable for the zoom ratio according to the zoom ratio and the resolution of the three cameras.
  • the designer can pre-design the resolution relationship between the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto color camera.
  • the resolution of a wide-angle color camera is smaller than the resolution of a wide-angle black-and-white camera, and the resolution of a wide-angle black-and-white camera is greater than or equal to the resolution of a telephoto color camera.
  • the resolution of the camera has a certain correlation with the resolution of the camera, so the resolution relationship between the three cameras can also be reflected indirectly through the resolution relationship.
  • the resolution of the wide-angle color camera is Wa*Ha
  • the resolution of the wide-angle black-and-white camera is Wb*Hb
  • the resolution of the telephoto camera is Wc*Hc.
  • H is the height direction
  • W is the width direction.
  • Wa is less than or equal to Wb.
  • S can be understood as the resolution enhancement factor introduced by the image capturing device when processing the wide-angle black-and-white camera according to the super-resolution technique (the manner of determining the S will be described later). Since the telephoto camera can be a telephoto black and white camera or a telephoto color camera, the following two cases are introduced.
  • the image capturing device has three cameras, which are a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto color camera.
  • the image capturing device may preset a scaling factor F 0 .
  • the image capture device can compare the scale (F) corresponding to the indented zoom instruction with a preset zoom ratio (F 0 ). There are three cases of comparison results, that is, F is greater than F 0 , equal to F 0 , or less than F 0 .
  • the image capturing device determines the scaling factor F 0 .
  • the angle of view of the wide-angle color camera is ⁇
  • the angle of view of the wide-angle black and white camera is ⁇
  • the angle of view of the telephoto camera is ⁇ , ⁇ > ⁇ .
  • the telephoto camera is specifically a telephoto color camera, so when F is less than or equal to F 0 , the image capturing device selects a wide-angle color camera and a wide-angle black-and-white camera to capture an image of the object to be photographed. When F is greater than F 0 , the image capturing device selects a wide-angle black and white camera and a telephoto color camera to capture an image of the object to be photographed.
  • the resolution of the wide-angle black-and-white camera is greater than the resolution of the telephoto color camera.
  • both have the same horizontal resolution and vertical resolution, but in the diagonal direction, the resolution of the wide-angle black-and-white camera is greater than the resolution of the telephoto color camera. Therefore, when the zoom ratio input by the user is small, the image capturing device performs shooting through the wide-angle color camera and the wide-angle black-and-white camera.
  • the image capturing device can switch the wide-angle color camera to the telephoto color camera, that is, the wide-angle black-and-white camera and the telephoto color camera, because the resolution of the wide-angle black-and-white camera is large, even if the user
  • the preview image is "zoomed in” to a larger extent, and the sharpness of the image is better.
  • the image capturing device has three cameras, which are a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto black-and-white camera.
  • the telephoto camera is specifically a telephoto black and white camera, and when F is less than or equal to F 0 , the image capturing device performs shooting through a wide-angle color camera and a wide-angle black and white camera. When F is greater than F 0 , the image capturing device performs shooting through the wide-angle color camera and the telephoto black-and-white camera.
  • the resolution of the wide-angle black-and-white camera is equal to the resolution of the telephoto color camera. Therefore, if the zoom ratio input by the user is small, the image capturing device shoots through the wide-angle color camera and the wide-angle black-and-white camera. When the user gradually increases the zoom ratio, the image capturing device can switch the wide-angle black-and-white camera to the telephoto black-and-white camera, that is, the wide-angle color camera and the telephoto black-and-white camera, because the resolution of the wide-angle black-and-white camera is equal to that of the telephoto color camera. Resolution, so even if the user "zooms in" the preview image to a large extent, the sharpness of the image will not jump.
  • the wide-angle color camera may be in the Bayer format or the Quadra format. Taking the wide-angle color camera as the Quadra format as an example, if you use a wide-angle color camera to capture images under zoom shooting, you can consider adjusting the format of the wide-angle color camera according to the brightness value of the scene.
  • the image capture device can change the Quadra format of the wide-angle color camera into the Bayer format by the Remosaic algorithm, and then use the wide-angle color camera to shoot.
  • the image has an initial value of resolution.
  • the initial value of the resolution of the image tends to be low, so the image capture device can increase the initial value of the resolution of the image.
  • the image capturing device can only increase the resolution of the image to an optimum value by super-resolution technology. S can be understood as the difference between the optimum value and the initial value.
  • S303 Acquire at least one camera to simultaneously treat an image acquired by the captured object, and process the acquired image to obtain an image of the object to be photographed.
  • S303 can be implemented in two steps.
  • each camera captures an image of the object to be photographed;
  • the image capturing device processes the image acquired by each camera to obtain an image of the object to be photographed.
  • These two steps are similar to the two steps of S203 in the aforementioned embodiment shown in FIG. The only difference is that in the second step here, the process of cropping the image of the object to be photographed by the image capturing device is increased.
  • the device may crop the object to be photographed to obtain a captured image of the object that the user desires to "zoom in”.
  • the image capturing device may crop the first image captured by the wide-angle color camera and the second image captured by the wide-angle black-and-white camera.
  • the image capturing device may crop the first image captured by the wide-angle color camera and the second image captured by the wide-angle black-and-white camera.
  • the image capturing device can reduce the length and width of the first image or the second image by F times.
  • F is the scaling determined by the aforementioned image capturing device according to the scaling instruction.
  • the size of the first image before being cropped is: length L 1 , width H 1
  • the size of the first image after cropping is: length L 1 /F, width H 1 /F
  • the size of the second image before being cropped is: length L 2 , width H 2
  • the size of the second image after cropping is: length L 2 /F, width H 2 /F.
  • the image capturing device can reduce the length and width of the first image or the second image by WF times.
  • W is used to indicate the ratio of the resolution between the wide-angle color camera and the wide-angle black-and-white camera.
  • the resolution of a wide-angle color camera is A
  • the resolution of a wide-angle black-and-white camera is B
  • W A/B.
  • the size of the first image before being cropped is: length L 1 , width H 1
  • the size of the first image after cropping is: length L 1 /W/F, width H 1 /W/F.
  • the size of the second image before it is cropped is: length L 2 /WF, width H 2 /F
  • size of the second image after cropping length: L 2 /F/W, width: H 2 /F/W .
  • This type of cropping is suitable for wide-angle color cameras and wide-angle black and white cameras with different resolutions.
  • the position of each camera in the image capture device may be arbitrary. For example, all cameras may be disposed more concentrated at a certain position in the image capturing setting, or may be dispersedly disposed at different positions in the image capturing device.
  • the image capturing device is provided with three cameras as an example. Please refer to FIG. 4, which illustrates a possible arrangement between three cameras (cameras A-C) in the image capture device.
  • FIG. 4 illustrates a possible arrangement between three cameras (cameras A-C) in the image capture device.
  • the positions of the respective cameras are not limited to the several arrangements listed in FIG. 4, and may be based on actual conditions. The situation depends on it.
  • a plurality of cameras may be located on the same horizontal surface, that is, there is no height difference between the two cameras. In this way, the image capture device can be prevented from being too thick, which helps to improve the user experience.
  • the ordering between multiple cameras on the same plane can also be arbitrary.
  • an optical image stabilizer may be provided for each camera to prevent blurring of the captured image due to user's jitter during image capture.
  • OIS optical image stabilizer
  • the image capturing device includes three cameras: a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera.
  • a wide-angle black-and-white camera is suitable for capturing close-ups and capturing objects to be photographed.
  • the ability to be more detailed the wide-angle color camera is suitable for shooting close-ups and has the ability to obtain color information of the object to be photographed, while the telephoto camera is suitable for shooting distant scenes.
  • the image capturing device can take advantage of the respective advantages of the three cameras to obtain an image of a better-quality object to be photographed, thereby improving the quality of the obtained image.
  • FIG. 5 shows a schematic structural view of an image capturing device 500.
  • the image capture device 500 can implement the functions of the image capture device referred to above.
  • the image capturing device 500 may include an input unit 501, a processing unit 502, and an output unit 503.
  • the input unit 501 can be used to execute S301 in the embodiment shown in FIG. 3, and/or other processes for supporting the techniques described herein.
  • Processing unit 502 can be used to perform S302-S303 in the embodiment illustrated in FIG. 3, and/or other processes for supporting the techniques described herein.
  • Output unit 503 can be used to perform S304 in the embodiment shown in FIG. 3, and/or other processes for supporting the techniques described herein. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • FIG. 6 shows a schematic structural view of an image capturing device 600.
  • the image capture device 600 can implement the functions of the image capture device referred to above.
  • the image capture device 600 can include a processing unit 601 and an output unit 602. Wherein, the processing unit 601 can be used to execute S201-S203 in the embodiment shown in FIG. 2, and/or other processes for supporting the techniques described herein.
  • Output unit 602 can be used to perform S204 in the embodiment shown in FIG. 2, and/or other processes for supporting the techniques described herein. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • the image capturing device 500 and the image capturing device 600 described above are presented in the form of functional units.
  • the term "unit” as used herein, without limitation, may refer to an application-specific integrated circuit (ASIC), electronic circuit, (shared, dedicated, or group) that executes one or more software or firmware programs.
  • a processor and memory, combinational logic, and/or other suitable components that provide the described functionality.
  • any one of the image capture device 500 and the image capture device 600 can also be implemented by the structure shown in FIG.
  • the image capture device 700 can include a memory 701, a processor 702, and a bus 703.
  • the memory 701 and the processor 702 can be connected by a bus 703.
  • the memory 701 is configured to store computer execution instructions.
  • the processor 702 executes computer execution instructions stored in the memory 701 to cause the image capturing apparatus 700 to perform the embodiment provided in the embodiment shown in FIG. 2 or FIG. 3.
  • Image capture method For a specific image capturing method, reference may be made to the related descriptions in the above and the drawings, and details are not described herein again.
  • the processor 702 may be a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit. (central processor unit, CPU), network processor (NP), digital signal processor (DSP), microcontroller (micro controller unit (MCU), can also use programmable controller (programmable Logic device, PLD) or other integrated chip.
  • the bus 703 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus 703 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 7, but it does not mean that there is only one bus or one type of bus.
  • the invention may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another readable storage medium, for example, the computer instructions can be passed from a website site, computer, server or data center Wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium eg, a solid state disk (SSD)

Landscapes

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

Abstract

Disclosed are an image capturing apparatus and method. The apparatus comprises: a wide-angle colour camera, a wide-angle black-and-white camera, a telephoto camera, a processor and a memory, wherein the wide-angle colour camera, the wide-angle black-and-white camera and the telephoto camera are arranged on the same side of a housing of the image capturing apparatus; the angles of view of the wide-angle black-and-white camera and the wide-angle colour camera are the same, and the angle of view of the telephoto camera is smaller than the angle of view of the wide-angle colour camera; the memory is used to store a static or dynamic image, captured by at least one of the wide-angle colour camera, the wide-angle black-and-white camera and the telephoto camera, of an object to be photographed; and the processor is used to process the static or dynamic image, so as to obtain an image of the object to be photographed.

Description

一种图像捕捉装置及方法Image capturing device and method 技术领域Technical field
本申请涉及图像处理技术领域,尤其涉及一种图像捕捉装置及方法。The present application relates to the field of image processing technologies, and in particular, to an image capturing device and method.
背景技术Background technique
为了提高拍照效果,业界提出了在图像捕捉装置中设置双摄像头,利用两个摄像头捕捉的图像信息之间的差异,进行图像信息的互补,可以提升拍摄的图像质量。尤其是对于手机制造商而言,双摄像头系统越来越受青睐,正逐步成为当下各手机的标配。In order to improve the photographing effect, the industry proposes to set a dual camera in the image capturing device, and use the difference between the image information captured by the two cameras to complement the image information, thereby improving the quality of the captured image. Especially for mobile phone manufacturers, dual camera systems are becoming more and more popular, and are gradually becoming the standard for all mobile phones.
但是实际上,目前配置有双摄像头的图像捕捉装置在拍摄图像时,只是将两个摄像头获取的图像进行简单的融合。而这种方式无法在各种场景下均拍摄出质量较高的图像。举例来说,图像捕捉装置配置有广角和长焦双摄头,该图像捕捉装置通过这两个摄像头分别获取两张图像,然后将两张图像融合获得最终拍摄的图像。而由于广角摄像头的视场角比较大,适合近景拍摄,长焦摄像头的视场角比较小,适合远景拍摄。而视场角不匹配的两个摄像头获得的两张图像融合后得到的最终图像的立体感较差,图像质量较差。However, in reality, the image capturing device currently equipped with a dual camera simply combines the images acquired by the two cameras when capturing an image. In this way, it is impossible to take higher quality images in various scenes. For example, the image capturing device is configured with a wide-angle and telephoto dual camera, and the image capturing device respectively acquires two images through the two cameras, and then fuses the two images to obtain a final captured image. Since the wide-angle camera has a large field of view, it is suitable for close-range shooting. The telephoto camera has a small field of view and is suitable for long-range shooting. The final image obtained by the fusion of the two images obtained by the two cameras whose field of view angles are not matched has a poor stereoscopic effect and poor image quality.
可见,目前的图像捕捉装置中即使配置有双摄像头也仍然无法在各种场景下均得到质量较高的图像。It can be seen that even in the current image capturing device, even if a dual camera is disposed, it is still impossible to obtain a high quality image in various scenes.
发明内容Summary of the invention
本申请提供一种图像捕捉装置及方法,用于提高图像拍摄质量。The application provides an image capture device and method for improving image capture quality.
第一方面,本申请提供一种图像捕捉装置。该图像捕捉装置包括:广角彩色摄像头、广角黑白摄像头、长焦摄像头、处理器和存储器;其中,广角彩色摄像头、广角黑白摄像头和长焦摄像头设置于图像捕捉装置的壳体的同一侧面;广角黑白摄像头和广角彩色摄像头的视场角相同,长焦摄像头的视场角小于广角彩色摄像头的视场角;存储器用于存储广角彩色摄像头、广角黑白摄像头或长焦摄像头中的至少一个摄像头捕捉的待拍摄物体的静态或动态图像;处理器用于处理所述静态或动态图像,得到待拍摄物体的图像。In a first aspect, the present application provides an image capture device. The image capturing device comprises: a wide-angle color camera, a wide-angle black-and-white camera, a telephoto camera, a processor and a memory; wherein the wide-angle color camera, the wide-angle black-and-white camera and the telephoto camera are disposed on the same side of the housing of the image capturing device; The field of view of the camera and the wide-angle color camera are the same, the field of view of the telephoto camera is smaller than the field of view of the wide-angle color camera; and the memory is used to store at least one of the wide-angle color camera, the wide-angle black-and-white camera, or the telephoto camera. A static or moving image of the object is taken; the processor is configured to process the static or dynamic image to obtain an image of the object to be photographed.
在本申请中,图像捕捉装置具备三个摄像头,分别为广角彩色摄像头、广角黑白摄像头和长焦摄像头,这三个摄像头各有优势,例如广角黑白摄像头的视场角较大,适合拍摄近景并且具有较强的捕捉待拍摄物体的细节的能力,广角彩色摄像头的视场角较大,适合拍摄近景并且具有较强的捕捉待拍摄物体的颜色信息的能力,而长焦摄像头的视场角较小,适合拍摄远景。图像捕捉装置可以利用这个三个摄像头各自的优势在不同的场景(例如近景、远景等)下均能得到质量较好的待拍摄物体的图像,从而提高图像拍摄质量。 In the present application, the image capturing device has three cameras, which are a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera. Each of the three cameras has advantages. For example, the wide-angle black-and-white camera has a large field of view, which is suitable for shooting close-ups. With strong ability to capture the details of the object to be photographed, the wide-angle color camera has a larger field of view, which is suitable for shooting close-ups and has a strong ability to capture the color information of the object to be photographed, while the telephoto camera has a larger field of view. Small, suitable for shooting distant views. The image capturing device can take advantage of the advantages of the three cameras to obtain an image of a better-quality object to be photographed under different scenes (such as close-up, distant view, etc.), thereby improving image capturing quality.
在一个可能的设计中,广角彩色摄像头位于广角黑白摄像头和长焦摄像头之间。In one possible design, the wide-angle color camera is located between the wide-angle black and white camera and the telephoto camera.
在本申请中,由于广角彩色摄像头的视场角较大,并且可以获得彩色图像,所以图像捕捉装置可以将广角彩色摄像头作为主摄像头使用,而另外两个摄像头可作为辅助摄像头。广角彩色摄像头设置在广角黑白摄像头和长焦摄像头之间时,该广角彩色摄像头便可以在主视场范围内捕捉更多的待拍摄物体的信息。In the present application, since the wide angle color camera has a large field of view and a color image can be obtained, the image capturing device can use the wide-angle color camera as the main camera, and the other two cameras can serve as the auxiliary camera. When the wide-angle color camera is set between the wide-angle black-and-white camera and the telephoto camera, the wide-angle color camera can capture more information about the object to be photographed in the main field of view.
在一个可能的设计中,长焦摄像头为长焦彩色摄像头。In one possible design, the telephoto camera is a telephoto color camera.
在本申请中,由于长焦摄像头适合拍摄远处的景物,所以若该长焦摄像头是长焦彩色摄像头,那么图像拍摄设备便可以获得远处景物的颜色信息。并且图像捕捉装置中的三个摄像头之间可以切换使用。例如由近景切换为远景时,由于长焦摄像头适合拍摄远景,所以图像捕捉装置可以由广角彩色摄像头和广角黑白摄像头切换到长焦摄像头,由于长焦摄像头是彩色摄像头,便可以保证切换后图像变化不会突兀。In the present application, since the telephoto camera is suitable for shooting distant scenes, if the telephoto camera is a telephoto color camera, the image capturing device can obtain color information of the distant scene. And the three cameras in the image capture device can be switched between. For example, when switching from a close-up to a distant view, since the telephoto camera is suitable for shooting a distant view, the image capturing device can be switched from a wide-angle color camera and a wide-angle black-and-white camera to a telephoto camera. Since the telephoto camera is a color camera, the image change after switching can be ensured. It won't be awkward.
在一个可能的设计中,长焦摄像头为内置摄像头,广角彩色摄像头和广角黑白摄像头设置于图像捕捉装置的外置配件上,外置配件可旋转的连接于图像捕捉装置的边框,外置配件与图像捕捉装置的显示屏之间所形成的角度为0-360度之间的任意角度。In one possible design, the telephoto camera is a built-in camera, the wide-angle color camera and the wide-angle black-and-white camera are disposed on the external components of the image capture device, and the external accessories are rotatably connected to the frame of the image capture device, and the external accessories are The angle formed between the display screens of the image capture device is any angle between 0 and 360 degrees.
在本申请中,图像捕捉装置具备的三个摄像头中的广角彩色摄像头和广角黑白摄像头可以设置在该图像捕捉装置的外置配件上。当该外置配件旋转时,广角彩色摄像头和广角黑白摄像头同时旋转。以图像捕捉装置是手机为例,若用户想要用该手机自拍,那么旋转外置配件正对用户,即通过广角彩色摄像头和广角黑白摄像头通过进行自拍,已得到质量更高的自拍图像。In the present application, a wide-angle color camera and a wide-angle black-and-white camera among the three cameras provided in the image capturing device may be disposed on an external component of the image capturing device. When the external accessory is rotated, the wide-angle color camera and the wide-angle black-and-white camera rotate simultaneously. Taking the image capture device as a mobile phone as an example, if the user wants to take a self-portrait with the mobile phone, the rotating external accessory is facing the user, that is, through the wide-angle color camera and the wide-angle black-and-white camera, a self-portrait image with higher quality has been obtained.
第二方面,本申请提供一种图像捕捉方法,该方法可通过包括广角彩色摄像头、广角黑白摄像头、长焦彩色摄像头的装置来实现;其中,广角彩色摄像头和广角黑白摄像头的视场角相同,且长焦彩色摄像头的视场角小于广角彩色摄像头的视场角,所述广角黑白摄像头的解像力大于等于所述长焦彩色摄像头的解像力;该方法包括:接收缩放指令,缩放指令用于对该装置当前的预览图像进行缩放;若缩放指令对应的缩放比例小于或等于预设比例,获取广角彩色摄像头和广角黑白摄像头分别同时对待拍摄物体捕捉的图像;并输出待拍摄物体的图像,其中,待拍摄物体的图像为将广角彩色摄像头和广角黑白摄像头捕捉的图像进行融合后得到;或若缩放比例对应的缩放比例大于预设比例,获取广角黑白摄像头和长焦彩色摄像头同时对待拍摄物体捕捉的图像;并输出待拍摄物体的图像,其中,待拍摄物体的图像为将广角白摄像头和长焦彩色摄像头捕捉的图像进行融合后得到的。In a second aspect, the present application provides an image capturing method, which can be implemented by a device including a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto color camera; wherein the wide-angle color camera and the wide-angle black-and-white camera have the same angle of view, And the field of view of the telephoto color camera is smaller than the field of view of the wide-angle color camera, the resolution of the wide-angle black-and-white camera is greater than or equal to the resolution of the telephoto color camera; the method includes: receiving a zoom instruction, the zoom instruction is used to The current preview image of the device is scaled; if the scaling ratio corresponding to the zoom instruction is less than or equal to the preset ratio, the wide-angle color camera and the wide-angle black-and-white camera respectively acquire the image captured by the captured object; and output an image of the object to be photographed, wherein, The image of the captured object is obtained by fusing the image captured by the wide-angle color camera and the wide-angle black-and-white camera; or if the zoom ratio corresponding to the zoom ratio is greater than the preset ratio, obtaining the wide-angle black-and-white camera and the telephoto color camera simultaneously capturing the image captured by the captured object ; An output image of an object to be photographed, wherein the image of the object to be photographed after the camera wide angle and telephoto white color camera captured image obtained by fusion.
通常,在缩放比例逐渐增大的过程中,即用户将预览图像逐渐放大的过程中,图像的清晰度会逐渐下降,用户可以明显的感受到放大的图像较为模糊。在本申请中,图像捕捉装置可以根据不同的缩放比例从三个摄像头中选择不同的摄像头来捕捉待拍摄物体的图像。当缩放比例较小时,图像捕捉装置通过广角彩色摄像头和广角黑白摄像头来捕捉待拍摄物体的图像,当缩放比例较大时,图像捕捉装置通过广角黑白摄像头和长焦彩色摄像头来捕捉待拍摄物体的图像,由于广角黑白摄像头的解像力较大,所以在缩放比例逐渐增大的过程中,虽然将广角彩色摄像头切换成长焦彩色摄像头,也可以保证清晰度不会下降。Generally, in the process of gradually increasing the zoom ratio, that is, the user gradually enlarges the preview image, the sharpness of the image gradually decreases, and the user can obviously feel that the enlarged image is blurred. In the present application, the image capturing device may select different cameras from among the three cameras to capture images of the object to be photographed according to different scaling ratios. When the zoom ratio is small, the image capturing device captures an image of the object to be photographed by the wide-angle color camera and the wide-angle black-and-white camera. When the zoom ratio is large, the image capturing device captures the object to be photographed through the wide-angle black-and-white camera and the telephoto color camera. Image, because the wide-angle black-and-white camera has a large resolution, so in the process of gradually increasing the zoom ratio, although the wide-angle color camera is switched to a focal-focus color camera, the resolution can be ensured not to decrease.
在一个可能的设计中,在获取对待拍摄物体捕捉的图像之前,该方法还包括:确定待拍摄物体所处场景的亮度值;根据该亮度值,分别控制广角彩色摄像头、广角黑 白摄像头和长焦彩色摄像头中每个摄像头捕捉对应帧数的图像。In a possible design, before acquiring the image captured by the object to be photographed, the method further comprises: determining a brightness value of a scene in which the object to be photographed is located; and controlling the wide-angle color camera and the wide-angle black according to the brightness value respectively Each camera in the white camera and the telephoto color camera captures an image of the corresponding number of frames.
在本申请中,图像捕捉装置可以通过待拍摄物体所处场景的亮度值来决定每个摄像头捕捉多少帧的图像,例如场景较亮时,每个摄像头可以捕捉较少帧数的图像,场景较暗时,每个摄像头可以捕捉较多帧数的图像。In the present application, the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
在一个可能的设计中,根据亮度值分别控制每个摄像头捕捉对应帧数的图像,包括:若亮度值大于第一预设亮度值,则控制每个摄像头捕捉P帧图像;或若亮度值小于等于第二预设亮度值,则控制每个摄像头捕捉Q帧图像;其中,第二预设亮度值小于第一预设亮度值,P、Q为正整数,且P大于Q。In a possible design, each camera captures an image of the corresponding number of frames according to the brightness value, including: if the brightness value is greater than the first preset brightness value, controlling each camera to capture the P frame image; or if the brightness value is less than Equal to the second preset brightness value, controlling each camera to capture the Q frame image; wherein, the second preset brightness value is less than the first preset brightness value, P, Q are positive integers, and P is greater than Q.
在本申请中,图像捕捉装置可以通过待拍摄物体所处场景的亮度值来决定每个摄像头捕捉多少帧的图像,例如场景较亮时,每个摄像头可以捕捉较少帧数的图像,场景较暗时,每个摄像头可以捕捉较多帧数的图像。In the present application, the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
在一个可能的设计中,在输出待拍摄物体的图像之前,该方法还包括:确定待拍摄物体所处的场景的深度信息;根据深度信息,对获得的对待拍摄物体捕捉的图像进行处理。In one possible design, before outputting the image of the object to be photographed, the method further comprises: determining depth information of the scene in which the object to be photographed is located; and processing the obtained image captured by the object to be photographed according to the depth information.
在本申请中,图像捕捉装置可以根据待拍摄物体所处的场景的深度信息,对获得的对待拍摄物体捕捉的图像进行处理,从而提高图像的立体感和层次感。In the present application, the image capturing device can process the obtained image captured by the object to be photographed according to the depth information of the scene in which the object to be photographed is located, thereby improving the stereoscopic and layered feeling of the image.
第三方面,本申请提供一种图像捕捉方法,该方法可以通过包括广角彩色摄像头、广角黑白摄像头、长焦黑白摄像头的装置来实现;其中,广角彩色摄像头和广角黑白摄像头的视场角相同,且长焦黑白摄像头的视场角小于广角彩色摄像头的视场角,广角黑白摄像头的解像力大于等于长焦彩色摄像头的解像力,该方法包括:接收缩放指令,缩放指令用于对装置当前的预览图像进行缩放;若缩放指令对应的缩放比例小于或等于预设比例,获取广角彩色摄像头和广角黑白摄像头分别同时对待拍摄物体捕捉的图像;并输出待拍摄物体的图像,其中,待拍摄物体的图像为将广角彩色摄像头和广角黑白摄像头捕捉的图像进行融合后得到;或若缩放比例对应的缩放比例大于预设比例,获取广角彩色摄像头和长焦黑白摄像头同时对待拍摄物体捕捉的图像;并输出待拍摄物体的图像,其中,待拍摄物体的图像为将广角彩色摄像头和长焦黑白摄像头捕捉的图像进行融合后得到。In a third aspect, the present application provides an image capturing method, which can be implemented by a device including a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto black-and-white camera; wherein the wide-angle color camera and the wide-angle black-and-white camera have the same angle of view, The field of view of the telephoto black and white camera is smaller than the field of view of the wide-angle color camera. The resolution of the wide-angle black-and-white camera is greater than or equal to the resolution of the telephoto color camera. The method includes: receiving a zoom instruction, and the zoom instruction is used to preview the current image of the device. If the zoom ratio corresponding to the zoom instruction is less than or equal to the preset ratio, the wide-angle color camera and the wide-angle black-and-white camera respectively acquire the image captured by the captured object; and output an image of the object to be photographed, wherein the image of the object to be photographed is The image captured by the wide-angle color camera and the wide-angle black-and-white camera is merged; or if the zoom ratio corresponding to the zoom ratio is greater than the preset ratio, the wide-angle color camera and the telephoto black-and-white camera are simultaneously taken to the image captured by the captured object; Subject image, wherein, to obtain the image of an object to be photographed is fused color camera wide angle and telephoto camera to capture monochrome images.
通常,在缩放比例逐渐增大的过程中,即用户将预览图像逐渐放大的过程中,图像的清晰度会逐渐下降,用户可以明显的感受到放大的图像较为模糊。在本申请中,图像捕捉装置可以根据不同的缩放比例从三个摄像头中选择适合的摄像头来捕捉待拍摄物体的图像。当缩放比例较小时,图像捕捉装置通过广角彩色摄像头和广角黑白摄像头来捕捉待拍摄物体的图像,当缩放比例较大时,图像捕捉装置通过广角彩色摄像头和长焦黑白摄像头来捕捉待拍摄物体的图像,由于广角黑白摄像头的解像力较大,所以在缩放比例逐渐增大的过程中,虽然将广角黑白摄像头切换成长焦黑白摄像头,也可以保证清晰度不会下降。Generally, in the process of gradually increasing the zoom ratio, that is, the user gradually enlarges the preview image, the sharpness of the image gradually decreases, and the user can obviously feel that the enlarged image is blurred. In the present application, the image capturing device may select an appropriate camera from among the three cameras to capture an image of the object to be photographed according to different scaling ratios. When the zoom ratio is small, the image capturing device captures the image of the object to be photographed by the wide-angle color camera and the wide-angle black-and-white camera. When the zoom ratio is large, the image capturing device captures the object to be photographed through the wide-angle color camera and the telephoto black-and-white camera. Image, because the wide-angle black-and-white camera has a large resolution, so in the process of gradually increasing the zoom ratio, although the wide-angle black-and-white camera is switched to the black-and-white camera, the resolution is not reduced.
在一个可能的设计中,在获取对待拍摄物体捕捉的图像之前,该方法还包括:确定待拍摄物体所处场景的亮度值;根据亮度值,分别控制广角彩色摄像头、广角黑白摄像头和长焦黑白摄像头中每个摄像头捕捉对应帧数的图像。In a possible design, before acquiring the image captured by the object to be photographed, the method further comprises: determining a brightness value of the scene where the object to be photographed is located; and controlling the wide-angle color camera, the wide-angle black and white camera, and the telephoto black and white according to the brightness value respectively. Each camera in the camera captures an image of the corresponding number of frames.
在本申请中,图像捕捉装置可以通过待拍摄物体所处场景的亮度值来决定每个摄像头捕捉多少帧的图像,例如场景较亮时,每个摄像头可以捕捉较少帧数的图像,场 景较暗时,每个摄像头可以捕捉较多帧数的图像。In the present application, the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene in which the object to be photographed is located. For example, when the scene is bright, each camera can capture images of fewer frames. When the scene is dark, each camera can capture images with more frames.
在一个可能的设计中,根据亮度值分别控制每个摄像头捕捉对应帧数的图像,包括:若亮度值大于第一预设亮度值,则控制每个摄像头捕捉P帧图像;或若亮度值小于等于第二预设亮度值,则控制每个摄像头捕捉Q帧图像;其中,第二预设亮度值小于第一预设亮度值,P、Q为正整数,且P大于Q。In a possible design, each camera captures an image of the corresponding number of frames according to the brightness value, including: if the brightness value is greater than the first preset brightness value, controlling each camera to capture the P frame image; or if the brightness value is less than Equal to the second preset brightness value, controlling each camera to capture the Q frame image; wherein, the second preset brightness value is less than the first preset brightness value, P, Q are positive integers, and P is greater than Q.
在本申请中,图像捕捉装置可以通过待拍摄物体所处场景的亮度值来决定每个摄像头捕捉多少帧的图像,例如场景较亮时,每个摄像头可以捕捉较少帧数的图像,场景较暗时,每个摄像头可以捕捉较多帧数的图像。In the present application, the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
在一个可能的设计中,在输出待拍摄物体的图像之前,该方法还包括:确定所述待拍摄物体所处的场景的深度信息;根据深度信息,对获得的对待拍摄物体捕捉的图像进行处理。In a possible design, before outputting the image of the object to be photographed, the method further comprises: determining depth information of the scene in which the object to be photographed is located; and processing the obtained image captured by the object to be photographed according to the depth information .
在本申请中,图像捕捉装置可以根据待拍摄物体所处的场景的深度信息,对获得的对待拍摄物体捕捉的图像进行处理,从而提高图像的立体感和层次感。In the present application, the image capturing device can process the obtained image captured by the object to be photographed according to the depth information of the scene in which the object to be photographed is located, thereby improving the stereoscopic and layered feeling of the image.
第四方面,本申请提供一种图像捕捉方法,该方法可以通过包括广角彩色摄像头、广角黑白摄像头、长焦黑白摄像头的装置来实现;其中,广角彩色摄像头和广角黑白摄像头的视场角相同,且长焦黑白摄像头的视场角小于广角彩色摄像头的视场角,该方法包括:确定待拍摄物体所处的场景;若场景为远景,获取广角彩色摄像头、广角黑白摄像头和长焦摄像头分别同时对待拍摄物体捕捉的图像;根据广角彩色摄像头采集的第一图像和广角黑白摄像头采集的第二图像确定场景的深度信息;根据深度信息对第一预拍摄图像进行处理,得到待拍摄物体的图像;第一预拍摄图像由第一图像、第二图像和长焦摄像头采集的第三图像进行融合得到。In a fourth aspect, the present application provides an image capturing method, which can be implemented by a device including a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto black-and-white camera; wherein the wide-angle color camera and the wide-angle black-and-white camera have the same angle of view, And the field of view of the telephoto black and white camera is smaller than the angle of view of the wide-angle color camera, the method includes: determining a scene in which the object to be photographed is located; if the scene is a distant view, acquiring a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera respectively The image captured by the object to be photographed; the depth information of the scene is determined according to the first image acquired by the wide-angle color camera and the second image captured by the wide-angle black and white camera; and the first pre-capture image is processed according to the depth information to obtain an image of the object to be photographed; The first pre-captured image is obtained by fusing the first image, the second image, and the third image captured by the telephoto camera.
在本申请中,图像捕捉装置包括三个摄像头分别为广角彩色摄像头、广角黑白摄像头、长焦摄像头,三个摄像头各有优势,例如广角黑白摄像头适合拍摄近景并且捕捉待拍摄物体的细节的能力较强,广角彩色摄像头适合拍摄近景并且获取待拍摄物体的颜色信息的能力较强,而长焦摄像头适合拍摄远景。由于广角彩色摄像头和广角黑白摄像头的视场角相同,所以图像捕捉装置可以基于这两个摄像头得到场景的深度信息,然后根据该深度信息对第一预拍摄图像进行处理,使得最终得到的待拍摄物体的图像的立体感层次感较强。In the present application, the image capturing device includes three cameras: a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera. Each of the three cameras has advantages. For example, the wide-angle black-and-white camera is suitable for capturing close-ups and capturing the details of the object to be photographed. The strong, wide-angle color camera is suitable for shooting close-ups and has the ability to capture color information of objects to be photographed, while the telephoto camera is suitable for shooting distant scenes. Since the angle of view of the wide-angle color camera and the wide-angle black-and-white camera are the same, the image capturing device can obtain the depth information of the scene based on the two cameras, and then process the first pre-shot image according to the depth information, so that the final image to be captured is obtained. The image of the object has a strong sense of three-dimensionality.
在一个可能的设计中,该方法还包括:若场景为近景,获取广角彩色摄像头和广角黑白摄像头分别同时对待拍摄物体捕捉的图像;根据广角彩色摄像头采集的第三图像和广角黑白摄像头采集的第四图像确定场景的深度信息;根据场景深度信息对第二预拍摄图像进行处理,得到待拍摄物体的图像;第二预拍摄图像由第三图像和第四图像进行融合得到。In a possible design, the method further comprises: if the scene is a close-up, acquiring a wide-angle color camera and a wide-angle black-and-white camera respectively to simultaneously capture an image captured by the captured object; the third image acquired by the wide-angle color camera and the wide-angle black-and-white camera. The four images determine the depth information of the scene; the second pre-capture image is processed according to the scene depth information to obtain an image of the object to be photographed; and the second pre-capture image is obtained by fusing the third image and the fourth image.
在本申请中,如果场景是近景,那么图像捕捉装置可以获取广角彩色摄像头和广角黑白摄像头分别同时对待拍摄物体捕捉的图像。由于广角黑白摄像头在拍摄图像时,捕获待拍摄物体的细节信息的能力较强。而广角彩色摄像头在拍摄图像时,捕获待拍摄物体的颜色信息上的能力较强。因此,图像捕捉装置将广角彩色摄像头和广角黑白摄像头采集的图像融合后得到的待拍摄物体的图像的质量较高。In the present application, if the scene is a close-up, the image capturing device can acquire an image captured by the wide-angle color camera and the wide-angle black-and-white camera at the same time as the object to be photographed. Since the wide-angle black-and-white camera captures images, the ability to capture detailed information of the object to be photographed is strong. The wide-angle color camera has a strong ability to capture the color information of the object to be photographed when the image is captured. Therefore, the image capturing device combines the images acquired by the wide-angle color camera and the wide-angle black-and-white camera to obtain a higher quality image of the object to be photographed.
在一个可能的设计中,在获取对待拍摄物体捕捉的图像之前,该方法还包括:确定场景的亮度值;根据亮度值,分别控制广角彩色摄像头、广角黑白摄像头、长焦摄 像头中的每个摄像头采集对应帧数的图像。In a possible design, before acquiring the image captured by the object to be photographed, the method further comprises: determining a brightness value of the scene; and separately controlling the wide-angle color camera, the wide-angle black-and-white camera, and the long-focus camera according to the brightness value. Each camera in the head captures an image of the corresponding number of frames.
在本申请中,图像捕捉装置可以通过待拍摄物体所处场景的亮度值来决定每个摄像头捕捉多少帧的图像,例如场景较亮时,每个摄像头可以捕捉较少帧数的图像,场景较暗时,每个摄像头可以捕捉较多帧数的图像。In the present application, the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
在一个可能的设计中,根据亮度值,分别控制每个摄像头采集对应帧数的图像,包括若亮度值大于第一预设亮度值,则控制每个摄像头采集P帧图像;或若亮度值小于等于第二预设亮度值,则控制每个摄像头采集Q帧图像;其中,第二预设亮度值小于第一预设亮度值,P、Q为正整数,且P大于Q。In a possible design, according to the brightness value, each camera is separately controlled to collect an image of the corresponding number of frames, including if the brightness value is greater than the first preset brightness value, then each camera is controlled to acquire a P frame image; or if the brightness value is less than And equal to the second preset brightness value, controlling each camera to collect the Q frame image; wherein, the second preset brightness value is less than the first preset brightness value, P, Q are positive integers, and P is greater than Q.
在本申请中,图像捕捉装置可以通过待拍摄物体所处场景的亮度值来决定每个摄像头捕捉多少帧的图像,例如场景较亮时,每个摄像头可以捕捉较少帧数的图像,场景较暗时,每个摄像头可以捕捉较多帧数的图像。In the present application, the image capturing device can determine the image of how many frames each camera captures by the brightness value of the scene where the object to be photographed is located. For example, when the scene is bright, each camera can capture images with fewer frames, and the scene is compared. When dark, each camera can capture images with more frames.
第五方面,本申请提供一种图像捕捉装置。该图像捕捉装置具有实现上述第二方面方法设计中图像捕捉装置的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a fifth aspect, the present application provides an image capture device. The image capture device has the function of implementing the image capture device in the method design of the second aspect described above. These functions can be implemented in hardware or in software by executing the corresponding software. The hardware or software includes one or more units corresponding to the functions described above.
在一个可能的设计中,图像捕捉装置的具体结构可包括输入单元、处理单元和输出单元。这些单元可执行上述第二方面或第二方面的任意一种可能的设计所提供的方法中的相应功能。In one possible design, the specific structure of the image capture device may include an input unit, a processing unit, and an output unit. These units may perform the respective functions of the methods provided by any of the possible aspects of the second aspect or the second aspect described above.
第六方面,本申请提供一种图像捕捉装置。该图像捕捉装置具有实现上述第三方面方法设计中图像捕捉装置的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a sixth aspect, the present application provides an image capture device. The image capture device has the function of implementing the image capture device in the method design of the third aspect described above. These functions can be implemented in hardware or in software by executing the corresponding software. The hardware or software includes one or more units corresponding to the functions described above.
在一个可能的设计中,图像捕捉装置的具体结构可包括输入单元、处理单元和输出单元。这些单元可执行上述第三方面或第三方面的任意一种可能的设计所提供的方法中的相应功能。In one possible design, the specific structure of the image capture device may include an input unit, a processing unit, and an output unit. These units may perform the respective functions of the methods provided by any of the possible aspects of the third aspect or the third aspect described above.
第七方面,本申请提供一种图像捕捉装置。该图像捕捉装置具有实现上述第四方面方法设计中图像捕捉装置的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a seventh aspect, the present application provides an image capture device. The image capture device has the function of implementing the image capture device in the method design of the fourth aspect described above. These functions can be implemented in hardware or in software by executing the corresponding software. The hardware or software includes one or more units corresponding to the functions described above.
在一个可能的设计中,图像捕捉装置的具体结构可包括处理单元和输出单元。这些单元可执行上述第四方面或第四方面的任意一种可能的设计所提供的方法中的相应功能。In one possible design, the specific structure of the image capture device may include a processing unit and an output unit. These units may perform the respective functions of the methods provided by any of the possible designs of the fourth aspect or the fourth aspect described above.
第八方面,本申请还提供一种图像捕捉装置。该图像捕捉装置具有实现上述第三方面方法设计中图像捕捉装置的功能。这些功能可以通过硬件实现。该图像捕捉装置包括:存储器,用于存储计算机可执行程序代码;处理器,处理器与存储器耦合。其中存储器所存储的程序代码包括指令,当处理器执行所述指令时,所述指令使图像捕捉装置执行上述第三方面或第三方面的任意一种可能的设计中图像捕捉装置所执行的方法。In an eighth aspect, the present application also provides an image capture device. The image capture device has the function of implementing the image capture device in the method design of the third aspect described above. These features can be implemented in hardware. The image capture device includes a memory for storing computer executable program code, a processor coupled to the memory. Wherein the program code stored in the memory comprises instructions which, when executed by the processor, cause the image capture device to perform the method performed by the image capture device in any one of the possible aspects of the third aspect or the third aspect above .
第九方面,本申请还提供一种图像捕捉装置。该图像捕捉装置具有实现上述第四方面方法设计中图像捕捉装置的功能。这些功能可以通过硬件实现。该图像捕捉装置包括:存储器,用于存储计算机可执行程序代码;处理器,处理器与存储器耦合。其中存储器所存储的程序代码包括指令,当处理器执行所述指令时,所述指令使图像捕捉装置执行上述第四方面或第四方面的任意一种可能的设计中图像捕捉装置所执行的 方法。In a ninth aspect, the present application also provides an image capture device. The image capture device has the function of implementing the image capture device in the method design of the fourth aspect described above. These features can be implemented in hardware. The image capture device includes a memory for storing computer executable program code, a processor coupled to the memory. Wherein the program code stored in the memory comprises instructions which, when executed by the processor, cause the image capture device to perform the image capture device executed in any one of the possible aspects of the fourth aspect or the fourth aspect described above method.
第十方面,本申请还提供一种图像捕捉装置。该图像捕捉装置具有实现上述第五方面方法设计中图像捕捉装置的功能。这些功能可以通过硬件实现。该图像捕捉装置包括:存储器,用于存储计算机可执行程序代码;处理器,处理器与存储器耦合。其中存储器所存储的程序代码包括指令,当处理器执行所述指令时,所述指令使图像捕捉装置执行上述第五方面或第五方面的任意一种可能的设计中图像捕捉装置所执行的方法。In a tenth aspect, the application further provides an image capture device. The image capture device has the function of implementing the image capture device in the method design of the fifth aspect described above. These features can be implemented in hardware. The image capture device includes a memory for storing computer executable program code, a processor coupled to the memory. Wherein the program code stored in the memory comprises instructions which, when executed by the processor, cause the image capture device to perform the method performed by the image capture device in any one of the possible aspects of the fifth aspect or the fifth aspect above .
第十一方面,本申请还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二方面所述的图像捕捉方法。In an eleventh aspect, the present application further provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the image capture method of the second aspect described above.
第十二方面,本申请还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第三方面所述的图像捕捉方法。In a twelfth aspect, the present application further provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the image capture method of the above third aspect.
第十三方面,本申请还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第四方面所述的图像捕捉方法。In a thirteenth aspect, the present application further provides a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the image capture method of the above fourth aspect.
第十四方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面所述的图像捕捉方法。In a fourteenth aspect, the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the image capture method of the second aspect described above.
第十五方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第三方面所述的图像捕捉方法。In a fifteenth aspect, the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the image capture method of the third aspect above.
第十六方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第四方面所述的图像捕捉方法。In a sixteenth aspect, the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the image capture method of the fourth aspect described above.
在本申请中,图像捕捉装置具备三个摄像头分别为广角彩色摄像头、广角黑白摄像头、长焦摄像头,三个摄像头各有优势,例如广角黑白摄像头的视场角较大适合拍摄近景并且具有较强的捕捉待拍摄物体的细节的能力,广角彩色摄像头的视场角较大适合拍摄近景并且具有较强的捕捉待拍摄物体的颜色信息的能力,而长焦摄像头的视场角较小适合拍摄远景。图像捕捉装置可以利用这个三个摄像头各自的优势在不同的场景(例如近景、远景等)下均能得到质量较好的待拍摄物体的图像,从而提高图像拍摄质量。In the present application, the image capturing device has three cameras: a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera. Each of the three cameras has advantages. For example, the wide-angle black-and-white camera has a larger field of view, which is suitable for shooting close-ups and has stronger The ability to capture the details of the object to be photographed, the angle of view of the wide-angle color camera is larger for shooting close-ups and has a stronger ability to capture the color information of the object to be photographed, while the telephoto camera has a smaller field of view for shooting . The image capturing device can take advantage of the advantages of the three cameras to obtain an image of a better-quality object to be photographed under different scenes (such as close-up, distant view, etc.), thereby improving image capturing quality.
附图说明DRAWINGS
图1为本申请提供的一种图像捕捉装置的架构图;1 is a block diagram of an image capture device provided by the present application;
图2为本申请提供的一种图像捕捉方法的流程图;2 is a flowchart of an image capturing method provided by the present application;
图3为本申请提供的另一种图像捕捉方法的流程图;FIG. 3 is a flowchart of another image capturing method provided by the present application; FIG.
图4为本申请提供到的图像捕捉装置中三个摄像头之间的排序方式;4 is a sorting manner between three cameras in the image capturing device provided by the present application;
图5为本申请提供的一种图像捕捉装置的结构示意图;FIG. 5 is a schematic structural diagram of an image capturing device provided by the present application; FIG.
图6为本申请提供的另一种图像捕捉装置的结构示意图;FIG. 6 is a schematic structural diagram of another image capturing apparatus provided by the present application; FIG.
图7为本申请提供的另一种图像捕捉装置的结构示意图。 FIG. 7 is a schematic structural diagram of another image capturing device provided by the present application.
具体实施方式Detailed ways
下面将结合本申请中的附图,对本申请提供的技术方案进行清楚、完整地描述。The technical solutions provided by the present application will be clearly and completely described below in conjunction with the drawings in the present application.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some of the terms in the present application will be explained to be understood by those skilled in the art.
(1)场景,可以理解为物体以及物体所处的环境。通常,物体所处的环境可大可小,例如物体所处的环境可以是宽广的,如山、天空等。当然物体所处的环境也可以是狭窄的,如房间、或者一张简单的办公桌等。因此,为了让图像捕捉装置能够像人类一样对场景进行理解和描述,场景识别能力也是图像捕捉装置是否智能化的一个重要参考指标。(1) The scene can be understood as the object and the environment in which the object is located. Generally, the environment in which the object is located can be large or small, for example, the environment in which the object is located can be broad, such as mountains, sky, and the like. Of course, the environment in which the object is located can also be narrow, such as a room, or a simple desk. Therefore, in order to enable the image capturing device to understand and describe the scene like a human, the scene recognition capability is also an important reference indicator for whether the image capturing device is intelligent.
(2)预览图像,是图像捕捉装置在拍摄图像之前呈现在拍摄预览界面的图像,用户通过预览图像查看拍摄效果,如果用户对预览图像的拍摄效果满意,可以点击“拍摄”按键,拍摄图像。(2) The preview image is an image that the image capturing device presents on the shooting preview interface before the image is captured. The user views the shooting effect through the preview image. If the user is satisfied with the shooting effect of the preview image, the user can click the “shooting” button to capture the image.
(3)视场角,是图像捕捉装置的一个重要的性能参数。视场角用于指示图像捕捉装置在拍摄图像的过程中,所能拍摄到的最大的角度范围。若待拍摄物体处于这个角度范围内,该待拍摄物体便会被图像捕捉装置采集到,进而呈现在预览图像中。若待拍摄物体处于这个角度范围之外,该被拍摄设备便不会被图像捕捉装置采集到,即不会呈现在预览图像中。(3) The angle of view is an important performance parameter of the image capture device. The field of view is used to indicate the maximum range of angles that the image capture device can capture during the capture of the image. If the object to be photographed is within this angle range, the object to be photographed is captured by the image capturing device and presented in the preview image. If the object to be photographed is outside this range of angles, the photographed device will not be captured by the image capture device, ie will not be presented in the preview image.
通常,图像捕捉装置的视场角越大,则拍摄范围就越大,焦距就越短。而图像捕捉装置的视场角越小,则拍摄范围就越小,焦距就越长。Generally, the larger the angle of view of the image capturing device, the larger the shooting range and the shorter the focal length. The smaller the angle of view of the image capturing device, the smaller the shooting range and the longer the focal length.
在本申请中,也可以将“视场角”称为“视场范围”、“视野范围”等词汇。也就是说,本文对于“视场角”的名称不作限制,只要表达的是如上的概念即可。In the present application, the term "field of view" may also be referred to as a "field of view" or "field of view". That is to say, the name of the "angle of view" is not limited herein, as long as the concept is as above.
(4)场景深度,用于描述场景的一个参数。场景深度可以理解为图像捕捉装置与待拍摄物体之间的距离。场景深度可以通过深度图来表示,深度图中每个像素值可以反映待拍摄物体与图像捕捉装置之间的距离大小。若距离图像捕捉装置越近,则像素值越小,若距离图像捕捉装置越远,则像素值远大。(4) Scene depth, used to describe a parameter of the scene. The depth of the scene can be understood as the distance between the image capturing device and the object to be photographed. The depth of the scene can be represented by a depth map, and each pixel value in the depth map can reflect the distance between the object to be photographed and the image capturing device. The closer the image capturing device is to the image capturing device, the smaller the pixel value is, and the farther away from the image capturing device, the larger the pixel value.
在本申请中,也可以将“场景深度”称为“景深”、“图像深度”等词汇。也就是说,本文对于“场景深度”的名称不作限制,只要表达的是如上的概念即可。In the present application, "scene depth" may also be referred to as "depth of field" or "image depth". That is to say, the name of the "scene depth" is not limited in this paper, as long as the concept is as above.
(5)变焦拍摄,即图像捕捉装置在拍摄图像的过程中改变焦距。例如用户通过图像捕捉装置拍摄远处的物体时,图像捕捉装置显示的预览图像中该物体必然会显示的较小。在用户不改变自身位置的情况下,若要“放大”预览图像中的该物体,可以选择变焦拍摄。(5) Zoom shooting, that is, the image capturing device changes the focal length during the process of capturing an image. For example, when a user captures a distant object through the image capturing device, the object in the preview image displayed by the image capturing device is necessarily displayed smaller. To zoom in on the object in the preview image without changing the position of the user, you can select zoom shooting.
通常,变焦拍摄包括光学变焦拍摄和数码变焦拍摄两种方式。这两种方式均可以改变图像捕捉装置显示的预览图像中物体的大小。Generally, zoom shooting includes optical zoom shooting and digital zoom shooting. Both of these methods can change the size of the object in the preview image displayed by the image capture device.
(6)解像力,是图像捕捉装置的一个重要的性能参数。通俗的讲,解像力可以理解为分辨被摄原物细节的能力。举例来说,若被摄原物是张纸,布满了很多线条,解像力将强的图像捕捉装置拍出来的图像可以辨认出100条线条,而解像力较弱的图像捕捉装置拍出来的图像只能辨认10条线条。图像捕捉装置的解像力越大,那么该图像捕捉装置捕捉待拍摄物体的图像之后,还原该待拍摄物体的细节的能力越强,例如用户想要放大捕获到的图像,那么放大后的图像的清晰度较高。(6) Resolution is an important performance parameter of the image capture device. Popularly speaking, resolution can be understood as the ability to distinguish the details of the original. For example, if the original object is a piece of paper, which is covered with many lines, the image captured by the image capturing device can resolve 100 lines, and the image captured by the image capturing device with weak resolution is only Can recognize 10 lines. The greater the resolution of the image capturing device, the stronger the ability of the image capturing device to restore the details of the object to be photographed after capturing the image of the object to be photographed, for example, the user wants to enlarge the captured image, and the image is enlarged. Higher degrees.
通常,解像力和像素、分辨率等具有一定的关联,像素或者分辨率越高的图像捕捉装置解像力越强,而且如果是黑白图像捕捉装置,因为其捕捉待拍摄物体的细节的 能力较强,所起黑白图像捕捉装置的解像力通常大于彩色图像捕捉装置的解像力。Generally, the resolution is related to pixels, resolution, etc., and the image capturing device with higher pixel or resolution has stronger resolution, and if it is a black-and-white image capturing device, because it captures the details of the object to be photographed. The ability is strong, and the resolution of the black-and-white image capturing device is usually greater than that of the color image capturing device.
(7)本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。且在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。(7) The term "and/or" in this document is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B alone. In addition, the character "/" in this article, unless otherwise specified, generally indicates that the contextual object is an "or" relationship. In the description of the present application, the terms "first", "second" and the like are used for the purpose of distinguishing the description, and are not to be construed as indicating or implying relative importance, nor in the order of indication or suggestion.
下面介绍目前的图像捕捉装置进行图像拍摄的过程。The process of image capture by the current image capture device is described below.
为了提高拍照效果,业界提出了在图像捕捉装置中设置双摄像头,利用两个摄像头获取的图像信息之间的差异,进行图像信息的互补,可以提升最终拍摄的图像的质量。但是,配置有双摄像头的图像捕捉装置在拍摄图像时,只是将两个摄像头获取的图像信息进行简单的叠加。而这种方式无法在各种场景下均能拍摄出质量较高的图像。举例来说,图像捕捉装置配置有两个摄像头,一个为广角摄像头另一个为长焦摄像头。该图像捕捉装置通过这两个摄像头分别获取两张图像,然后将两张图像的图像信息融合获得最终拍摄的图像。但是,由于广角摄像头的视场角比较大,适合近景拍摄,长焦摄像头的视场角比较小,适合远景拍摄。因此目前的这种双摄像头图像捕捉装置虽然可以兼顾不同场景的拍摄,但是由于两个摄像头的视场角不匹配,进而导致最终得到的图像的立体感较差,图像质量较差。例如,采用这种双摄像头的图像捕捉装置得到的两张图像中有视场角重合的部分,也有视场角不重合的部分。如果直接将两张图像融合,那么最终拍摄到的图像中视场角重合的部分清晰度高,不重合的部分清晰度低,使得整张图像会出现中心部分和四周部分的清晰度不一致。并且,视场角不匹配的摄像头得到的两张图像无法获得较大视场的深度图,从而无法对整张图像进行基于深度图的处理,导致最终得到的图像的立体感较差,图像质量较差。In order to improve the photographing effect, the industry proposes to set a dual camera in the image capturing device, and use the difference between the image information acquired by the two cameras to complement the image information, thereby improving the quality of the final captured image. However, when the image capturing device equipped with the dual camera captures an image, only the image information acquired by the two cameras is simply superimposed. In this way, it is impossible to take higher quality images in various scenes. For example, the image capture device is configured with two cameras, one being a wide-angle camera and the other being a telephoto camera. The image capturing device acquires two images by the two cameras, and then fuses the image information of the two images to obtain the final captured image. However, since the wide-angle camera has a large field of view, it is suitable for close-range shooting, and the telephoto camera has a small field of view, which is suitable for long-range shooting. Therefore, the current dual-camera image capturing device can take into account the shooting of different scenes, but the field of view of the two cameras does not match, resulting in a poor stereoscopic image and poor image quality. For example, in the two images obtained by the image capturing apparatus of such a dual camera, there are portions where the angles of view overlap, and portions where the angles of view do not coincide. If the two images are directly merged, the portion of the final captured image in which the angle of view coincides is high, and the portion of the non-coincident portion has low definition, so that the definition of the central portion and the surrounding portion of the entire image is inconsistent. Moreover, the two images obtained by the camera with the mismatched field of view cannot obtain the depth map of the larger field of view, so that the entire image cannot be processed based on the depth map, resulting in poor stereoscopic image quality and image quality. Poor.
可见,目前的图像捕捉装置中即使配置有双摄像头也仍然无法在各种场景下均拍摄到质量较高的图像。It can be seen that even in the current image capturing device, even if a dual camera is disposed, it is still impossible to capture a high quality image in various scenes.
为了解决该技术问题,本申请提供一种新的图像捕捉装置。该图像捕捉装置中具备三个摄像头,分别为广角彩色摄像头、广角黑白摄像头、长焦摄像头;图像捕捉装置可以利用这三个摄像头各自的优势得到质量较好的待拍摄物体的图像,从而提高获得的图像的质量。下面首先详细介绍本申请的图像捕捉装置的系统架构。本文中的图像捕捉装置可以是手机、平板电脑(PAD)、或相机等。以图像捕捉装置具体是手机为例。请参见图1,图1示出了手机100的系统架构。In order to solve the technical problem, the present application provides a new image capturing device. The image capturing device has three cameras, which are a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera. The image capturing device can obtain the image of the object to be photographed with better quality by using the advantages of the three cameras, thereby improving the obtained image capturing device. The quality of the image. The system architecture of the image capture device of the present application will first be described in detail below. The image capture device herein may be a cell phone, a tablet (PAD), or a camera. Take an image capture device, specifically a mobile phone, as an example. Please refer to FIG. 1. FIG. 1 shows the system architecture of the mobile phone 100.
如图1所示,手机100包括:广角彩色摄像头110、广角黑白摄像头120和长焦摄像头130、处理器140、显示屏150、存储器160和电源170。其中,广角彩色摄像头110、广角黑白摄像头120和长焦摄像头130分别用于采集待拍摄物体的图像。处理器140可以用于处理图像。显示屏150可以用于显示图像。存储器160可以用于存储图像。电源170可以用于为手机100供电。用户通过手机100拍摄图像的过程如下:As shown in FIG. 1, the mobile phone 100 includes a wide-angle color camera 110, a wide-angle black-and-white camera 120 and a telephoto camera 130, a processor 140, a display screen 150, a memory 160, and a power source 170. The wide-angle color camera 110, the wide-angle black-and-white camera 120, and the telephoto camera 130 are used to collect images of objects to be photographed, respectively. The processor 140 can be used to process images. Display 150 can be used to display an image. The memory 160 can be used to store images. Power source 170 can be used to power handset 100. The process of the user taking an image through the mobile phone 100 is as follows:
用户触发手机100中的广角彩色摄像头110、广角黑白摄像头120和长焦摄像头130中至少一个摄像头来采集待拍摄物体的图像,并将采集到的图像发送处理器140。处理器140对接收至少一个像头采集的图像并对该图像进行处理得到预览图像,该预览图像可以是其中一个摄像头采集的图像例如是广角彩色摄像头110采集的图像。处理器140将该预览图像发送显示屏150进行显示,从而使得用户可以通过显示屏150 看到拍摄前的预览图像。具体地可以通过显示屏150中的显示面板151来显示预览图像。用户可以通过显示屏150中的触控面板152输入拍摄指令,从而使得手机100通过广角彩色摄像头110、广角黑白摄像头120和长焦摄像头130相互配合来对待拍摄物体进行拍摄。The user triggers at least one of the wide-angle color camera 110, the wide-angle black-and-white camera 120, and the telephoto camera 130 in the mobile phone 100 to capture an image of the object to be photographed, and transmits the acquired image to the processor 140. The processor 140 processes the image acquired by the at least one image header and processes the image to obtain a preview image, and the preview image may be an image captured by one of the cameras, for example, an image acquired by the wide-angle color camera 110. The processor 140 transmits the preview image to the display screen 150 for display so that the user can pass the display screen 150. See the preview image before shooting. Specifically, the preview image can be displayed through the display panel 151 in the display screen 150. The user can input a shooting instruction through the touch panel 152 in the display screen 150, so that the mobile phone 100 cooperates with the wide-angle color camera 110, the wide-angle black-and-white camera 120, and the telephoto camera 130 to photograph the object to be photographed.
请参考图2,本申请一实施例提供的图像捕捉方法的流程图。在下文的介绍过程中,以将该方法应用在图1所示的手机为例。该方法的流程描述如下:Please refer to FIG. 2 , which is a flowchart of an image capturing method according to an embodiment of the present application. In the following description, the method is applied to the mobile phone shown in FIG. 1 as an example. The process of this method is described as follows:
S201:确定待拍摄物体所处的场景。S201: Determine a scene in which the object to be photographed is located.
前面已经提到过,场景可以理解为物体所处的环境,而物体所处的环境可大可小。因此,S101的一种可能的实现方式为,图像捕捉装置通过检测待拍摄物体与图像捕捉装置之间距离大小来确定待拍摄物体所处的场景。As mentioned earlier, the scene can be understood as the environment in which the object is located, and the environment in which the object is located can be large or small. Therefore, one possible implementation manner of S101 is that the image capturing device determines the scene in which the object to be photographed is located by detecting the distance between the object to be photographed and the image capturing device.
因此,在本申请中,图像捕捉装置可以事先设置一个标准距离范围。当图像捕捉装置与待拍摄物体之间的距离大于该标准距离范围内的最大值时,则确定待拍摄物体所处的场景为远景。当图像捕捉装置与待拍摄物体之间的距离处于该标准距离范围内时,则确定待拍摄物体所处的场景为中景。当图像捕捉装置与待拍摄物体之间的距离小于该标准距离范围内的最小值时,则确定待拍摄物体所处的场景为近景。Therefore, in the present application, the image capturing device can set a standard distance range in advance. When the distance between the image capturing device and the object to be photographed is greater than the maximum value within the standard distance range, it is determined that the scene in which the object to be photographed is located is a distant view. When the distance between the image capturing device and the object to be photographed is within the standard distance range, it is determined that the scene in which the object to be photographed is located is a medium scene. When the distance between the image capturing device and the object to be photographed is smaller than the minimum value within the standard distance range, it is determined that the scene in which the object to be photographed is located is a close-up.
当然,S201还有可以有其它的方式,本申请对此不作具体的限定。Of course, there may be other ways for S201, which is not specifically limited in this application.
S202:根据场景,从图像捕捉装置具备的三个摄像头中选择适合该场景的至少一个摄像头。S202: Select at least one camera suitable for the scene from among the three cameras included in the image capturing device according to the scene.
下面介绍S202的两种实现方式。The following describes the two implementations of S202.
第一种方式,图像捕捉装置根据场景和三个摄像头的视场角来选择适合拍摄该场景的至少一个摄像头。In the first mode, the image capturing device selects at least one camera suitable for capturing the scene according to the scene and the angle of view of the three cameras.
前面已经提到过,图像捕捉装置可以将待拍摄物体所处的场景分为近景、中景和远景。那么第一种方式下,便存在三种情况。第一种情况,待拍摄物体所处的场景为近景时,图像捕捉装置如何选择适合拍摄该场景的摄像头。第二种情况,待拍摄物体所处的场景为远景时,图像捕捉装置如何选择适合拍摄该场景的摄像头。第三种情况,待拍摄物体所处的场景为中景时,图像捕捉装置如何选择适合拍摄该场景的摄像头。As mentioned above, the image capturing device can divide the scene in which the object to be photographed is divided into a close view, a medium view, and a distant view. Then in the first way, there are three situations. In the first case, when the scene in which the object to be photographed is in close-up, the image capturing device selects a camera suitable for capturing the scene. In the second case, when the scene in which the object to be photographed is in the foreground, the image capturing device selects a camera suitable for capturing the scene. In the third case, when the scene in which the object to be photographed is in the middle scene, the image capturing device selects a camera suitable for capturing the scene.
前面已经提到过,摄像头的视场角越大,越适合拍摄近景,即通过视场角较大的摄像头拍摄近景时,最终拍摄的图像的质量较好。相反的,摄像头的视场角越小,越适合拍摄远景。即通过视场角较小的摄像头拍摄远景时,最终拍摄的图像的质量较好。因此,图像捕捉装置可以通过待拍摄物体所处的场景来反推需要采用多大视场角的摄像头来进行拍摄。As mentioned above, the larger the field of view of the camera, the more suitable for shooting close-up, that is, when shooting a close-up view through a camera with a large angle of view, the quality of the final captured image is better. Conversely, the smaller the field of view of the camera, the better it is for shooting distant views. That is, when a distant view is taken by a camera with a small angle of view, the quality of the final captured image is good. Therefore, the image capturing device can reverse the camera that needs to adopt the angle of view by the scene in which the object to be photographed is located.
因此,对于第一种情况,即待拍摄物体所处的场景为近景。图像捕捉装置可以选择视场角较大的摄像头。对于第二种情况,即待拍摄物体所处的场景为中景。图像捕捉装置可以选择视场角适中的摄像头。对于第三种情况,即待拍摄物体所处的场景为远景。图像捕捉装置可以选择视场角较小的摄像头。Therefore, for the first case, the scene in which the object to be photographed is located is a close-up view. The image capturing device can select a camera with a large angle of view. In the second case, the scene in which the object to be photographed is located is a medium shot. The image capture device can select a camera with a moderate angle of view. In the third case, the scene in which the object to be photographed is located is a distant view. The image capturing device can select a camera with a small angle of view.
在本申请中,图像捕捉装置可以事先设置一个预设视场角范围。当摄像头的视场角大于该预设视场角范围的最大值时,则认为该摄像头的视场角较大,适合近景拍摄。当摄像头的视场角小于这个预设视场角范围内的最小值时,则认为该摄像头的视场角较小,适合远景拍摄。当摄像头的视场角处于这个预设视场角范围内时,则认为该摄像头的视场角适中,适合中景拍摄。 In the present application, the image capturing device may set a preset range of angle of view in advance. When the field of view of the camera is greater than the maximum value of the preset field of view, the camera has a larger field of view and is suitable for close-up shooting. When the field of view of the camera is less than the minimum value within the range of the preset field of view, the camera's field of view is considered to be small, suitable for long-range shooting. When the camera's field of view is within this preset field of view, the camera's field of view is considered moderate and suitable for mid-range shooting.
因此,当待拍摄物体所处的场景为近景时,图像捕捉装置可以选择视场角较大的摄像头来拍摄。例如由于广角彩色摄像头视场角较大,并且可以获得彩色图像。因此,图像捕捉装置可以直接选择广角彩色摄像头进行拍摄,这种方式较为简单,易于实现。当然,图像捕捉装置也可以选择广角彩色摄像头和广角黑白摄像头同时进行拍摄。这种方式有助于提高最终拍摄的图像的质量。这是因为,广角黑白摄像头在拍摄图像时,捕获待拍摄物体的细节信息的能力较强。而广角彩色摄像头在拍摄图像时,捕获待拍摄物体的颜色信息上的能力较强。因此,图像捕捉装置将广角彩色摄像头和广角黑白摄像头采集的图像融合后得到的拍摄图像的质量较高。Therefore, when the scene in which the object to be photographed is located is a close-up, the image capturing device can select a camera with a larger angle of view to shoot. For example, since the wide-angle color camera has a large angle of view, a color image can be obtained. Therefore, the image capturing device can directly select a wide-angle color camera for shooting, which is simple and easy to implement. Of course, the image capture device can also select a wide-angle color camera and a wide-angle black and white camera to simultaneously shoot. This approach helps to improve the quality of the final captured image. This is because the wide-angle black-and-white camera has a strong ability to capture detailed information of an object to be photographed when capturing an image. The wide-angle color camera has a strong ability to capture the color information of the object to be photographed when the image is captured. Therefore, the image capturing device combines the images acquired by the wide-angle color camera and the wide-angle black-and-white camera to obtain a higher quality of the captured image.
当待拍摄物体所处的场景为远景时,图像捕捉装置可以选择视场角较小的摄像头来拍摄。例如,由于长焦摄像头视场角较小,若第三摄像头是长焦彩色摄像头,那么图像捕捉装置可以直接选择长焦彩色摄像头进行拍摄,这种方式较为简单,易于实现。若第三摄像头是长焦黑白摄像头,那么图像捕捉装置可以直接选择广角彩色摄像头和长焦黑白摄像头同时进行拍摄。当然,图像捕捉装置也可以选择三个摄像头同时进行拍摄。这种方式有助于提高最终拍摄的图像的质量,具体原因将在后续介绍。When the scene in which the object to be photographed is located is a distant view, the image capturing device may select a camera with a small angle of view to shoot. For example, since the telephoto camera has a small field of view, if the third camera is a telephoto color camera, the image capturing device can directly select a telephoto color camera for shooting, which is simple and easy to implement. If the third camera is a telephoto black and white camera, the image capturing device can directly select the wide-angle color camera and the telephoto black-and-white camera to simultaneously shoot. Of course, the image capture device can also select three cameras to shoot at the same time. This method helps to improve the quality of the final captured image, the specific reasons will be introduced later.
第二种方式,图像捕捉装置根据场景的亮度和摄像头的格式来选择适合拍摄该场景的至少一个摄像头。In the second mode, the image capturing device selects at least one camera suitable for capturing the scene according to the brightness of the scene and the format of the camera.
以第一摄像头是Quadra格式为例,在场景亮度较低时,可以直接采用广角彩色摄像头和广角黑白摄像头进行拍摄。这是因为,广角彩色摄像头捕获待拍摄物体的颜色信息和亮度信息的能力较强。广角黑白摄像头捕获待拍摄物体的细节信息的能力较强。通过这两个摄像头采集的图像融合得到最终拍摄的图像的亮度信息、颜色信息、清晰度等相对较好。在场景亮度较高时,图像捕捉装置可以通过Remosaic算法将广角彩色摄像头的Quadra格式变为Bayer格式,然后采用广角彩色摄像头和广角黑白摄像头进行拍摄。Taking the first camera as the Quadra format as an example, when the scene brightness is low, the wide-angle color camera and the wide-angle black-and-white camera can be directly used for shooting. This is because the wide-angle color camera has a strong ability to capture color information and brightness information of an object to be photographed. The wide-angle black and white camera has a strong ability to capture detailed information of the object to be photographed. The image acquired by the two cameras is fused to obtain the brightness information, color information, sharpness, and the like of the finally captured image. When the scene brightness is high, the image capture device can change the Quadra format of the wide-angle color camera into the Bayer format by the Remosaic algorithm, and then use the wide-angle color camera and the wide-angle black-and-white camera to shoot.
需要说明的是,若摄像头是Quadra格式,那么该摄像头捕捉的图像中4个像素点对应一个亮度值,所以该图像的亮度值增大4倍,即图像的亮度值较大。若摄像头是Bayer格式,那么该摄像头捕捉的图像中1个像素点对应一个亮度值,所述该图像中亮度值较小。It should be noted that if the camera is in the Quadra format, the four pixels in the image captured by the camera correspond to one brightness value, so the brightness value of the image is increased by 4 times, that is, the brightness value of the image is large. If the camera is in the Bayer format, one pixel in the image captured by the camera corresponds to a brightness value, and the brightness value in the image is small.
因此,在场景的亮度较低时,为了保证最终拍摄的图像具有足够的亮度,采用Quadra格式可以提高最终拍摄的图像的亮度值。如果场景的亮度较高,那么第一摄像头只需Bayer格式即可捕捉到足够亮度值的图像。因此,可以将Quadra格式转变为Bayer格式。Therefore, when the brightness of the scene is low, in order to ensure that the final captured image has sufficient brightness, the Quadra format can be used to increase the brightness value of the final captured image. If the brightness of the scene is high, then the first camera can capture images with sufficient brightness values in the Bayer format. Therefore, the Quadra format can be converted to the Bayer format.
作为一种可能的实现方式,第一摄像头由Quadra格式转变为Bayer格式的方式可以是采用Remosaic算法,即将4个像素点由原来的1个亮度值为4个亮度值,将其它3个像素点通过差值重建的方式补充亮度值。As a possible implementation manner, the manner in which the first camera is converted from the Quadra format to the Bayer format may be a Remosaic algorithm, that is, 4 pixels are converted from the original 1 luminance value to 4 luminance values, and the other 3 pixel points are used. The brightness value is complemented by the difference reconstruction.
在实际操作中,图像捕捉装置可以根据实际情况而采取上述两种方式中任意一种方式。当然也可以将两种方式结合,本申请对此不作具体的限定。In actual operation, the image capturing device may adopt any one of the above two methods according to actual conditions. Of course, the two methods can also be combined, and the present application does not specifically limit this.
S203:获取至少一个摄像头同时对被摄拍物体采集的图像,并将获取的图像进行处理,得到待拍摄物体的图像。S203: Acquire an image acquired by at least one camera at the same time on the object to be photographed, and process the acquired image to obtain an image of the object to be photographed.
以至少一个摄像头具体为三个摄像头为例,S203的过程具体可分为两步来实现。第一步,三个摄像头分别同时采集待拍摄物体的图像;第二步,图像捕捉装置将三个 摄像头采集到的图像进行处理得到待拍摄物体的图像。下面分别这两个步骤。Taking at least one camera specifically as three cameras as an example, the process of S203 can be specifically implemented in two steps. In the first step, the three cameras simultaneously acquire images of the object to be photographed; in the second step, the image capturing device will have three The image captured by the camera is processed to obtain an image of the object to be photographed. These two steps are separated below.
在第一步中,图像捕捉装置可以确定三个摄像头中每个摄像头采集图像的帧数。一种可能的实现方式为,图像捕捉装置根据待拍摄物体所处场景的亮度,分别控制每个摄像头采集对应帧数的图像。In the first step, the image capture device can determine the number of frames of the image captured by each of the three cameras. One possible implementation manner is that the image capturing device separately controls each camera to collect an image of the corresponding number of frames according to the brightness of the scene in which the object to be photographed is located.
举例来说,当场景的亮度较低时,图像捕捉装置可以控制每个摄像头采集较多帧的图像。当场景的亮度较大时,图像捕捉装置可以控制每个摄像头采集较少帧的图像。For example, when the brightness of the scene is low, the image capture device can control each camera to capture images of more frames. When the brightness of the scene is large, the image capturing device can control each camera to capture images of fewer frames.
这是因为,待拍摄物体所处场景的亮度可以影响摄像头采集的图像的信噪比。若场景的亮度较低时,采集的图像的信噪比较低,即采集的图像中有效信号与噪声的比值较低,噪声所占的成分较大。此时,为了获得足够的有效信号,图像捕捉装置可以控制摄像头采集较多帧的图像。若场景的亮度较大时,采集的图像的信噪比较大,即采集的图像中有效信号与噪声的比值较大,也就是说噪声所占的成分较小。此时,无需采集较多的图像即可得到足够的有效信息,所以图像捕捉装置可以控制摄像头可以采集较少帧图像。This is because the brightness of the scene in which the object to be photographed is located can affect the signal-to-noise ratio of the image captured by the camera. If the brightness of the scene is low, the signal-to-noise ratio of the acquired image is relatively low, that is, the ratio of the effective signal to the noise in the acquired image is low, and the noise occupies a large component. At this time, in order to obtain a sufficient effective signal, the image capturing device can control the camera to capture images of more frames. If the brightness of the scene is large, the signal-to-noise of the acquired image is relatively large, that is, the ratio of the effective signal to the noise in the acquired image is large, that is, the composition of the noise is small. At this time, sufficient effective information can be obtained without collecting more images, so the image capturing device can control the camera to acquire fewer frame images.
当然,图像捕捉装置还可以通过其它方式来确定每个摄像头采集图像的帧数,本申请不作具体的限定。Of course, the image capturing device may determine the number of frames of each camera to collect images by other means, which is not specifically limited in the present application.
图像捕捉装置确定每个摄像头采集图像的帧数之后,每个摄像头便采集对应帧数的图像。After the image capturing device determines the number of frames of images acquired by each camera, each camera acquires an image of the corresponding number of frames.
在第二步中,图像捕捉装置可以分别将每个摄像头采集的图像进行预处理。预处理过程如下:In the second step, the image capture device can preprocess the images acquired by each camera separately. The preprocessing process is as follows:
图像捕捉装置可以将每个摄像头采集的图像进行降噪处理,并将经过降噪处理后的所有帧图像融合得到一个信噪比相对较高的图像。这样,每个摄像头便会对应一个信噪比相对较高的图像。然后,图像捕捉装置可以将每个摄像头对应的图像再次融合,初步获得一个待拍摄物体的图像,该图像可以直接作为最终的待拍摄物体的图像。The image capturing device can perform noise reduction processing on the image acquired by each camera, and fuse all the frame images after the noise reduction processing to obtain an image with relatively high signal to noise ratio. In this way, each camera will correspond to an image with a relatively high signal to noise ratio. Then, the image capturing device can re-merge the image corresponding to each camera to initially obtain an image of the object to be photographed, and the image can directly be used as the image of the final object to be photographed.
当然,为了提高最终的待拍摄物体的图像的质量,图像捕捉装置还可以对初步得到的待拍摄物体的图像做进一步的处理。例如图像捕捉装置可以根据场景深度信息,对初步得到的待拍摄物体的图像进行图像增强处理,以提高最终的待拍摄物体的图像的质量。Of course, in order to improve the quality of the image of the final object to be photographed, the image capturing device may further process the image of the object to be photographed which is initially obtained. For example, the image capturing device may perform image enhancement processing on the initially obtained image of the object to be photographed according to the scene depth information to improve the quality of the image of the final object to be photographed.
在本申请中,图像融合方式可以有多种,例如小波变化融合法,金字塔变化融合法等等,本申请对此不作具体的限定。In the present application, the image fusion method may be various, such as a wavelet variation fusion method, a pyramid variation fusion method, and the like, which is not specifically limited in the present application.
本申请中,图像捕捉装置确定场景深度信息的方式可以有多种。例如图像捕捉装置可以确定三个摄像头中视场角相等的两个摄像头例如广角彩色摄像头和广角黑白摄像头,然后图像捕捉装置通过这两个摄像头采集的图像的视差来确定场景的深度信息。当然还有其它的实现方式,本申请不作具体的限定。In the present application, the manner in which the image capturing device determines the depth information of the scene may be various. For example, the image capturing device may determine two cameras having equal fields of view among the three cameras, such as a wide-angle color camera and a wide-angle black-and-white camera, and then the image capturing device determines the depth information of the scene by the parallax of the images acquired by the two cameras. There are of course other implementations, which are not specifically limited in this application.
图像捕捉装置根据场景深度信息对初步得到的待拍摄物体的图像进行图像增强处理的方式也可以有多种。例如,图像捕捉装置可以根据场景深度信息只对初步得到的待拍摄物体的图像整体进行对比度和清晰度的图像增强处理,以提高最终的待拍摄物体的图像的立体感和层次感。再例如图像捕捉装置可以根据场景深度信息只对初步得到的待拍摄物体的图像中的前景例如人像的清晰度进行图像增强处理,对背景的清晰度不做处理,或者对进行图像模糊处理,类似于用户使用大光圈拍照的情况,从而实现个性化拍摄。再例如,图像捕捉装置还可以根据场景深度信息对初步得到的待拍摄 物体的图像上用户选择的区域的清晰度进行图像增强处理,对其他区域不做处理或者进行图像模糊处理,类似于用户先拍照后对焦的效果,从而实现个性化拍摄。The image capturing device may perform image enhancement processing on the image of the object to be photographed which is initially obtained according to the scene depth information. For example, the image capturing device may perform image enhancement processing of contrast and sharpness only on the image of the initially obtained object to be photographed according to the scene depth information, so as to improve the stereoscopic and layered feeling of the image of the final object to be photographed. For example, the image capturing device may perform image enhancement processing only on the foreground of the image of the object to be photographed, such as the sharpness of the portrait, according to the scene depth information, and does not process the sharpness of the background, or performs image blurring processing, similar to Personalized shooting is achieved when the user takes a picture with a large aperture. For another example, the image capturing device may further obtain a preliminary image to be taken according to the depth information of the scene. Image sharpening is performed on the sharpness of the area selected by the user on the image of the object, and no processing or image blurring processing is performed on other areas, which is similar to the effect of focusing after the user takes a picture first, thereby realizing personalized shooting.
S204、输出待拍摄物体的图像。S204. Output an image of the object to be photographed.
图像捕捉装置在得到待拍摄物体的图像之后,可以将待拍摄物体的图像输出,例如显示于图像捕捉装置的显示屏等。当然,还可以有其它的实现方式,本申请不作具体限定。After the image capturing device obtains the image of the object to be photographed, the image of the object to be photographed may be output, for example, displayed on a display screen of the image capturing device or the like. Of course, there may be other implementation manners, which are not specifically limited in this application.
在图2所示的实施例中,图像捕捉装置在拍摄图像的过程中并未改变焦距,即图像捕捉装置进行的是普通1x拍摄。下面介绍另一实施例,在下面的实施例中,图像捕捉装置进行变焦拍摄。In the embodiment shown in FIG. 2, the image capturing device does not change the focal length during the process of capturing an image, that is, the image capturing device performs normal 1x shooting. Another embodiment will be described below. In the following embodiments, the image capturing device performs zoom shooting.
请参见图3,本申请提供的另一种图像捕捉方法的流程图。该方法的流程描述如下:Please refer to FIG. 3 , which is a flowchart of another image capturing method provided by the present application. The process of this method is described as follows:
S301:接收缩放指令,该缩放指令用于指示对图像捕捉装置当前显示的预览图像进行缩放。S301: Receive a zoom instruction, where the zoom instruction is used to indicate that the preview image currently displayed by the image capturing device is scaled.
在本申请中,不同的图像捕捉装置接收缩放指令的方式可以不同。例如对于具有触摸屏的智能手机,用户可以通过在触摸屏显示的预览图像上进行缩放操作来输入缩放指令,或者可以通过音量键来输入缩放指令等。而对于数码相机,用户可以通过调整变焦环来输入缩放指令,进而实现对预览图像的缩放。当然,图像捕捉装置还可以有其它的接收缩放指令的方式,本申请对此不作具体的限定。In this application, the manner in which different image capture devices receive zoom instructions may vary. For example, for a smartphone with a touch screen, the user can input a zoom instruction by performing a zoom operation on a preview image displayed on the touch screen, or can input a zoom instruction or the like through a volume key. For digital cameras, the user can adjust the zoom ring to input a zoom command to zoom in on the preview image. Of course, the image capture device may have other manners of receiving the zoom instruction, which is not specifically limited in this application.
S302:根据缩放指令对应的缩放比例,从图像捕捉装置具备的三个摄像头中选择适合该缩放比例的至少一个摄像头。S302: Select at least one camera suitable for the zoom ratio from among three cameras included in the image capturing device according to a scaling ratio corresponding to the zoom instruction.
如果图像捕捉装置是通过用户在预览图像上的缩放操作来输入缩放指令,那么用户对预览图像的缩放程度较大,则缩放比例较大。用户对预览图像的缩放程度较小,则缩放比例较小。同样,如果图像捕捉装置是通过用户调整调整变焦环来输入缩放指令,那么用户调整变焦环的幅度越大,则缩放比例越大,用户调整变焦环的幅度越小,则缩放比例越小。If the image capturing device inputs the zooming instruction by the user's zooming operation on the preview image, the user zooms in on the preview image to a greater extent, and the zoom ratio is larger. The user zooms in on the preview image to a lesser extent, and the zoom ratio is smaller. Similarly, if the image capture device inputs the zoom command by adjusting the zoom ring by the user, the larger the amplitude of the zoom ring is adjusted by the user, the larger the zoom ratio is, and the smaller the amplitude of the zoom ring is adjusted by the user, the smaller the zoom ratio is.
需要说明的是,变焦倍率与缩放比例存在一定的关系。举例来说,当用户通过手机拍摄距离用户10米处的物体时,此时预览图像中该物体将显示的比较小,如果用户将预览图像放大2倍,在用户所处的位置不移动的情况下,等效于用户自己移动到距离物体5米的位置处对该物体进行拍摄的效果,即等效于用户将焦距缩小了2倍。可见,本文中的缩放比例也可以理解为变焦倍率。It should be noted that there is a certain relationship between the zoom magnification and the zoom ratio. For example, when the user shoots an object 10 meters away from the user through the mobile phone, the object in the preview image will be displayed relatively small at this time, and if the user enlarges the preview image by 2 times, the user does not move at the position where the user is located. Next, it is equivalent to the effect that the user himself/herself moves to a position 5 meters away from the object, that is, equivalent to the user reducing the focal length by a factor of two. It can be seen that the zoom ratio in this paper can also be understood as the zoom magnification.
作为一种可能的实现方式,图像捕捉装置可以根据缩放比例和三个摄像头的解像力来选择适合该缩放比例的摄像头。As a possible implementation manner, the image capturing device may select a camera suitable for the zoom ratio according to the zoom ratio and the resolution of the three cameras.
设计人员在设计图像捕捉装置时,可以预先设计好广角彩色摄像头、广角黑白摄像头、长焦彩色摄像头之间的解像力关系。例如广角彩色摄像头的解像力小于广角黑白摄像头的解像力,广角黑白摄像头的解像力大于等于长焦彩色摄像头的解像力。When designing the image capture device, the designer can pre-design the resolution relationship between the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto color camera. For example, the resolution of a wide-angle color camera is smaller than the resolution of a wide-angle black-and-white camera, and the resolution of a wide-angle black-and-white camera is greater than or equal to the resolution of a telephoto color camera.
前面已经提到过,摄像头的解像力和摄像头的分辨率具有一定的相关性,所以三个摄像头之间的解像力关系也可以间接的通过分辨率关系来体现。以广角彩色摄像头的分辨率为Wa*Ha,广角黑白摄像头的分辨率为Wb*Hb,长焦摄像头的分辨率为Wc*Hc为例。其中,H表示高度方向,W表示宽度方向。Wa小于等于Wb。当广角黑白摄像头和长焦摄像头的分辨率满足Wb*S=Wc*F0时,长焦摄像头的解像力便大于等于广角黑白摄像头的解像力。其中,S可以理解为图像捕捉装置根据超分辨率技 术对广角黑白摄像头进行处理时引入的解像力提升因子(关于S的确定方式将在后续介绍)。由于长焦摄像头可以是长焦黑白摄像头也可以是长焦彩色摄像头,所以下面分别两种情况介绍。As mentioned above, the resolution of the camera has a certain correlation with the resolution of the camera, so the resolution relationship between the three cameras can also be reflected indirectly through the resolution relationship. The resolution of the wide-angle color camera is Wa*Ha, the resolution of the wide-angle black-and-white camera is Wb*Hb, and the resolution of the telephoto camera is Wc*Hc. Where H is the height direction and W is the width direction. Wa is less than or equal to Wb. When the resolution of the wide-angle black and white camera and the telephoto camera satisfies Wb*S=Wc*F 0 , the resolution of the telephoto camera is greater than or equal to the resolution of the wide-angle black and white camera. Among them, S can be understood as the resolution enhancement factor introduced by the image capturing device when processing the wide-angle black-and-white camera according to the super-resolution technique (the manner of determining the S will be described later). Since the telephoto camera can be a telephoto black and white camera or a telephoto color camera, the following two cases are introduced.
第一种情况,图像捕捉装置具备三个摄像头,分别为广角彩色摄像头、广角黑白摄像头、长焦彩色摄像头。In the first case, the image capturing device has three cameras, which are a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto color camera.
在本申请中,图像捕捉装置可以预先设置一个缩放比例F0。图像捕捉装置可以将缩入的缩放指令对应的缩放比例(F)与预设的缩放比例(F0)比较。比较结果有三种情况,即F大于F0、等于F0或者小于F0In the present application, the image capturing device may preset a scaling factor F 0 . The image capture device can compare the scale (F) corresponding to the indented zoom instruction with a preset zoom ratio (F 0 ). There are three cases of comparison results, that is, F is greater than F 0 , equal to F 0 , or less than F 0 .
下面介绍图像捕捉装置确定缩放比例F0的一种实现方式,例如广角彩色摄像头的视场角为α,广角黑白摄像头的视场角为α,长焦摄像头的视场角为β,α>β。那么预存的缩放比例F0可以通过以下公式获得,即:The following describes an implementation manner in which the image capturing device determines the scaling factor F 0 . For example, the angle of view of the wide-angle color camera is α, the angle of view of the wide-angle black and white camera is α, and the angle of view of the telephoto camera is β, α>β. . Then the pre-stored scaling F 0 can be obtained by the following formula:
Figure PCTCN2017092286-appb-000001
Figure PCTCN2017092286-appb-000001
在这种情况下,长焦摄像头具体是长焦彩色摄像头,所以当F小于等于F0,图像捕捉装置选择广角彩色摄像头和广角黑白摄像头来捕捉待拍摄物体的图像。当F大于F0,图像捕捉装置选择广角黑白摄像头和长焦彩色摄像头来捕捉待拍摄物体的图像。In this case, the telephoto camera is specifically a telephoto color camera, so when F is less than or equal to F 0 , the image capturing device selects a wide-angle color camera and a wide-angle black-and-white camera to capture an image of the object to be photographed. When F is greater than F 0 , the image capturing device selects a wide-angle black and white camera and a telephoto color camera to capture an image of the object to be photographed.
这是因为,这种情况下,广角黑白摄像头的解像力大于长焦彩色摄像头的解像力。例如二者具有相同的水平解像力和垂直解像力,但是在对角线方向,广角黑白摄像头的解像力大于长焦彩色摄像头的解像力。因此,当用户输入的缩放比例较小时,则图像捕捉装置通过广角彩色摄像头和广角黑白摄像头进行拍摄。当用户逐渐增大缩放比例时,则图像捕捉装置可以将广角彩色摄像头切换为长焦彩色摄像头,即通过广角黑白摄像头和长焦彩色摄像头进行拍摄,由于广角黑白摄像头的解像力较大,所以即使用户将预览图像“放大”较大的幅度,图像的清晰度也会较好。This is because, in this case, the resolution of the wide-angle black-and-white camera is greater than the resolution of the telephoto color camera. For example, both have the same horizontal resolution and vertical resolution, but in the diagonal direction, the resolution of the wide-angle black-and-white camera is greater than the resolution of the telephoto color camera. Therefore, when the zoom ratio input by the user is small, the image capturing device performs shooting through the wide-angle color camera and the wide-angle black-and-white camera. When the user gradually increases the zoom ratio, the image capturing device can switch the wide-angle color camera to the telephoto color camera, that is, the wide-angle black-and-white camera and the telephoto color camera, because the resolution of the wide-angle black-and-white camera is large, even if the user The preview image is "zoomed in" to a larger extent, and the sharpness of the image is better.
第二种情况,图像捕捉装置具备三个摄像头,分别为广角彩色摄像头、广角黑白摄像头、长焦黑白摄像头。In the second case, the image capturing device has three cameras, which are a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto black-and-white camera.
在这种情况下,长焦摄像头具体是长焦黑白摄像头,那么当F小于等于F0时,图像捕捉装置通过广角彩色摄像头和广角黑白摄像头进行拍摄。当F大于F0时,图像捕捉装置通过第广角彩色摄像头和长焦黑白摄像头进行拍摄。In this case, the telephoto camera is specifically a telephoto black and white camera, and when F is less than or equal to F 0 , the image capturing device performs shooting through a wide-angle color camera and a wide-angle black and white camera. When F is greater than F 0 , the image capturing device performs shooting through the wide-angle color camera and the telephoto black-and-white camera.
这是因为,这种情况下,广角黑白摄像头的解像力等于长焦彩色摄像头的解像力。因此,若用户输入的缩放比例较小,图像捕捉装置通过广角彩色摄像头和广角黑白摄像头进行拍摄。当用户逐渐增大缩放比例时,则图像捕捉装置可以将广角黑白摄像头切换为长焦黑白摄像头,即通过广角彩色摄像头和长焦黑白摄像头进行拍摄,由于广角黑白摄像头的解像力等于长焦彩色摄像头的解像力,所以即使用户将预览图像“放大”较大的幅度,图像的清晰度也不会发生跳变。This is because, in this case, the resolution of the wide-angle black-and-white camera is equal to the resolution of the telephoto color camera. Therefore, if the zoom ratio input by the user is small, the image capturing device shoots through the wide-angle color camera and the wide-angle black-and-white camera. When the user gradually increases the zoom ratio, the image capturing device can switch the wide-angle black-and-white camera to the telephoto black-and-white camera, that is, the wide-angle color camera and the telephoto black-and-white camera, because the resolution of the wide-angle black-and-white camera is equal to that of the telephoto color camera. Resolution, so even if the user "zooms in" the preview image to a large extent, the sharpness of the image will not jump.
需要说明的是,广角彩色摄像头可以是Bayer格式或Quadra格式。以广角彩色摄像头是Quadra格式为例,在变焦拍摄下,如果采用广角彩色摄像头捕捉图像,可以考虑根据场景的亮度值来调整广角彩色摄像头的格式。It should be noted that the wide-angle color camera may be in the Bayer format or the Quadra format. Taking the wide-angle color camera as the Quadra format as an example, if you use a wide-angle color camera to capture images under zoom shooting, you can consider adjusting the format of the wide-angle color camera according to the brightness value of the scene.
举例来说,在场景亮度较低时,可以直接采用Quadra格式的广角彩色摄像头。在 场景亮度较高时,图像捕捉装置可以通过Remosaic算法将广角彩色摄像头的Quadra格式变为Bayer格式,然后采用广角彩色摄像头进行拍摄。For example, when the scene brightness is low, you can directly use the wide-angle color camera in Quadra format. In When the scene brightness is high, the image capture device can change the Quadra format of the wide-angle color camera into the Bayer format by the Remosaic algorithm, and then use the wide-angle color camera to shoot.
下面介绍图像捕捉装置确定S的一种可能的方式。One possible way for the image capture device to determine S is described below.
通常,图像捕捉装置在某一个摄像头采集图像之后,该图像便有一个分辨率的初始值。而该图像的分辨率的初始值往往较低,所以图像捕捉装置可以提高该图像的分辨率的初始值。但是并不能无限制的提高,所以图像捕捉装置只能通过超分辨率技术将该图像的分辨率提高到一个最佳值。而S便可以理解为该最佳值和初始值的差值。Usually, after an image is captured by a certain camera, the image has an initial value of resolution. The initial value of the resolution of the image tends to be low, so the image capture device can increase the initial value of the resolution of the image. However, it cannot be improved without limitation, so the image capturing device can only increase the resolution of the image to an optimum value by super-resolution technology. S can be understood as the difference between the optimum value and the initial value.
S303:获取至少一个摄像头同时对待摄拍物体采集的图像,并将获取的图像进行处理,得到待拍摄物体的图像。S303: Acquire at least one camera to simultaneously treat an image acquired by the captured object, and process the acquired image to obtain an image of the object to be photographed.
S303可分为两步来实现。第一步,每个摄像头采集待拍摄物体的图像;第二步,图像捕捉装置将每个摄像头采集到的图像进行处理得到待拍摄物体的图像。这两步与前述的图1所示实施例中S203的两步类似。唯一不同的是,在这里的第二步中,增加图像捕捉装置对待拍摄物体的图像进行裁剪的过程。S303 can be implemented in two steps. In the first step, each camera captures an image of the object to be photographed; in the second step, the image capturing device processes the image acquired by each camera to obtain an image of the object to be photographed. These two steps are similar to the two steps of S203 in the aforementioned embodiment shown in FIG. The only difference is that in the second step here, the process of cropping the image of the object to be photographed by the image capturing device is increased.
这是因为,用户期望将图像中的显示的较小的物体“放大”,而放大后的图像其实是“放大”前的图像中的一部分,所以为了拍摄到“放大”后的物体,图像捕捉装置可以将待拍摄物体进行裁剪,以得到用户期望“放大”的物体的拍摄图像。This is because the user expects to "magnify" the smaller object displayed in the image, and the enlarged image is actually a part of the image before "zooming in", so in order to capture the object after "zooming", image capturing The device may crop the object to be photographed to obtain a captured image of the object that the user desires to "zoom in".
以图像捕捉装置选择选择广角彩色摄像头和广角黑白摄像头来捕捉待拍摄物体的图像为例,那么图像捕捉装置可以将广角彩色摄像头采集的第一图像和广角黑白摄像头采集的第二图像进行裁剪。下面分别介绍两种可能的裁剪方式。Taking the image capturing device to select and select the wide-angle color camera and the wide-angle black-and-white camera to capture the image of the object to be photographed, the image capturing device may crop the first image captured by the wide-angle color camera and the second image captured by the wide-angle black-and-white camera. Here are two possible ways to crop.
第一种方式,图像捕捉装置可以将第一图像或第二图像的长和宽分别缩小F倍。这里的F即为前述的图像捕捉装置根据缩放指令确定的缩放比例。In the first mode, the image capturing device can reduce the length and width of the first image or the second image by F times. Here, F is the scaling determined by the aforementioned image capturing device according to the scaling instruction.
举例来说,第一图像在未裁剪之前的尺寸为:长L1,宽H1,裁剪之后的第一图像的尺寸为:长L1/F,宽H1/F。第二图像在未裁剪之前的尺寸为:长L2,宽H2,裁剪之后的第二图像的尺寸为:长L2/F,宽H2/F。这种方式适合于广角彩色摄像头和广角黑白摄像头之间的分辨率相同的情况。For example, the size of the first image before being cropped is: length L 1 , width H 1 , and the size of the first image after cropping is: length L 1 /F, width H 1 /F. The size of the second image before being cropped is: length L 2 , width H 2 , and the size of the second image after cropping is: length L 2 /F, width H 2 /F. This method is suitable for the case where the resolution between the wide-angle color camera and the wide-angle black-and-white camera is the same.
第二种方式,图像捕捉装置可以将第一图像或第二图像的长和宽分别缩小WF倍。这里的W用于指示广角彩色摄像头和广角黑白摄像头之间的分辨率的比值。例如广角彩色摄像头的分辨率为A,广角黑白摄像头的分辨率为B,那么W=A/B。In the second mode, the image capturing device can reduce the length and width of the first image or the second image by WF times. Here, W is used to indicate the ratio of the resolution between the wide-angle color camera and the wide-angle black-and-white camera. For example, the resolution of a wide-angle color camera is A, and the resolution of a wide-angle black-and-white camera is B, then W=A/B.
举例来说,第一图像在未裁剪之前的尺寸为:长L1,宽H1,裁剪之后的第一图像的尺寸为:长L1/W/F,宽H1/W/F。第二图像在未裁剪之前的尺寸为:长L2/WF,宽H2/F,裁剪之后的第二图像的尺寸为,长:L2/F/W,宽:H2/F/W。这种裁剪适合于广角彩色摄像头和广角黑白摄像头分辨率不同的情况。For example, the size of the first image before being cropped is: length L 1 , width H 1 , and the size of the first image after cropping is: length L 1 /W/F, width H 1 /W/F. The size of the second image before it is cropped is: length L 2 /WF, width H 2 /F, size of the second image after cropping, length: L 2 /F/W, width: H 2 /F/W . This type of cropping is suitable for wide-angle color cameras and wide-angle black and white cameras with different resolutions.
S304、输出待拍摄物体的图像。S304. Output an image of the object to be photographed.
关于S304的介绍请参加前述关于图2所示的实施例中关于S204的介绍。为了说明书的简洁,在此不做赘述。For an introduction to S304, please refer to the above description about S204 in the embodiment shown in FIG. 2. For the sake of brevity of the description, it will not be described here.
在本申请中,图像捕捉装置中各个摄像头所处的位置可以是任意的。例如所有摄像头可以较为集中的设置于图像拍摄设置中的某一位置处,也可以分散的设置在图像捕捉装置中的不同位置处。以图像捕捉装置具备三个摄像头为例。请参考图4,图4中列举了图像捕捉装置中三个摄像头(摄像头A-C)之间可能的排列方式。当然,在实际应用中,关于各个摄像头的位置不限于图4中列举的几种排列方式,可以根据实际情 况而定。In the present application, the position of each camera in the image capture device may be arbitrary. For example, all cameras may be disposed more concentrated at a certain position in the image capturing setting, or may be dispersedly disposed at different positions in the image capturing device. The image capturing device is provided with three cameras as an example. Please refer to FIG. 4, which illustrates a possible arrangement between three cameras (cameras A-C) in the image capture device. Of course, in practical applications, the positions of the respective cameras are not limited to the several arrangements listed in FIG. 4, and may be based on actual conditions. The situation depends on it.
需要说明的是,为了使得图像捕捉装置更加轻薄化,多个摄像头可以位于同一水平面上,即多个摄像头两两之间没有高度差。这样的话,可以避免图像捕捉装置过厚,有助于提高用户体验。当然,在同一平面上,多个摄像头之间的排序也可以是任意的。It should be noted that in order to make the image capturing device more light and thin, a plurality of cameras may be located on the same horizontal surface, that is, there is no height difference between the two cameras. In this way, the image capture device can be prevented from being too thick, which helps to improve the user experience. Of course, the ordering between multiple cameras on the same plane can also be arbitrary.
在本申请中,可以为每个摄像头配置一个光学防抖模块(optical image stabilizer,OIS),以防止在拍摄图像的过程中,出现由于用户的抖动而导致拍摄的图像模糊的情况。当然,也可以只配置一个OIS,即所有摄像头共用该OIS。In the present application, an optical image stabilizer (OIS) may be provided for each camera to prevent blurring of the captured image due to user's jitter during image capture. Of course, it is also possible to configure only one OIS, that is, all cameras share the OIS.
总结来说,在本申请中,图像捕捉装置包括三个摄像头分别为广角彩色摄像头、广角黑白摄像头、长焦摄像头,三个摄像头各有优势,例如广角黑白摄像头适合拍摄近景并且捕捉待拍摄物体的细节的能力较强,广角彩色摄像头适合拍摄近景并且获取待拍摄物体的颜色信息的能力较强,而长焦摄像头适合拍摄远景。图像捕捉装置可以利用这个三个摄像头各自的优势得到质量较好的待拍摄物体的图像,从而提高获得的图像的质量。In summary, in the present application, the image capturing device includes three cameras: a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto camera. Each of the three cameras has advantages. For example, a wide-angle black-and-white camera is suitable for capturing close-ups and capturing objects to be photographed. The ability to be more detailed, the wide-angle color camera is suitable for shooting close-ups and has the ability to obtain color information of the object to be photographed, while the telephoto camera is suitable for shooting distant scenes. The image capturing device can take advantage of the respective advantages of the three cameras to obtain an image of a better-quality object to be photographed, thereby improving the quality of the obtained image.
下面结合附图介绍本申请提供的设备。The device provided by the present application will be described below with reference to the accompanying drawings.
图5示出了一种图像捕捉装置500的结构示意图。该图像捕捉装置500可以实现上文中涉及的图像捕捉装置的功能。该图像捕捉装置500可以包括输入单元501、处理单元502、输出单元503。其中,输入单元501可以用于执行图3所示的实施例中的S301,和/或用于支持本文所描述的技术的其它过程。处理单元502可以用于执行图3所示的实施例中的S302-S303,和/或用于支持本文所描述的技术的其它过程。输出单元503可以用于执行图3所示的实施例中的S304,和/或用于支持本文所描述的技术的其它过程。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。FIG. 5 shows a schematic structural view of an image capturing device 500. The image capture device 500 can implement the functions of the image capture device referred to above. The image capturing device 500 may include an input unit 501, a processing unit 502, and an output unit 503. Wherein, the input unit 501 can be used to execute S301 in the embodiment shown in FIG. 3, and/or other processes for supporting the techniques described herein. Processing unit 502 can be used to perform S302-S303 in the embodiment illustrated in FIG. 3, and/or other processes for supporting the techniques described herein. Output unit 503 can be used to perform S304 in the embodiment shown in FIG. 3, and/or other processes for supporting the techniques described herein. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
图6示出了一种图像捕捉装置600的结构示意图。该图像捕捉装置600可以实现上文中涉及的图像捕捉装置的功能。该图像捕捉装置600可以包括处理单元601和输出单元602。其中,处理单元601可以用于执行图2所示的实施例中的S201-S203,和/或用于支持本文所描述的技术的其它过程。输出单元602可以用于执行图2所示的实施例中的S204,和/或用于支持本文所描述的技术的其它过程。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。FIG. 6 shows a schematic structural view of an image capturing device 600. The image capture device 600 can implement the functions of the image capture device referred to above. The image capture device 600 can include a processing unit 601 and an output unit 602. Wherein, the processing unit 601 can be used to execute S201-S203 in the embodiment shown in FIG. 2, and/or other processes for supporting the techniques described herein. Output unit 602 can be used to perform S204 in the embodiment shown in FIG. 2, and/or other processes for supporting the techniques described herein. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
需要说明的是,在本申请中,上述图像捕捉装置500和图像捕捉装置600以功能单元的形式展示。在不受限制的情况下,本文所使用的术语“单元”可指执行一个或多个软件或固件程序的专用集成电路(application-specific integrated circuit,ASIC)、电子电路、(共享、专用或组)处理器以及存储器,组合逻辑电路,和/或提供所述功能的其它合适的部件。It should be noted that, in the present application, the image capturing device 500 and the image capturing device 600 described above are presented in the form of functional units. The term "unit" as used herein, without limitation, may refer to an application-specific integrated circuit (ASIC), electronic circuit, (shared, dedicated, or group) that executes one or more software or firmware programs. A processor and memory, combinational logic, and/or other suitable components that provide the described functionality.
在一个简单的实施例中,本领域的技术人员可以想到,还可以将图像捕捉装置500和图像捕捉装置600中的任意一个图像捕捉装置通过如图7所示的结构实现。In a simple embodiment, those skilled in the art will appreciate that any one of the image capture device 500 and the image capture device 600 can also be implemented by the structure shown in FIG.
如图7所示,图像捕捉装置700可以包括:存储器701、处理器702和总线703。存储器701和处理器702可以通过总线703连接。其中,存储器701用于存储计算机执行指令,当图像捕捉装置700运行时,处理器702执行存储器701存储的计算机执行指令,以使图像捕捉装置700执行图2或图3所示的实施例提供的图像捕捉方法。具体的图像捕捉方法可参考上文及附图中的相关描述,此处不再赘述。 As shown in FIG. 7, the image capture device 700 can include a memory 701, a processor 702, and a bus 703. The memory 701 and the processor 702 can be connected by a bus 703. The memory 701 is configured to store computer execution instructions. When the image capturing apparatus 700 is in operation, the processor 702 executes computer execution instructions stored in the memory 701 to cause the image capturing apparatus 700 to perform the embodiment provided in the embodiment shown in FIG. 2 or FIG. 3. Image capture method. For a specific image capturing method, reference may be made to the related descriptions in the above and the drawings, and details are not described herein again.
在本申请中,处理器702可以是现场可编程门阵列(field-programmable gate array,FPGA),专用集成芯片(application specific integrated circuit,ASIC),系统芯片(system on chip,SoC),中央处理器(central processor unit,CPU),网络处理器(network processor,NP),数字信号处理电路(digital signal processor,DSP),微控制器(micro controller unit,MCU),还可以采用可编程控制器(programmable logic device,PLD)或其他集成芯片。总线703可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线703可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。In the present application, the processor 702 may be a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit. (central processor unit, CPU), network processor (NP), digital signal processor (DSP), microcontroller (micro controller unit (MCU), can also use programmable controller (programmable Logic device, PLD) or other integrated chip. The bus 703 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like. The bus 703 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 7, but it does not mean that there is only one bus or one type of bus.
在上述发明实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘Solid State Disk(SSD))等。In the above described embodiments of the invention, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another readable storage medium, for example, the computer instructions can be passed from a website site, computer, server or data center Wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)) or the like.
以上实施例仅用以对本申请的技术方案进行详细介绍,但以上实施例的说明只是用于帮助理解本申请的方法及其核心思想,不应该理解为对本申请的限制。本领域技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。 The above embodiments are only used to describe the technical solutions of the present application in detail, but the description of the above embodiments is only for helping to understand the method and the core idea of the present application, and should not be construed as limiting the present application. Those skilled in the art, within the scope of the technical scope of the present application, are susceptible to variations or substitutions within the scope of the present application.

Claims (30)

  1. 一种图像捕捉装置,其特征在于,所述装置包括:An image capture device, characterized in that the device comprises:
    广角彩色摄像头、广角黑白摄像头、长焦摄像头、处理器和存储器;其中,所述广角彩色摄像头、所述广角黑白摄像头和所述长焦摄像头设置于所述图像捕捉装置的壳体的同一侧面;所述广角黑白摄像头和所述广角彩色摄像头的视场角相同,所述长焦摄像头的视场角小于所述广角彩色摄像头的视场角;a wide-angle color camera, a wide-angle black-and-white camera, a telephoto camera, a processor, and a memory; wherein the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto camera are disposed on the same side of the housing of the image capturing device; The wide-angle black-and-white camera and the wide-angle color camera have the same angle of view, and the field of view of the telephoto camera is smaller than the angle of view of the wide-angle color camera;
    所述存储器用于存储所述广角彩色摄像头、所述广角黑白摄像头或所述长焦摄像头中的至少一个摄像头捕捉的待拍摄物体的静态或动态图像;The memory is configured to store a static or dynamic image of an object to be photographed captured by at least one of the wide-angle color camera, the wide-angle black-and-white camera, or the telephoto camera;
    所述处理器用于处理所述静态或动态图像,得到所述待拍摄物体的图像。The processor is configured to process the static or dynamic image to obtain an image of the object to be photographed.
  2. 如权利要求1所述的装置,其特征在于,所述广角彩色摄像头位于所述广角黑白摄像头和所述长焦摄像头之间。The apparatus of claim 1 wherein said wide-angle color camera is located between said wide-angle black and white camera and said telephoto camera.
  3. 如权利要求1或2所述的装置,其特征在于,所述长焦摄像头为长焦彩色摄像头。The apparatus of claim 1 or 2 wherein said telephoto camera is a telephoto color camera.
  4. 如权利要求1-3任一所述的装置,其特征在于,所述长焦摄像头为内置摄像头,所述广角彩色摄像头和所述广角黑白摄像头设置于所述图像捕捉装置的外置配件上,所述外置配件可旋转的连接于所述图像捕捉装置的边框,所述外置配件与所述图像捕捉装置的显示屏之间所形成的角度为0-360度之间的任意角度。The device according to any one of claims 1-3, wherein the telephoto camera is a built-in camera, and the wide-angle color camera and the wide-angle black-and-white camera are disposed on an external component of the image capturing device. The external accessory is rotatably coupled to a bezel of the image capture device, and an angle formed between the external accessory and a display screen of the image capture device is any angle between 0 and 360 degrees.
  5. 一种图像捕捉方法,其特征在于,所述方法应用于包括广角彩色摄像头、广角黑白摄像头、长焦彩色摄像头的图像捕捉装置;其中,所述广角彩色摄像头和所述广角黑白摄像头的视场角相同,且所述长焦彩色摄像头的视场角小于所述广角彩色摄像头的视场角,所述广角黑白摄像头的解像力大于等于所述长焦彩色摄像头的解像力,所述方法包括:An image capturing method, wherein the method is applied to an image capturing device including a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto color camera; wherein the wide-angle color camera and the wide-angle black-and-white camera have an angle of view The same, and the field of view of the telephoto color camera is smaller than the field of view of the wide-angle color camera, and the resolution of the wide-angle black-and-white camera is greater than or equal to the resolution of the telephoto camera. The method includes:
    接收缩放指令,所述缩放指令用于对所述装置当前的预览图像进行缩放;Receiving a scaling instruction, the scaling instruction is for scaling a current preview image of the device;
    若所述缩放指令对应的缩放比例小于或等于预设比例,获取所述广角彩色摄像头和所述广角黑白摄像头分别同时对待拍摄物体捕捉的图像;并输出所述待拍摄物体的图像,其中,所述待拍摄物体的图像为将所述广角彩色摄像头和所述广角黑白摄像头捕捉的图像进行融合后得到;或Obtaining, by the wide-angle color camera and the wide-angle black-and-white camera, an image captured by the object to be photographed, respectively, and outputting an image of the object to be photographed, where the zoom ratio corresponding to the zoom instruction is less than or equal to a preset ratio The image of the object to be photographed is obtained by fusing the image captured by the wide-angle color camera and the wide-angle black-and-white camera; or
    若所述缩放比例对应的缩放比例大于所述预设比例,获取所述广角黑白摄像头和所述长焦彩色摄像头同时对待拍摄物体捕捉的图像;并输出所述待拍摄物体的图像,其中,所述待拍摄物体的图像为将所述广角白摄像头和所述长焦彩色摄像头捕捉的图像进行融合后得到的。If the zoom ratio corresponding to the zoom ratio is greater than the preset ratio, acquiring the image captured by the wide-angle black-and-white camera and the telephoto color camera at the same time; and outputting an image of the object to be photographed, where The image of the object to be photographed is obtained by fusing the image captured by the wide-angle white camera and the telephoto color camera.
  6. 如权利要求5所述的方法,其特征在于,在获取对待拍摄物体捕捉的图像之前,所述方法还包括:The method of claim 5, wherein the method further comprises: before acquiring the image captured by the object to be photographed, the method further comprising:
    确定所述待拍摄物体所处场景的亮度值;Determining a brightness value of a scene in which the object to be photographed is located;
    根据所述亮度值,分别控制所述广角彩色摄像头、所述广角黑白摄像头和所述长焦彩色摄像头中每个摄像头捕捉对应帧数的图像。And controlling, according to the brightness value, each of the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto color camera to capture an image of a corresponding number of frames.
  7. 如权利要求6所述的方法,其特征在于,所述根据亮度值分别控制每个摄像头捕捉对应帧数的图像,包括: The method according to claim 6, wherein the controlling each camera to capture an image of the corresponding number of frames according to the brightness value comprises:
    若所述亮度值大于第一预设亮度值,则控制所述每个摄像头捕捉P帧图像;或Controlling, by the each camera, a P frame image if the brightness value is greater than the first preset brightness value; or
    若所述亮度值小于等于第二预设亮度值,则控制所述每个摄像头捕捉Q帧图像;If the brightness value is less than or equal to the second preset brightness value, controlling each of the cameras to capture the Q frame image;
    其中,所述第二预设亮度值小于所述第一预设亮度值,P、Q为正整数,且P大于Q。The second preset brightness value is smaller than the first preset brightness value, P and Q are positive integers, and P is greater than Q.
  8. 如权利要求5-7任一所述的方法,其特征在于,在输出所述待拍摄物体的图像之前,所述方法还包括:The method according to any one of claims 5-7, wherein before the outputting the image of the object to be photographed, the method further comprises:
    确定所述待拍摄物体所处的场景的深度信息;Determining depth information of a scene in which the object to be photographed is located;
    根据所述深度信息,对获得的对所述待拍摄物体捕捉的图像进行处理。The obtained image captured by the object to be photographed is processed according to the depth information.
  9. 一种图像捕捉方法,其特征在于,所述方法应用于包括广角彩色摄像头、广角黑白摄像头、长焦黑白摄像头的图像捕捉装置;其中,所述广角彩色摄像头和所述广角黑白摄像头的视场角相同,且所述长焦黑白摄像头的视场角小于所述广角彩色摄像头的视场角,所述广角黑白摄像头的解像力大于等于所述长焦彩色摄像头的解像力,所述方法包括:An image capturing method, wherein the method is applied to an image capturing device including a wide-angle color camera, a wide-angle black-and-white camera, and a telephoto black-and-white camera; wherein the wide-angle color camera and the wide-angle black-and-white camera have an angle of view The same, and the field of view of the telephoto black and white camera is smaller than the field of view of the wide-angle color camera, and the resolution of the wide-angle black-and-white camera is greater than or equal to the resolution of the telephoto camera. The method includes:
    接收缩放指令,所述缩放指令用于对所述装置当前的预览图像进行缩放;Receiving a scaling instruction, the scaling instruction is for scaling a current preview image of the device;
    若所述缩放指令对应的缩放比例小于或等于预设比例,获取所述广角彩色摄像头和所述广角黑白摄像头分别同时对待拍摄物体捕捉的图像;并输出所述待拍摄物体的图像,其中,所述待拍摄物体的图像为将所述广角彩色摄像头和所述广角黑白摄像头捕捉的图像进行融合后得到;或Obtaining, by the wide-angle color camera and the wide-angle black-and-white camera, an image captured by the object to be photographed, respectively, and outputting an image of the object to be photographed, where the zoom ratio corresponding to the zoom instruction is less than or equal to a preset ratio The image of the object to be photographed is obtained by fusing the image captured by the wide-angle color camera and the wide-angle black-and-white camera; or
    若所述缩放比例对应的缩放比例大于所述预设比例,获取所述广角彩色摄像头和所述长焦黑白摄像头同时对待拍摄物体捕捉的图像;并输出所述待拍摄物体的图像,其中,所述待拍摄物体的图像为将所述广角彩色摄像头和所述长焦黑白摄像头捕捉的图像进行融合后得到。Obtaining, by the wide-angle color camera and the telephoto black-and-white camera, an image captured by the object to be photographed; and outputting an image of the object to be photographed, where the zoom ratio is greater than the preset scale The image of the object to be photographed is obtained by fusing the image captured by the wide-angle color camera and the telephoto black-and-white camera.
  10. 如权利要求9所述的方法,其特征在于,在获取对待拍摄物体捕捉的图像之前,所述方法还包括:The method of claim 9, wherein the method further comprises: before acquiring the image captured by the object to be photographed, the method further comprising:
    确定所述待拍摄物体所处场景的亮度值;Determining a brightness value of a scene in which the object to be photographed is located;
    根据所述亮度值,分别控制所述广角彩色摄像头、所述广角黑白摄像头和所述长焦黑白摄像头中每个摄像头捕捉对应帧数的图像。And controlling, according to the brightness value, each of the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto black-and-white camera to capture an image of a corresponding number of frames.
  11. 如权利要求10所述的方法,其特征在于,所述根据亮度值分别控制每个摄像头捕捉对应帧数的图像,包括:The method according to claim 10, wherein the controlling each camera to capture an image of the corresponding number of frames according to the brightness value comprises:
    若所述亮度值大于第一预设亮度值,则控制所述每个摄像头捕捉P帧图像;或Controlling, by the each camera, a P frame image if the brightness value is greater than the first preset brightness value; or
    若所述亮度值小于等于第二预设亮度值,则控制所述每个摄像头捕捉Q帧图像;If the brightness value is less than or equal to the second preset brightness value, controlling each of the cameras to capture the Q frame image;
    其中,所述第二预设亮度值小于所述第一预设亮度值,P、Q为正整数,且P大于Q。The second preset brightness value is smaller than the first preset brightness value, P and Q are positive integers, and P is greater than Q.
  12. 如权利要求9-11任一所述的方法,其特征在于,在输出所述待拍摄物体的图像之前,所述方法还包括:The method according to any one of claims 9-11, wherein before the outputting the image of the object to be photographed, the method further comprises:
    确定所述待拍摄物体所处的场景的深度信息;Determining depth information of a scene in which the object to be photographed is located;
    根据所述深度信息,对获得的对所述待拍摄物体捕捉的图像进行处理。The obtained image captured by the object to be photographed is processed according to the depth information.
  13. 一种图像捕捉方法,其特征在于,所述方法应用于包括广角彩色摄像头、广 角黑白摄像头、长焦黑白摄像头的图像捕捉装置;其中,所述广角彩色摄像头和所述广角黑白摄像头的视场角相同,且所述长焦黑白摄像头的视场角小于所述广角彩色摄像头的视场角,所述方法包括:An image capturing method, characterized in that the method is applied to a wide-angle color camera, widely An image capturing device of an angle black and white camera, a telephoto black and white camera; wherein, the wide angle color camera and the wide angle black and white camera have the same angle of view, and the field of view of the telephoto black and white camera is smaller than that of the wide angle color camera The field of view, the method includes:
    确定待拍摄物体所处的场景;Determining the scene in which the object to be photographed is located;
    若所述场景为远景,获取所述广角彩色摄像头、所述广角黑白摄像头和所述长焦摄像头分别同时对所述待拍摄物体捕捉的图像;If the scene is a distant view, acquiring an image captured by the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto camera respectively for the object to be photographed;
    根据所述广角彩色摄像头采集的第一图像和所述广角黑白摄像头采集的第二图像确定所述场景的深度信息;Determining depth information of the scene according to the first image acquired by the wide-angle color camera and the second image captured by the wide-angle black and white camera;
    根据所述深度信息对第一预拍摄图像进行处理,得到所述待拍摄物体的图像;所述第一预拍摄图像由所述第一图像、所述第二图像和所述长焦摄像头采集的第三图像进行融合得到;Processing the first pre-capture image according to the depth information to obtain an image of the object to be photographed; the first pre-capture image is collected by the first image, the second image, and the telephoto camera The third image is obtained by fusion;
    输出所述待拍摄物体的图像。An image of the object to be photographed is output.
  14. 如权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13 wherein the method further comprises:
    若所述场景为近景,获取所述广角彩色摄像头和所述广角黑白摄像头分别同时对所述待拍摄物体捕捉的图像;If the scene is a close-up view, acquiring an image captured by the wide-angle color camera and the wide-angle black-and-white camera at the same time for the object to be photographed;
    根据所述广角彩色摄像头采集的第三图像和所述广角黑白摄像头采集的第四图像确定所述场景的深度信息;Determining depth information of the scene according to the third image acquired by the wide-angle color camera and the fourth image captured by the wide-angle black and white camera;
    根据所述场景深度信息对第二预拍摄图像进行处理,得到所述待拍摄物体的图像;所述第二预拍摄图像由所述第三图像和所述第四图像进行融合得到。And processing the second pre-capture image according to the scene depth information to obtain an image of the object to be photographed; and the second pre-capture image is obtained by fusing the third image and the fourth image.
  15. 如权利要求13所述的方法,其特征在于,在获取对所述待拍摄物体捕捉的图像之前,所述方法还包括:The method of claim 13, wherein the method further comprises: before acquiring an image captured by the object to be photographed, the method further comprising:
    确定所述场景的亮度值;Determining a brightness value of the scene;
    根据所述亮度值,分别控制所述广角彩色摄像头、所述广角黑白摄像头、所述长焦摄像头中的每个摄像头采集对应帧数的图像。And controlling, according to the brightness value, each of the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto camera to acquire an image of a corresponding number of frames.
  16. 如权利要求15所述的方法,其特征在于,根据所述亮度值,分别控制每个摄像头采集对应帧数的图像,包括:The method of claim 15, wherein each camera is configured to acquire an image of the corresponding number of frames according to the brightness value, comprising:
    若所述亮度值大于第一预设亮度值,则控制所述每个摄像头采集P帧图像;或Controlling, by the each camera, a P frame image if the brightness value is greater than the first preset brightness value; or
    若所述亮度值小于等于第二预设亮度值,则控制所述每个摄像头采集Q帧图像;If the brightness value is less than or equal to the second preset brightness value, controlling each camera to collect a Q frame image;
    其中,所述第二预设亮度值小于所述第一预设亮度值,P、Q为正整数,且P大于Q。The second preset brightness value is smaller than the first preset brightness value, P and Q are positive integers, and P is greater than Q.
  17. 一种图像捕捉装置,其特征在于,所述装置包括广角彩色摄像头、广角黑白摄像头、长焦彩色摄像头、处理单元和输入单元和输出单元;其中,所述广角彩色摄像头和所述广角黑白摄像头的视场角相同,且所述长焦彩色摄像头的视场角小于所述广角彩色摄像头的视场角;所述广角黑白摄像头的解像力大于等于所述长焦彩色摄像头的解像力;An image capturing device, comprising: a wide-angle color camera, a wide-angle black-and-white camera, a telephoto color camera, a processing unit, and an input unit and an output unit; wherein the wide-angle color camera and the wide-angle black-and-white camera The field of view is the same, and the field of view of the telephoto color camera is smaller than the field of view of the wide-angle color camera; the resolution of the wide-angle black-and-white camera is greater than or equal to the resolution of the telephoto camera;
    所述输入单元用于接收缩放指令,所述缩放指令用于对所述装置当前的预览图像进行缩放;The input unit is configured to receive a zoom instruction, where the zoom instruction is used to scale a current preview image of the device;
    所述处理单元用于在所述缩放指令对应的缩放比例小于或等于预设比例时,获取所述广角彩色摄像头和所述广角黑白摄像头分别同时对待拍摄物体捕捉的图像; The processing unit is configured to acquire an image captured by the wide-angle color camera and the wide-angle black-and-white camera at the same time when the zoom ratio corresponding to the zoom instruction is less than or equal to a preset ratio;
    所述输出单元还用于输出所述待拍摄物体的图像,其中,所述待拍摄物体的图像为将所述广角彩色摄像头和所述广角黑白摄像头捕捉的图像进行融合后得到;The output unit is further configured to output an image of the object to be photographed, wherein the image of the object to be photographed is obtained by fusing an image captured by the wide-angle color camera and the wide-angle black-and-white camera;
    所述处理单元还用于在所述缩放比例对应的缩放比例大于所述预设比例时,获取所述广角黑白摄像头和所述长焦彩色摄像头同时对待拍摄物体捕捉的图像;The processing unit is further configured to acquire an image captured by the wide-angle black-and-white camera and the telephoto color camera at the same time when the zoom ratio corresponding to the zoom ratio is greater than the preset ratio;
    所述输出单元还用于输出所述待拍摄物体的图像,其中,或所述待拍摄物体的图像为将所述广角白摄像头和所述长焦彩色摄像头捕捉的图像进行融合后得到的。The output unit is further configured to output an image of the object to be photographed, wherein the image of the object to be photographed is obtained by fusing an image captured by the wide-angle white camera and the telephoto color camera.
  18. 如权利要求17所述的装置,其特征在于,所述处理单元还用于:The apparatus according to claim 17, wherein said processing unit is further configured to:
    确定所述待拍摄物体所处场景的亮度值;Determining a brightness value of a scene in which the object to be photographed is located;
    根据所述亮度值,分别控制所述广角彩色摄像头、所述广角黑白摄像头和所述长焦彩色摄像头中每个摄像头捕捉对应帧数的图像。And controlling, according to the brightness value, each of the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto color camera to capture an image of a corresponding number of frames.
  19. 如权利要求18所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 18, wherein the processing unit is specifically configured to:
    若所述亮度值大于第一预设亮度值,则控制所述每个摄像头捕捉P帧图像;或Controlling, by the each camera, a P frame image if the brightness value is greater than the first preset brightness value; or
    若所述亮度值小于等于第二预设亮度值,则控制所述每个摄像头捕捉Q帧图像;If the brightness value is less than or equal to the second preset brightness value, controlling each of the cameras to capture the Q frame image;
    其中,所述第二预设亮度值小于所述第一预设亮度值,P、Q为正整数,且P大于Q。The second preset brightness value is smaller than the first preset brightness value, P and Q are positive integers, and P is greater than Q.
  20. 如权利要求17-19任一所述的装置,其特征在于,所述处理单元还用于:The device according to any one of claims 17 to 19, wherein the processing unit is further configured to:
    确定所述待拍摄物体所处的场景的深度信息;Determining depth information of a scene in which the object to be photographed is located;
    根据所述深度信息,对获得的对所述待拍摄物体捕捉的图像进行处理。The obtained image captured by the object to be photographed is processed according to the depth information.
  21. 一种图像捕捉装置,其特征在于,所述装置包括广角彩色摄像头、广角黑白摄像头、长焦黑白摄像头、输入单元、处理单元和输出单元;其中,所述广角彩色摄像头和所述广角黑白摄像头的视场角相同,且所述长焦黑白摄像头的视场角小于所述广角彩色摄像头的视场角,所述广角黑白摄像头的解像力大于等于所述长焦彩色摄像头的解像力;An image capturing device, comprising: a wide-angle color camera, a wide-angle black-and-white camera, a telephoto black-and-white camera, an input unit, a processing unit, and an output unit; wherein the wide-angle color camera and the wide-angle black-and-white camera The field of view is the same, and the field of view of the telephoto black and white camera is smaller than the field of view of the wide-angle color camera, and the resolution of the wide-angle black-and-white camera is greater than or equal to the resolution of the telephoto camera;
    所述输入单元用于接收缩放指令,所述缩放指令用于对所述装置当前的预览图像进行缩放;The input unit is configured to receive a zoom instruction, where the zoom instruction is used to scale a current preview image of the device;
    所述处理单元用于在所述缩放指令对应的缩放比例小于或等于预设比例时,获取所述广角彩色摄像头和所述广角黑白摄像头分别同时对待拍摄物体捕捉的图像;The processing unit is configured to acquire an image captured by the wide-angle color camera and the wide-angle black-and-white camera at the same time when the zoom ratio corresponding to the zoom instruction is less than or equal to a preset ratio;
    所述输出单元用于输出所述待拍摄物体的图像,其中,所述待拍摄物体的图像为将所述广角彩色摄像头和所述广角黑白摄像头捕捉的图像进行融合后得到;The output unit is configured to output an image of the object to be photographed, wherein the image of the object to be photographed is obtained by fusing an image captured by the wide-angle color camera and the wide-angle black-and-white camera;
    所述处理单元还用于在所述缩放比例对应的缩放比例大于所述预设比例时,获取所述广角彩色摄像头和所述长焦黑白摄像头同时对待拍摄物体捕捉的图像;The processing unit is further configured to acquire an image captured by the wide-angle color camera and the telephoto black-and-white camera at the same time when the zoom ratio corresponding to the zoom ratio is greater than the preset ratio;
    所述输出单元还用于输出所述待拍摄物体的图像,其中,所述待拍摄物体的图像为将所述广角彩色摄像头和所述长焦黑白摄像头捕捉的图像进行融合后得到。The output unit is further configured to output an image of the object to be photographed, wherein the image of the object to be photographed is obtained by fusing an image captured by the wide-angle color camera and the telephoto black and white camera.
  22. 如权利要求21所述的装置,其特征在于,所述处理单元还用于:The device of claim 21, wherein the processing unit is further configured to:
    确定所述待拍摄物体所处场景的亮度值;Determining a brightness value of a scene in which the object to be photographed is located;
    根据所述亮度值,分别控制所述广角彩色摄像头、所述长焦黑白摄像头和所述长焦黑白摄像头中每个摄像头捕捉对应帧数的图像。And controlling, according to the brightness value, each of the wide-angle color camera, the telephoto black and white camera, and the telephoto black and white camera to capture an image of a corresponding number of frames.
  23. 如权利要求22所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 22, wherein the processing unit is specifically configured to:
    若所述亮度值大于第一预设亮度值,则控制所述每个摄像头捕捉P帧图像;或 Controlling, by the each camera, a P frame image if the brightness value is greater than the first preset brightness value; or
    若所述亮度值小于等于第二预设亮度值,则控制所述每个摄像头捕捉Q帧图像;If the brightness value is less than or equal to the second preset brightness value, controlling each of the cameras to capture the Q frame image;
    其中,所述第二预设亮度值小于所述第一预设亮度值,P、Q为正整数,且P大于Q。The second preset brightness value is smaller than the first preset brightness value, P and Q are positive integers, and P is greater than Q.
  24. 如权利要求21-23任一所述的装置,其特征在于,所述处理单元还用于:The device according to any one of claims 21 to 23, wherein the processing unit is further configured to:
    确定所述待拍摄物体所处的场景的深度信息;Determining depth information of a scene in which the object to be photographed is located;
    根据所述深度信息,对获得的对所述待拍摄物体捕捉的图像进行处理。The obtained image captured by the object to be photographed is processed according to the depth information.
  25. 一种图像捕捉装置,其特征在于,所述装置包括广角彩色摄像头、广角黑白摄像头、长焦黑白摄像头和处理单元和输出单元;其中,所述广角彩色摄像头和所述广角黑白摄像头的视场角相同,且所述长焦黑白摄像头的视场角小于所述广角彩色摄像头的视场角,所述处理单元用于:An image capturing device, comprising: a wide-angle color camera, a wide-angle black-and-white camera, a telephoto black-and-white camera, and a processing unit and an output unit; wherein an angle of view of the wide-angle color camera and the wide-angle black-and-white camera Similarly, and the field of view of the telephoto black and white camera is smaller than the field of view of the wide-angle color camera, the processing unit is configured to:
    确定待拍摄物体所处的场景;Determining the scene in which the object to be photographed is located;
    若所述场景为远景,获取所述广角彩色摄像头、所述广角黑白摄像头和所述长焦摄像头分别同时对所述待拍摄物体捕捉的图像;If the scene is a distant view, acquiring an image captured by the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto camera respectively for the object to be photographed;
    根据所述广角彩色摄像头采集的第一图像和所述广角黑白摄像头采集的第二图像确定所述场景的深度信息;Determining depth information of the scene according to the first image acquired by the wide-angle color camera and the second image captured by the wide-angle black and white camera;
    根据所述深度信息对第一预拍摄图像进行处理,得到所述待拍摄物体的图像;所述第一预拍摄图像由所述第一图像、所述第二图像和所述长焦摄像头采集的第三图像进行融合得到;Processing the first pre-capture image according to the depth information to obtain an image of the object to be photographed; the first pre-capture image is collected by the first image, the second image, and the telephoto camera The third image is obtained by fusion;
    所述输出单元用于输出所述待拍摄物体的图像。The output unit is configured to output an image of the object to be photographed.
  26. 如权利要求25所述的装置,其特征在于,所述处理单元还用于:The apparatus of claim 25, wherein the processing unit is further configured to:
    若所述场景为近景,获取所述广角彩色摄像头和所述广角黑白摄像头分别同时对所述待拍摄物体捕捉的图像;If the scene is a close-up view, acquiring an image captured by the wide-angle color camera and the wide-angle black-and-white camera at the same time for the object to be photographed;
    根据所述广角彩色摄像头采集的第三图像和所述广角黑白摄像头采集的第四图像确定所述场景的深度信息;Determining depth information of the scene according to the third image acquired by the wide-angle color camera and the fourth image captured by the wide-angle black and white camera;
    根据所述场景深度信息对第二预拍摄图像进行处理,得到所述待拍摄物体的图像;所述第二预拍摄图像由所述第三图像和所述第四图像进行融合得到。And processing the second pre-capture image according to the scene depth information to obtain an image of the object to be photographed; and the second pre-capture image is obtained by fusing the third image and the fourth image.
  27. 如权利要求25所述的装置,其特征在于,所述处理单元还用于:The apparatus of claim 25, wherein the processing unit is further configured to:
    确定所述场景的亮度值;Determining a brightness value of the scene;
    根据所述亮度值,分别控制所述广角彩色摄像头、所述广角黑白摄像头、所述长焦摄像头中的每个摄像头采集对应帧数的图像。And controlling, according to the brightness value, each of the wide-angle color camera, the wide-angle black-and-white camera, and the telephoto camera to acquire an image of a corresponding number of frames.
  28. 如权利要求27所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 27, wherein the processing unit is specifically configured to:
    若所述亮度值大于第一预设亮度值,则控制所述每个摄像头采集P帧图像;或Controlling, by the each camera, a P frame image if the brightness value is greater than the first preset brightness value; or
    若所述亮度值小于等于第二预设亮度值,则控制所述每个摄像头采集Q帧图像;If the brightness value is less than or equal to the second preset brightness value, controlling each camera to collect a Q frame image;
    其中,所述第二预设亮度值小于所述第一预设亮度值,P、Q为正整数,且P大于Q。The second preset brightness value is smaller than the first preset brightness value, P and Q are positive integers, and P is greater than Q.
  29. 一种计算机可读存储介质,其特征在于,包括指令,当其在计算机上运行时,使得计算机执行如权利要求5-16中任意一项所述的方法。A computer readable storage medium, comprising instructions that, when run on a computer, cause the computer to perform the method of any of claims 5-16.
  30. 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行如权利要求5-16中任意一项所述的方法。 A computer program product comprising instructions, wherein when executed on a computer, causes the computer to perform the method of any one of claims 5-16.
PCT/CN2017/092286 2017-07-07 2017-07-07 Image capturing apparatus and method WO2019006762A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/092286 WO2019006762A1 (en) 2017-07-07 2017-07-07 Image capturing apparatus and method
CN201780069983.6A CN109923850B (en) 2017-07-07 2017-07-07 Image capturing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/092286 WO2019006762A1 (en) 2017-07-07 2017-07-07 Image capturing apparatus and method

Publications (1)

Publication Number Publication Date
WO2019006762A1 true WO2019006762A1 (en) 2019-01-10

Family

ID=64949636

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092286 WO2019006762A1 (en) 2017-07-07 2017-07-07 Image capturing apparatus and method

Country Status (2)

Country Link
CN (1) CN109923850B (en)
WO (1) WO2019006762A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191274A (en) * 2019-06-28 2019-08-30 Oppo广东移动通信有限公司 Imaging method, device, storage medium and electronic equipment
CN110493526A (en) * 2019-09-10 2019-11-22 北京小米移动软件有限公司 Image processing method, device, equipment and medium based on more photographing modules
CN112017137A (en) * 2020-08-19 2020-12-01 深圳市锐尔觅移动通信有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium
CN114979458A (en) * 2021-02-26 2022-08-30 华为技术有限公司 Image shooting method and electronic equipment
CN115705614A (en) * 2021-08-05 2023-02-17 北京小米移动软件有限公司 Image processing method, image processing device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866555B (en) * 2019-11-27 2022-08-05 北京小米移动软件有限公司 Shooting method, shooting device, shooting equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204392356U (en) * 2015-03-12 2015-06-10 王欣东 A kind of mobile phone with multiple different fixed focal length camera
CN106067937A (en) * 2015-04-23 2016-11-02 聚晶半导体股份有限公司 Camera lens module array, image sensering device and digital zooming image interfusion method
CN106412412A (en) * 2015-07-28 2017-02-15 Lg电子株式会社 Mobile terminal and method for controlling same
US20170054967A1 (en) * 2015-08-18 2017-02-23 Intel Corporation Depth sensing auto focus multiple camera system
CN106506962A (en) * 2016-11-29 2017-03-15 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106603911A (en) * 2016-11-29 2017-04-26 广东欧珀移动通信有限公司 Control method, control apparatus, and electronic apparatus
CN106791377A (en) * 2016-11-29 2017-05-31 广东欧珀移动通信有限公司 Control method, control device and electronic installation

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150189050A1 (en) * 2013-12-30 2015-07-02 Tau-Jeng Hsu Mobile phone structure capable of selectively mounting a camera lens
TWM511632U (en) * 2015-02-03 2015-11-01 Largan Precision Co Ltd Camera module and electronic device having camera module
CN106060367B (en) * 2016-07-29 2017-11-24 广东欧珀移动通信有限公司 Dual camera camera control method, device and filming apparatus
CN106254744A (en) * 2016-09-23 2016-12-21 成都创慧科达科技有限公司 A kind of external dual camera of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204392356U (en) * 2015-03-12 2015-06-10 王欣东 A kind of mobile phone with multiple different fixed focal length camera
CN106067937A (en) * 2015-04-23 2016-11-02 聚晶半导体股份有限公司 Camera lens module array, image sensering device and digital zooming image interfusion method
CN106412412A (en) * 2015-07-28 2017-02-15 Lg电子株式会社 Mobile terminal and method for controlling same
US20170054967A1 (en) * 2015-08-18 2017-02-23 Intel Corporation Depth sensing auto focus multiple camera system
CN106506962A (en) * 2016-11-29 2017-03-15 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106603911A (en) * 2016-11-29 2017-04-26 广东欧珀移动通信有限公司 Control method, control apparatus, and electronic apparatus
CN106791377A (en) * 2016-11-29 2017-05-31 广东欧珀移动通信有限公司 Control method, control device and electronic installation

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191274A (en) * 2019-06-28 2019-08-30 Oppo广东移动通信有限公司 Imaging method, device, storage medium and electronic equipment
CN110493526A (en) * 2019-09-10 2019-11-22 北京小米移动软件有限公司 Image processing method, device, equipment and medium based on more photographing modules
CN110493526B (en) * 2019-09-10 2020-11-20 北京小米移动软件有限公司 Image processing method, device, equipment and medium based on multiple camera modules
US20210075975A1 (en) 2019-09-10 2021-03-11 Beijing Xiaomi Mobile Software Co., Ltd. Method for image processing based on multiple camera modules, electronic device, and storage medium
US11070744B2 (en) 2019-09-10 2021-07-20 Beijing Xiaomi Mobile Software Co., Ltd. Method for image processing based on multiple camera modules, electronic device, and storage medium
CN112017137A (en) * 2020-08-19 2020-12-01 深圳市锐尔觅移动通信有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112017137B (en) * 2020-08-19 2024-02-27 深圳市锐尔觅移动通信有限公司 Image processing method, device, electronic equipment and computer readable storage medium
CN114979458A (en) * 2021-02-26 2022-08-30 华为技术有限公司 Image shooting method and electronic equipment
CN114979458B (en) * 2021-02-26 2023-08-22 华为技术有限公司 Image shooting method and electronic equipment
CN115705614A (en) * 2021-08-05 2023-02-17 北京小米移动软件有限公司 Image processing method, image processing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109923850B (en) 2020-09-11
CN109923850A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN111885294B (en) Shooting method, device and equipment
KR102156597B1 (en) Optical imaging method and apparatus
WO2019006762A1 (en) Image capturing apparatus and method
WO2021073331A1 (en) Zoom blurred image acquiring method and device based on terminal device
CN110505411B (en) Image shooting method and device, storage medium and electronic equipment
US10701256B2 (en) Switchover control techniques for dual-sensor camera system
EP3329666B1 (en) Method and electronic device for stabilizing video
US9332194B2 (en) Imaging apparatus for obtaining a user-intended image when orientation of the imaging apparatus changes in applying a special effect that changes the image quality in a set direction
US20180152624A1 (en) Control method, control device and electronic device
WO2022100677A1 (en) Picture preview method and apparatus, and storage medium and electronic device
KR102229811B1 (en) Filming method and terminal for terminal
CN103986867A (en) Image shooting terminal and image shooting method
JP2018037859A (en) Image processing system and control method
WO2022237287A1 (en) Image display method and electronic device
WO2021218551A1 (en) Photographing method and apparatus, terminal device, and storage medium
JP6116436B2 (en) Image processing apparatus and image processing method
CN115134532A (en) Image processing method, image processing device, storage medium and electronic equipment
CN112653841A (en) Shooting method and device and electronic equipment
CN114866680B (en) Image processing method, device, storage medium and electronic equipment
RU2807091C1 (en) Image merger method and electronic device
CN114979458B (en) Image shooting method and electronic equipment
CN114071009B (en) Shooting method and equipment
CN117354625A (en) Image processing method and device, electronic equipment and readable storage medium
CN117560574A (en) Shooting method, electronic equipment and readable storage medium
CN116506742A (en) Camera switching method, device, electronic equipment and computer readable storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1