CN112087571A - Image acquisition method and device, electronic equipment and computer readable storage medium - Google Patents
Image acquisition method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112087571A CN112087571A CN201910516211.3A CN201910516211A CN112087571A CN 112087571 A CN112087571 A CN 112087571A CN 201910516211 A CN201910516211 A CN 201910516211A CN 112087571 A CN112087571 A CN 112087571A
- Authority
- CN
- China
- Prior art keywords
- wide
- angle
- image
- camera
- images
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/55—Optical parts specially adapted for electronic image sensors; Mounting thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本申请涉及影像技术领域,特别是涉及一种图像采集方法和装置、电子设备、计算机可读存储介质。The present application relates to the field of imaging technologies, and in particular, to an image acquisition method and apparatus, electronic equipment, and computer-readable storage medium.
背景技术Background technique
随着影像技术的发展,人们对电子设备的图像采集技术的要求越来越高,为提高电子设备的成像效果,越来越多的设备厂商为电子设备配置了多个摄像头。电子设备可以通过多个摄像头采集图像,以将多个摄像头采集的图像进行拼接合成。With the development of imaging technology, people have higher and higher requirements for the image acquisition technology of electronic equipment. In order to improve the imaging effect of electronic equipment, more and more equipment manufacturers are equipped with multiple cameras for electronic equipment. The electronic device may collect images through multiple cameras, so as to stitch and synthesize the images collected by the multiple cameras.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种图像采集方法、装置、电子设备和计算机可读存储介质,可以提高图像质量。Embodiments of the present application provide an image acquisition method, apparatus, electronic device, and computer-readable storage medium, which can improve image quality.
一种图像采集方法,应用于电子设备,所述电子设备包含广角摄像头和至少两个长焦摄像头,每个所述长焦摄像头与广角摄像头之间存在重叠的视场区域;所述方法包括:An image acquisition method, applied to an electronic device, the electronic device comprising a wide-angle camera and at least two telephoto cameras, and each of the telephoto cameras and the wide-angle camera has an overlapping field of view area; the method includes:
控制所述广角摄像头采集广角图像;controlling the wide-angle camera to collect wide-angle images;
控制每个所述长焦摄像头分别以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,其中,所述预设的焦点位于无穷远处;Controlling each of the telephoto cameras to collect one frame of telephoto images with a preset focus, to obtain at least two frames of telephoto images, wherein the preset focus is located at infinity;
将所述广角图像和至少两帧所述长焦图像进行融合处理,得到目标图像。一种图像采集装置,包括:Perform fusion processing on the wide-angle image and at least two frames of the telephoto image to obtain a target image. An image acquisition device, comprising:
第一采集模块,用于控制广角摄像头采集广角图像;a first acquisition module, used to control the wide-angle camera to collect wide-angle images;
第二采集模块,用于控制至少两个长焦摄像头中每个所述长焦摄像头分别以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,其中,所述预设的焦点位于无穷远处,每个所述长焦摄像头与广角摄像头之间存在重叠的视场区域;The second acquisition module is configured to control each of the at least two telephoto cameras to collect one frame of telephoto images with a preset focus, to obtain at least two frames of telephoto images, wherein the preset The focus is at infinity, and there is an overlapping field of view between each of the telephoto cameras and the wide-angle camera;
处理模块,用于将所述广角图像和至少两帧所述长焦图像进行融合处理,得到目标图像。A processing module, configured to perform fusion processing on the wide-angle image and at least two frames of the telephoto image to obtain a target image.
一种电子设备,包括广角摄像头、至少两个长焦摄像头、存储器及处理器;其中,每个所述长焦摄像头与广角摄像头之间存在重叠的视场区域;所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下步骤:An electronic device comprising a wide-angle camera, at least two telephoto cameras, a memory and a processor; wherein, there is an overlapping field of view area between each of the telephoto cameras and the wide-angle camera; a computer program is stored in the memory , when the computer program is executed by the processor, causing the processor to perform the following steps:
控制所述广角摄像头采集广角图像;controlling the wide-angle camera to collect wide-angle images;
控制每个所述长焦摄像头分别以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,其中,所述预设的焦点位于无穷远处;Controlling each of the telephoto cameras to collect one frame of telephoto images with a preset focus, to obtain at least two frames of telephoto images, wherein the preset focus is located at infinity;
将所述广角图像和至少两帧所述长焦图像进行融合处理,得到目标图像。Perform fusion processing on the wide-angle image and at least two frames of the telephoto image to obtain a target image.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
控制所述广角摄像头采集广角图像;controlling the wide-angle camera to collect wide-angle images;
控制每个所述长焦摄像头分别以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,其中,所述预设的焦点位于无穷远处;Controlling each of the telephoto cameras to collect one frame of telephoto images with a preset focus, to obtain at least two frames of telephoto images, wherein the preset focus is located at infinity;
将所述广角图像和至少两帧所述长焦图像进行融合处理,得到目标图像。Perform fusion processing on the wide-angle image and at least two frames of the telephoto image to obtain a target image.
上述图像采集方法、装置、电子设备和计算机可读存储介质,由于用于融合得到目标图像的广角图像为广角摄像头拍摄的图像,长焦图像为预设的焦点为无穷远处的长焦摄像头拍摄的图像,则至少两帧长焦图像中被拍摄物体可以保持一致的清晰度,可以避免由于不同摄像头之间对焦位置不同,而导致融合得到的图像清晰度不一致,图像效果、质量较差的问题,可以提高目标图像的质量。The above-mentioned image acquisition method, device, electronic device and computer-readable storage medium, since the wide-angle image used for fusion to obtain the target image is the image captured by the wide-angle camera, and the telephoto image is the preset focus is captured by the telephoto camera at infinity image, then at least two frames of telephoto images can maintain consistent sharpness of the object to be photographed, which can avoid the problem of inconsistent image sharpness, poor image effect and poor quality due to different focus positions between different cameras. , which can improve the quality of the target image.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为一个实施例中图像采集方法的应用环境图;Fig. 1 is the application environment diagram of the image acquisition method in one embodiment;
图2为一个实施例中图像处理电路的示意图;2 is a schematic diagram of an image processing circuit in one embodiment;
图3为一个实施例中图像采集方法的流程图;3 is a flowchart of an image acquisition method in one embodiment;
图4为一个实施例中广角图像和4帧长焦图像的示意图;4 is a schematic diagram of a wide-angle image and 4 frames of telephoto images in one embodiment;
图5为另一个实施例中图像采集方法的流程图;5 is a flowchart of an image acquisition method in another embodiment;
图6为一个实施例中2帧广角图像和4帧长焦图像的示意图;6 is a schematic diagram of 2 frames of wide-angle images and 4 frames of telephoto images in one embodiment;
图7为一个实施例中图像采集装置的结构框图;7 is a structural block diagram of an image acquisition device in one embodiment;
图8为一个实施例中电子设备的结构框图。FIG. 8 is a structural block diagram of an electronic device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一处理器称为第二处理器,且类似地,可将第二处理器称为第一处理器。第一处理器和第二处理器两者都是处理器,但其不是同一处理器。It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first processor could be referred to as a second processor, and similarly, a second processor could be referred to as a first processor, without departing from the scope of this application. Both the first processor and the second processor are processors, but they are not the same processor.
图1为一个实施例中图像采集方法的应用环境示意图。如图1所示,该应用环境包括电子设备100。其中,电子设备100包括广角摄像头210和至少两个长焦摄像头220,具体地,长焦摄像头220是焦点位于无穷远处的定焦摄像头。其中,在进行图像采集时,广角摄像头210和至少两个长焦摄像头220以一定的结构设置于电子设备100的同一侧,以使每个长焦摄像头220与广角摄像头210之间存在重叠的视场区域。电子设备100可以控制广角摄像210头采集广角图像,并控制每个长焦摄像头220以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,将广角图像和至少两帧长焦图像进行融合处理,得到目标图像。电子设备100可以不限于是各种手机、平板电脑或者个人数字助理或穿戴式设备等。FIG. 1 is a schematic diagram of an application environment of an image acquisition method in one embodiment. As shown in FIG. 1 , the application environment includes an
上述电子设备100中包括图像处理电路,图像处理电路可以利用硬件和/或软件组件实现,可包括定义ISP(Image Signal Processing,图像信号处理)管线的各种处理单元。图2为一个实施例中图像处理电路的示意图。如图2所示,为便于说明,仅示出与本申请实施例相关的图像处理技术的各个方面。The above
如图2所示,图像处理电路包括第一ISP处理器230、第二ISP处理器240和控制逻辑器250。广角摄像头210包括一个或多个第一透镜212和第一图像传感器214。第一图像传感器214可包括色彩滤镜阵列(如Bayer滤镜),第一图像传感器214可获取用第一图像传感器214的每个成像像素捕捉的光强度和波长信息,并提供可由第一ISP处理器230处理的一组图像数据。长焦摄像头220包括一个或多个第二透镜222和第二图像传感器224。第二图像传感器224可包括色彩滤镜阵列(如Bayer滤镜),第二图像传感器224可获取用第二图像传感器224的每个成像像素捕捉的光强度和波长信息,并提供可由第二ISP处理器240处理的一组图像数据。As shown in FIG. 2 , the image processing circuit includes a
广角摄像头210采集的广角图像传输给第一ISP处理器230进行处理,第一ISP处理器230处理广角图像后,可将广角图像的统计数据(如图像的亮度、图像的反差值、图像的颜色等)发送给控制逻辑器250,控制逻辑器250可根据统计数据确定广角摄像头210的控制参数,从而广角摄像头210可根据控制参数进行自动对焦、自动曝光等操作。广角图像经过第一ISP处理器230进行处理后可存储至图像存储器260中,第一ISP处理器230也可以读取图像存储器260中存储的图像以对进行处理。另外,广角图像经过ISP处理器230进行处理后可直接发送至显示器270进行显示,显示器270也可以读取图像存储器260中的图像以进行显示。The wide-angle image collected by the wide-
其中,第一ISP处理器230按多种格式逐个像素地处理图像数据。例如,每个图像像素可具有2、10、12或14比特的位深度,第一ISP处理器230可对图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。Among them, the
图像存储器260可为存储器装置的一部分、存储设备、或电子设备内的独立的专用存储器,并可包括DMA(Direct Memory Access,直接直接存储器存取)特征。The
当接收到来自第一图像传感器214接口时,第一ISP处理器230可进行一个或多个图像处理操作,如时域滤波。处理后的图像数据可发送给图像存储器260,以便在被显示之前进行另外的处理。第一ISP处理器230从图像存储器260接收处理数据,并对所述处理数据进行RGB和YCbCr颜色空间中的图像数据处理。第一ISP处理器230处理后的图像数据可输出给显示器270,以供用户观看和/或由图形引擎或GPU(Graphics Processing Unit,图形处理器)进一步处理。此外,第一ISP处理器230的输出还可发送给图像存储器260,且显示器270可从图像存储器260读取图像数据。在一个实施例中,图像存储器260可被配置为实现一个或多个帧缓冲器。Upon receiving the interface from the
第一ISP处理器230确定的统计数据可发送给控制逻辑器250。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、第一透镜212阴影校正等第一图像传感器214统计信息。控制逻辑器250可包括执行一个或多个例程(如固件)的处理器和/或微控制器,一个或多个例程可根据接收的统计数据,确定广角摄像头210的控制参数及第一ISP处理器230的控制参数。例如,广角摄像头210的控制参数可包括增益、曝光控制的积分时间、防抖参数、闪光控制参数、第一透镜212控制参数(例如聚焦或变焦用焦距)、或这些参数的组合等。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及第一透镜212阴影校正参数。Statistics determined by the
同样地,长焦摄像头220采集的长焦图像传输给第二ISP处理器240进行处理,第二ISP处理器240处理长焦图像后,可将长焦图像的统计数据(如图像的亮度、图像的反差值、图像的颜色等)发送给控制逻辑器250,控制逻辑器250可根据统计数据确定长焦摄像头220的控制参数,从而长焦摄像头220可根据控制参数进行自动对焦、自动曝光等操作。长焦图像经过第二ISP处理器240进行处理后可存储至图像存储器260中,第二ISP处理器240也可以读取图像存储器260中存储的图像以对进行处理。另外,长焦图像经过ISP处理器240进行处理后可直接发送至显示器270进行显示,显示器270也可以读取图像存储器260中的图像以进行显示。长焦摄像头220和第二ISP处理器240也可以实现如广角摄像头210和第一ISP处理器230所描述的处理过程。Similarly, the telephoto image collected by the
在本实施例中,广角摄像头210的视场角大于长焦摄像头220的视场角,并且,长焦摄像头230为预设的焦点位于无穷远处的定焦摄像头。例如,广角摄像头210的视场角可以是80度、85度、90度、100度等;长焦摄像头220的视场角可以是20度、25度、30度、40度等,在此不做限定。电子设备100可以包含至少一个广角摄像头210和至少两个长焦摄像头220。例如,广角摄像头210的数量可以为1个,2个等,长焦摄像头220的数量可以为2个、3个、4个等。In this embodiment, the field of view of the wide-
可选地,电子设备100控制广角摄像头210采集广角图像,控制每一个长焦摄像头220与预设的焦点采集一帧长焦图像之后,可以由第一ISP处理器230将广角图像和至少两帧长焦图像进行融合处理,也可以由第二ISP处理器240将广角图像和至少两帧长焦图像进行融合处理;在一些实施例中,还可以由电子设备的处理器将广角图像和至少两帧长焦图像进行融合处理等,在此不做限定。Optionally, after the
本申请实施例中提供的图像采集方法,以运行于图1中的电子设备为例进行描述,电子设备包括广角摄像头和至少两个长焦摄像头,每个长焦摄像头与广角摄像头之间存在重叠的视场区域。具体地,图像采集方法包括步骤302至步骤306。其中,The image acquisition method provided in the embodiment of the present application is described by taking the electronic device running in FIG. 1 as an example. The electronic device includes a wide-angle camera and at least two telephoto cameras, and each telephoto camera overlaps with the wide-angle camera. field of view area. Specifically, the image acquisition method includes
步骤302,控制广角摄像头采集广角图像。
电子设备控制广角摄像头采集广角图像。具体地,电子设备可以在接收到图像采集指令时控制广角摄像头采集广角图像。The electronic device controls the wide-angle camera to capture the wide-angle image. Specifically, the electronic device may control the wide-angle camera to collect the wide-angle image when receiving the image collection instruction.
步骤304,控制每个长焦摄像头分别以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,其中,预设的焦点位于无穷远处。
具体地,长焦摄像头是焦点位于无穷远处的定焦摄像头。在电子设备出厂之前,可以预先将长焦摄像头的焦距设置为无限大,即焦点位于无穷远处。因此,电子设备包含的长焦摄像头只有一个固定焦距为无限大的镜头,该长焦摄像头没有变焦功能。电子设备控制每个长焦摄像头分别以预设的位于无穷远处的焦点采集一帧长焦图像,得到的至少两帧长焦图像的成像清晰度保持一致,即至少两个长焦图像中的与摄像头距离相同的被拍摄物体的清晰度一致。Specifically, a telephoto camera is a fixed-focus camera with a focus at infinity. Before the electronic device leaves the factory, the focal length of the telephoto camera can be pre-set to infinity, that is, the focus is at infinity. Therefore, the telephoto camera included in the electronic device has only a fixed focal length of infinity lens, and the telephoto camera has no zoom function. The electronic device controls each telephoto camera to collect one frame of telephoto image with a preset focus at infinity, and the imaging clarity of at least two telephoto images obtained remains the same, that is, the image resolution of at least two telephoto images is consistent. The sharpness of the photographed object at the same distance from the camera is consistent.
每个长焦摄像头与广角摄像头存在重叠的视场区域。视场区域是指摄像头能够拍摄的视场范围。例如,一个景物的尺寸为4*6m,景物中的目标物体的尺寸为2*3m;若广角摄像头可以采集到该景物的广角图像,而其中一个长焦摄像头只能采集到该目标物体的长焦图像,目标物体处于景物之中,则广角摄像头与长焦摄像头存在重叠的视场区域。具体地,由于广角摄像头的视场角大于长焦摄像头的视场角,广角摄像头可以包含长焦摄像头的视场区域。Each telephoto camera has an overlapping field of view with the wide-angle camera. The field of view refers to the field of view that the camera can capture. For example, the size of a scene is 4*6m, and the size of the target object in the scene is 2*3m; if the wide-angle camera can capture the wide-angle image of the scene, and one of the telephoto cameras can only capture the length of the target object If the target object is in the scene, the wide-angle camera and the telephoto camera have an overlapping field of view. Specifically, since the field of view of the wide-angle camera is larger than that of the telephoto camera, the wide-angle camera may include the field of view of the telephoto camera.
可选地,电子设备可以在接收到摄像头启动指令时,控制广角摄像头采集广角图像,并将广角图像作为预览图像展示在电子设备的显示屏上;当电子设备接收到图像采集指令时,电子设备在控制广角摄像头采集广角图像的同时控制每个长焦摄像头分别以预设的位于无穷远处的焦点采集一帧长焦图像,得到至少两帧长焦图像。Optionally, the electronic device can control the wide-angle camera to collect a wide-angle image when receiving the camera startup instruction, and display the wide-angle image as a preview image on the display screen of the electronic device; when the electronic device receives the image acquisition instruction, the electronic device While controlling the wide-angle cameras to collect wide-angle images, each telephoto camera is controlled to collect one frame of telephoto images with a preset focus at infinity, so as to obtain at least two frames of telephoto images.
步骤306,将广角图像和至少两帧长焦图像进行融合处理,得到目标图像。Step 306: Perform fusion processing on the wide-angle image and at least two frames of telephoto images to obtain a target image.
融合处理是指将多张图像按照一定规则生成最终的图像的操作。具体地,电子设备可通过基于线性加权、非线性加权融合、主成分分析的融合、金字塔变化、小波变化等融合方法的一种或多种对广角图像和至少两帧长焦图像进行融合处理,得到目标图像。可选地,电子设备融合处理得到目标图像后,可以将目标图像展示在电子设备的显示屏上。Fusion processing refers to the operation of generating a final image from multiple images according to certain rules. Specifically, the electronic device can perform fusion processing on the wide-angle image and at least two frames of telephoto images by using one or more fusion methods based on linear weighting, nonlinear weighted fusion, principal component analysis fusion, pyramid change, wavelet change, etc., Get the target image. Optionally, after the electronic device obtains the target image through fusion processing, the target image may be displayed on the display screen of the electronic device.
本申请提供的实施例中,通过控制广角摄像头采集广角图像,并控制每一个长焦摄像头分别以预设的位于无穷远处的焦点采集一帧长焦图像,将得到的至少两帧长焦图像与广角图像融合处理,以得到目标图像。由于用于融合得到目标图像的广角图像为广角摄像头拍摄的图像,长焦图像为为预设的焦点为无穷远处的长焦摄像头拍摄的图像,则至少两帧长焦图像中被拍摄物体可以保持一致的清晰度,可以避免由于不同摄像头之间对焦位置不同,而导致融合得到的图像清晰度不一致,图像效果、质量较差的问题,可以提高目标图像的质量。In the embodiment provided in this application, by controlling the wide-angle camera to collect wide-angle images, and controlling each telephoto camera to collect one frame of telephoto images with a preset focus at infinity, at least two frames of telephoto images are obtained. Fusion processing with the wide-angle image to obtain the target image. Since the wide-angle image used for fusion to obtain the target image is an image captured by a wide-angle camera, and the telephoto image is an image captured by a telephoto camera with a preset focus of infinity, the object to be captured in at least two frames of telephoto images can be Maintaining consistent sharpness can avoid the problem of inconsistent image sharpness, poor image effect and quality due to different focus positions between different cameras, and can improve the quality of the target image.
在一个实施例中,至少两个长焦摄像头之间不存在重叠的视场区域。In one embodiment, there is no overlapping field of view area between the at least two telephoto cameras.
每一个长焦摄像头可用于拍摄不同的视场区域,从而每一帧长焦摄像头的视场区域可以分别对应于广角摄像头的部分视场区域。例如,当电子设备包含两个长焦摄像头时,两个长焦摄像头的视场区域可以分别对应于广角摄像头的上、下两个视场区域,也可以分别对应于广角摄像头的左、右两个视场区域;当广角摄像头的视场区域中包含建筑、树木、道路三个区域时,则一个长焦摄像头可用采集包含建筑区域的长焦图像,一个长焦摄像头可用于采集包含树木区域的长焦图像,另一个长焦摄像头可用于拍摄包含道路的长焦图像。Each telephoto camera can be used to shoot a different field of view area, so that the field of view area of each frame of the telephoto camera can respectively correspond to a part of the field of view area of the wide-angle camera. For example, when the electronic device includes two telephoto cameras, the field of view areas of the two telephoto cameras may respectively correspond to the upper and lower field of view areas of the wide-angle camera, or may correspond to the left and right fields of the wide-angle camera, respectively. A field of view area; when the field of view of the wide-angle camera includes buildings, trees, and roads, a telephoto camera can be used to capture a telephoto image that includes the building area, and a telephoto camera can be used to capture the tree area. A telephoto image, another telephoto camera can be used to take a telephoto image that includes the road.
在电子设备的组装和配置过程中,可以调整每一个长焦摄像头的视场区域,以使每一个长焦摄像头之间不存在重叠的视场区域。至少两个长焦摄像头不存在重叠的视场区域,电子设备获得的至少两帧长焦图像包含的图像细节越丰富。以长焦摄像头为16M像素为例,若电子设备包含4个长焦摄像头,4个长焦摄像头采集的4帧长焦图像之间不存在重叠的区域,则电子设备将4帧长焦图像进行融合后得到的图像为64M像素;若长焦摄像头之间存在重叠的视差区域,则采集的至少两帧长焦图像之间存在重叠的区域,融合得到图像像素小于64M像素。电子设备包含的至少两个长焦摄像头之间不存在重叠的视场区域,可以提高融合的图像的像素。During assembly and configuration of the electronic device, the field of view area of each telephoto camera can be adjusted so that there is no overlapping field of view area between each telephoto camera. The at least two telephoto cameras do not have overlapping field of view areas, and the image details contained in the at least two telephoto frames obtained by the electronic device are richer. Taking the telephoto camera as an example of 16M pixels, if the electronic device includes 4 telephoto cameras, and there is no overlapping area between the 4 telephoto images collected by the 4 telephoto cameras, the electronic device will process the 4 telephoto images. The image obtained after fusion is 64M pixels; if there is an overlapping parallax area between the telephoto cameras, there is an overlapping area between at least two telephoto images collected, and the image pixels obtained by fusion are less than 64M pixels. There is no overlapping field of view area between at least two telephoto cameras included in the electronic device, which can improve the pixels of the fused image.
在一个实施例中,电子设备包含4个长焦摄像头,4个长焦摄像头的视场区域分别自广角摄像头的视场区域的其中一个边角位置向广角摄像头的视场区域的中间位置延伸。In one embodiment, the electronic device includes four telephoto cameras, and the fields of view of the four telephoto cameras extend from one of the corner positions of the field of view of the wide-angle camera to a middle position of the field of view of the wide-angle camera.
如图4所示,以电子设备包含1个广角摄像头和4个长焦摄像头为例进行说明,电子设备可以通过广角摄像头采集一帧广角图像402,电子设备通过4个预设的焦点位于无穷远处的长焦摄像头进行图像采集,得到对应的4帧成像清晰度一致的长焦图像404、406、408和410。具体地,4帧长焦图像404、406、408和410的视场区域分别自广角图像402的视场区域的其中一个边角位置向广角图像的视场区域的中间位置延伸,如图,4帧长焦图像404、406、408和410的视场区域分别位于广角图像402的视场区域的左上区域、右上区域、左下区域及右下区域。重叠区域412为4个长焦摄像头之间的重叠的视场区域。可选地,在一些实施例中,4个长焦摄像头之间也可以不存在该重叠的视场区域。广角摄像头的视差区域近似于4个长焦摄像头的总视场区域,电子设备可以以广角图像402为基准,将广角图像402和4帧长焦图像404、406、408和410融合,以得到拍摄画面大,并且图像清晰度一致、质量好的目标图像。As shown in FIG. 4 , taking the electronic device including one wide-angle camera and four telephoto cameras as an example, the electronic device can collect a frame of wide-
在一个实施例中,电子设备包含至少两个广角摄像头,提供的图像采集方法可以包括:In one embodiment, the electronic device includes at least two wide-angle cameras, and the provided image acquisition method may include:
步骤502,控制每个广角摄像头分别采集一帧广角图像,得到至少两帧广角图像。
电子设备包含的至少两个广角摄像头的视场角相同。例如,广角摄像头的视场角为75度、80度、85度、90度、95等,在此不做限定。可选地,在一些实施例中,至少两个广角摄像头的视场角也可以不同。At least two wide-angle cameras included in the electronic device have the same field of view. For example, the field of view of the wide-angle camera is 75 degrees, 80 degrees, 85 degrees, 90 degrees, 95 degrees, etc., which are not limited herein. Optionally, in some embodiments, the field of view of the at least two wide-angle cameras may also be different.
至少两个广角摄像头之间存在重叠的视场区域,具体地,广角摄像头之间的视场区域可以根据实际需求设定,在此不做限定。例如,当包含两个广角摄像头时,则两个广角摄像头之间可以包含重叠的视场区域及不重叠的视场区域,可以增大采集的图像画面;当包含三个广角摄像头时,三个广角摄像头可以依次排列,互为相邻的两个广角摄像头可以存在重叠的视场区域,不相邻的两个广角摄像头可以不存在重叠的视场区域;三个广角摄像头也可以每两个广角摄像头之间均存在重叠的视场区域,在此不做限定。There is an overlapping field of view area between at least two wide-angle cameras. Specifically, the field of view area between the wide-angle cameras can be set according to actual needs, which is not limited here. For example, when two wide-angle cameras are included, overlapping and non-overlapping fields of view can be included between the two wide-angle cameras, which can increase the captured image; when three wide-angle cameras are included, the three The wide-angle cameras can be arranged in sequence. Two adjacent wide-angle cameras can have overlapping field of view areas, and two non-adjacent wide-angle cameras can have no overlapping field of view areas; three wide-angle cameras can also have every two wide-angle cameras. There are overlapping fields of view between cameras, which are not limited here.
电子设备可以控制至少两个广角摄像头中每一个广角摄像头分别采集一帧广角图像,得到的至少两帧广角图像之间存在相同的被拍摄物体及不相同的被拍摄物体。The electronic device can control each of the at least two wide-angle cameras to collect one frame of wide-angle image respectively, and the at least two frames of wide-angle images obtained have the same photographed object and different photographed objects.
步骤504,控制每个长焦摄像头分别以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,其中,预设的焦点位于无穷远处。Step 504: Control each telephoto camera to collect one frame of telephoto images with a preset focus, respectively, to obtain at least two frames of telephoto images, wherein the preset focus is located at infinity.
步骤506,根据至少两帧广角图像中重叠的区域将至少两帧广角图像融合,得到基准图像。
电子设备可以根据至少两帧广角图像之间重叠的区域将至少两帧广角图像进行融合。融合得到的基准图像相比于每一帧广角图像,视场区域更大,包含的被拍摄物体更多。The electronic device may fuse the at least two frames of wide-angle images according to the overlapping area between the at least two frames of wide-angle images. Compared with each frame of wide-angle image, the fused reference image has a larger field of view and contains more photographed objects.
步骤508,将基准图像和至少两帧长焦图像进行融合处理,得到目标图像。Step 508: Perform fusion processing on the reference image and at least two frames of telephoto images to obtain a target image.
具体地,每一帧长焦图像与基准图像之间存在重叠的区域,电子设备可以根据长焦图像与基准图像之间的重叠的区域将基准图像和至少两帧长焦图像进行融合处理。基于摄像头成像原理,摄像头采集的图像中,中心区域的清晰度和成像效果往往高于边缘区域,电子设备在将基准图像和至少两帧长焦图像进行融合处理的过程中,可以分别获取基准图像的中心区域的图像内容和至少两帧长焦图像的图像内容以合成目标图像。Specifically, there is an overlapping area between each frame of the telephoto image and the reference image, and the electronic device may perform fusion processing on the reference image and at least two frames of the telephoto image according to the overlapping area between the telephoto image and the reference image. Based on the principle of camera imaging, in the images collected by the camera, the clarity and imaging effect of the central area are often higher than those of the edge area. In the process of fusing the reference image and at least two frames of telephoto images, the electronic device can obtain the reference image separately. The image content of the central area and the image content of at least two frames of telephoto images to synthesize the target image.
可选地,在一些实施例中,至少两帧长焦图像之间存在重叠的区域,电子设备也可以先将至少两帧长焦图像进行拼接,再将拼接处理后得到的图像与基准图像进行融合处理,得到目标图像。具体地,电子设备可以根据基准图像按预定方向依次将多帧长焦图像进行拼接处理。Optionally, in some embodiments, if there is an overlapping area between at least two frames of telephoto images, the electronic device may also stitch the at least two frames of telephoto images first, and then stitch the image obtained after the stitching process with the reference image. Fusion processing to get the target image. Specifically, the electronic device may sequentially perform stitching processing on multiple frames of telephoto images in a predetermined direction according to the reference image.
电子设备通过控制每个广角摄像头分别采集一帧广角图像,将得到的至少两帧广角图像融合以得到基准图像,同时控制每个摄像头以预设的焦点采集一帧长焦图像,将得到的至少两帧长焦图像与至少两帧广角图像进行融合处理,得到目标图像,可以在保证目标图像清晰度的同时提高目标图像的视场区域。The electronic device collects one frame of wide-angle image by controlling each wide-angle camera, fuses the obtained at least two frames of wide-angle images to obtain a reference image, and controls each camera to collect one frame of telephoto image at a preset focus, and obtains at least one frame of telephoto image. Two frames of telephoto images and at least two frames of wide-angle images are fused to obtain a target image, which can improve the field of view area of the target image while ensuring the clarity of the target image.
图6为一个实施例中电子设备采集的2张广角图像和4张长焦图像的示意图。如图6所示,电子设备设置有2个广角摄像头和4个焦点位于无穷远的长焦摄像头,电子设备可以控制两个广角摄像头采集一帧广角图像,得到两个广角摄像头分别采集的广角图像602和广角图像604。电子设备可以将广角图像602和广角图像604进行融合,以得到基准图像606。基准图像606包含广角图像602和广角图像604的视场区域,即基准图像606的视场区域大于广角图像602的视场区域和广角图像604的视场区域。电子设备通过4个长焦摄像头以预设的焦点进行图像采集,得到对应的4帧成像清晰度一致的长焦图像608、610、612和614。4帧长焦图像608、610、612和614之间可以不存在重叠的视场区域。电子设备可以基于基准图像606将4帧长焦图像608、610、612和614进行融合处理,得到视场区域更大、图像清晰度效果更好的目标图像。FIG. 6 is a schematic diagram of 2 wide-angle images and 4 telephoto images collected by an electronic device in one embodiment. As shown in Figure 6, the electronic device is provided with 2 wide-angle cameras and 4 telephoto cameras with the focus at infinity. The electronic device can control the two wide-angle cameras to collect a frame of wide-angle images, and obtain wide-angle images collected by the two wide-angle cameras respectively. 602 and a wide-angle image 604. The electronic device may fuse the wide-angle image 602 and the wide-angle image 604 to obtain the
在一个实施例中,提供的图像采集方法中根据至少两帧广角图像中重叠的区域将至少两帧广角图像融合,得到基准图像之前,还包括:获取至少两个广角摄像头之间的标定参数;根据标定参数对至少两帧广角图像进行校正处理。In one embodiment, the provided image acquisition method further includes: acquiring calibration parameters between at least two wide-angle cameras before obtaining a reference image by fusing at least two frames of wide-angle images according to overlapping regions in the at least two frames of wide-angle images; Correction processing is performed on at least two frames of wide-angle images according to the calibration parameters.
标定参数是电子设备在出厂之前,对至少两个广角摄像头进行标定处理得到的。标定处理是指对摄像头成像的几何模型中的参数进行求解的操作,通过摄像头成像的几何模型可以使拍摄的图像还原空间中的物体。以电子设备包含两个广角摄像头如广角摄像头A和广角摄像头B为例,电子设备获取的两个广角摄像头之间的标定参数即为广角摄像头A和广角摄像头B之间的双目标定参数。其中,双目标定参数可以包含旋转矩阵和平移矩阵。电子设备根据标定参数对至少两帧广角图像进行校正处理,以使处理后的至少两帧广角图像中的相同特征点在每一帧广角图像的中的位置相对应。The calibration parameters are obtained by calibrating at least two wide-angle cameras before the electronic device leaves the factory. The calibration process refers to the operation of solving the parameters in the geometric model imaged by the camera, and the image captured by the camera can restore the object in the space through the geometric model imaged by the camera. Taking the electronic device including two wide-angle cameras, such as wide-angle camera A and wide-angle camera B, as an example, the calibration parameters between the two wide-angle cameras obtained by the electronic device are the dual-target calibration parameters between the wide-angle camera A and the wide-angle camera B. Among them, the bi-target setting parameters can include a rotation matrix and a translation matrix. The electronic device performs correction processing on the at least two frames of wide-angle images according to the calibration parameters, so that the positions of the same feature points in the processed at least two frames of wide-angle images correspond to the positions of each frame of wide-angle images.
可选地,在一些实施例中,标定参数也可以包括每一个广角摄像头对应的单目标定参数,电子设备可以根据每一个广角摄像头对应的单目标定参数对该广角摄像头采集的广角图像进行处理后,再根据双目标定参数对该广角图像进行校正处理。Optionally, in some embodiments, the calibration parameter may also include a single-target determination parameter corresponding to each wide-angle camera, and the electronic device may process the wide-angle image collected by the wide-angle camera according to the single-target determination parameter corresponding to each wide-angle camera. Afterwards, correction processing is performed on the wide-angle image according to the dual-target setting parameters.
通过获取至少两个广角摄像头之间的标定参数,根据标定参数对至少两帧广角图像进行校正处理,则处理后的至少两帧广角图像中包含相同特征在每一帧广角图像中的位置相对应,从而在将至少两帧广角图像进行合成处理时,可以准确地查找到不同的广角图像中相同特征点的位置,可以提高合成处理的准确性。By acquiring calibration parameters between at least two wide-angle cameras, and performing correction processing on at least two frames of wide-angle images according to the calibration parameters, the processed at least two frames of wide-angle images contain the same features in each frame of wide-angle images. , so that when synthesizing at least two frames of wide-angle images, the position of the same feature point in different wide-angle images can be accurately found, and the accuracy of the synthesizing process can be improved.
在一个实施例中,提供的图像采集方法中控制每个长焦摄像头以预设的焦点分别采集一帧长焦图像,得到至少两帧长焦图像之前,还包括:获取广角摄像头采集广角图像时的对焦距离;当对焦距离大于或等于预设距离时,则执行控制每个长焦摄像头以预设的焦点分别采集一帧长焦图像,得到至少两帧长焦图像的步骤。In one embodiment, in the provided image acquisition method, before controlling each telephoto camera to collect one frame of telephoto images with a preset focus, and obtaining at least two frames of telephoto images, the method further includes: when acquiring a wide-angle camera to acquire a wide-angle image When the focusing distance is greater than or equal to the preset distance, the step of controlling each telephoto camera to collect one frame of telephoto images with the preset focus, and obtain at least two frames of telephoto images is performed.
对焦距离是指对焦物体与摄像头之间的距离。电子设备获取广角摄像头采集广角图像时的对焦距离。具体地,电子设备可以通过广角摄像头采集预览图像并展示在电子设备的显示屏上,以接收用户选中的对焦区域,进而获取该对焦区域对应的对焦物体的对焦距离;电子设备也可以在采集广角图像时,通过采用自动对焦如反差对焦、激光对焦、或者相位对焦等方式确定对焦物体,从而获取对焦物体的对焦距离。Focus distance refers to the distance between the focused object and the camera. The electronic device obtains the focusing distance when the wide-angle camera captures the wide-angle image. Specifically, the electronic device can collect the preview image through the wide-angle camera and display it on the display screen of the electronic device to receive the focus area selected by the user, and then obtain the focus distance of the focus object corresponding to the focus area; When taking an image, the focusing object is determined by means of automatic focusing such as contrast focusing, laser focusing, or phase focusing, so as to obtain the focusing distance of the focusing object.
预设距离可以是实际应用需求设定,在此不做限定。具体地,预设距离用于判定电子设备处于近景拍摄状态或远景拍摄状态。例如,预设距离可以是3米、5米、7米、10米等,在此不做限定。电子设备可以在对焦距离大于或等于预设距离时,则确定电子设备处于远景拍摄状态,从而电子设备可以在通过广角摄像头采集广角图像的同时,控制每个长焦摄像头以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,将广角图像与至少两帧长焦图像进行融合处理,以得到目标图像。The preset distance may be set according to actual application requirements, which is not limited here. Specifically, the preset distance is used to determine whether the electronic device is in a close-range shooting state or a long-range shooting state. For example, the preset distance may be 3 meters, 5 meters, 7 meters, 10 meters, etc., which is not limited herein. When the focusing distance is greater than or equal to the preset distance, the electronic device can determine that the electronic device is in a long-range shooting state, so that the electronic device can control each telephoto camera to capture a preset focus while capturing a wide-angle image through the wide-angle camera. frame telephoto images to obtain at least two frames of telephoto images, and perform fusion processing on the wide-angle image and at least two frames of telephoto images to obtain target images.
可选地,在一个实施例中,当对焦距离小于预设距离,且电子设备包含一个广角摄像头时,将广角图像作为目标图像;当对焦距离小于预设距离,且电子设备包含至少两个广角摄像头时,则将至少两帧广角图像进行融合处理,得到目标图像。Optionally, in one embodiment, when the focusing distance is less than the preset distance and the electronic device includes a wide-angle camera, the wide-angle image is used as the target image; when the focusing distance is less than the preset distance, and the electronic device includes at least two wide-angle cameras. When the camera is used, at least two frames of wide-angle images are fused to obtain the target image.
电子设备可以在对焦距离小于预设距离时,则确定电子设备处于近景拍摄状态,此时,电子设备可以通过广角摄像头采集广角图像,以得到目标图像。具体地,若电子设备只包含一个广角摄像头,则电子设备可以将该广角摄像头采集的广角图像作为目标图像;若电子设备包含至少两个广角摄像头,则电子设备可以将多个广角摄像头采集多帧广角图像进行融合处理,以得到目标图像。The electronic device may determine that the electronic device is in a close-up shooting state when the focusing distance is less than the preset distance, and at this time, the electronic device may collect a wide-angle image through a wide-angle camera to obtain a target image. Specifically, if the electronic device includes only one wide-angle camera, the electronic device can use the wide-angle image captured by the wide-angle camera as the target image; if the electronic device includes at least two wide-angle cameras, the electronic device can capture multiple frames from multiple wide-angle cameras The wide-angle image is fused to obtain the target image.
通过获取广角摄像头采集广角图像时的对焦距离,根据对焦距离与预设距离之间的大小关系确定目标图像的生成方式,在对焦距离大于或等于预设距离时,将广角摄像头和至少两个长焦摄像头采集的图像进行融合得到目标图像,在对焦距离小于预设距离时,根据广角摄像头采集的广角图像得到目标图像,可以满足不同的拍摄状态,以保证电子设备在不同的拍摄状态下得到的目标图像的质量和效果,可以提高图像采集的准确性。By obtaining the focusing distance when the wide-angle camera collects the wide-angle image, the generation method of the target image is determined according to the size relationship between the focusing distance and the preset distance. When the focusing distance is greater than or equal to the preset distance, the wide-angle camera and at least two long The target image is obtained by fusing the images collected by the focal camera. When the focusing distance is less than the preset distance, the target image is obtained according to the wide-angle image collected by the wide-angle camera, which can meet different shooting conditions and ensure that the electronic equipment can obtain the image in different shooting conditions. The quality and effect of the target image can improve the accuracy of image acquisition.
应该理解的是,虽然图3、5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图3、5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 3 and 5 are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 3 and 5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or stages are not necessarily completed at the same time. The order of execution of the steps is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
图7为一个实施例的图像采集装置的结构框图。如图7所示,该图像采集装置包括第一采集模块702、第二采集模块704和处理模块706,其中:FIG. 7 is a structural block diagram of an image acquisition apparatus according to an embodiment. As shown in FIG. 7 , the image acquisition device includes a
第一采集模块702,用于控制广角摄像头采集广角图像。The
第二采集模块704,用于控制每个长焦摄像头分别以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像,其中,预设的焦点位于无穷远处,每个长焦摄像头与广角摄像头之间存在重叠的视场区域。The
处理模块706,用于将广角图像和至少两帧长焦图像进行融合处理,得到目标图像。The
本申请实施例提供的图像采集装置,用于融合得到目标图像的广角图像为广角摄像头拍摄的图像,长焦图像为焦点位于无穷远处的长焦摄像头拍摄的图像,则至少两帧长焦图像之间被拍摄物体可以保持一致的清晰度,可以避免由于不同摄像头之间对焦位置不同,而导致融合得到的图像清晰度不一致,图像效果、质量较差的问题,可以提高目标图像的质量。In the image acquisition device provided by the embodiment of the present application, the wide-angle image used to obtain the target image is an image captured by a wide-angle camera, and the telephoto image is an image captured by a telephoto camera with a focus at infinity, then at least two frames of telephoto images The objects to be photographed can maintain the same sharpness, which can avoid the problem of inconsistent image sharpness, poor image effect and poor quality of the fused image due to different focusing positions between different cameras, and can improve the quality of the target image.
在一个实施例中,第一采集模块702还可以用于控制每个广角摄像头分别采集一帧广角图像,得到至少两帧广角图像;处理模块706还可以用于根据至少两帧广角图像中重叠的区域将至少两帧广角图像融合,得到基准图像,将基准图像和至少两帧长焦图像进行融合处理,得到目标图像。In one embodiment, the
在一个实施例中,处理模块706还可以用于获取至少两个广角摄像头之间的标定参数;根据标定参数对至少两帧广角图像进行校正处理。In one embodiment, the
在一个实施例中,第二采集模块704还可以用于获取广角摄像头采集广角图像时的对焦距离;当对焦距离大于或等于预设距离时,则控制每个长焦摄像头分别以预设的焦点采集一帧长焦图像,得到至少两帧长焦图像。In one embodiment, the
在一个实施例中,处理模块706还可以用于当对焦距离小于预设距离,且广角摄像头的数量为1个时,将广角图像作为目标图像;当对焦距离小于预设距离,且广角摄像头的数量为2个或2个以上时,则将至少两帧广角图像进行融合处理,得到目标图像。In one embodiment, the
在一个实施例中,第二采集模块704还可以用于控制4个长焦摄像头分别采集一帧长焦图像,得到4帧长焦图像,其中,4帧长焦图像的视场区域分别自广角图像的视场区域的其中一个边角位置向广角图像的视场区域的中间位置延伸。In one embodiment, the
在一个实施例中,第二采集模块704还可以用于控制至少两个长焦摄像头中每个长焦摄像头采集一帧长焦图像,得到至少两帧长焦图像,其中,至少两帧长焦图像之间不存在重叠的视场区域。In one embodiment, the
上述图像采集装置中各个模块的划分仅用于举例说明,在其他实施例中,可将图像采集装置按照需要划分为不同的模块,以完成上述图像采集装置的全部或部分功能。The division of each module in the above image acquisition device is only used for illustration. In other embodiments, the image acquisition device may be divided into different modules as required to complete all or part of the functions of the above image acquisition device.
图8为一个实施例中电子设备的内部结构示意图。如图8所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种图像采集方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是手机、平板电脑或者个人数字助理或穿戴式设备等。FIG. 8 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in FIG. 8, the electronic device includes a processor and a memory connected by a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include non-volatile storage media and internal memory. The nonvolatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement an image acquisition method provided by the following embodiments. Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media. The electronic device may be a mobile phone, a tablet computer, a personal digital assistant or a wearable device, and the like.
本申请实施例中提供的图像采集装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在终端或服务器的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the image acquisition apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program can be run on a terminal or a server. The program modules constituted by the computer program can be stored in the memory of the terminal or server. When the computer program is executed by the processor, the steps of the methods described in the embodiments of the present application are implemented.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行图像采集方法的步骤。Embodiments of the present application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when executed by one or more processors, cause the processors to perform the steps of the image acquisition method.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行图像采集方法。A computer program product containing instructions, when executed on a computer, causes the computer to perform an image acquisition method.
本申请实施例所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used in embodiments of the present application may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be noted that, for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910516211.3A CN112087571A (en) | 2019-06-14 | 2019-06-14 | Image acquisition method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910516211.3A CN112087571A (en) | 2019-06-14 | 2019-06-14 | Image acquisition method and device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112087571A true CN112087571A (en) | 2020-12-15 |
Family
ID=73733965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910516211.3A Pending CN112087571A (en) | 2019-06-14 | 2019-06-14 | Image acquisition method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112087571A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702530A (en) * | 2020-12-29 | 2021-04-23 | 维沃移动通信(杭州)有限公司 | Algorithm control method and electronic equipment |
CN113723262A (en) * | 2021-08-25 | 2021-11-30 | 浙江大华技术股份有限公司 | Target tracking method and device, road monitoring equipment, equipment and medium |
CN114500981A (en) * | 2022-02-12 | 2022-05-13 | 北京蜂巢世纪科技有限公司 | Method, device, equipment and medium for tracking venue target |
CN114511595A (en) * | 2022-04-19 | 2022-05-17 | 浙江宇视科技有限公司 | Multi-mode cooperation and fusion target tracking method, device, system and medium |
CN115499565A (en) * | 2022-08-23 | 2022-12-20 | 盯盯拍(深圳)技术股份有限公司 | Image acquisition method, device, medium and driving recorder based on dual-lens |
WO2023071948A1 (en) * | 2021-11-01 | 2023-05-04 | 华为技术有限公司 | Image capturing method and related device |
CN118972710A (en) * | 2024-10-14 | 2024-11-15 | 深圳御光新材料有限公司 | A multi-screen display method and system based on drone cluster |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004320175A (en) * | 2003-04-11 | 2004-11-11 | Victor Co Of Japan Ltd | Monitoring camera system |
CN205596207U (en) * | 2016-05-17 | 2016-09-21 | 徐文波 | Camera |
CN109379528A (en) * | 2018-12-20 | 2019-02-22 | Oppo广东移动通信有限公司 | Imaging method, imaging apparatus, electronic apparatus, and medium |
CN109379522A (en) * | 2018-12-06 | 2019-02-22 | Oppo广东移动通信有限公司 | Imaging method, imaging apparatus, electronic apparatus, and medium |
CN109639974A (en) * | 2018-12-20 | 2019-04-16 | Oppo广东移动通信有限公司 | Control method, control device, electronic device, and medium |
-
2019
- 2019-06-14 CN CN201910516211.3A patent/CN112087571A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004320175A (en) * | 2003-04-11 | 2004-11-11 | Victor Co Of Japan Ltd | Monitoring camera system |
CN205596207U (en) * | 2016-05-17 | 2016-09-21 | 徐文波 | Camera |
CN109379522A (en) * | 2018-12-06 | 2019-02-22 | Oppo广东移动通信有限公司 | Imaging method, imaging apparatus, electronic apparatus, and medium |
CN109379528A (en) * | 2018-12-20 | 2019-02-22 | Oppo广东移动通信有限公司 | Imaging method, imaging apparatus, electronic apparatus, and medium |
CN109639974A (en) * | 2018-12-20 | 2019-04-16 | Oppo广东移动通信有限公司 | Control method, control device, electronic device, and medium |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702530A (en) * | 2020-12-29 | 2021-04-23 | 维沃移动通信(杭州)有限公司 | Algorithm control method and electronic equipment |
CN113723262A (en) * | 2021-08-25 | 2021-11-30 | 浙江大华技术股份有限公司 | Target tracking method and device, road monitoring equipment, equipment and medium |
WO2023071948A1 (en) * | 2021-11-01 | 2023-05-04 | 华为技术有限公司 | Image capturing method and related device |
CN116095516A (en) * | 2021-11-01 | 2023-05-09 | 华为技术有限公司 | A kind of image shooting method and related equipment |
CN114500981A (en) * | 2022-02-12 | 2022-05-13 | 北京蜂巢世纪科技有限公司 | Method, device, equipment and medium for tracking venue target |
CN114500981B (en) * | 2022-02-12 | 2023-08-11 | 北京蜂巢世纪科技有限公司 | Venue target tracking method, device, equipment and medium |
CN114511595A (en) * | 2022-04-19 | 2022-05-17 | 浙江宇视科技有限公司 | Multi-mode cooperation and fusion target tracking method, device, system and medium |
CN115499565A (en) * | 2022-08-23 | 2022-12-20 | 盯盯拍(深圳)技术股份有限公司 | Image acquisition method, device, medium and driving recorder based on dual-lens |
CN115499565B (en) * | 2022-08-23 | 2024-02-20 | 盯盯拍(深圳)技术股份有限公司 | Image acquisition method, device, media and driving recorder based on dual lens |
CN118972710A (en) * | 2024-10-14 | 2024-11-15 | 深圳御光新材料有限公司 | A multi-screen display method and system based on drone cluster |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110166695B (en) | Camera anti-shake method, device, electronic device and computer-readable storage medium | |
CN112087580B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN110473159B (en) | Image processing method and apparatus, electronic device, computer-readable storage medium | |
CN112087571A (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN110536057B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN109862269B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
JP6263623B2 (en) | Image generation method and dual lens apparatus | |
CN110278360B (en) | Image processing method and apparatus, electronic device, computer-readable storage medium | |
CN110233970B (en) | Image processing method and apparatus, electronic device, computer-readable storage medium | |
CN112019734B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
CN112866549B (en) | Image processing method and apparatus, electronic device, computer-readable storage medium | |
CN110225248A (en) | Image acquisition method and apparatus, electronic device, computer-readable storage medium | |
CN110213494B (en) | Photographing method and device, electronic equipment and computer readable storage medium | |
CN110266966A (en) | Image generation method and device, electronic equipment and computer readable storage medium | |
CN109963080B (en) | Image acquisition method, device, electronic device and computer storage medium | |
CN110475067B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN110290323A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
CN112004029B (en) | Exposure processing method, exposure processing device, electronic apparatus, and computer-readable storage medium | |
CN111246100B (en) | Anti-shake parameter calibration method and device and electronic equipment | |
CN110177212B (en) | Image processing method and apparatus, electronic device, computer-readable storage medium | |
CN110650288B (en) | Focus control method and apparatus, electronic device, computer-readable storage medium | |
CN113875219B (en) | Image processing method and device, electronic device, computer-readable storage medium | |
CN110213498A (en) | Image generation method and device, electronic equipment and computer readable storage medium | |
CN109951641B (en) | Image shooting method and device, electronic equipment and computer readable storage medium | |
CN109559352B (en) | Camera calibration method, apparatus, electronic device and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201215 |
|
RJ01 | Rejection of invention patent application after publication |