CN111355943A - A monitoring device, method and device, storage medium, and electronic device - Google Patents
A monitoring device, method and device, storage medium, and electronic device Download PDFInfo
- Publication number
- CN111355943A CN111355943A CN201811566026.7A CN201811566026A CN111355943A CN 111355943 A CN111355943 A CN 111355943A CN 201811566026 A CN201811566026 A CN 201811566026A CN 111355943 A CN111355943 A CN 111355943A
- Authority
- CN
- China
- Prior art keywords
- image
- depth
- field range
- imaging device
- isp
- 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
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012806 monitoring device Methods 0.000 title claims abstract description 23
- 238000012544 monitoring process Methods 0.000 claims abstract description 23
- 238000003384 imaging method Methods 0.000 claims description 130
- 238000012545 processing Methods 0.000 claims description 45
- 238000004590 computer program Methods 0.000 claims description 15
- 230000001154 acute effect Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 33
- 230000008569 process Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 238000009434 installation Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004907 flux Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 230000005693 optoelectronics Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/204—Image signal generators using stereoscopic image cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/204—Image signal generators using stereoscopic image cameras
- H04N13/239—Image signal generators using stereoscopic image cameras using two 2D image sensors having a relative position equal to or related to the interocular distance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/271—Image signal generators wherein the generated image signals comprise depth maps or disparity maps
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明涉及光电领域,具体而言,涉及一种监控设备、方法及装置、存储介质、电子装置。The present invention relates to the field of optoelectronics, and in particular, to a monitoring device, method and device, storage medium, and electronic device.
背景技术Background technique
根据光学原理,相关技术中的常规摄像设备或监控设备中的光电传感节点所实现的成像景深会随着摄像镜头的焦距增加而减少。在涉及到远程人员或车辆监控的场景下,为实现对远处人员或车辆的识别,必然需要采用长焦镜头;然而,根据上述原理,长焦镜头的使用会导致画面景深变小,进而使得上述情形下拍摄的图像内有效信息减少。According to the optical principle, the imaging depth of field realized by the conventional camera equipment in the related art or the photoelectric sensor node in the monitoring equipment will decrease as the focal length of the camera lens increases. In the scenario involving remote personnel or vehicle monitoring, in order to realize the identification of distant personnel or vehicles, it is necessary to use a telephoto lens; however, according to the above principles, the use of a telephoto lens will reduce the depth of field of the picture, which in turn makes the The effective information in the image captured in the above situation is reduced.
针对上述相关技术中,在采用长焦距进行监控场景下获取的画面景深不足的问题,相关技术中尚未提出有效的解决方案。Aiming at the problem of insufficient depth of field of a picture obtained in a monitoring scene using a long focal length in the above related art, no effective solution has been proposed in the related art.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种监控设备、方法及装置、存储介质、电子装置,以至少解决相关技术中在采用长焦距进行监控场景下获取的画面景深不足的问题。Embodiments of the present invention provide a monitoring device, method, device, storage medium, and electronic device, so as to at least solve the problem of insufficient depth of field of a picture obtained in a monitoring scenario using a long focal length in the related art.
根据本发明的一个实施例,提供了一种监控设备,包括:According to an embodiment of the present invention, a monitoring device is provided, including:
第一摄像设备,用于拍摄第一景深范围内的第一图像;a first imaging device, used for capturing a first image within a first depth of field range;
第二摄像设备,用于拍摄第二景深范围内的第二图像;a second imaging device, configured to capture a second image within a second depth-of-field range;
控制组件,用于获取所述第一图像与所述第二图像,所述第一摄像设备以及所述第二摄像设备均与所述控制组件电连接;a control assembly for acquiring the first image and the second image, both the first imaging device and the second imaging device are electrically connected to the control assembly;
其中,所述第一景深范围的最大值大于所述第二景深范围的最大值,所述第一景深范围的最小值大于所述第二景深范围的最小值。Wherein, the maximum value of the first depth of field range is greater than the maximum value of the second depth of field range, and the minimum value of the first depth of field range is greater than the minimum value of the second depth of field range.
根据本发明的另一个实施例,提供了一种监控方法,应用上述实施例中的监控设备,所述方法包括:According to another embodiment of the present invention, a monitoring method is provided, using the monitoring device in the above embodiment, and the method includes:
获取所述第一摄像设备拍摄的所述第一图像以及所述第二摄像设备拍摄的所述第二图像;其中,所述第一图像位于所述第一景深范围内,所述第二图像位于所述第二景深范围内,所述第一景深范围的最大值大于所述第二景深范围的最大值,所述第一景深范围的最小值大于所述第二景深范围的最小值;Acquiring the first image captured by the first imaging device and the second image captured by the second imaging device; wherein the first image is located within the first depth of field range, and the second image is is located within the second depth of field range, the maximum value of the first depth of field range is greater than the maximum value of the second depth of field range, and the minimum value of the first depth of field range is greater than the minimum value of the second depth of field range;
对所述第一图像与所述第二图像进行拼接。Stitching the first image and the second image.
根据本发明的另一个实施例,提供了一种监控装置,应用了上述实施例中的监控设备,所述装置包括:According to another embodiment of the present invention, a monitoring apparatus is provided, which applies the monitoring equipment in the above-mentioned embodiments, and the apparatus includes:
获取模块,用于获取所述第一摄像设备拍摄的所述第一图像以及所述第二摄像设备拍摄的所述第二图像;其中,所述第一图像位于所述第一景深范围内,所述第二图像位于所述第二景深范围内,所述第一景深范围的最大值大于所述第二景深范围的最大值,所述第一景深范围的最小值大于所述第二景深范围的最小值;an acquisition module, configured to acquire the first image shot by the first camera device and the second image shot by the second camera device; wherein the first image is located within the first depth of field range, The second image is located within the second depth of field range, the maximum value of the first depth of field range is greater than the maximum value of the second depth of field range, and the minimum value of the first depth of field range is greater than the second depth of field range the minimum value of ;
拼接模块,用于对所述第一图像与所述第二图像进行拼接。A splicing module for splicing the first image and the second image.
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, a storage medium is also provided, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor is configured to run the computer program to execute any of the above Steps in Method Examples.
通过本发明,由于可通过第一摄像设备与第二摄像设备分别获取不同景深范围内的图像,因此,本发明可以解决相关技术中在采用长焦距进行监控场景下获取的画面景深不足的问题,达到在长焦距应用场景下增加画面景深的效果。Through the present invention, since images in different depth-of-field ranges can be acquired through the first camera device and the second camera device respectively, the present invention can solve the problem of insufficient depth of field of the images obtained in the related art in the monitoring scene using a long focal length, Achieve the effect of increasing the depth of field of the picture in the long focal length application scenario.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:
图1是根据本发明实施例提供的监控设备的功能示意图;1 is a functional schematic diagram of a monitoring device provided according to an embodiment of the present invention;
图2是根据本发明实施例提供的监控设备的应用场景示意图;2 is a schematic diagram of an application scenario of a monitoring device provided according to an embodiment of the present invention;
图3是根据本发明具体实施例提供的监控设备的控制示意图;3 is a schematic control diagram of a monitoring device provided according to a specific embodiment of the present invention;
图4是根据本发明具体实施例提供的嵌入式硬件平台连接外部设备的电路原理图;4 is a schematic circuit diagram of an embedded hardware platform connected to an external device provided according to a specific embodiment of the present invention;
图5是根据本发明具体实施例提供的嵌入式硬件平台连接电源控制示意图;FIG. 5 is a schematic diagram of connection power supply control of an embedded hardware platform provided according to a specific embodiment of the present invention;
图6是根据本发明具体实施例提供的处理单元的电路原理图;6 is a circuit schematic diagram of a processing unit provided according to a specific embodiment of the present invention;
图7是根据本发明具体实施例提供的输入单元中第一ISP输入端口的电路原理图;7 is a circuit schematic diagram of a first ISP input port in an input unit provided according to a specific embodiment of the present invention;
图8是根据本发明具体实施例提供的输入单元中第二ISP输入端口的电路原理图;8 is a circuit schematic diagram of a second ISP input port in an input unit provided according to a specific embodiment of the present invention;
图9是根据本发明具体实施例提供的内存单元连接的电路原理图;9 is a schematic circuit diagram of a memory cell connection provided according to a specific embodiment of the present invention;
图10是根据本发明具体实施例提供的内存单元中第一DDR的电路原理图;10 is a circuit schematic diagram of a first DDR in a memory unit provided according to a specific embodiment of the present invention;
图11是根据本发明具体实施例提供的内存单元中第二DDR的电路原理图;11 is a circuit schematic diagram of a second DDR in a memory unit provided according to a specific embodiment of the present invention;
图12是根据本发明具体实施例提供的通信单元的电路原理图;12 is a schematic circuit diagram of a communication unit provided according to a specific embodiment of the present invention;
图13是根据本发明具体实施例提供的以太网单元的电路原理图;13 is a schematic circuit diagram of an Ethernet unit provided according to a specific embodiment of the present invention;
图14是根据本发明具体实施例提供的电源单元的电路原理图;14 is a circuit schematic diagram of a power supply unit provided according to a specific embodiment of the present invention;
图15是根据本发明实施例提供的监控方法的流程图;15 is a flowchart of a monitoring method provided according to an embodiment of the present invention;
图16是根据本发明实施例提供的监控装置的结构框图。FIG. 16 is a structural block diagram of a monitoring apparatus provided according to an embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in conjunction with embodiments. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
实施例1Example 1
在本实施例中提供了一种监控设备,图1是根据本发明实施例提供的监控设备的功能示意图,图2是根据本发明实施例提供的监控设备的应用场景示意图;如图1与图2所示,监控设备包括:A monitoring device is provided in this embodiment. FIG. 1 is a functional schematic diagram of the monitoring device provided according to an embodiment of the present invention, and FIG. 2 is a schematic diagram of an application scenario of the monitoring device provided according to an embodiment of the present invention; 2, the monitoring equipment includes:
第一摄像设备102,用于拍摄第一景深范围内的第一图像;a
第二摄像设备104,用于拍摄第二景深范围内的第二图像;a
控制组件106,用于获取第一图像与第二图像,第一摄像设备以及第二摄像设备均与控制组件电连接;a
其中,第一景深范围的最大值大于第二景深范围的最大值,第一景深范围的最小值大于第二景深范围的最小值。The maximum value of the first depth of field range is greater than the maximum value of the second depth of field range, and the minimum value of the first depth of field range is greater than the minimum value of the second depth of field range.
通过本实施例中的设备,由于可通过第一摄像设备与第二摄像设备分别获取不同景深范围内的图像,因此,本实施例中的设备可以解决相关技术中在采用长焦距进行监控场景下获取的画面景深不足的问题,达到在长焦距应用场景下增加画面景深的效果。With the device in this embodiment, since images in different depth-of-field ranges can be obtained through the first camera device and the second camera device respectively, the device in this embodiment can solve the problem of using a long focal length for monitoring in the related art The problem of insufficient depth of field of the obtained picture is achieved, and the effect of increasing the depth of field of the picture in the long focal length application scenario is achieved.
需要进一步说明的是,上述第一景深范围与第二景深范围均为距离上的范围,第一景深范围的最大值与最小值用于指示较远的距离范围,第二景深范围的最大值与最小值用于指示较近的距离范围;举例而言,以第一摄像设备与第二摄像设备所在位置为原点,上述第一景深范围可以为70至150米,第二景深范围可以为15至70米,第一景深范围与第二景深范围共同构成了一个长景深以进行监控处理。It should be further explained that the above-mentioned first depth of field range and second depth of field range are both ranges in distance, the maximum value and minimum value of the first depth of field range are used to indicate a far distance range, and the maximum value of the second depth of field range is the same as The minimum value is used to indicate a relatively close distance range; for example, taking the positions of the first camera device and the second camera device as the origin, the first depth of field range may be 70 to 150 meters, and the second depth of field range may be 15 to 150 meters. 70 meters, the first depth of field range and the second depth of field range together form a long depth of field for monitoring processing.
与此同时,相关技术中为改善单一摄像设备的景深参数时,往往会采用增加透镜的方式得以实现,而光线在通过多个透镜产生反射与折射时则会导致光通量的减少;本实施例中的设备在实现过程中并不涉及对于拍摄中的光线路径的改变,无论第一摄像设备与第二摄像设备在拍摄过程中均使得光线按原有路径,因此,对于第一图像与第二图像而言,光通量并不会发生任何额外的损失,进而使得拍摄得到的图像的信噪比得以保障,尤其在微光、弱光等光线环境较为复杂的场景下,可使得图像的清晰度得以显著改善。At the same time, in the related art, in order to improve the depth of field parameters of a single imaging device, it is often achieved by adding lenses, and when light is reflected and refracted through multiple lenses, the luminous flux is reduced; in this embodiment The implementation process of the device does not involve the change of the light path in the shooting process, regardless of the first imaging device and the second imaging device make the light follow the original path during the shooting process. Therefore, for the first image and the second image In terms of luminous flux, there will not be any additional loss, so that the signal-to-noise ratio of the captured image can be guaranteed, especially in scenes with complex lighting environments such as low light and low light, which can significantly improve the clarity of the image. improve.
在室外监控场景下,受时间、天气甚至周边建筑影响,监控设备对应的光线环境往往较为复杂,因此,本实施例中的设备在进行对于人员或车辆的监控过程中,在有效提升画面景深的同时,还可以有效保证画面的清晰度,以使得监控效果得到进一步的改善。In an outdoor monitoring scenario, affected by time, weather and even surrounding buildings, the light environment corresponding to the monitoring device is often complicated. Therefore, the device in this embodiment can effectively improve the depth of field of the picture during the monitoring of people or vehicles. At the same time, the clarity of the picture can also be effectively guaranteed, so that the monitoring effect can be further improved.
此外,为实现本实施例上述第一景深范围的最大值大于第二景深范围的最大值,第一景深范围的最小值大于第二景深范围的最小值,可通过调整第一摄像设备与第二摄像设备的相对位置关系得以实现,例如,在相同的安装位置处调整第一摄像设备与第二摄像设备的相对角度,或将第一摄像设备与第二摄像设备分别安装于不同的安装位置,本发明对此不做限定。In addition, in order to realize that the maximum value of the first depth-of-field range in this embodiment is greater than the maximum value of the second depth-of-field range, and the minimum value of the first depth-of-field range is greater than the minimum value of the second depth-of-field range, the The relative positional relationship of the imaging devices is realized, for example, the relative angle of the first imaging device and the second imaging device is adjusted at the same installation position, or the first imaging device and the second imaging device are respectively installed in different installation positions, The present invention does not limit this.
在一可选实施例中,第一摄像设备102的拍摄朝向与第二摄像设备104的拍摄朝向呈预设夹角,预设夹角为锐角。In an optional embodiment, the shooting orientation of the
需要进一步说明的是,上述预设夹角的设置可使得第一摄像设备与第二摄像设备在相同的安装位置上实现不同的朝向,为使得第一摄像设备对应的第一景深范围大于第二摄像设备对应的第二景深范围,可使得第一摄像设备朝向远端,第二摄像设备则相对于朝向近端。It should be further noted that the setting of the above-mentioned preset angle can enable the first camera device and the second camera device to achieve different orientations at the same installation position, so that the first depth of field range corresponding to the first camera device is larger than the second camera device. The second depth-of-field range corresponding to the imaging device may make the first imaging device face the far end, and the second imaging device relative to the near end.
在一可选实施例中,第一景深范围的最小值与第二景深范围的最大值相等。In an optional embodiment, the minimum value of the first depth-of-field range is equal to the maximum value of the second depth-of-field range.
需要进一步说明的是,上述第一景深范围的最小值与第二景深范围的最大值相等,具体用于指示第一景深范围与第二景深范围之间彼此衔接,即第一景深范围与第二景深范围之间即不存在多余的缝隙,也不存在重叠区域。上述技术方案可使得第一图像与第二图像相互之间即不存在重叠,也不存在模糊部分,进而在确保第一图像与第二图像在进行后续拼接而得到新的图像的清晰度的同时,减少了控制组件对其处理的复杂度。It needs to be further explained that the minimum value of the first depth of field range is equal to the maximum value of the second depth of field range, which is specifically used to indicate that the first depth of field range and the second depth of field range are connected to each other, that is, the first depth of field range and the second depth of field range. There are no extra gaps or overlapping areas between the depth of field ranges. The above technical solution can make the first image and the second image neither overlap nor have a blurred part, thereby ensuring the clarity of the new image obtained by the subsequent splicing of the first image and the second image. , reducing the complexity of its processing by the control component.
为实现第一景深范围的最小值与第二景深范围的最大值相等,即两者之间的相互衔接,具体可通过在第一摄像设备与第二摄像设备的焦距固定的情况下,调节其相互间的夹角,即调整第一摄像设备与第二摄像设备的朝向得以实现。In order to realize that the minimum value of the first depth-of-field range is equal to the maximum value of the second depth-of-field range, that is, the mutual connection between the two can be achieved by adjusting the focal length of the first imaging device and the second imaging device when the focal lengths are fixed. The included angle between each other, that is, the adjustment of the orientation of the first camera device and the second camera device can be realized.
在一可选实施例中,第一摄像设备102位于第二摄像设备104的上方,且第一摄像设备102的上视野呈水平方向。In an optional embodiment, the
需要进一步说明的是,第一摄像设备位于第二摄像设备的上方,是指第一摄像设备相较于第二摄像设备向远方进行拍摄,故将第一摄像设备设置在第二摄像设备所处高度位置的上方,而并非必须将第一摄像设备设置在第二摄像设备垂直方向上的上方。It should be further noted that the fact that the first imaging device is located above the second imaging device means that the first imaging device shoots farther than the second imaging device, so the first imaging device is set at the location where the second imaging device is located. Above the height position, it is not necessary to set the first camera device above the second camera device in the vertical direction.
在一可选实施例中,当将第一摄像设备与第二摄像设备分别安装于不同的安装位置以实现上述实施例中第一景深范围的最大值大于第二景深范围的最大值,第一景深范围的最小值大于第二景深范围的最小值时,将第一摄像设备与第二摄像设备分别安装在第一景深范围的拍摄位置以及第二景深范围的拍摄位置即可。In an optional embodiment, when the first imaging device and the second imaging device are respectively installed in different installation positions to realize that the maximum value of the first depth of field range in the above-mentioned embodiment is greater than the maximum value of the second depth of field range, the first When the minimum value of the depth of field range is greater than the minimum value of the second depth of field range, the first imaging device and the second imaging device may be installed at the shooting position of the first depth of field range and the shooting position of the second depth of field range, respectively.
在一可选实施例中,第一摄像设备102以及第二摄像设备104均与控制组件106电连接,包括:In an optional embodiment, both the
第一摄像设备102以及第二摄像设备104分别独立与控制组件106电连接。The
需要进一步说明的是,上述第一摄像设备以及第二摄像设备分别独立与控制组件电连接,具体用于指示第一摄像设备与第二摄像设备在获取到第一图像与第二图像后,分别发送至控制组件进行处理。It should be further noted that the above-mentioned first imaging device and second imaging device are electrically connected to the control component independently, respectively, and are specifically used to instruct the first imaging device and the second imaging device to obtain the first image and the second image, respectively. Sent to the control component for processing.
在一可选实施例中,控制组件106还用于:In an optional embodiment, the
对获取的第一图像与第二图像进行拼接。Stitching the acquired first image and the second image.
在一可选实施例中,控制组件106还用于:In an optional embodiment, the
指示第一摄像设备102在第一时刻拍摄第一图像,指示第二摄像设备104在第二时刻拍摄第二图像,其中,第一时刻与第二时刻位于同一时刻。The
通过上述技术方案,可使得第一摄像设备与第二摄像设备在相同的时刻进行曝光拍摄,以使得第一图像与第二图像在亮度、对比度等参数上可保持统一。Through the above technical solution, the first imaging device and the second imaging device can be exposed and photographed at the same time, so that the parameters such as brightness and contrast of the first image and the second image can be kept uniform.
在一可选实施例中,第一摄像设备102包括:第一摄像镜头以及第一光电传感器,第二摄像设备104包括:第二摄像镜头以及第二光电传感器;In an optional embodiment, the
其中,第一摄像镜头为长焦镜头,第二摄像镜头为短焦镜头;第一光电传感器与第二光电传感器与控制组件电连接。Wherein, the first camera lens is a telephoto lens, and the second camera lens is a short focus lens; the first photoelectric sensor and the second photoelectric sensor are electrically connected to the control assembly.
需要进一步说明的是,本实施例中第一摄像设备的拍摄朝向、第二摄像设备的拍摄朝向、或第一摄像设备与第二摄像设备的夹角均是指第一摄像镜头与第二摄像镜头的朝向或角度设置,第一光电传感器与第二光电传感器可以集成在对应的摄像镜头之上。通过上述技术方案中长焦镜头与短焦镜头的配合使用,可进一步通过第一摄像设备与第二摄像设备实现对于不同景深图像的获取。It should be further noted that, in this embodiment, the shooting orientation of the first imaging device, the shooting orientation of the second imaging device, or the angle between the first imaging device and the second imaging device all refer to the first imaging lens and the second imaging device. Depending on the orientation or angle of the lens, the first photoelectric sensor and the second photoelectric sensor can be integrated on the corresponding camera lens. Through the cooperative use of the telephoto lens and the short-focus lens in the above technical solution, the acquisition of images with different depths of field can be further realized by the first imaging device and the second imaging device.
在一可选实施例中,控制组件包括:In an optional embodiment, the control assembly includes:
处理单元、输入单元,其中,处理单元与输入单元电连接;a processing unit and an input unit, wherein the processing unit is electrically connected to the input unit;
输入单元包括有第一图像信号处理ISP输入端口与第二图像信号处理ISP输入端口,第一光电传感器电连接至第一ISP输入端口,第二光电传感器电连接至第二ISP输入端口。The input unit includes a first image signal processing ISP input port and a second image signal processing ISP input port, the first photoelectric sensor is electrically connected to the first ISP input port, and the second photoelectric sensor is electrically connected to the second ISP input port.
其中,第一光电传感器设置为将第一图像传输至第一ISP输入端口,第一ISP输入端口用于对第一图像进行ISP处理,以得到第一颜色编码YUV数据;Wherein, the first photoelectric sensor is set to transmit the first image to the first ISP input port, and the first ISP input port is used to perform ISP processing on the first image to obtain the first color-coded YUV data;
第二光电传感器设置为将第二图像传输至第二ISP输入端口,第二ISP输入端口用于对第二图像进行ISP处理,以得到第二颜色编码YUV数据。The second photosensor is configured to transmit the second image to the second ISP input port, and the second ISP input port is used to perform ISP processing on the second image to obtain second color-coded YUV data.
需要进一步说明的,上述处理单元为具有数据处理功能的电子元件,包括但不限于CPU(中央处理器)、DSP(数字信号处理器)、MCU(微处理器)等,用于实现控制组件以及第一摄像设备、第二摄像设备的控制与管理;上述输入单元中的ISP输入端口即可实现对于第一图像与第二图像的处理。控制组件还可以进一步包括内存单元、闪存单元、以太网单元、电源单元等用于实现设备工作的必要单元或模块。It should be further explained that the above-mentioned processing units are electronic components with data processing functions, including but not limited to CPU (central processing unit), DSP (digital signal processor), MCU (microprocessor), etc., used to realize control components and The control and management of the first camera equipment and the second camera equipment; the ISP input port in the above input unit can realize the processing of the first image and the second image. The control component may further include a memory unit, a flash memory unit, an Ethernet unit, a power supply unit and other necessary units or modules for realizing the operation of the device.
为进一步说明本实施例中的监控设备,以下通过具体实施例的方式进行具体说明:In order to further illustrate the monitoring device in this embodiment, a specific description is given below by means of specific embodiments:
本具体实施例中的摄像部分如图2与图3所示,第一摄像设备102包括第一摄像镜头1021与第一光电传感器1022(即图3中的Sensor1),图3是根据本发明具体实施例提供的监控设备的控制示意图,第一摄像设备102以及第二摄像设备104的具体构成如图3所示;其中,第一摄像镜头1021的对应参数为定焦1/1.8英寸、70mm,其景深范围为70至180米,第一光电传感器1022采用600w像素CMOS,其像元为2.4μm;如图2与图3所示,第二摄像设备104包括第二摄像镜头1041与第二光电传感器1042(即图3中的Sensor2),其中,第二摄像镜头1041的对应参数为定焦1/1.8英寸、25mm,其景深范围为15至70米,第二光电传感器1042同样采用600w像素的CMOS,其像元为2.4μm。如图2所示,第一摄像设备102与第二摄像设备104采用上下堆叠的结构,第一摄像设备102与第二摄像设备104之间形成3.9度的夹角;在实际安装过程中,需确保位于上方的第一摄像设备保持水平。这样,第一摄像设备可用于获取70至180米景深范围内的图像,第二摄像设备可用于获取15至70米景深范围内的图像,从而形成了可获取一个长景深范围(15至180米)内的图像。需要进一步说明的是,以上相关元器件的尺寸仅为本具体实施例中根据实际状况的一个选择,在不同的实例中可根据实际需要选择其它型号或尺寸的元器件,本申请对于相关元器件的选型不做限定。在本具体实施例中,第一光电传感器1022与第二光电传感器1042优选采用型号为IMX178的传感器。如图3所示,本具体实施例采用海思Hi3519V101嵌入式硬件平台作为监控设备硬件平台,平台之上设置有上述实施例中的控制组件106,控制组件106具体包括:处理单元1061、输入单元1062、内存单元1063、闪存单元1064、通信模块1065、以太网单元1066、电源单元1067,其中,输入单元1062、内存单元1063、闪存单元1064、通信模块1065、以太网单元1066、电源单元1067分别与处理单元1061彼此电连接;图4是根据本发明具体实施例提供的嵌入式硬件平台连接外部设备的电路原理图;图5是根据本发明具体实施例提供的嵌入式硬件平台连接电源控制示意图,嵌入式硬件平台的具体工作或与外部设备的连接原理如图4与图5所示。The imaging part in this specific embodiment is shown in FIG. 2 and FIG. 3 . The
上述处理单元1061为具有数据处理功能的电子元件,包括但不限于CPU(中央处理器)、DSP(数字信号处理器)、MCU(微处理器)等,用于对于第一图像以及第二图像进行拼接处理,以及对于相关硬件进行控制与管理,图6是根据本发明具体实施例提供的处理单元的电路原理图,处理单元1061的连接方式如图6所示。The above-mentioned
上述输入单元1062包括第一ISP输入端口与第二ISP输入端口,用于接收图像信息;上述第一ISP输入端口与第二ISP输入端口可直接集成于处理单元1061,即CPU中。图7是根据本发明具体实施例提供的输入单元中第一ISP输入端口的电路原理图,输入单元1062中第一ISP输入端口与对应的第一光电传感器的连接工作方式如图7所示。图8是根据本发明具体实施例提供的输入单元中第二ISP输入端口的电路原理图,输入单元1062中第二ISP输入端口与对应的第二光电传感器的连接工作方式如图8所示。The
上述内存单元1063包括第一双倍速率同步动态随机存储器DDR、第二双倍速率同步动态随机存储器DDR,图9是根据本发明具体实施例提供的内存单元连接的电路原理图,第一DDR或第二DDR与硬件平台之间的连接方式均如图9所示。图10是根据本发明具体实施例提供的内存单元中第一DDR的电路原理图,图11是根据本发明具体实施例提供的内存单元中第二DDR的电路原理图,第一DDR以及第二DDR的工作方式分别如图10与图11所示。上述闪存单元1064包括串行外设接口闪存SPI Nand Flash,具体而言,上述闪存单元1064可通过SPI Nand Flash连接对应的外设存储设备;上述通信单元1065包括通用异步收发传输器UARTAlarm IO TF,图12为根据本发明具体实施例提供的通信单元的电路示意图,通信单元的具体工作原理如图12所示;上述以太网单元1066括以太网卡,以用于网络连接,图13为根据本发明具体实施例提供的以太网单元的电路原理图,以太网单元的工作原理如图13所示;上述电源单元1067包括有斩波器,用于输入电压的直流变换,需要进一步说明的是,在硬件平台中存在不同的电源需求,上述电源单元可根据实际需要采用不同的斩波器实现对应的电压变化,图14是根据本发明具体实施例提供的电源单元的电路原理图,电源单元的连接方式如图14所示。图14仅为实现12V至5V直流变换的电路原理图,在涉及到不同需求的直流变换时,本领域技术人员可以获知如何设置斩波电路,本发明对此不进行限定,故不再赘述。The above-mentioned
上述输入单元中,第一ISP输入端口与第二ISP输入端口分别最大支持4K像素的图像信息输入;经由第一ISP输入端口与第二ISP输入端口输入的图像信息经过ISP处理后得到YUV数据后,再送至控制组件中的拼接单元,以对于第一图像与第二图像对应的YUV数据进行矫正与拼接处理,进而得到完整景深范围内的图像数据。上述图像数据再送至图像编码引擎,经过IP传输协议,将拼接后的H.264或H.265图像送至客户端显示或存储。In the above-mentioned input unit, the first ISP input port and the second ISP input port respectively support image information input of 4K pixels at the maximum; the image information input through the first ISP input port and the second ISP input port is processed by ISP to obtain YUV data. , and then sent to the splicing unit in the control assembly to perform correction and splicing processing on the YUV data corresponding to the first image and the second image, thereby obtaining image data within a complete depth of field range. The above image data is sent to the image coding engine, and the spliced H.264 or H.265 image is sent to the client for display or storage through the IP transmission protocol.
需要进一步说明的是,上述如图4至图14中任一项所示的电路原理图仅仅作为实现本具体实施例中的长焦距监控设备中相应单元或模块进行工作的一种电路连接方式,本发明对于具体的电路连接方式不做限定。本领域技术人员在图4至图14中任一项所示的电路原理图的基础上,可清楚的获知本具体实施例中相应单元或模块的连接方式,故对其电路或工作原理不再赘述。It should be further explained that the circuit schematic diagram shown in any one of the above-mentioned FIG. 4 to FIG. 14 is only used as a circuit connection method for realizing the operation of the corresponding unit or module in the long-focus monitoring device in this specific embodiment. The present invention does not limit the specific circuit connection manner. On the basis of the circuit schematic diagram shown in any one of FIG. 4 to FIG. 14 , those skilled in the art can clearly know the connection method of the corresponding unit or module in this specific embodiment, so the circuit or working principle of the corresponding unit or module in this specific embodiment is no longer known. Repeat.
经过拼接处理,第一图像与第二图像即可拼接得到一个景深范围为15至180米的画面,在这个范围内的人或物体成像均清晰,该画面的比例为3:4(长:宽),像素大小1200万像素(分辨率为3000*4000),像元2.4μm。After the stitching process, the first image and the second image can be stitched together to obtain a picture with a depth of field ranging from 15 to 180 meters. The images of people or objects within this range are clear. The ratio of the picture is 3:4 (length:width). ), the pixel size is 12 million pixels (resolution is 3000*4000), and the pixel is 2.4 μm.
实施例2Example 2
在本实施例中提供了一种长焦距监控方法,该方法应用上述实施例1中的长焦距监控设备;图15是根据本发明实施例的长焦距监控的流程图,如图15所示,该流程包括如下步骤:This embodiment provides a long-focus monitoring method, which applies the long-focus monitoring device in the above-mentioned
步骤S202,获取第一摄像设备拍摄的第一图像以及第二摄像设备拍摄的第二图像;其中,第一图像位于第一景深范围内,第二图像位于第二景深范围内,第一景深范围的最大值大于第二景深范围的最大值,第一景深范围的最小值大于第二景深范围的最小值;Step S202, acquiring a first image captured by the first imaging device and a second image captured by a second imaging device; wherein the first image is located within a first depth of field range, the second image is located within a second depth of field range, and the first depth of field range is is greater than the maximum value of the second depth of field range, and the minimum value of the first depth of field range is greater than the minimum value of the second depth of field range;
步骤S204,对第一图像与第二图像进行拼接。Step S204, stitching the first image and the second image.
通过本实施例中的方法,由于可通过第一摄像设备与第二摄像设备分别获取不同景深范围内的图像,因此,本实施例中的方法可以解决相关技术中在采用长焦距进行监控场景下获取的画面景深不足的问题,达到在长焦距应用场景下增加画面景深的效果。With the method in this embodiment, since images in different depth-of-field ranges can be obtained through the first camera device and the second camera device, respectively, the method in this embodiment can solve the problem of using a long focal length for monitoring in the related art The problem of insufficient depth of field of the obtained picture is achieved, and the effect of increasing the depth of field of the picture in the long focal length application scenario is achieved.
可选地,上述步骤的执行主体可以为控制组件,如CPU等,但不限于此。Optionally, the execution subject of the above steps may be a control component, such as a CPU, etc., but is not limited thereto.
在一可选实施例中,上述步骤S202中,第一景深范围的最小值与第二景深范围的最大值相等。In an optional embodiment, in the foregoing step S202, the minimum value of the first depth of field range is equal to the maximum value of the second depth of field range.
需要进一步说明的是,上述第一景深范围的最小值与第二景深范围的最大值相等,具体用于指示第一景深范围与第二景深范围之间彼此衔接,即第一景深范围与第二景深范围之间即不存在多余的缝隙,也不存在重叠区域。上述技术方案可使得第一图像与第二图像相互之间即不存在重叠,也不存在模糊部分,进而在确保第一图像与第二图像在进行后续拼接而得到新的图像的清晰度的同时,减少了控制组件对其处理的复杂度。It needs to be further explained that the minimum value of the first depth of field range is equal to the maximum value of the second depth of field range, which is specifically used to indicate that the first depth of field range and the second depth of field range are connected to each other, that is, the first depth of field range and the second depth of field range. There are no extra gaps or overlapping areas between the depth of field ranges. The above technical solution can make the first image and the second image neither overlap nor have a blurred part, thereby ensuring the clarity of the new image obtained by the subsequent splicing of the first image and the second image. , reducing the complexity of its processing by the control component.
在一可选实施例中,上述步骤S202中,获取第一摄像设备拍摄的第一图像以及第二摄像设备拍摄的第二图像,包括:In an optional embodiment, in the foregoing step S202, acquiring the first image captured by the first imaging device and the second image captured by the second imaging device includes:
在第一时刻获取第一摄像设备拍摄的第一图像,在第二时刻获取第二摄像设备拍摄的第二图像;其中,第一时刻与第二时刻位于同一时刻。The first image captured by the first imaging device is acquired at the first moment, and the second image captured by the second imaging device is acquired at the second moment; wherein the first moment and the second moment are at the same moment.
通过上述技术方案,可使得第一摄像设备与第二摄像设备在相同的时刻进行曝光拍摄,以使得第一图像与第二图像在亮度、对比度等参数上可保持统一。上述使得第一摄像设备与第二摄像设备在相同的时刻进行曝光拍摄,具体可通过控制组件向第一摄像设备和第二摄像设备同时发送控制指令,或使得第一摄像设备与第二摄像设备在预设条件(如某一时间点等)发生时同时进行工作即可。Through the above technical solution, the first imaging device and the second imaging device can be exposed and photographed at the same time, so that the parameters such as brightness and contrast of the first image and the second image can be kept uniform. The above makes the first imaging device and the second imaging device perform exposure shooting at the same time. Specifically, the control component can send control instructions to the first imaging device and the second imaging device at the same time, or make the first imaging device and the second imaging device. It is enough to work at the same time when a preset condition (such as a certain time point, etc.) occurs.
在一可选实施例中,对第一图像与第二图像进行拼接,包括:In an optional embodiment, stitching the first image and the second image includes:
对第一图像进行ISP处理,以得到第一颜色编码YUV数据;ISP processing is performed on the first image to obtain the first color-coded YUV data;
对第二图像进行ISP处理,以得到第二颜色编码YUV数据;ISP processing is performed on the second image to obtain second color-coded YUV data;
对第一颜色编码YUV数据与第二颜色编码YUV数据进行拼接。The first color-coded YUV data and the second color-coded YUV data are spliced.
需要进一步说明的是,在对于第一颜色编码YUV数据与第二颜色编码YUV数据进行拼接处理前,还可以对于第一颜色编码YUV数据与第二颜色编码YUV数据进行矫正,例如对图像中明显的失真点,或暗光处进行相应的处理。It should be further noted that before the splicing processing is performed on the first color-coded YUV data and the second color-coded YUV data, the first color-coded YUV data and the second color-coded YUV data can also be corrected, for example, the obvious in the image is corrected. Distortion point, or corresponding processing in dark light.
在一可选实施例中,上述步骤S202中,第一摄像设备位于第二摄像设备的上方,且第一摄像设备的上视野呈水平方向。In an optional embodiment, in the above step S202, the first imaging device is located above the second imaging device, and the upper field of view of the first imaging device is in a horizontal direction.
需要进一步说明的是,上述第一摄像设备与第二摄像设备的相对位置设置可使得第一摄像设备与第二摄像设备获取的第一图像与第二图像在拼接过程中实现无缝拼接。It should be further noted that, the relative position setting of the first camera device and the second camera device can make the first image and the second image obtained by the first camera device and the second camera device achieve seamless stitching during the stitching process.
在一可选实施例中,上述步骤S202中,第一摄像设备包括:第一摄像镜头以及第一光电传感器,第二摄像设备包括:第二摄像镜头以及第二光电传感器;In an optional embodiment, in the above step S202, the first imaging device includes: a first imaging lens and a first photoelectric sensor, and the second imaging device includes: a second imaging lens and a second photoelectric sensor;
其中,第一摄像镜头为长焦镜头,第二摄像镜头为短焦镜头;第一光电传感器与第二光电传感器与控制组件电连接。Wherein, the first camera lens is a telephoto lens, and the second camera lens is a short focus lens; the first photoelectric sensor and the second photoelectric sensor are electrically connected to the control assembly.
需要进一步说明的是,上述第一摄像设备以及第二摄像设备的构成使得第一摄像设备与第二摄像设备在获取第一图像以及第二图像中可以实现同时曝光,以使得第一图像与第二图像在拼接过程中的痕迹达到最小,进而提高成像效果。It should be further noted that, the configurations of the above-mentioned first imaging device and second imaging device enable the first imaging device and the second imaging device to achieve simultaneous exposure when acquiring the first image and the second image, so that the first image and the second imaging device can be exposed at the same time. The traces of the two images during the stitching process are minimized, thereby improving the imaging effect.
在一可选实施例中,上述步骤S202中,获取第一摄像设备拍摄的第一图像以及第二摄像设备拍摄的第二图像,包括:In an optional embodiment, in the foregoing step S202, acquiring the first image captured by the first imaging device and the second image captured by the second imaging device includes:
通过第一图像信号处理ISP输入端口与第二图像信号处理ISP输入端口实现第一图像与第二图像的获取,具体而言,将第一摄像设备中的第一光电传感器电连接至第一ISP输入端口,将第二摄像设备中的第二光电传感器电连接至第二ISP输入端口。The acquisition of the first image and the second image is realized through the first image signal processing ISP input port and the second image signal processing ISP input port. Specifically, the first photoelectric sensor in the first camera device is electrically connected to the first ISP The input port electrically connects the second photosensor in the second camera device to the second ISP input port.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present invention.
实施例3Example 3
在本实施例中还提供了一种长焦距监控装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a long-focus monitoring device is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementations, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
图16是根据本发明实施例的长焦距监控装置的结构框图,如图16所示,该装置包括:FIG. 16 is a structural block diagram of a long-focus monitoring device according to an embodiment of the present invention. As shown in FIG. 16 , the device includes:
获取模块302,用于获取第一摄像设备拍摄的第一图像以及第二摄像设备拍摄的第二图像;其中,第一图像位于第一景深范围内,第二图像位于第二景深范围内,第一景深范围的最大值大于第二景深范围的最大值,第一景深范围的最小值大于第二景深范围的最小值;The acquiring
拼接模块304,用于对第一图像与第二图像进行拼接。The
通过本实施例中的装置,由于可通过第一摄像设备与第二摄像设备分别获取不同景深范围内的图像,因此,本实施例中的装置可以解决相关技术中在采用长焦距进行监控场景下获取的画面景深不足的问题,达到在长焦距应用场景下增加画面景深的效果。With the device in this embodiment, since images in different depth-of-field ranges can be obtained through the first camera device and the second camera device respectively, the device in this embodiment can solve the problem of using a long focal length for monitoring in the related art The problem of insufficient depth of field of the obtained picture is achieved, and the effect of increasing the depth of field of the picture in the long focal length application scenario is achieved.
在一可选实施例中,上述获取模块302中,第一景深范围的最小值与第二景深范围的最大值相等。In an optional embodiment, in the obtaining
需要进一步说明的是,上述第一景深范围的最小值与第二景深范围的最大值相等,具体用于指示第一景深范围与第二景深范围之间彼此衔接,即第一景深范围与第二景深范围之间即不存在多余的缝隙,也不存在重叠区域。上述技术方案可使得第一图像与第二图像相互之间即不存在重叠,也不存在模糊部分,进而在确保第一图像与第二图像进行后续拼接而得到新的图像的清晰度的同时,减少了控制组件对其处理的复杂度。It needs to be further explained that the minimum value of the first depth of field range is equal to the maximum value of the second depth of field range, which is specifically used to indicate that the first depth of field range and the second depth of field range are connected to each other, that is, the first depth of field range and the second depth of field range. There are no extra gaps or overlapping areas between the depth-of-field ranges. The above technical solution can make the first image and the second image not overlap with each other, and there is no blurred part, so as to ensure the clarity of the new image obtained by the subsequent splicing of the first image and the second image, The complexity of its processing by the control component is reduced.
在一可选实施例中,上述获取模块302中,获取第一摄像设备拍摄的第一图像以及第二摄像设备拍摄的第二图像,包括:In an optional embodiment, in the foregoing obtaining
在第一时刻获取第一摄像设备拍摄的第一图像,在第二时刻获取第二摄像设备拍摄的第二图像;其中,第一时刻与第二时刻位于同一时刻。The first image captured by the first imaging device is acquired at the first moment, and the second image captured by the second imaging device is acquired at the second moment; wherein the first moment and the second moment are at the same moment.
通过上述技术方案,可使得第一摄像设备与第二摄像设备在相同的时刻进行曝光拍摄,以使得第一图像与第二图像在亮度、对比度等参数上可保持统一。上述使得第一摄像设备与第二摄像设备在相同的时刻进行曝光拍摄,具体可通过控制组件相其同时发送控制指令,或使得第一摄像设备与第二摄像设备在预设条件(如某一时间点等)发生时同时进行工作即可。Through the above technical solution, the first imaging device and the second imaging device can be exposed and photographed at the same time, so that the parameters such as brightness and contrast of the first image and the second image can be kept uniform. The above makes the first imaging device and the second imaging device perform exposure shooting at the same time, specifically, the control component can send control instructions at the same time, or make the first imaging device and the second imaging device under preset conditions (such as a certain It is sufficient to work at the same time when it occurs.
在一可选实施例中,上述拼接模块304中,对第一图像与第二图像进行拼接,包括:In an optional embodiment, in the above-mentioned
对第一图像进行ISP处理,以得到第一颜色编码YUV数据;ISP processing is performed on the first image to obtain the first color-coded YUV data;
对第二图像进行ISP处理,以得到第二颜色编码YUV数据;ISP processing is performed on the second image to obtain second color-coded YUV data;
对第一颜色编码YUV数据与第二颜色编码YUV数据进行拼接。The first color-coded YUV data and the second color-coded YUV data are spliced.
在一可选实施例中,上述获取模块302中,第一摄像设备位于第二摄像设备的上方,且第一摄像设备的上视野呈水平方向。In an optional embodiment, in the obtaining
需要进一步说明的是,上述第一摄像设备与第二摄像设备的相对位置设置可使得第一摄像设备与第二摄像设备获取的第一图像与第二图像在拼接过程中实现无缝拼接。It should be further noted that, the relative position setting of the first camera device and the second camera device can make the first image and the second image obtained by the first camera device and the second camera device achieve seamless stitching during the stitching process.
在一可选实施例中,上述获取模块302中,第一摄像设备包括:第一摄像镜头以及第一光电传感器,第二摄像设备包括:第二摄像镜头以及第二光电传感器;In an optional embodiment, in the obtaining
其中,第一摄像镜头为长焦镜头,第二摄像镜头为短焦镜头;第一光电传感器与第二光电传感器与控制组件电连接。Wherein, the first camera lens is a telephoto lens, and the second camera lens is a short focus lens; the first photoelectric sensor and the second photoelectric sensor are electrically connected to the control assembly.
需要进一步说明的是,上述第一摄像设备以及第二摄像设备的构成使得第一摄像设备与第二摄像设备在获取第一图像以及第二图像中可以实现同时曝光,以使得第一图像与第二图像在拼接过程中的痕迹达到最小,进而提高成像效果。It should be further noted that, the configurations of the above-mentioned first imaging device and second imaging device enable the first imaging device and the second imaging device to achieve simultaneous exposure when acquiring the first image and the second image, so that the first image and the second imaging device can be exposed at the same time. The traces of the two images during the stitching process are minimized, thereby improving the imaging effect.
在一可选实施例中,上述获取模块302中,获取第一摄像设备拍摄的第一图像以及第二摄像设备拍摄的第二图像,包括:In an optional embodiment, in the above-mentioned obtaining
通过第一图像信号处理ISP输入端口与第二图像信号处理ISP输入端口实现第一图像与第二图像的获取,具体而言,将第一摄像设备中的第一光电传感器电连接至第一ISP输入端口,将第二摄像设备中的第二光电传感器电连接至第二ISP输入端口。The acquisition of the first image and the second image is realized through the first image signal processing ISP input port and the second image signal processing ISP input port. Specifically, the first photoelectric sensor in the first camera device is electrically connected to the first ISP The input port electrically connects the second photosensor in the second camera device to the second ISP input port.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
实施例4Example 4
本发明的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。An embodiment of the present invention further provides a storage medium, where a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for executing the following steps:
S1,获取第一摄像设备拍摄的第一图像以及第二摄像设备拍摄的第二图像;其中,第一图像位于第一景深范围内,第二图像位于第二景深范围内,第一景深范围的最大值大于第二景深范围的最大值,第一景深范围的最小值大于第二景深范围的最小值;S1, acquiring a first image captured by a first imaging device and a second image captured by a second imaging device; wherein the first image is located within a first depth of field range, the second image is located within a second depth of field range, and the The maximum value is greater than the maximum value of the second depth of field range, and the minimum value of the first depth of field range is greater than the minimum value of the second depth of field range;
S2,对第一图像与第二图像进行拼接。S2, stitching the first image and the second image.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.
实施例5Example 5
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:
S1,获取第一摄像设备拍摄的第一图像以及第二摄像设备拍摄的第二图像;其中,第一图像位于第一景深范围内,第二图像位于第二景深范围内,第一景深范围的最大值大于第二景深范围的最大值,第一景深范围的最小值大于第二景深范围的最小值;S1, acquiring a first image captured by a first imaging device and a second image captured by a second imaging device; wherein the first image is located within a first depth of field range, the second image is located within a second depth of field range, and the The maximum value is greater than the maximum value of the second depth of field range, and the minimum value of the first depth of field range is greater than the minimum value of the second depth of field range;
S2,对第一图像与第二图像进行拼接。S2, stitching the first image and the second image.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, and they can be centralized on a single computing device or distributed in a network composed of multiple computing devices Alternatively, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device and executed by the computing device, and in some cases, in a different order than here The steps shown or described are performed either by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps of them into a single integrated circuit module. As such, the present invention is not limited to any particular combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included within the protection scope of the present invention.
Claims (16)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811566026.7A CN111355943A (en) | 2018-12-20 | 2018-12-20 | A monitoring device, method and device, storage medium, and electronic device |
PCT/CN2019/112424 WO2020125185A1 (en) | 2018-12-20 | 2019-10-22 | Monitoring device, method and apparatus, storage medium, and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811566026.7A CN111355943A (en) | 2018-12-20 | 2018-12-20 | A monitoring device, method and device, storage medium, and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111355943A true CN111355943A (en) | 2020-06-30 |
Family
ID=71102043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811566026.7A Pending CN111355943A (en) | 2018-12-20 | 2018-12-20 | A monitoring device, method and device, storage medium, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111355943A (en) |
WO (1) | WO2020125185A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112462723A (en) * | 2020-12-07 | 2021-03-09 | 北京达美盛软件股份有限公司 | System for real-time control and visualization of digital factory under augmented reality environment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780315A (en) * | 2015-04-08 | 2015-07-15 | 广东欧珀移动通信有限公司 | Method and system for photographing by camera device |
CN105376471A (en) * | 2015-12-21 | 2016-03-02 | 景好 | Panorama shooting system based on moving platform and method |
CN105519103A (en) * | 2015-10-22 | 2016-04-20 | 深圳市锐明技术股份有限公司 | Vehicle monitoring method and apparatus |
CN105744239A (en) * | 2016-05-11 | 2016-07-06 | 湖南源信光电科技有限公司 | Multi-focal-length lens ultrahigh resolution linkage imaging device |
CN106791396A (en) * | 2016-12-20 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | Panoramic picture shooting method, system and electronic equipment |
CN107948505A (en) * | 2017-11-14 | 2018-04-20 | 维沃移动通信有限公司 | A kind of panorama shooting method and mobile terminal |
WO2018153254A1 (en) * | 2017-02-27 | 2018-08-30 | 杭州海康威视数字技术股份有限公司 | Multi-view camera device and monitoring system |
CN209402651U (en) * | 2018-12-20 | 2019-09-17 | 深圳光启空间技术有限公司 | A kind of monitoring device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006054503A (en) * | 2004-08-09 | 2006-02-23 | Olympus Corp | Image generation method and apparatus |
CN105933678B (en) * | 2016-07-01 | 2019-01-15 | 湖南源信光电科技有限公司 | More focal length lens linkage imaging device based on Multiobjective Intelligent tracking |
CN106791337B (en) * | 2017-02-22 | 2023-05-12 | 北京汉邦高科数字技术股份有限公司 | Zoom camera with double-lens optical multiple expansion and working method thereof |
CN206559476U (en) * | 2017-02-22 | 2017-10-13 | 北京汉邦高科数字技术股份有限公司 | The Zoom camera that a kind of twin-lens optical multiplier is expanded |
CN109120883B (en) * | 2017-06-22 | 2020-11-27 | 杭州海康威视数字技术股份有限公司 | Far and near scene-based video monitoring method and device and computer-readable storage medium |
CN108174180B (en) * | 2018-01-02 | 2019-07-30 | 京东方科技集团股份有限公司 | A kind of display device, display system and 3 D displaying method |
-
2018
- 2018-12-20 CN CN201811566026.7A patent/CN111355943A/en active Pending
-
2019
- 2019-10-22 WO PCT/CN2019/112424 patent/WO2020125185A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104780315A (en) * | 2015-04-08 | 2015-07-15 | 广东欧珀移动通信有限公司 | Method and system for photographing by camera device |
CN105519103A (en) * | 2015-10-22 | 2016-04-20 | 深圳市锐明技术股份有限公司 | Vehicle monitoring method and apparatus |
CN105376471A (en) * | 2015-12-21 | 2016-03-02 | 景好 | Panorama shooting system based on moving platform and method |
CN105744239A (en) * | 2016-05-11 | 2016-07-06 | 湖南源信光电科技有限公司 | Multi-focal-length lens ultrahigh resolution linkage imaging device |
CN106791396A (en) * | 2016-12-20 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | Panoramic picture shooting method, system and electronic equipment |
WO2018153254A1 (en) * | 2017-02-27 | 2018-08-30 | 杭州海康威视数字技术股份有限公司 | Multi-view camera device and monitoring system |
CN107948505A (en) * | 2017-11-14 | 2018-04-20 | 维沃移动通信有限公司 | A kind of panorama shooting method and mobile terminal |
CN209402651U (en) * | 2018-12-20 | 2019-09-17 | 深圳光启空间技术有限公司 | A kind of monitoring device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112462723A (en) * | 2020-12-07 | 2021-03-09 | 北京达美盛软件股份有限公司 | System for real-time control and visualization of digital factory under augmented reality environment |
CN112462723B (en) * | 2020-12-07 | 2021-12-24 | 北京达美盛软件股份有限公司 | System for real-time control and visualization of digital factory under augmented reality environment |
Also Published As
Publication number | Publication date |
---|---|
WO2020125185A1 (en) | 2020-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107925751B (en) | System and method for multi-view noise reduction and high dynamic range | |
CN108712608B (en) | Terminal equipment shooting method and device | |
CN107959778B (en) | Imaging method and device based on dual cameras | |
CN106878605B (en) | Image generation method based on electronic equipment and electronic equipment | |
CN107948519A (en) | Image processing method, device and equipment | |
CN108024056B (en) | Imaging method and device based on dual cameras | |
US9794500B2 (en) | Imaging device, imaging method, and image processing device | |
CN111726521B (en) | Terminal photographing method, photographing device and terminal | |
CN103780840A (en) | High-quality imaging double camera shooting and imaging device and method thereof | |
WO2015081556A1 (en) | Photographing method for dual-camera device and dual-camera device | |
CN112311965A (en) | Virtual shooting method, device, system and storage medium | |
CN105847693A (en) | Shooting method and system based on two-camera focusing | |
CN106506939B (en) | Image acquisition device and acquisition method | |
WO2021022989A1 (en) | Calibration parameter obtaining method and apparatus, processor, and electronic device | |
CN209402651U (en) | A kind of monitoring device | |
CN109922275A (en) | Self-adapting regulation method, device and a kind of capture apparatus of exposure parameter | |
CN110933297B (en) | Photographing control method and device of intelligent photographing system, storage medium and system | |
WO2015127594A1 (en) | Control method and device for photographic light compensation and terminal | |
WO2018076883A1 (en) | Video filming box and video filming method, apparatus, and storage medium | |
CN103442173A (en) | Photographing method and device of camera in low-light environment | |
JP2020504969A (en) | Intelligent shooting method and device, intelligent terminal | |
CN111355943A (en) | A monitoring device, method and device, storage medium, and electronic device | |
CN102004370B (en) | Method for detecting focal length by flashlight in auxiliary manner | |
CN114697528A (en) | Image processor, electronic device and focus control method | |
CN112532856A (en) | Shooting method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201202 Address after: 518057 2 / F, software building, No.9, Gaoxin Middle Road, Nanshan District, Shenzhen, Guangdong Province Applicant after: SHENZHEN KUANG-CHI SUPER MATERIAL TECHNOLOGY Co.,Ltd. Address before: Bantian street Longgang District of Shenzhen City, Guangdong province 518300 Jihua Road, the new world Huasai Industrial Area No. 2, building 101 (two floor) 201 Applicant before: SHENZHEN KUANG-CHI SPACE TECH. Co.,Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |