[go: up one dir, main page]

CN106815870B - Method and system for internally calibrating panoramic camera - Google Patents

Method and system for internally calibrating panoramic camera Download PDF

Info

Publication number
CN106815870B
CN106815870B CN201611168874.3A CN201611168874A CN106815870B CN 106815870 B CN106815870 B CN 106815870B CN 201611168874 A CN201611168874 A CN 201611168874A CN 106815870 B CN106815870 B CN 106815870B
Authority
CN
China
Prior art keywords
mode
calibration
panoramic camera
parameter
camera device
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
Application number
CN201611168874.3A
Other languages
Chinese (zh)
Other versions
CN106815870A (en
Inventor
马国群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Vyagoo Technology Co ltd
Original Assignee
Zhuhai Vyagoo Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Vyagoo Technology Co ltd filed Critical Zhuhai Vyagoo Technology Co ltd
Priority to CN201611168874.3A priority Critical patent/CN106815870B/en
Publication of CN106815870A publication Critical patent/CN106815870A/en
Application granted granted Critical
Publication of CN106815870B publication Critical patent/CN106815870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Stereoscopic And Panoramic Photography (AREA)

Abstract

The invention comprises a method and a system for calibrating a panoramic camera device in a machine, which are used for realizing the following steps: identifying the starting state and carrying out a corresponding mode according to the starting state; the panoramic camera device shoots a calibration picture according to the current camera configuration mode; confirming a center origin parameter through a visual angle FOV and a picture coefficient of a camera, and enabling the panoramic camera device to enter a calibration parameter calculation mode; obtaining a calibrated polynomial coefficient through a calibration parameter calculation mode and a center dot parameter, storing the parameter by using a script file, and obtaining a reference value; and calling the script file to obtain calibration parameters, and converting the multimedia data recorded by the panoramic camera device according to the use mode required by the user. The invention has the beneficial effects that: in the production process, the production efficiency of the product is improved; in the operation of the product, the problems of lens shielding and serious lens black edge in the use process of the product are avoided.

Description

Method and system for internally calibrating panoramic camera
Technical Field
The invention relates to a method and a system for internally calibrating a panoramic camera, belonging to the field of computers.
Background
With the development of the consumer electronics industry, people hope to better share their own fun and hope that consumer electronics can bring their own better experience, and therefore panoramic 360-degree motion DV and panoramic 360-degree automobile data recorders are born. But the present full view 360 degree motion DV and full view 360 degree automobile data recorder still have the shortcoming. As shown in the following (1) to (2):
(1) in the using process of the product, due to the fact that external factors cause deviation of a lens, the product experience of the DV and the 360-degree panoramic automobile data recorder is poor, and even the goods return phenomenon occurs;
(2) in the production process of products, because the lens calibration is carried out according to a specific camera, and because of the individual difference of the panoramic 360-degree lens, the production yield of the panoramic 360-degree related products is not high, the product delivery time is prolonged, and the rapid production of the products is not facilitated.
The prior art has the following disadvantages:
in the prior art, in the production process of a product related to panoramic 360-degree camera shooting, calibration photos are shot according to a plurality of specific camera shooting devices, and calibration is performed according to the calibration photos before production to form calibrated calibration parameters. Then, in the production process, the products of the same batch are produced according to the calibration parameters, and the problems of lens deviation in the use process and low production yield of the products in the production process cannot be effectively solved.
View angle FOV: refers to the range covered by the lens (beyond which the object will not be captured in the lens), and a camera lens can cover a large range of scenes, usually expressed in terms of an angle, which is called the FOV of the lens.
Disclosure of Invention
Aiming at the defects in the prior art, a built-in calibration mode is adopted, so that the defects existing in the prior art can be effectively overcome.
The technical scheme of the invention comprises a method for internally calibrating a panoramic camera, which is characterized by comprising the following steps: A. starting the panoramic camera device, identifying the starting state of the panoramic camera device, and carrying out a corresponding mode according to the starting state; B. starting a camera shooting mode of the panoramic camera shooting device, shooting a calibration picture by the panoramic camera shooting device according to the current camera configuration mode, and entering a camera calibration parameter mode; C. b, confirming a center origin parameter through the view angle FOV and the picture coefficient of the camera based on the camera parameter calibration mode entered in the step B, and enabling the panoramic camera device to enter a calibration parameter calculation mode; D. c, acquiring a calibrated polynomial coefficient based on the calibration parameter calculation mode and the center dot parameter, storing the polynomial coefficient, the center origin parameter and the visual angle FOV by using a script file, and entering a system normal use mode; E. and D, calling the script file to obtain calibration parameters based on the normal use mode entered in the step D, and converting the multimedia data recorded by the panoramic camera device according to the use mode required by the user.
According to the method for calibrating the panoramic camera device in the machine, the method also comprises the following steps: and if the parameters of the panoramic shooting device change in the using process, providing a forced reset mode for recalibrating the lens parameters.
According to the method for calibrating the panoramic camera device in the machine, the step A further comprises the following steps:
the method comprises the steps of identifying the starting state of the panoramic camera device, acquiring a starting log file, confirming whether the panoramic camera device is in a first starting mode or a system forced reset mode, and directly entering a normal operation mode if the system is not in the first starting mode and is not reset.
According to the method for calibrating the panoramic camera device in the machine, the step B further comprises the following steps: and sequentially scanning according to the visual angle FOV of the camera, the length of the picture and the width of the picture to obtain edge pixels of the picture, extracting a boundary outline, further obtaining a center dot parameter according to a trigonometric function, and entering a calibration parameter calculation mode.
According to the method for calibrating the panoramic camera device in the machine, the step C further comprises the following steps: after the calibration mode acquires the parameters of the central dots, acquiring calibrated polynomial coefficients according to Taylor polynomial transformation of a trigonometric function, storing the calculated coefficients, the central dots and the lens view angle FOV as calibrated script files, and entering a system normal use mode
According to the method for calibrating the panoramic camera device in the machine, the step D further comprises the following steps: in a normal use mode of the system, calibration parameters are obtained according to the calibrated script file, and a user-defined selection mode is provided for correspondingly converting the multimedia data recorded by the corresponding panoramic camera device.
The technical scheme of the invention also comprises a system for internally calibrating the panoramic camera device, which is characterized by comprising the following components:
the starting identification module is used for starting the panoramic camera device, identifying the starting state of the panoramic camera device and carrying out a corresponding mode according to the starting state; the camera parameter calibration module is used for starting a camera shooting mode of the panoramic camera shooting device, and the panoramic camera shooting device shoots a calibration picture according to the current camera configuration mode and enters the camera calibration parameter mode; the calibration parameter calculation module is used for confirming the center dot parameter through the visual angle FOV and the picture coefficient of the camera based on the camera parameter calibration mode entered by the camera parameter calibration module and enabling the panoramic camera device to enter the calibration parameter calculation mode; the calibration parameter storage module is used for acquiring a calibrated polynomial coefficient based on a calibration parameter calculation mode entered by the calibration parameter calculation module and a center dot parameter, storing the polynomial coefficient, the center dot parameter and a view angle FOV (field of view) by using a script file, and entering a system normal use mode; and the user-defined conversion module is used for calling the script file to obtain the calibration parameters based on the normal use mode entered by the calibration parameter storage module, and converting the multimedia data recorded by the panoramic camera device according to the use mode required by the user.
The invention has the beneficial effects that:
(1) in the production process, parameter calibration is not carried out according to a specific panoramic 360-degree camera, but a lens parameter calibration process is added into the equipment according to the difference of different lenses, and each lens is calibrated respectively, so that the problem that the product yield is low due to different calibration parameters caused by the difference of the lenses in the production process is solved, and the production efficiency of the product is improved.
(2) In the operation of the product, due to the interference of external factors, such as the offset of a camera caused by collision, a recalibration mode can be started, the lens parameters of 360 degrees of the panorama are calibrated, and the problems of lens shielding and serious lens black edges of the 360-degree panorama product in the use process are solved.
Drawings
FIG. 1 shows a general flow diagram according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments. The method and the system for calibrating the panoramic camera device in the machine are suitable for the internal calibration of the panoramic camera device.
FIG. 1 shows a general flow diagram according to an embodiment of the invention. The concrete examples are shown in the following (1) to (5)
(1) And starting the panoramic 360-degree automobile data recorder, and judging whether the equipment is started for the first time. If the system is in a first starting or system forced reset mode, entering a camera calibration process; if the system is not reset and is not started for the first time, entering a normal operation mode;
(2) entering a camera shooting calibration photo mode, shooting a calibration photo by the equipment according to the current camera configuration mode, and entering a camera calibration parameter mode;
(3) in a camera calibration mode, sequentially scanning according to the visual angle fov of the camera and the pixels with the length (width) and the width (height) of a picture, acquiring edge pixels of the picture, extracting a boundary outline, obtaining a center dot parameter according to a trigonometric function, and entering a calibration parameter calculation mode;
(4) after the central dot parameters are obtained in the calibration mode, calibrated polynomial coefficients are obtained according to Taylor polynomial transformation of a trigonometric function, and the calculated coefficients, the central dot and the lens view angle fov are saved as calibrated script files to enter a system normal use mode;
(5) in a normal use mode of the system, calibration parameters are obtained according to the calibrated script file, and each video and each picture are converted according to a use mode required by a user, such as selection of a fisheye mode, a panorama mode and a VR mode, so that the product experience of the user is met.
The technical method of the invention further comprises the following steps:
if the lens deviates due to external factors in the using process, the user can start the forced reset mode to recalibrate the lens parameters under the condition that the lens is not damaged.
The technical scheme of the invention can also be applied to the built-in calibration of a monocular camera and a binocular camera.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and the present invention shall fall within the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means. The invention is capable of other modifications and variations in its technical solution and/or its implementation, within the scope of protection of the invention.

Claims (5)

1. A method for calibrating a panoramic camera device in a machine is characterized by comprising the following steps:
A. the method comprises the following steps of starting the panoramic camera device, identifying the starting state of the panoramic camera device, and carrying out a corresponding mode according to the starting state, wherein the step of identifying the starting state of the panoramic camera device comprises the steps of acquiring a starting log file, confirming whether the system is started for the first time or a forced reset mode of the system, and directly entering a normal operation mode if the system is not started for the first time and is not reset;
B. starting a camera shooting mode of the panoramic camera shooting device, shooting a calibration picture by the panoramic camera shooting device according to the current camera configuration mode, and entering a camera calibration parameter mode;
C. b, confirming a center origin parameter through a view angle FOV and a picture coefficient of the camera based on the camera parameter calibration mode entered in the step B, and enabling the panoramic camera device to enter a calibration parameter calculation mode;
D. c, acquiring a calibrated polynomial coefficient based on the calibration parameter calculation mode and the center dot parameter entered in the step C, storing the polynomial coefficient, the center dot parameter and the visual angle FOV by using a script file, and entering a system normal use mode;
E. and D, calling the script file to obtain calibration parameters based on the normal use mode entered in the step D, and converting the multimedia data recorded by the panoramic camera device according to the use mode required by the user.
2. The method for calibrating a panoramic camera inside a machine according to claim 1, further comprising:
and if the parameters of the panoramic shooting device change in the using process, providing a forced reset mode for recalibrating the lens parameters.
3. The method for calibrating a panoramic camera device in a machine according to claim 1, wherein the step D further comprises:
and after the calibration mode acquires the parameters of the central dots, acquiring calibrated polynomial coefficients according to Taylor polynomial transformation of a trigonometric function, storing the calculated coefficients, the central dots and the FOV (field of view) of the lens as calibrated script files, and entering a normal use mode of the system.
4. The method for calibrating a panoramic camera device in a machine according to claim 1, wherein the step E further comprises:
in a normal use mode of the system, calibration parameters are obtained according to the calibrated script file, and a user-defined selection mode is provided for correspondingly converting the multimedia data recorded by the corresponding panoramic camera device.
5. A system for mechanically calibrating a panoramic camera, the system comprising:
the starting identification module is used for starting the panoramic camera device, identifying the starting state of the panoramic camera device and carrying out a corresponding mode according to the starting state, and the module comprises a starting log file acquisition module, a system forced reset mode confirmation module and a normal operation mode entering module, wherein the starting state identification module is used for identifying the starting state of the panoramic camera device, confirming whether the system is in a first starting or system forced reset mode or not, and directly entering the normal operation mode if the system is not in the first starting and is not reset;
the camera parameter calibration module is used for starting a camera shooting mode of the panoramic camera shooting device, and the panoramic camera shooting device shoots a calibration picture according to the current camera configuration mode and enters the camera calibration parameter mode;
the calibration parameter calculation module is used for confirming the center dot parameter through the visual angle FOV and the picture coefficient of the camera based on the camera parameter calibration mode entered by the camera parameter calibration module and enabling the panoramic camera device to enter the calibration parameter calculation mode, and the module also comprises the steps of scanning according to the visual angle FOV, the picture length and the picture width of the camera in sequence, acquiring the edge pixel of the picture, extracting the boundary outline, further obtaining the center dot parameter according to a trigonometric function and entering the calibration parameter calculation mode;
the calibration parameter storage module is used for acquiring a calibrated polynomial coefficient based on a calibration parameter calculation mode entered by the calibration parameter calculation module and a center dot parameter, storing the polynomial coefficient, a center origin parameter and a view angle FOV (field of view) by using a script file, and entering a system normal use mode;
and the user-defined conversion module is used for calling the script file to obtain the calibration parameters based on the normal use mode entered by the calibration parameter storage module, and converting the multimedia data recorded by the panoramic camera device according to the use mode required by the user.
CN201611168874.3A 2016-12-16 2016-12-16 Method and system for internally calibrating panoramic camera Active CN106815870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611168874.3A CN106815870B (en) 2016-12-16 2016-12-16 Method and system for internally calibrating panoramic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611168874.3A CN106815870B (en) 2016-12-16 2016-12-16 Method and system for internally calibrating panoramic camera

Publications (2)

Publication Number Publication Date
CN106815870A CN106815870A (en) 2017-06-09
CN106815870B true CN106815870B (en) 2020-05-19

Family

ID=59109818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611168874.3A Active CN106815870B (en) 2016-12-16 2016-12-16 Method and system for internally calibrating panoramic camera

Country Status (1)

Country Link
CN (1) CN106815870B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107825436B (en) * 2017-11-28 2021-02-12 北京科技大学 Intelligent paint nursing robot and method for paint nursing by using same

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7768545B2 (en) * 2007-03-06 2010-08-03 Otto Gregory Glatt Panoramic image management system and method
KR101312895B1 (en) * 2007-08-27 2013-09-30 재단법인서울대학교산학협력재단 Method for photographing panorama picture
US7978928B2 (en) * 2007-09-18 2011-07-12 Seiko Epson Corporation View projection for dynamic configurations
CN101661617B (en) * 2008-08-30 2011-11-02 华为终端有限公司 Method and device for camera calibration
CN105488779A (en) * 2014-09-18 2016-04-13 宝山钢铁股份有限公司 Camera distortion correction calibration board and calibration method
CN104240258A (en) * 2014-09-30 2014-12-24 苏州智华汽车电子有限公司 Car networking based panoramic all-round system calibration method, device and system
TWI555378B (en) * 2015-10-28 2016-10-21 輿圖行動股份有限公司 An image calibration, composing and depth rebuilding method of a panoramic fish-eye camera and a system thereof
CN105608693B (en) * 2015-12-18 2018-08-28 上海欧菲智能车联科技有限公司 The calibration system and method that vehicle-mounted panoramic is looked around
CN105913478A (en) * 2015-12-28 2016-08-31 乐视致新电子科技(天津)有限公司 360-degree panorama display method and display module, and mobile terminal
CN105957048A (en) * 2016-01-26 2016-09-21 优势拓展(北京)科技有限公司 3D panorama display method and system of shooting image through fish eye lens
CN105933666B (en) * 2016-06-19 2021-07-13 罗轶 Multi-lens travel recorder

Also Published As

Publication number Publication date
CN106815870A (en) 2017-06-09

Similar Documents

Publication Publication Date Title
EP3906663B1 (en) High dynamic range processing based on angular rate measurements
EP2785045B1 (en) Image processing apparatus and method, and image capturing apparatus
US20190124319A1 (en) Systems and Methods for Multiscopic Noise Reduction and High-Dynamic Range
US9538085B2 (en) Method of providing panoramic image and imaging device thereof
US20160323505A1 (en) Photographing processing method, device and computer storage medium
US20170256036A1 (en) Automatic microlens array artifact correction for light-field images
CN104079818B (en) Camera device, image processing system, camera system and image processing method
CN103546730A (en) Method for enhancing light sensitivities of images on basis of multiple cameras
US20160277721A1 (en) Color filtered area processing method for improving image processing
US20150002629A1 (en) Multi-Band Image Sensor For Providing Three-Dimensional Color Images
EP2671374B1 (en) Systems and methods for restoring color and non-color related integrity in an image
EP3275169B1 (en) Downscaling a digital raw image frame
US10440267B2 (en) System and method for image stitching
US20190014303A1 (en) Imaging system and method
US8699750B2 (en) Image processing apparatus
US12231800B2 (en) Method and device of image processing, imaging system and storage medium
US20200244950A1 (en) Image Sensor Blemish Detection
US20150055861A1 (en) Methods and Systems for Image Demosaicing
He et al. Enhancing raw-to-srgb with decoupled style structure in fourier domain
CN106815870B (en) Method and system for internally calibrating panoramic camera
CN107920205B (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN105554394A (en) Photographing method and device
CN107710741A (en) A method and camera device for acquiring depth information
KR20140038749A (en) Apparatus and method for correcting image distortion
US9930252B2 (en) Methods, systems and robots for processing omni-directional image data

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