CN110930299A - Circular fisheye video display scheme based on hemisphere expansion - Google Patents
Circular fisheye video display scheme based on hemisphere expansion Download PDFInfo
- Publication number
- CN110930299A CN110930299A CN201911236681.0A CN201911236681A CN110930299A CN 110930299 A CN110930299 A CN 110930299A CN 201911236681 A CN201911236681 A CN 201911236681A CN 110930299 A CN110930299 A CN 110930299A
- Authority
- CN
- China
- Prior art keywords
- mapping
- video
- pixel
- hemisphere
- mapped
- 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
- 238000013507 mapping Methods 0.000 claims abstract description 27
- 238000012937 correction Methods 0.000 claims abstract description 10
- 238000009877 rendering Methods 0.000 claims abstract description 8
- 238000012545 processing Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/08—Projecting images onto non-planar surfaces, e.g. geodetic screens
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/80—Geometric correction
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The invention discloses a round fisheye video display scheme based on hemisphere expansion, which comprises the following steps of; step one, taking a fisheye video original picture; step two, obtaining fisheye video distortion parameters; step three, performing tangential distortion correction on the video area pixel by pixel; step four, carrying out radial distortion correction on the video area pixel by pixel; step five, performing spherical surface mapping on the circular texture; mapping a hemisphere onto a cylinder, wherein P0 is mapped into Q0, Q01 and Q02.. the. of the cylinder, P1 is mapped into Q1, and P2 is mapped into Q2; and step seven, rendering the result to a screen. The method adopts rectangular rendering, and has the principle that a fisheye image transmitted by a video is subjected to distortion correction pixel by pixel, then a 2D plane video is mapped on a 3D hemispherical surface in a vertex mapping mode, then the characteristic points and the expanded rectangular images are mapped one by one based on spherical expansion, so that the video is mapped on a surrounding cylinder and projected on a screen to obtain a final rendering result.
Description
Technical Field
The invention relates to the technical field of image video processing, in particular to a circular fisheye video display scheme based on hemisphere expansion.
Background
The fisheye video is a video shot by an ultra-wide-angle camera with an angle of view of 180 degrees, so that the content of picture representation is rich, and the fisheye video has strong visual impact. The fisheye video has an ultra-large visual angle, so that the fisheye video is widely applied to the fields of scene monitoring, satellite positioning, robot navigation, micro intelligent systems, engineering measurement and the like, and has a wide prospect;
because of having an ultra-large viewing angle, the fisheye video distortion is severe. Because the video content is circular, the display angle and detail display are greatly different from those of the common rectangular video, and the viewing habit of normal people is not met.
Disclosure of Invention
The invention aims to provide a round fisheye video display scheme based on hemispherical expansion, and the round fisheye video display scheme is used for solving the problems that in the prior art, details of a round fisheye video are not displayed sufficiently, and the visual angle of an image shot by a fisheye camera is peculiar and does not accord with the observation habit of normal people.
In order to achieve the purpose, the invention provides the following technical scheme: a round fisheye video display scheme based on hemisphere expansion comprises the following steps;
step one, taking a fisheye video original picture;
step two, obtaining fisheye video distortion parameters;
step three, performing tangential distortion correction on the video area pixel by pixel, wherein the formula is as follows:
step four, carrying out radial distortion correction on the video area pixel by pixel, wherein the formula is as follows:
step five, performing spherical surface mapping on the circular texture, wherein the mapping formula is as follows:
step six, mapping a hemisphere onto a cylinder, mapping P0 to Q0, Q01 and Q02.. the. so, mapping P1 to Q1 and mapping P2 to Q2, wherein the mapping formula is as follows:
and step seven, rendering the result to a screen.
Preferably, in the second step, the number of the parameters is 8, which are obtained from factory calibration of a camera manufacturer, and the parameters are p1, p2, p1, k2, k3, k4, k5 and k 6.
Preferably, in the fourth step, a three-dimensional coordinate system is established for the corrected picture with the center of circle as the origin o.
Preferably, in step six, when mapping the vertex, x and y are both 0, special processing is performed, and the vertex is mapped to each point on the uppermost side of the rectangle.
The invention provides a round fisheye video display scheme based on hemisphere expansion, which has the beneficial effects that:
1. the method is different from a commonly adopted hemisphere mapping scheme, but adopts rectangular rendering, and has the principle that a fisheye image transmitted by a video is subjected to distortion correction pixel by pixel, then a 2D plane video is mapped on a 3D hemisphere surface in a vertex mapping mode, and then the characteristic points and the expanded rectangular graphs are mapped one by one based on spherical expansion, so that the video is mapped on a surrounding cylinder and projected on a screen to obtain a final rendering result, the picture detail display is more sufficient, the video observation angle is more natural, and the method has higher practicability.
Drawings
FIG. 1 is an original view of a fisheye video of the present invention;
FIG. 2 is a schematic diagram of spherical mapping of circular textures in accordance with the present invention;
fig. 3 is a schematic illustration of the mapping of a hemisphere onto a cylinder of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-3, the present invention provides a technical solution: a round fisheye video display scheme based on hemisphere expansion comprises the following steps;
step one, taking a fisheye video original picture;
as shown in fig. 1, the circle region represents an actual video region, and the rest is a background, which is an invalid region;
step two, obtaining fisheye video distortion parameters, wherein the parameters are obtained by factory calibration of camera manufacturers, and the parameters are 8, namely p1, p2, p1, k2, k3, k4, k5 and k 6;
step three, performing tangential distortion correction on the video area pixel by pixel, wherein the formula is as follows:
step four, carrying out radial distortion correction on the video area pixel by pixel, wherein the formula is as follows:
establishing a three-dimensional coordinate system for the corrected picture by taking the circle center as an original point o;
step five, performing spherical surface mapping on the circular texture, as shown in fig. 2, a point P0 on the circle is mapped to a point Q0 on the spherical surface, and the mapping formula is as follows:
step six, mapping a hemisphere onto a cylinder as shown in fig. 3, wherein P0 is mapped into Q0, Q01 and Q02.
When mapping the vertex, x and y are both 0, special processing is needed, and the vertex is mapped to each point at the uppermost side of the rectangle;
and step seven, rendering the result to a screen.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (4)
1. A circular fisheye video display scheme based on hemisphere expansion is characterized in that: comprises the following steps;
step one, taking a fisheye video original picture;
step two, obtaining fisheye video distortion parameters;
step three, performing tangential distortion correction on the video area pixel by pixel, wherein the formula is as follows:
step four, carrying out radial distortion correction on the video area pixel by pixel, wherein the formula is as follows:
step five, performing spherical surface mapping on the circular texture, wherein the mapping formula is as follows:
step six, mapping a hemisphere onto a cylinder, mapping P0 to Q0, Q01 and Q02.. the. so, mapping P1 to Q1 and mapping P2 to Q2, wherein the mapping formula is as follows:
and step seven, rendering the result to a screen.
2. The circular fisheye video display scheme based on hemisphere stretching of claim 1, wherein: in the second step, the parameters are obtained by factory calibration of camera manufacturers, and the total number of the parameters is 8, namely p1, p2, p1, k2, k3, k4, k5 and k 6.
3. The circular fisheye video display scheme based on hemisphere stretching of claim 1, wherein: and in the fourth step, establishing a three-dimensional coordinate system for the corrected picture by taking the circle center as an origin o.
4. The circular fisheye video display scheme based on hemisphere stretching of claim 1, wherein: in the sixth step, when mapping the vertex, x and y are both 0, special processing is needed, and the vertex is mapped to each point at the uppermost side of the rectangle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911236681.0A CN110930299A (en) | 2019-12-06 | 2019-12-06 | Circular fisheye video display scheme based on hemisphere expansion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911236681.0A CN110930299A (en) | 2019-12-06 | 2019-12-06 | Circular fisheye video display scheme based on hemisphere expansion |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110930299A true CN110930299A (en) | 2020-03-27 |
Family
ID=69857306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911236681.0A Pending CN110930299A (en) | 2019-12-06 | 2019-12-06 | Circular fisheye video display scheme based on hemisphere expansion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110930299A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102663734A (en) * | 2012-03-15 | 2012-09-12 | 天津理工大学 | Fish eye lens calibration and fish eye image distortion correction method |
CN102780834A (en) * | 2011-05-11 | 2012-11-14 | 张茂军 | Semi-cylindrical panorama upwrapping method of pano-eye image |
CN103247024A (en) * | 2012-02-03 | 2013-08-14 | 苏州科泽数字技术有限公司 | 180-degree fisheye image spread method based on concentric algorithm and device |
CN103247020A (en) * | 2012-02-03 | 2013-08-14 | 苏州科泽数字技术有限公司 | Fisheye image spread method based on radial characteristics |
CN104240236A (en) * | 2014-08-26 | 2014-12-24 | 中山大学 | Fisheye image correction method after calibration conducted by fisheye lens |
WO2017092631A1 (en) * | 2015-11-30 | 2017-06-08 | 宁波舜宇光电信息有限公司 | Image distortion correction method for fisheye image, and calibration method for fisheye camera |
CN106815805A (en) * | 2017-01-17 | 2017-06-09 | 湖南优象科技有限公司 | Rapid distortion bearing calibration based on Bayer images |
WO2017128887A1 (en) * | 2016-01-26 | 2017-08-03 | 范治江 | Method and system for corrected 3d display of panoramic image and device |
US20170339392A1 (en) * | 2016-05-20 | 2017-11-23 | Qualcomm Incorporated | Circular fisheye video in virtual reality |
US20170345136A1 (en) * | 2016-05-24 | 2017-11-30 | Qualcomm Incorporated | Fisheye rendering with lens distortion correction for 360-degree video |
CN107610045A (en) * | 2017-09-20 | 2018-01-19 | 北京维境视讯信息技术有限公司 | Luminance compensation method, device, equipment and storage medium in the splicing of flake picture |
CN108830810A (en) * | 2018-06-07 | 2018-11-16 | 辽宁工业大学 | A kind of fisheye image distortion correction method based on rectangular projection |
-
2019
- 2019-12-06 CN CN201911236681.0A patent/CN110930299A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102780834A (en) * | 2011-05-11 | 2012-11-14 | 张茂军 | Semi-cylindrical panorama upwrapping method of pano-eye image |
CN103247024A (en) * | 2012-02-03 | 2013-08-14 | 苏州科泽数字技术有限公司 | 180-degree fisheye image spread method based on concentric algorithm and device |
CN103247020A (en) * | 2012-02-03 | 2013-08-14 | 苏州科泽数字技术有限公司 | Fisheye image spread method based on radial characteristics |
CN102663734A (en) * | 2012-03-15 | 2012-09-12 | 天津理工大学 | Fish eye lens calibration and fish eye image distortion correction method |
CN104240236A (en) * | 2014-08-26 | 2014-12-24 | 中山大学 | Fisheye image correction method after calibration conducted by fisheye lens |
WO2017092631A1 (en) * | 2015-11-30 | 2017-06-08 | 宁波舜宇光电信息有限公司 | Image distortion correction method for fisheye image, and calibration method for fisheye camera |
WO2017128887A1 (en) * | 2016-01-26 | 2017-08-03 | 范治江 | Method and system for corrected 3d display of panoramic image and device |
US20170339392A1 (en) * | 2016-05-20 | 2017-11-23 | Qualcomm Incorporated | Circular fisheye video in virtual reality |
US20170345136A1 (en) * | 2016-05-24 | 2017-11-30 | Qualcomm Incorporated | Fisheye rendering with lens distortion correction for 360-degree video |
CN106815805A (en) * | 2017-01-17 | 2017-06-09 | 湖南优象科技有限公司 | Rapid distortion bearing calibration based on Bayer images |
CN107610045A (en) * | 2017-09-20 | 2018-01-19 | 北京维境视讯信息技术有限公司 | Luminance compensation method, device, equipment and storage medium in the splicing of flake picture |
CN108830810A (en) * | 2018-06-07 | 2018-11-16 | 辽宁工业大学 | A kind of fisheye image distortion correction method based on rectangular projection |
Non-Patent Citations (3)
Title |
---|
GUANGYAO NI*,: "Dual-Fisheye Lens Stitching and Error Correction" * |
汪进等: "基于单目视觉对地面特征点定位方法", 《电视技术》, pages 57 - 61 * |
邵华;: "基于定位检索的鱼眼图像校正处理", no. 08 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101783011B (en) | Distortion correction method of fish eye lens | |
CN105678729B (en) | Fish eye lens Panorama Mosaic method | |
TWI397317B (en) | Method for providing output image in either cylindrical mode or perspective mode | |
CN110197466B (en) | Wide-angle fisheye image correction method | |
CN109003311B (en) | Calibration method of fisheye lens | |
CN106780389B (en) | Fisheye image correction method and device based on coordinate transformation | |
CN109272570A (en) | A kind of spatial point three-dimensional coordinate method for solving based on stereoscopic vision mathematical model | |
CN104994367B (en) | A kind of image correction method and camera | |
CN106558017B (en) | Spherical display image processing method and system | |
CN107705252A (en) | Splice the method and system of expansion correction suitable for binocular fish eye images | |
CN111770326B (en) | Indoor three-dimensional monitoring method for panoramic video projection | |
CN106780374A (en) | A kind of fish eye images distortion correction method based on flake imaging model | |
CN105825470A (en) | Fisheye image correction method base on point cloud image | |
CN111047633B (en) | Monocular distance measuring device | |
Chan et al. | An improved method for fisheye camera calibration and distortion correction | |
CN111047639B (en) | Monocular distance measuring device | |
CN113345074A (en) | Vehicle-mounted 3D (three-dimensional) all-around image display method | |
CN104363421B (en) | The method and apparatus for realizing Multi-angle camera monitoring effect | |
KR20120023284A (en) | Method and imaging system for obtaining digital pan-tilt images using rotationally symmetric wide-angle lens | |
JP2002117413A (en) | Image generating device and image generating method for reflecting light source environmental change in real time | |
CN107346530B (en) | Projection method and system for correcting fisheye image | |
CN110930299A (en) | Circular fisheye video display scheme based on hemisphere expansion | |
CN111047643B (en) | Monocular distance measuring device | |
Ye et al. | Research on flame location and distance measurement method based on binocular stereo vision | |
CN111047637B (en) | Monocular distance measuring 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200327 |