CN112261262B - Image calibration method and device, electronic equipment and readable storage medium - Google Patents
Image calibration method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN112261262B CN112261262B CN202011134095.8A CN202011134095A CN112261262B CN 112261262 B CN112261262 B CN 112261262B CN 202011134095 A CN202011134095 A CN 202011134095A CN 112261262 B CN112261262 B CN 112261262B
- Authority
- CN
- China
- Prior art keywords
- image
- camera
- rotation angle
- tilt
- module
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000013507 mapping Methods 0.000 claims description 18
- 238000009434 installation Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 18
- 230000033001 locomotion Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000000176 photostabilization Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/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/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/685—Vibration or motion blur correction performed by mechanical compensation
-
- 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/60—Control of cameras or camera modules
- H04N23/695—Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本申请属于图像处理领域,具体涉及一种图像校准方法和装置、电子设备和可读存储介质。The present application belongs to the field of image processing, and in particular relates to an image calibration method and device, an electronic device and a readable storage medium.
背景技术Background technique
当前手机拍照功能越来越重要,手机上的相机模组中的摄像头数量也越来越多,多摄组合拍照和拍照防抖技术是比较流行的拍照技术。一方面,多摄组合拍照技术可以提供更加强大、丰富的拍照功能;另一方面,通过相机云台实现的拍照防抖技术可以有效提升拍照的成片质量和拍照体验。At present, the camera function of mobile phones is becoming more and more important, and the number of cameras in the camera module on the mobile phone is also increasing. Multi-camera combination photography and photo stabilization technology are relatively popular photography technologies. On the one hand, the multi-camera combined photo technology can provide more powerful and rich photo functions; on the other hand, the photo stabilization technology realized by the camera gimbal can effectively improve the photo quality and photo experience.
在实现本申请过程中,发明人发现相关技术中至少存在如下问题:In the process of realizing this application, the inventor found that there are at least the following problems in the related art:
现有相机云台防抖技术一般只用于单摄模组拍照,而多摄模组组合拍照则需要进行画面校准,但拍照过程中相机云台防抖作用而导致镜头位置不断旋转,无法进行有效的多摄画面校准。因此,在相关技术中,通常将相机云台固定在中心位置,拍照过程中就不能利用相机云台进行有效的防抖。The existing camera gimbal anti-shake technology is generally only used for single-camera modules to take pictures, and multi-camera module combination photos need to be calibrated, but the camera gimbal anti-shake effect causes the lens position to rotate continuously during the shooting process, which cannot be carried out. Effective multi-camera calibration. Therefore, in the related art, the camera pan/tilt is usually fixed at the center position, and the camera pan/tilt cannot be used for effective anti-shake during the photographing process.
针对上述的问题,目前尚未提出有效的解决方案。For the above problems, no effective solution has been proposed yet.
发明 内容Invention content
本申请实施例的目的是提供一种图像校准方法和装置、电子设备和可读存储介质,能够解决相关技术中在使用相机云台的防抖功能时,无法对多摄组合拍照画面进行有效的画面校准的问题。The purpose of the embodiments of the present application is to provide an image calibration method and device, an electronic device, and a readable storage medium, which can solve the problem that in the related art, when the anti-shake function of the camera pan/tilt is used, the multi-camera combined photographing picture cannot be effectively performed. Picture calibration problem.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种图像校准方法,该方法包括:在通过图像采集设备采集图像数据时,获取至少一个相机云台模组对应的至少一个相机云台旋转角度,其中,所述图像采集设备中的多个相机模组包括所述至少一个相机云台模组,所述相机云台模组包括镜头以及相机云台;获取与所述至少一个相机云台旋转角度对应的至少一个等效图像偏移量;根据所述至少一个等效图像偏移量以及所述多个相机模组的位置分布,确定所述多个相机模组对应的多个图像实时偏移量;根据所述多个图像实时偏移量对所述图像数据进行图像校准。In a first aspect, an embodiment of the present application provides an image calibration method, the method includes: when acquiring image data through an image acquisition device, acquiring at least one camera pan-tilt rotation angle corresponding to at least one camera pan-tilt module, wherein, The plurality of camera modules in the image acquisition device include the at least one camera pan/tilt module, and the camera pan/tilt module includes a lens and a camera pan/tilt; obtain a rotation angle corresponding to the at least one camera pan/tilt. at least one equivalent image offset; according to the at least one equivalent image offset and the position distribution of the multiple camera modules, determine multiple real-time image offsets corresponding to the multiple camera modules; Image calibration is performed on the image data according to the plurality of image real-time offsets.
第二方面,本申请实施例提供了一种图像校准装置,所述装置包括:第一获取单元,用于在通过图像采集设备采集图像数据时,获取至少一个相机云台模组对应的至少一个相机云台旋转角度,其中,所述图像采集设备中的多个相机模组包括所述至少一个相机云台模组,所述相机云台模组包括镜头以及相机云台;第二获取单元,用于获取与所述至少一个相机云台旋转角度对应的至少一个等效图像偏移量;第一确定单元,用于根据所述至少一个等效图像偏移量以及所述多个相机模组的位置分布,确定所述多个相机模组对应的多个图像实时偏移量;校准单元,用于根据所述多个图像实时偏移量对所述图像数据进行图像校准。In a second aspect, an embodiment of the present application provides an image calibration apparatus, the apparatus includes: a first acquisition unit configured to acquire at least one camera corresponding to at least one camera pan-tilt module when acquiring image data through an image acquisition device The rotation angle of the camera pan/tilt, wherein the plurality of camera modules in the image acquisition device include the at least one camera pan/tilt module, and the camera pan/tilt module includes a lens and a camera pan/tilt; the second acquisition unit, for acquiring at least one equivalent image offset corresponding to the rotation angle of the at least one camera pan-tilt; a first determination unit for obtaining at least one equivalent image offset according to the at least one equivalent image offset and the plurality of camera modules The position distribution of the plurality of camera modules is used to determine the real-time offsets of multiple images corresponding to the multiple camera modules; the calibration unit is configured to perform image calibration on the image data according to the real-time offsets of the multiple images.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的图像校准方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the image calibration method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的图像校准方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the image calibration method according to the first aspect is implemented A step of.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的图像校准方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect The described image calibration method.
在本申请实施例中,在通过图像采集设备采集图像数据时,获取图像采集设备多个相机模组中至少一个相机云台模组对应的至少一个相机云台旋转角度;获取与至少一个相机云台旋转角度对应的至少一个等效图像偏移量;根据至少一个等效图像偏移量以及多个相机模组的位置分布,确定多个相机模组对应的多个图像实时偏移量;根据多个图像实时偏移量对图像数据进行图像校准。实现了在多摄组合拍照时结合相机云台的拍照功能,并根据相机云台模组的相机云台旋转角度以及图像采集设备中多个相机模组的位置分布确定图像实时偏移量,对图像数据进行图像校准。解决了相关技术中在使用相机云台的防抖功能时,无法对多摄组合拍照画面进行有效的画面校准的问题。In the embodiment of the present application, when collecting image data through an image acquisition device, at least one camera pan-tilt rotation angle corresponding to at least one camera pan-tilt module among multiple camera modules of the image acquisition device is acquired; at least one equivalent image offset corresponding to the rotation angle of the stage; according to the at least one equivalent image offset and the position distribution of the multiple camera modules, determine multiple real-time image offsets corresponding to the multiple camera modules; Image calibration of image data with multiple image real-time offsets. Real-time image offset is determined according to the rotation angle of the camera PTZ of the camera PTZ module and the position distribution of multiple camera modules in the image acquisition device. Image data for image calibration. It solves the problem that in the related art, when the anti-shake function of the camera gimbal is used, it is impossible to perform effective picture calibration on the multi-camera combined photographing picture.
附图说明Description of drawings
图1是本申请实施例中一种可选地图像校准方法的流程示意图;1 is a schematic flowchart of an optional image calibration method in an embodiment of the present application;
图2a是本申请实施例中一种可选地相机云台模组的示意图;2a is a schematic diagram of an optional camera pan-tilt module in an embodiment of the present application;
图2b是本申请实施例中一种可选地普通相机模组的示意图;2b is a schematic diagram of an optional ordinary camera module in the embodiment of the present application;
图3是本申请实施例中又一种可选地相机云台模组的示意图;3 is a schematic diagram of another optional camera pan-tilt module in the embodiment of the present application;
图4是本申请实施例中又一种可选地图像采集设备的示意图;FIG. 4 is a schematic diagram of another optional image acquisition device in an embodiment of the present application;
图5是本申请实施例中又一种可选地图像校准装置的结构示意图;FIG. 5 is a schematic structural diagram of another optional image calibration apparatus in an embodiment of the present application;
图6是本申请实施例中又一种可选地电子设备的结构示意图。FIG. 6 is a schematic structural diagram of another optional electronic device in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像校准方法进行详细地说明。The image calibration method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
根据本申请实施例的一方面,提出了一种图像校准方法,如图1所示,该方法具体可以包括以下步骤:According to an aspect of the embodiments of the present application, an image calibration method is proposed. As shown in FIG. 1 , the method may specifically include the following steps:
S102,在通过图像采集设备采集图像数据时,获取至少一个相机云台模组对应的至少一个相机云台旋转角度,其中,所述图像采集设备中的多个相机模组包括所述至少一个相机云台模组,所述相机云台模组包括镜头以及相机云台;S102, when collecting image data through an image acquisition device, acquire at least one camera pan-tilt rotation angle corresponding to at least one camera pan-tilt module, wherein the plurality of camera modules in the image acquisition device include the at least one camera PTZ module, the camera PTZ module includes a lens and a camera PTZ;
S104,获取与所述至少一个相机云台旋转角度对应的至少一个等效图像偏移量;S104, acquiring at least one equivalent image offset corresponding to the rotation angle of the at least one camera head;
S106,根据所述至少一个等效图像偏移量以及所述多个相机模组的位置分布,确定所述多个相机模组对应的多个图像实时偏移量;S106, according to the at least one equivalent image offset and the position distribution of the multiple camera modules, determine multiple real-time image offsets corresponding to the multiple camera modules;
S108,根据所述多个图像实时偏移量对所述图像数据进行图像校准。S108: Perform image calibration on the image data according to the real-time offsets of the multiple images.
在本实施例中,图像采集设备中的相机模组中包括多个如图2a所示的相机云台模组,或者还包括如图2b所示的普通相机模组,在本实施例中,对普通相机模组的数量不做限定。相机云台模组包括相机云台以及镜头,镜头设置于相机云台上,由相机云台对镜头进行固定。在图像采集设备通过相机云台模组采集图像数据的过程中,通过相机云台中陀螺仪来实现镜头的防抖功能。需要说明的是,本实施例中的多个相机模组指代相机模组的数量为两个或两个以上。In this embodiment, the camera module in the image acquisition device includes a plurality of camera pan/tilt modules as shown in FIG. 2a, or also includes a common camera module as shown in FIG. 2b. In this embodiment, The number of common camera modules is not limited. The camera pan/tilt module includes a camera pan/tilt and a lens, the lens is set on the camera pan/tilt, and the camera pan/tilt fixes the lens. In the process of collecting image data through the camera gimbal module, the image acquisition device uses the gyroscope in the camera gimbal to realize the anti-shake function of the lens. It should be noted that the multiple camera modules in this embodiment refer to the number of camera modules being two or more.
在本实施例中,在多摄组合拍照的过程中,加入相机云台的防抖功能之后,多摄组合拍照的图像偏移是实时变化的,每一个图像帧都存在对应的图像偏移。进一步地,等效图像偏移量是在相机云台模组中相机云台实现防抖功能的过程中,相机云台固定的镜头随相机云台运动发生的图像偏移得到的。在本实施例中,相机云台的运动状态通过相机云台旋转角进行表示,通过相机云台模组的相机云台旋转角度来确定对应的等效图像偏移量。In this embodiment, after adding the anti-shake function of the camera pan/tilt during the multi-camera combination photography process, the image offset of the multi-camera combination photography changes in real time, and each image frame has a corresponding image offset. Further, the equivalent image offset is obtained from the image shift generated by the fixed lens of the camera gimbal with the movement of the camera gimbal when the camera gimbal in the camera gimbal module implements the anti-shake function. In this embodiment, the motion state of the camera pan/tilt is represented by the rotation angle of the camera pan/tilt, and the corresponding equivalent image offset is determined by the camera pan/tilt rotation angle of the camera pan/tilt module.
另一方面,由于图像采集设备中相机模组之间的位置分布,也会产生相应的固定图像偏移量,因此,在本实施例中,根据相机云台模组运动产生的等效图像偏移量以及相机云台模组之间位置分布产生的固定图像偏移量,可以确定每个图像帧对应的图像实时偏移量,进而对图像帧进行图像校准。On the other hand, due to the positional distribution between the camera modules in the image acquisition device, a corresponding fixed image offset will also be generated. Therefore, in this embodiment, the equivalent image offset generated by the movement of the camera pan-tilt module The shift amount and the fixed image offset generated by the position distribution between the camera pan-tilt modules can determine the real-time image offset corresponding to each image frame, and then perform image calibration on the image frame.
需要说明的是,通过本实施例,根据相机云台模组的相机云台旋转角度确定对应的等效图像偏移量,来矫正因相机云台防抖运动而导致的图像偏移,同时通过云台相机模组的等效图像偏移量以及图像采集设备中多个相机模组的位置分布,确定多个相机模组分别对应的图像实时偏移量,然后根据图像采集设备中各个相机模组对应的图像实时偏移量对图像数据进行图像校准。实现了在多摄组合拍照时结合相机云台的防抖功能,解决了相关技术中在使用相机云台的防抖功能时,无法对多摄组合拍照画面进行有效的画面校准的问题。It should be noted that, through this embodiment, the corresponding equivalent image offset is determined according to the rotation angle of the camera PTZ of the camera PTZ module, so as to correct the image offset caused by the anti-shake movement of the camera PTZ. The equivalent image offset of the camera module of the gimbal and the position distribution of multiple camera modules in the image acquisition device, determine the real-time image offset corresponding to the multiple camera modules, and then according to the camera modules in the image acquisition device The image real-time offset corresponding to the group performs image calibration on the image data. The anti-shake function of the camera pan/tilt is combined with the multi-camera combination to take pictures, and the problem that the multi-camera combination photo image cannot be effectively calibrated when the anti-shake function of the camera pan/tilt is used in the related art is solved.
可选地,在本实施例中,在通过图像采集设备采集图像数据时,获取至少一个相机云台模组对应的至少一个相机云台旋转角度,包括但不限于:获取相机云台模组的外支架旋转角度,以及相机云台模组的内支架旋转角度。Optionally, in this embodiment, when acquiring image data through an image acquisition device, acquiring at least one camera pan-tilt rotation angle corresponding to at least one camera pan-tilt module includes, but is not limited to: acquiring the camera pan-tilt module's rotation angle. The rotation angle of the outer bracket and the rotation angle of the inner bracket of the camera gimbal module.
在本实施例中,相机云台模组中的相机云台中包括外支架以及内支架,相机云台旋转角度包括外支架的外支架旋转角度以及内支架的内支架旋转角度,在相机云台模组的使用过程中,外支架旋转角度以及内支架旋转角度可以根据图像采集设备中的图像处理器的传输信息中获取。In this embodiment, the camera pan/tilt in the camera pan/tilt module includes an outer bracket and an inner bracket, and the rotation angle of the camera pan/tilt includes the rotation angle of the outer bracket of the outer bracket and the rotation angle of the inner bracket of the inner bracket. During the use of the group, the rotation angle of the outer bracket and the rotation angle of the inner bracket can be obtained according to the transmission information of the image processor in the image acquisition device.
通过获取相机云台的外支架旋转角度以及内支架旋转角度,能够获取到相机云台模组的相机云台旋转角度,进而确定相机云台的运动状态。By acquiring the rotation angle of the outer bracket and the rotation angle of the inner bracket of the camera pan/tilt, the rotation angle of the camera pan/tilt of the camera pan/tilt module can be acquired, and then the motion state of the camera pan/tilt can be determined.
可选地,在本实施例中,相机云台模组中的陀螺仪包括第一转轴和第二转轴,其中,获取相机云台模组的外支架旋转角度,以及相机云台模组的内支架旋转角度,包括但不限于:获取第一转轴在第一方向上旋转的第一角度,以得到外支架旋转角度;获取第二转轴在第二方向上旋转的第二角度,以得到外支架旋转角度。Optionally, in this embodiment, the gyroscope in the camera pan-tilt module includes a first rotation axis and a second rotation axis, wherein the rotation angle of the outer bracket of the camera pan-tilt module is obtained, and the inner bracket of the camera pan-tilt module is obtained. The rotation angle of the bracket, including but not limited to: obtaining the first angle of the rotation of the first shaft in the first direction to obtain the rotation angle of the outer bracket; obtaining the second angle of the rotation of the second shaft in the second direction to obtain the outer bracket Rotation angle.
具体地,如图3所示的相机云台模组示意图,从相机云台模组30获取每一帧图像对应的相机云台分别在两个方向上的旋转角度值(α,β),α为相机云台的外支架旋转角度,β是相机云台的内支架旋转角度。外支架旋转角度α是相机云台中陀螺仪第一转轴32在第一方向上旋转的第一角度,内支架旋转角度β是陀螺仪中第二转轴34在第二方向上旋转的第二角度,第一转轴32和第二转轴34分别按照云台相机模组30的对角线进行安装的。需要说明的是,外支架旋转角度α与内支架旋转角度β分别包括水平分量以及竖直分量。Specifically, as shown in the schematic diagram of the camera pan/tilt module shown in FIG. 3 , the rotation angle values (α, β) of the camera pan/tilt in two directions corresponding to each frame of image are obtained from the camera pan/
通过上述实施例,获取相机云台中陀螺仪的第一转轴旋转的第一角度以及第二转轴旋转的第二角度,提高了获取到的相机云台旋转角度的准确性。Through the above-mentioned embodiments, the first angle of rotation of the first rotation axis of the gyroscope in the camera head and the second angle of rotation of the second rotation shaft of the gyroscope are obtained, which improves the accuracy of the obtained rotation angle of the camera head.
可选地,在本实施例中,获取与至少一个相机云台旋转角度对应的至少一个等效图像偏移量,包括但不限于:根据相机云台旋转角度与图像偏移量的映射关系,分别获取至少一个相机云台旋转角度中每个相机云台旋转角度对应的等效图像偏移量。Optionally, in this embodiment, acquiring at least one equivalent image offset corresponding to the rotation angle of at least one camera head includes but not limited to: according to the mapping relationship between the rotation angle of the camera head and the image offset, The equivalent image offset corresponding to each of the rotation angles of the at least one camera head and head is obtained respectively.
具体地,在本实施例中,利用获取图像数据中图像帧时,相机云台模组在第一方向以及第二方向的旋转角度,得到相机云台旋转角度(α,β),通过相机云台旋转角度和图像偏移量之间的函数关系Δy=f(α,β),可以确定相机云台旋转角度对应的等效图像偏移量Δy。Specifically, in this embodiment, the rotation angles of the camera pan-tilt module in the first direction and the second direction are used when acquiring the image frames in the image data to obtain the camera pan-tilt rotation angles (α, β). The functional relationship Δy=f(α, β) between the rotation angle of the stage and the image offset can determine the equivalent image offset Δy corresponding to the rotation angle of the camera head.
通过上述实施例,根据相机云台旋转角度以及图像偏移量的映射关系,分别获取至少一个相机云台旋转角度中每个相机云台旋转角度对应的等效图像偏移量,能够确定相机云台模组的相机云台运动过程中产生的图像数据偏移。Through the above embodiment, according to the mapping relationship between the rotation angle of the camera head and the image offset, the equivalent image offset corresponding to each camera head rotation angle in at least one camera head rotation angle is obtained respectively, and the camera cloud can be determined. The image data offset generated during the movement of the camera head of the stage module.
可选地,在本实施例中,在根据相机云台旋转角度与图像偏移量的映射关系,获取相机云台旋转角度对应的等效图像偏移量之前,还包括但不限于:在相机云台模组处于初始位置时,采集第一图像;在相机云台模组运动至最大旋转角度时,采集第二图像;根据第一图像以及第二图像确定实际偏移量,并根据最大旋转角度与实际偏移量确定映射关系。Optionally, in this embodiment, before acquiring the equivalent image offset corresponding to the rotation angle of the camera head according to the mapping relationship between the rotation angle of the camera head and the image offset, the method further includes but is not limited to: When the gimbal module is in the initial position, the first image is collected; when the camera gimbal module moves to the maximum rotation angle, the second image is collected; the actual offset is determined according to the first image and the second image, and the maximum rotation The angle and the actual offset determine the mapping relationship.
在具体地应用场景中,由于每个相机云台模组之间都存在细微的差异,需要对每个模组的图像偏移量以及相机云台旋转角度对应的映射关系进行校准。校准是通过在相机云台模组的初始位置拍一张第一图像,在相机云台运动模组到极限位置时拍一张第二图像,其中,极限位置即相机云台的最大旋转角度。然后计算第一图像以及第二图像之间的实际偏移量,将将实际偏移量写入相机云台模组的存储器中,相机云台模组的存储器包括但不限于EEPROM (Electrically Erasable Programmable read only memory,带电可擦可编程只读存储器)。然后获取相机云台模组的存储器中的实际偏移量,构建线性/非线性的映射关系Δy=f(α,β),根据该映射关系可以根据相机云台旋转角确定等效图像偏移量。In a specific application scenario, since there are subtle differences between each camera gimbal module, it is necessary to calibrate the image offset of each module and the mapping relationship corresponding to the rotation angle of the camera gimbal. The calibration is to take a first image at the initial position of the camera gimbal module, and take a second image when the camera gimbal movement module reaches the limit position, where the limit position is the maximum rotation angle of the camera gimbal. Then calculate the actual offset between the first image and the second image, and write the actual offset into the memory of the camera pan-tilt module. The memory of the camera pan-tilt module includes but is not limited to EEPROM (Electrically Erasable Programmable). read only memory, electrified erasable programmable read only memory). Then, the actual offset in the memory of the camera gimbal module is obtained, and a linear/non-linear mapping relationship Δy=f(α, β) is constructed. According to the mapping relationship, the equivalent image offset can be determined according to the rotation angle of the camera gimbal. quantity.
通过上述实施例,获取相机云台模组的实际偏移量,然后根据相机云台模组的最大旋转角度以及实际偏移确定映射关系,以根据得到的映射关系以及相机云台旋转角度得到对应的等效图像偏移量。Through the above embodiment, the actual offset of the camera gimbal module is obtained, and then the mapping relationship is determined according to the maximum rotation angle and the actual offset of the camera gimbal module, so as to obtain the corresponding mapping relationship and the rotation angle of the camera gimbal. The equivalent image offset of .
可选地,在本实施例中,根据至少一个等效图像偏移量以及多个相机模组的位置分布,确定多个相机模组对应的多个图像实时偏移量,包括但不限于:根据多个相机模组之间的位置分布,获取多个相机模组对应的多个固定偏移量;根据至少一个等效图像偏移量以及多个固定偏移量确定多个图像实时偏移量。Optionally, in this embodiment, multiple real-time image offsets corresponding to multiple camera modules are determined according to at least one equivalent image offset and the position distribution of multiple camera modules, including but not limited to: Obtain multiple fixed offsets corresponding to multiple camera modules according to the position distribution among multiple camera modules; determine multiple image real-time offsets according to at least one equivalent image offset and multiple fixed offsets quantity.
具体地,在本实施例中,相机云台模组之间的距离也会产生固定的图像偏移,因此需要根据相机云台模组中相机云台运动产生的图像偏移。在本实施例根据多个相机模组之间的位置分布获取对应的多组固定偏移量,然后根据相机云台模组运动产生的等效图像偏移量以及固定偏移量,确定多个相机模组对应的多个图像实时偏移量。Specifically, in this embodiment, the distance between the camera pan/tilt modules will also generate a fixed image offset, so the image shift generated by the camera pan/tilt movement in the camera pan/tilt module needs to be determined. In this embodiment, a plurality of sets of corresponding fixed offsets are obtained according to the positional distribution among the multiple camera modules, and then multiple sets of fixed offsets are determined according to the equivalent image offsets and fixed offsets generated by the movement of the camera pan-tilt module. The real-time offsets of multiple images corresponding to the camera module.
在具体地应用场景中,图像采集设备的多个相机模组中包括至少个相机云台模组以及普通相机模组,其中,根据多个相机模组之间的位置分布、以及至少一个相机云台模组与普通相机模组之间位置分布,获取图像采集设备中相机模组对应的的多个固定偏移量;根据多个等效图像偏移量以及多个固定偏移量确定多个图像实时偏移量。In a specific application scenario, the multiple camera modules of the image acquisition device include at least one camera pan/tilt module and a common camera module, wherein, according to the position distribution among the multiple camera modules, and at least one camera cloud The position distribution between the camera module and the common camera module is obtained, and multiple fixed offsets corresponding to the camera modules in the image acquisition device are obtained; according to multiple equivalent image offsets and multiple fixed offsets, multiple fixed offsets are determined. Image realtime offset.
在一个例子中,如图4所示的图像采集设备中包括相机云台模组40、相机云台模组42以及普通相机模组44,其中,S1是相机云台模组40相对原始中心位置的等效图像偏移量,S2是相机云台模组42相对原始中心位置的等效图像偏移量,R12、R23、R13分别是相机云台模组以及普通相机模组之间的固定偏移量,该固定偏移量可以通过相机模组的安装位置分布计算得到,F12、F23、 F13分别为相机模组之间的图像实时偏移量,可以通过等效图像偏移量R12、R23、R13以及固定偏移量S1、S2得到。In one example, the image acquisition device shown in FIG. 4 includes a
例如,已知向量和向量通过向量减法可以求出图像实时偏移量 For example, a known vector and vector The real-time offset of the image can be obtained by vector subtraction
基于相同的方式,可以计算出图像实时偏移量以及本实施例在此不做赘述。Based on the same way, the real-time offset of the image can be calculated as well as This embodiment will not be repeated here.
通过上述实施例,根据图像采集设备中相机云台模组对应的的等效图像偏移量,以及多个相机模组之间的固定偏移量,来确定相机模组分别对应的图像实时偏移量,确定了相机云台防抖功能导致的图像数据的实际偏移量。Through the above embodiment, the real-time image offset corresponding to the camera modules is determined according to the equivalent image offset corresponding to the camera pan/tilt module in the image acquisition device and the fixed offset between multiple camera modules. The shift amount, which determines the actual shift amount of the image data caused by the anti-shake function of the camera's gimbal.
可选地,在本实施例中,根据多个图像实时偏移量对图像数据进行图像校准,包括但不限于:根据多个图像实时偏移量对图像数据进行图像裁剪。Optionally, in this embodiment, performing image calibration on the image data according to multiple real-time image offsets includes but not limited to: performing image cropping on the image data according to multiple real-time image offsets.
具体地,在获取到多摄组合拍照的图像实时偏移量之后,基于图像实时偏移量通过图像裁剪进行图像帧的图像校准。需要说明的是,在多摄组合拍照加入相机云台防抖功能之后,多摄组合拍照的图像实时偏移量是实时变化的,图像数据中的每个图像帧对应的图像实时偏移量都可能存在不同,在本实施例中,需要获取每个图像帧对应的图像实时偏移量对图像帧进行图像校准。Specifically, after obtaining the real-time image offset of the multi-camera combined photographing, image calibration of the image frame is performed by image cropping based on the real-time image offset. It should be noted that after the multi-camera combination photo is added to the camera's PTZ anti-shake function, the real-time image offset of the multi-camera combination photo changes in real time, and the real-time image offset corresponding to each image frame in the image data is the same. There may be differences. In this embodiment, the real-time image offset corresponding to each image frame needs to be acquired to perform image calibration on the image frame.
通过本实施例,在通过图像采集设备采集图像数据时,获取至少一个相机云台模组对应的至少一个相机云台旋转角度;获取与至少一个相机云台旋转角度对应的至少一个等效图像偏移量;根据至少一个等效图像偏移量以及多个相机模组的位置分布,确定多个相机模组对应的多个图像实时偏移量;根据多个图像实时偏移量对图像数据进行图像校准。实现了在多摄组合拍照时结合相机云台的拍照功能,并根据相机云台模组的相机云台旋转角度以及相机云台的位置分布确定图像实时偏移量,对图像数据进行图像校准,解决了相关技术中在使用相机云台的防抖功能时,无法对多摄组合拍照画面进行有效的画面校准的问题。Through this embodiment, when image data is collected by the image acquisition device, at least one camera pan-tilt rotation angle corresponding to at least one camera pan-tilt module is acquired; at least one equivalent image offset corresponding to the at least one camera pan-tilt rotation angle is acquired. Offset; according to at least one equivalent image offset and the position distribution of multiple camera modules, determine multiple real-time image offsets corresponding to multiple camera modules; Image calibration. It realizes the photographing function of combining the camera pan/tilt when taking pictures in a multi-camera combination, and determines the real-time image offset according to the camera pan/tilt rotation angle of the camera pan/tilt module and the position distribution of the camera pan/tilt, and performs image calibration on the image data. It solves the problem that in the related art, when the anti-shake function of the camera gimbal is used, it is impossible to perform effective picture calibration on the multi-camera combined photographing picture.
需要说明的是,本申请实施例提供的图像校准方法,执行主体可以为图像校准装置,或者该图像校准装置中的用于执行加载图像校准方法的控制模块。本申请实施例中以图像校准装置执行加载图像校准的方法为例,说明本申请实施例提供的图像校准的方法。It should be noted that, in the image calibration method provided by the embodiments of the present application, the execution body may be an image calibration device, or a control module in the image calibration device for executing the loaded image calibration method. In the embodiment of the present application, the method for performing the loaded image calibration by the image calibration apparatus is used as an example to describe the image calibration method provided by the embodiment of the present application.
根据本申请实施例的另一个方面,提出了一种图像校准装置,如图5所示,该图像校准具体可以包括:According to another aspect of the embodiments of the present application, an image calibration apparatus is proposed. As shown in FIG. 5 , the image calibration may specifically include:
1)第一获取单元50,用于在通过图像采集设备采集图像数据时,获取至少一个相机云台模组对应的至少一个相机云台旋转角度,其中,所述图像采集设备中的多个相机模组包括所述至少一个相机云台模组,所述相机云台模组包括镜头以及相机云台;1) The first acquisition unit 50 is configured to acquire at least one camera pan-tilt rotation angle corresponding to at least one camera pan-tilt module when image data is acquired by the image acquisition device, wherein a plurality of cameras in the image acquisition device The module includes the at least one camera pan/tilt module, and the camera pan/tilt module includes a lens and a camera pan/tilt;
2)第二获取单元52,用于获取与所述至少一个相机云台旋转角度对应的至少一个等效图像偏移量;2) a second acquisition unit 52, configured to acquire at least one equivalent image offset corresponding to the rotation angle of the at least one camera head;
3)第一确定单元54,用于根据所述至少一个等效图像偏移量以及所述多个相机模组的位置分布,确定所述多个相机模组对应的多个图像实时偏移量;3) A first determination unit 54, configured to determine the real-time offsets of multiple images corresponding to the multiple camera modules according to the at least one equivalent image offset and the position distribution of the multiple camera modules ;
4)校准单元56,用于根据所述多个图像实时偏移量对所述图像数据进行图像校准。4) A calibration unit 56, configured to perform image calibration on the image data according to the real-time offsets of the multiple images.
可选地,在本实施例中,所述第一获取单元50包括:Optionally, in this embodiment, the first obtaining unit 50 includes:
1)第一获取模块,用于获取所述相机云台模组的外支架旋转角度,以及所述相机云台模组的内支架旋转角度。1) The first acquisition module is used to acquire the rotation angle of the outer bracket of the camera pan-tilt module and the rotation angle of the inner bracket of the camera pan-tilt module.
可选地,在本实施例中,所述相机云台模组中的陀螺仪包括第一转轴和第二转轴,其中,所述第一获取模块包括:Optionally, in this embodiment, the gyroscope in the camera pan/tilt module includes a first rotation axis and a second rotation axis, wherein the first acquisition module includes:
1)第一获取子模块,用于获取所述第一转轴在第一方向上旋转的第一角度,以得到所述外支架旋转角度;1) a first acquisition sub-module for acquiring the first angle of rotation of the first shaft in the first direction to obtain the rotation angle of the outer support;
2)第二获取子模块,用于获取所述第二转轴在第二方向上旋转的第二角度,以得到所述外支架旋转角度。2) A second acquisition sub-module, configured to acquire the second angle of rotation of the second shaft in the second direction, so as to obtain the rotation angle of the outer support.
可选地,在本实施例中,所述第二获取单元52包括:Optionally, in this embodiment, the second obtaining unit 52 includes:
1)第二获取模块,用于根据所述相机云台旋转角度与图像偏移量的映射关系,获取所述相机云台旋转角度对应的等效图像偏移量。1) A second acquiring module, configured to acquire the equivalent image offset corresponding to the rotation angle of the camera pan according to the mapping relationship between the rotation angle of the camera pan and the image offset.
可选地,在本实施例中,还包括:Optionally, in this embodiment, it also includes:
1)第一采集单元,用于在根据所述相机云台旋转角度与图像偏移量的映射关系,获取所述相机云台旋转角度对应的等效图像偏移量之前,在所述相机云台模组处于初始位置时,采集第一图像;1) A first acquisition unit, configured to, before acquiring the equivalent image offset corresponding to the rotation angle of the camera head according to the mapping relationship between the rotation angle of the camera head and the image offset When the stage module is in the initial position, the first image is collected;
2)第二采集单元,用于在所述相机云台模组运动至最大旋转角度时,采集第二图像;2) a second acquisition unit, configured to acquire a second image when the camera pan/tilt module moves to the maximum rotation angle;
3)第二确定单元,用于根据所述第一图像以及所述第二图像确定实际偏移量,并根据所述最大旋转角度与所述实际偏移量确定所述映射关系。3) A second determining unit, configured to determine an actual offset according to the first image and the second image, and determine the mapping relationship according to the maximum rotation angle and the actual offset.
可选地,在本实施例中,所述第一确定单元54包括:Optionally, in this embodiment, the first determining unit 54 includes:
1)第三获取模块,用于根据所述多个相机模组之间的位置分布,获取所述多个相机模组对应的多个固定偏移量;1) a third acquisition module, configured to acquire a plurality of fixed offsets corresponding to the plurality of camera modules according to the position distribution among the plurality of camera modules;
2)确定模块,用于根据所述至少一个等效图像偏移量以及所述多个固定偏移量确定所述多个图像实时偏移量。2) A determination module, configured to determine the real-time offsets of the multiple images according to the at least one equivalent image offset and the multiple fixed offsets.
可选地,在本实施例中,所述校准单元56包括:Optionally, in this embodiment, the calibration unit 56 includes:
1)校准模块,用于根据所述多个图像实时偏移量对所述图像数据进行图像裁剪。1) A calibration module, configured to perform image cropping on the image data according to the real-time offsets of the multiple images.
本申请实施例中的图像校准装置可以是具体的装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA) 等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage, NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The image calibration apparatus in this embodiment of the present application may be a specific apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的图像校准装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The image calibration apparatus in this embodiment of the present application may be an apparatus with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的图像校准装置能够实现图1至图4的方法实施例中图像校准方法实现的各个过程,为避免重复,这里不再赘述。The image calibration apparatus provided in the embodiment of the present application can implement each process implemented by the image calibration method in the method embodiments of FIG. 1 to FIG. 4 , and in order to avoid repetition, details are not repeated here.
通过本实施例中提出的图像校准装置,获取图像采集设备中多个相机云台模组对应的多组相机云台旋转角度;获取与多组相机云台旋转角度对应的多组等效图像偏移量;根据多组等效图像偏移量以及多个相机云台模组的位置分布,确定多个相机云台模组对应的多组图像实时偏移量;根据多组图像实时偏移量对图像数据进行图像校准。实现了在多摄组合拍照时结合相机云台的拍照功能,并根据相机云台模组的相机云台旋转角度以及相机云台的位置分布确定图像实时偏移量,对图像数据进行图像校准,解决了相关技术中在使用相机云台的防抖功能时,无法对多摄组合拍照画面进行有效的画面校准的问题。Through the image calibration device proposed in this embodiment, multiple sets of camera pan-tilt rotation angles corresponding to multiple camera pan-tilt modules in the image acquisition device are obtained; multiple sets of equivalent image offset corresponding to the multiple sets of camera pan-tilt rotation angles are obtained Shift amount; according to the offset of multiple sets of equivalent images and the position distribution of multiple camera gimbal modules, determine the real-time offset of multiple sets of images corresponding to multiple camera gimbal modules; according to the real-time offset of multiple sets of images The shift amount performs image calibration on the image data. It realizes the photographing function of combining the camera pan/tilt when taking pictures in a multi-camera combination, and determines the real-time image offset according to the camera pan/tilt rotation angle of the camera pan/tilt module and the position distribution of the camera pan/tilt, and performs image calibration on the image data. It solves the problem that in the related art, when the anti-shake function of the camera gimbal is used, it is impossible to perform effective picture calibration on the multi-camera combined photographing picture.
根据本申请实施例的另一个方面,提出了一种图像校准装置,电子设备,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的程序或指令,该程序或指令被处理器610执行时实现上述图像校准方法的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。According to another aspect of the embodiments of the present application, an image calibration apparatus is provided, and an electronic device includes a
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图6为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。The
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
传感器605,用于在通过图像采集设备采集图像数据时,获取至少一个相机云台模组对应的至少一个相机云台旋转角度,其中,所述图像采集设备中的多个相机模组包括所述至少一个相机云台模组,所述相机云台模组包括镜头以及相机云台;The
处理器610,用于获取与所述至少一个相机云台旋转角度对应的至少一个等效图像偏移量;根据所述至少一个等效图像偏移量以及所述多个相机模组的位置分布,确定所述多个相机模组对应的多个图像实时偏移量;根据所述多个图像实时偏移量对所述图像数据进行图像校准。The
应理解的是,本申请实施例中,输入单元604可以包括图形处理器 (GraphicsProcessing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072 可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。It should be understood that, in this embodiment of the present application, the
通过本实施例中提出的电子设备,在通过图像采集设备采集图像数据时,获取图像采集设备多个相机模组中至少一个相机云台模组对应的至少一个相机云台旋转角度;获取与至少一个相机云台旋转角度对应的至少一个等效图像偏移量;根据至少一个等效图像偏移量以及多个相机模组的位置分布,确定多个相机模组对应的多个图像实时偏移量;根据多个图像实时偏移量对图像数据进行图像校准。实现了在多摄组合拍照时结合相机云台的拍照功能,并根据相机云台模组的相机云台旋转角度以及图像采集设备中多个相机模组的位置分布确定图像实时偏移量,对图像数据进行图像校准。解决了相关技术中在使用相机云台的防抖功能时,无法对多摄组合拍照画面进行有效的画面校准的问题。Through the electronic device proposed in this embodiment, when image data is collected by the image acquisition device, at least one camera pan-tilt rotation angle corresponding to at least one camera pan-tilt module among multiple camera modules of the image acquisition device is acquired; At least one equivalent image offset corresponding to the rotation angle of a camera head; according to the at least one equivalent image offset and the position distribution of the multiple camera modules, the real-time offset of multiple images corresponding to the multiple camera modules is determined Quantity; image calibration of image data based on multiple image real-time offsets. Real-time image offset is determined according to the rotation angle of the camera PTZ of the camera PTZ module and the position distribution of multiple camera modules in the image acquisition device. Image data for image calibration. It solves the problem in the related art that when the anti-shake function of the camera gimbal is used, effective picture calibration cannot be performed on the multi-camera combined photographing picture.
根据本申请实施例的另一个方面还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像校准方法的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。According to another aspect of the embodiments of the present application, a readable storage medium is further provided, and a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the method embodiment of the above image calibration method is implemented Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory, ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图像校准方法的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the method implementation of the above image calibration method In order to avoid repetition, the details are not repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011134095.8A CN112261262B (en) | 2020-10-21 | 2020-10-21 | Image calibration method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011134095.8A CN112261262B (en) | 2020-10-21 | 2020-10-21 | Image calibration method and device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112261262A CN112261262A (en) | 2021-01-22 |
CN112261262B true CN112261262B (en) | 2022-06-17 |
Family
ID=74264504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011134095.8A Active CN112261262B (en) | 2020-10-21 | 2020-10-21 | Image calibration method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112261262B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115019025A (en) * | 2022-04-29 | 2022-09-06 | 深圳市青虹激光科技有限公司 | Cutting calibration method, apparatus and computer readable storage medium |
CN117557167B (en) * | 2024-01-03 | 2024-03-19 | 微网优联科技(成都)有限公司 | Production quality management method and system of cradle head machine |
CN118229525B (en) * | 2024-05-27 | 2024-09-03 | 长城汽车股份有限公司 | Panoramic all-around splicing method and device, medium, product and vehicle |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106233722A (en) * | 2014-03-20 | 2016-12-14 | 高途乐公司 | The automatic alignment of the imageing sensor in multicamera system |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4794510B2 (en) * | 2007-07-04 | 2011-10-19 | ソニー株式会社 | Camera system and method for correcting camera mounting error |
TWI432021B (en) * | 2011-01-27 | 2014-03-21 | Altek Corp | Image capturing device and image correcting method thereof |
CN102937816B (en) * | 2012-11-22 | 2015-05-27 | 四川华雁信息产业股份有限公司 | Method and device for calibrating preset position deviation of camera |
US8860818B1 (en) * | 2013-07-31 | 2014-10-14 | Apple Inc. | Method for dynamically calibrating rotation offset in a camera system |
CN103517041B (en) * | 2013-09-29 | 2016-04-27 | 北京理工大学 | Based on real time panoramic method for supervising and the device of polyphaser rotation sweep |
CN106289182A (en) * | 2016-07-14 | 2017-01-04 | 济南中维世纪科技有限公司 | A kind of by The Cloud Terrace camera from the method for dynamic(al) correction presetting bit |
EP3495907A4 (en) * | 2016-08-03 | 2019-10-23 | SZ DJI Osmo Technology Co., Ltd. | Mount control method and system |
CN106525074B (en) * | 2016-10-13 | 2019-11-08 | 天津远度科技有限公司 | A kind of compensation method, device, holder and the unmanned plane of holder drift |
CN108491001A (en) * | 2018-03-21 | 2018-09-04 | 深圳臻迪信息技术有限公司 | Increase steady holder, increase steady holder implementation method and UAV system |
CN108737735B (en) * | 2018-06-15 | 2019-09-17 | Oppo广东移动通信有限公司 | Image correction method, electronic device, and computer-readable storage medium |
CN109405737B (en) * | 2018-10-10 | 2020-11-03 | 湖南科技大学 | Camera system and measurement method for large-scale measurement |
CN109862260A (en) * | 2018-12-29 | 2019-06-07 | 北京强氧新科信息技术有限公司 | Multiple-camera control device and method |
CN111405187A (en) * | 2020-04-16 | 2020-07-10 | 青岛浩海网络科技股份有限公司 | Image anti-shake method, system, device and storage medium for monitoring equipment |
CN111770270B (en) * | 2020-06-24 | 2021-06-25 | 杭州海康威视数字技术股份有限公司 | Camera posture correction method and camera |
-
2020
- 2020-10-21 CN CN202011134095.8A patent/CN112261262B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106233722A (en) * | 2014-03-20 | 2016-12-14 | 高途乐公司 | The automatic alignment of the imageing sensor in multicamera system |
Also Published As
Publication number | Publication date |
---|---|
CN112261262A (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9479709B2 (en) | Method and apparatus for long term image exposure with image stabilization on a mobile device | |
CN110784651B (en) | A kind of anti-shake method and electronic device | |
CN112261262B (en) | Image calibration method and device, electronic equipment and readable storage medium | |
CN113556464B (en) | Shooting method and device and electronic equipment | |
US20200029017A1 (en) | Image Display Method and Electronic Device | |
CN112637500B (en) | Image processing method and device | |
CN112040126A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN114040113A (en) | Image processing method and device thereof | |
WO2023072088A1 (en) | Focusing method and apparatus | |
CN114241127B (en) | Panoramic image generation method, device, electronic device and medium | |
CN113888435A (en) | Image processing method, image processing device, electronic equipment and readable storage medium | |
CN113938605B (en) | Photographing method, photographing device, photographing equipment and photographing medium | |
CN113891005B (en) | Shooting method and device and electronic equipment | |
CN114143457B (en) | Shooting method and device and electronic equipment | |
CN112738398B (en) | Image anti-shake method and device and electronic equipment | |
WO2023185096A1 (en) | Image blurriness determination method and device related thereto | |
CN114339051A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN114339029A (en) | Shooting method, device and electronic device | |
CN112399092A (en) | Shooting method and device and electronic equipment | |
CN112492213A (en) | Image shooting method and device and electronic equipment | |
CN112561809A (en) | Image processing method, device and equipment | |
CN112153291A (en) | Photographing method and electronic device | |
CN114531545B (en) | Image processing method and device | |
CN115278079B (en) | Shooting method and device thereof | |
CN112287155B (en) | Picture processing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |