CN105741233B - Video image spherical surface splicing method and system - Google Patents
Video image spherical surface splicing method and system Download PDFInfo
- Publication number
- CN105741233B CN105741233B CN201610054890.3A CN201610054890A CN105741233B CN 105741233 B CN105741233 B CN 105741233B CN 201610054890 A CN201610054890 A CN 201610054890A CN 105741233 B CN105741233 B CN 105741233B
- Authority
- CN
- China
- Prior art keywords
- video image
- path
- pixel
- module
- new video
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 239000011159 matrix material Substances 0.000 claims description 42
- 238000004364 calculation method Methods 0.000 claims description 15
- 230000000694 effects Effects 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 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/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- 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/60—Rotation of whole images or parts thereof
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention provides a spherical splicing method and a spherical splicing system for video images, wherein the system comprises a calibration module for calibrating each parameter in a camera, a region correction module for correcting each position in a set region, a full-image adjustment module for adjusting each position in each path of video image, a cutting module for cutting each path of video image, a rotary zooming module for rotating and zooming each path of video image and a display module for displaying on a spherical model; the method for realizing the spherical surface splicing is simple, the computer requirement configuration is low, each path of video image is independently processed without mutual interference, the processing speed is high, high real-time performance can be still obtained under the condition of splicing of multiple paths of high-resolution cameras, the method can be applied to the splicing of real-time videos, each path of image is projected to a spherical surface model to be displayed by combining an OpenGL graphic program interface, and a good display effect is achieved; meanwhile, the method is suitable for splicing the wide-angle camera, the blind spot area is small, and the practicability is high.
Description
Technical Field
The invention mainly relates to the field of image processing, in particular to a video image spherical surface splicing method and system.
Background
The spherical surface splicing is to splice images shot by a plurality of cameras at different angles into a spherical surface panoramic image, and the prior spherical surface splicing algorithms are complex, each path of video image cannot be processed independently, the mutual interference is large, the real-time performance is poor, the processing speed is low, the requirement on computer configuration is high, the blind spot area is large, and the like.
Disclosure of Invention
The invention aims to solve the technical problem of providing a video image spherical surface splicing method and a video image spherical surface splicing system, wherein the realized spherical surface splicing method is simple, each path of image is respectively corrected, cut and scaled by using a Graphic Processing Unit (GPU), the computer requirement configuration is lower, each path of video image is independently processed without mutual interference, the processing speed is high, and higher real-time performance can be still obtained under the condition of splicing of multiple paths of cameras with high resolution.
The technical scheme for solving the technical problems is as follows: a spherical splicing method of video images comprises the following steps:
step S1: calibrating parameters in the camera, wherein the parameters comprise an imaging center, radial distortion and tangential distortion;
step S2: selecting an area with the size of M multiplied by n pixels on a video image of a camera, and correcting and calculating each position in the M multiplied by n pixel area according to each calibrated parameter, thereby obtaining a position relation matrix M before and after correction of each position in the M multiplied by n pixel aream×nWherein m and n are the length and width of the pixel region;
step S3: according to the position relation matrix Mm×nAdjusting each position on the video image in a Graphic Processing Unit (GPU), and adjusting each position of each path of video image respectively to obtain each path of new video image;
step S4: respectively cutting each path of new video image according to a cutting formula;
step S5: rotating and zooming each path of cut new video image through a GPU;
step S6: and projecting each path of new video image after rotation and scaling processing to a cube model, and converting the cube model to a spherical model for displaying.
The invention has the beneficial effects that: the realized spherical surface splicing method is simple, the GPU is used for respectively correcting, cutting and zooming each path of image, the computer requirement configuration is lower, each path of video image is independently processed without mutual interference, the processing speed is high, higher real-time performance can be still obtained under the condition of multi-path high-resolution camera splicing, the method can be applied to real-time video splicing, each path of image is projected to a spherical surface model to be displayed by combining an OpenGL graphic program interface, and a better display effect is achieved; meanwhile, the method is suitable for splicing the wide-angle camera, the blind spot area is small, and the practicability is high.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the implementation of step S2 is selecting an m × n pixel region on the video image of the camera, and performing correction calculation according to each position of the m × n pixel region corrected by the calibrated parameters, where the specific method is as follows: the coordinate of the imaging center is marked as (c)x,cy),k1、k2、k3For radial distortion, p1、p2For tangential distortion, the position coordinate of one pixel point in the region of m × n pixels is (x)d,yd) The corrected position coordinate of the pixel point is (x)p,yp) Using the formula
A corrective calculation is performed in which, among other things,thereby obtaining a positional relationship matrix M before and after correction for each position in the M × n pixel regionm×n。
The beneficial effect of adopting the further scheme is that: and obtaining a position relation matrix before and after correction of a certain pixel region, and carrying out position adjustment on the whole video image through the position relation matrix, so that the accuracy of video image adjustment is greatly improved.
Further, the specific method for implementing step S3 is as follows: setting the position of a pixel point in a video image as (x)d,yd) The pixel value of the pixel point isAccording to the position relation matrix Mm×nTo obtain (x)d,yd) Has a correction position of (x)p,yp) And stores the pixel value to the corresponding position (x) of the adjusted video imagep,yp) Thereby obtaining (x) in the new video imagep,yp) Pixel value of a locationAdjusting each path of video image respectively to obtain each path of new video image; wherein the value range of R, G, B is 0-255.
The beneficial effect of adopting the further scheme is that: each path of video image is adjusted through the position relation matrix, each path of video image can be processed independently and is not interfered with each other, and each path of video image can be adjusted quickly and is high in adjustment accuracy.
Further, the specific method for implementing step S4 is as follows: let the ith video image clipping position be (x)0,y0)iSrc (x, y) is the pixel in the new video image, dst (x, y) is the pixel after clipping of the new video image, according to the clipping formula
And respectively cutting each path of new video image, wherein w is the width of the cutting area, and h is the height of the cutting area.
The beneficial effect of adopting the further scheme is that: can automatically and quickly cut out all the required new video images.
Further, the specific method for implementing step S5 is as follows: loading each new video image after cutting into a graphic processor GPU, and utilizing a rotation scaling matrix in the graphic processor GPU
And rotation scaling formula
[xr,yr]=[xs,ys,1]RT
Performing a rotation and scaling process, wherein (x)s,ys) As a source image position, (x)r,yr) To rotate the post-zoom position, λiFor scaling, T is the rotation rank of the rotation scaling matrix, and α is the angle of rotation of the new video image.
The beneficial effect of adopting the further scheme is that: and rotating and zooming each path of video image, thereby being beneficial to spherical surface splicing of later-stage video images.
Another technical solution of the present invention for solving the above technical problems is as follows: a spherical surface splicing system of video images comprises a calibration module, a region correction module, a full image adjustment module, a cutting module, a rotary zooming module and a display module;
the calibration module is used for calibrating each parameter in the camera, and each parameter comprises an imaging center, radial distortion and tangential distortion;
the area correction module is used for selecting an area with the size of M multiplied by n pixels on a video image of the camera and carrying out correction calculation on each position in the M multiplied by n pixel area according to each calibrated parameter so as to obtain a position relation matrix M before and after correction of each position in the M multiplied by n pixel aream×nWherein m and n are the length and width of the pixel region;
the whole graph adjusting module is used for adjusting the whole graph according to the position relation matrix Mm×nAdjusting each position on the video image in a Graphic Processing Unit (GPU), and adjusting each position in each path of video image respectively to obtain each path of new video image;
the cutting module is used for cutting each path of new video image according to a cutting formula;
the rotary zooming module is used for rotating and zooming each path of cut new video image through a GPU (graphics processing unit), and can rotate and zoom for multiple times according to needs;
and the display module is used for projecting each path of new video image after rotation and zoom processing to the cube model and then converting the cube model into the spherical model for display. And determining the sequence of each path of video image according to the direction of the real shooting scene, respectively projecting each path of new video image after rotation and scaling processing to each region of the cube model after expansion by a display module, and converting the cube model into a spherical model through a graphical program interface OpenGL to display each path of new video image.
The device also comprises a storage module used for storing the cutting position, width, height, scaling and rotation angle of each path of video image after adjustment, and the parameters are directly used when next splicing is carried out.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, in the area correction module, an area with a size of m × n pixels is selected from a video image of the camera, and correction calculation is performed on each position of the m × n pixel area according to each calibrated parameter: the coordinate of the imaging center is marked as (c)x,cy),k1、k2、k3For radial distortion, p1、p2For tangential distortion, the position coordinate of one pixel point in the region of m × n pixels is (x)d,yd) The corrected position coordinate of the pixel point is (x)p,yp) Using the formula
A corrective calculation is performed in which, among other things,thereby obtaining a positional relationship matrix M before and after correction for each position in the M × n pixel regionm×n。
The beneficial effect of adopting the further scheme is that: and obtaining a position relation matrix before and after correction of a certain pixel region, and carrying out position adjustment on the whole video image through the position relation matrix, so that the accuracy of video image adjustment is greatly improved.
Further, in the whole-picture adjusting module, the position of a pixel point in the video image is set to (x)d,yd) The pixel value of the pixel point isAccording to the position relation matrix Mm×nTo obtain (x)d,yd) Has a correction position of (x)p,yp) And stores the pixel value to the corresponding position (x) of the adjusted video imagep,yp) Thereby obtaining (x) in the new video imagep,yp) Pixel value of a locationAdjusting each path of video image respectively to obtain each path of new video image; wherein the value range of R, G, B is 0-255.
The beneficial effect of adopting the further scheme is that: each path of video image is adjusted through the position relation matrix, each path of video image can be processed independently and is not interfered with each other, and each path of video image can be adjusted quickly and is high in adjustment accuracy.
Furthermore, in the clipping module, the clipping position of the ith video image is set to (x)0,y0)iSrc (x, y) is the pixel in the new video image, dst (x, y) is the pixel after clipping of the new video image, according to the clipping formula
And respectively cutting each path of new video image, wherein w is the width of the cutting area, and h is the height of the cutting area.
The beneficial effect of adopting the further scheme is that: can automatically and quickly cut out all the required new video images.
Furthermore, in the rotation and scaling module, each path of cut new video image is loaded into a graphic processor GPU, and a rotation and scaling matrix is utilized in the graphic processor GPU
And rotation scaling formula
[xr,yr]=[xs,ys,1]RT
Performing a rotation and scaling process, wherein (x)s,ys) As a source image position, (x)r,yr) To rotate the post-zoom position, λiFor scaling, T is the rotation rank of the rotation scaling matrix, and α is the angle of rotation of the new video image.
The beneficial effect of adopting the further scheme is that: and rotating and zooming each path of video image, thereby being beneficial to spherical surface splicing of later-stage video images.
Drawings
FIG. 1 is a flow chart of the method of the spherical surface splicing method of the present invention.
FIG. 2 is an expanded schematic view of the faces of the cube model of the present invention;
fig. 3 is a block diagram of a spherical splicing system according to the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, a spherical surface stitching method for video images includes the following steps:
step S1: calibrating parameters in the camera, wherein the parameters comprise an imaging center, radial distortion and tangential distortion;
step S2: selecting an area with the size of M multiplied by n pixels on a video image of a camera, and correcting and calculating each position in the M multiplied by n pixel area according to each calibrated parameter, thereby obtaining a position relation matrix M before and after correction of each position in the M multiplied by n pixel aream×nWherein m and n are the length and width of the pixel region;
Step S3: according to the position relation matrix Mm×nAdjusting each position on the video image in a Graphic Processing Unit (GPU), and adjusting each position of each path of video image respectively to obtain each path of new video image;
step S4: respectively cutting each path of new video image according to a cutting formula;
step S5: rotating and zooming each path of cut new video image through a GPU;
step S6: and projecting each path of new video image after rotation and scaling processing to a cube model, and converting the cube model to a spherical model for displaying.
Step S2 is implemented by selecting an m × n pixel region on the video image of the camera, and performing correction calculation according to each position of the m × n pixel region corrected by the calibrated parameters, where the specific method is as follows: the coordinate of the imaging center is marked as (c)x,cy),k1、k2、k3For radial distortion, p1、p2For tangential distortion, the position coordinate of one pixel point in the region of m × n pixels is (x)d,yd) The corrected position coordinate of the pixel point is (x)p,yp) Using the formula
A corrective calculation is performed in which, among other things,thereby obtaining a positional relationship matrix M before and after correction for each position in the M × n pixel regionm×n。
The specific method for implementing step S3 is as follows: setting the position of a pixel point in a video image as (x)d,yd) The pixel value of the pixel point isAccording to the position relation matrix Mm×nTo obtain (x)d,yd) Has a correction position of (x)p,yp) And stores the pixel value to the corresponding position (x) of the adjusted video imagep,yp) Thereby obtaining (x) in the new video imagep,yp) Pixel value of a locationAdjusting each path of video image respectively to obtain each path of new video image; wherein the value range of R, G, B is 0-255.
The specific method for implementing step S4 is as follows: let the ith video image clipping position be (x)0,y0)iSrc (x, y) is the pixel in the new video image, dst (x, y) is the pixel after clipping of the new video image, according to the clipping formula
And respectively cutting each path of new video image, wherein w is the width of the cutting area, and h is the height of the cutting area.
The specific method for implementing step S5 is as follows: loading each new video image after cutting into a graphic processor GPU, and utilizing a rotation scaling matrix in the graphic processor GPU
And rotation scaling formula
[xr,yr]=[xs,ys,1]RT
Performing a rotation and scaling process, wherein (x)s,ys) As a source image position, (x)r,yr) To rotate the post-zoom position, λiFor scaling, T is the rotation rank of the rotation scaling matrix, and α is the angle of rotation of the new video image.
As shown in fig. 2, a spherical surface stitching system for video images comprises a calibration module, an area correction module, a whole image adjustment module, a clipping module, a rotation scaling module and a display module;
the calibration module is used for calibrating each parameter in the camera, and each parameter comprises an imaging center, radial distortion and tangential distortion;
the area correction module is used for selecting an area with the size of M multiplied by n pixels on a video image of the camera and carrying out correction calculation on each position in the M multiplied by n pixel area according to each calibrated parameter so as to obtain a position relation matrix M before and after correction of each position in the M multiplied by n pixel aream×nWherein m and n are the length and width of the pixel region;
the whole graph adjusting module is used for adjusting the whole graph according to the position relation matrix Mm×nAdjusting each position on the video image in a Graphic Processing Unit (GPU), and adjusting each position in each path of video image respectively to obtain each path of new video image;
the cutting module is used for cutting each path of new video image according to a cutting formula;
the rotary zooming module is used for rotating and zooming each path of cut new video image through a GPU (graphics processing unit), and can rotate and zoom for multiple times according to needs;
the display module is used for projecting each path of new video image after rotation and zoom processing onto the cube model and then converting the cube model into the spherical model for display; and determining the sequence of each path of video image according to the direction of the real shooting scene, and projecting the video image to the spherical model for display by using a graphical program interface OpenGL. Specifically, as shown in fig. 3, the front, rear, left, right, upper and lower surfaces of the cube model are expanded, the order of each path of video image is determined according to the real shooting scene direction, each path of new video image is projected onto the area of each surface, and then the cube model is converted into a spherical model through the graphics program interface OpenGL to display each path of new video image.
The device also comprises a storage module used for storing the cutting position, width, height, scaling and rotation angle of each path of video image after adjustment, and the parameters are directly used when next splicing is carried out.
In the area correction module, an m × n pixel area is selected from a video image of a camera, and correction calculation is performed on each position of the m × n pixel area according to calibrated parameters: the coordinate of the imaging center is marked as (c)x,cy),k1、k2、k3For radial distortion, p1、p2For tangential distortion, the position coordinate of one pixel point in the region of m × n pixels is (x)d,yd) The corrected position coordinate of the pixel point is (x)p,yp) Using the formula
A corrective calculation is performed in which, among other things,thereby obtaining a positional relationship matrix M before and after correction for each position in the M × n pixel regionm×n。
In the full-image adjusting module, the position of one pixel point in the video image is set as (x)d,yd) The pixel value of the pixel point isAccording to the position relation matrix Mm×nTo obtain (x)d,yd) Has a correction position of (x)p,yp) And stores the pixel value to the corresponding position (x) of the adjusted video imagep,yp) Thereby obtaining (x) in the new video imagep,yp) Pixel value of a locationAdjusting each path of video image respectively to obtain each path of new video image; wherein the value range of R, G, B is 0-255.
In the cutting module, the cutting position of the ith path of video image is set as (x)0,y0)i,src(xY) is the pixel in the new video image, dst (x, y) is the pixel after clipping of the new video image, according to the clipping formula
And respectively cutting each path of new video image, wherein w is the width of the cutting area, and h is the height of the cutting area.
In the rotary zooming module, each path of cut new video image is loaded into a graphic processor GPU, and a rotary zooming matrix is utilized in the graphic processor GPU
And rotation scaling formula
[xr,yr]=[xs,ys,1]RT
Performing a rotation and scaling process, wherein (x)s,ys) As a source image position, (x)r,yr) To rotate the post-zoom position, λiFor scaling, T is the rotation rank of the rotation scaling matrix, and α is the angle of rotation of the new video image.
The realized spherical surface splicing method is simple, the GPU is used for respectively correcting, cutting and zooming each path of image, the computer requirement configuration is lower, each path of video image is independently processed without mutual interference, the processing speed is high, higher real-time performance can be still obtained under the condition of multi-path high-resolution camera splicing, the method can be applied to real-time video splicing, each path of image is projected to a spherical surface model to be displayed by combining an OpenGL graphic program interface, and a better display effect is achieved; meanwhile, the method is suitable for splicing the wide-angle camera, the blind spot area is small, and the practicability is high.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (6)
1. A spherical surface splicing method for video images is characterized by comprising the following steps:
step S1: calibrating parameters in the camera, wherein the parameters comprise an imaging center, radial distortion and tangential distortion;
step S2: selecting an area with the size of M multiplied by n pixels on a video image of a camera, and correcting and calculating each position in the M multiplied by n pixel area according to each calibrated parameter, thereby obtaining a position relation matrix M before and after correction of each position in the M multiplied by n pixel aream×nWherein m and n are the length and width of the pixel region; step S2 is implemented by selecting an m × n pixel region on the video image of the camera, and performing correction calculation on each position of the m × n pixel region according to each calibrated parameter, where the specific method is as follows: the coordinate of the imaging center is marked as (c)x,cy),k1、k2、k3For radial distortion, p1、p2For tangential distortion, the position coordinate of one pixel point in the region of m × n pixels is (x)d,yd) The corrected position coordinate of the pixel point is (x)p,yp) Using the formula
A corrective calculation is performed in which, among other things,thereby obtaining a positional relationship matrix M before and after correction for each position in the M × n pixel regionm×n;
Step S3: according to the position relation matrix Mm×nAdjusting each position on the video image in a Graphic Processing Unit (GPU), and adjusting each position of each path of video image respectively to obtain each path of new video image;
step S4: respectively cutting each path of new video image according to a cutting formula;
step S5: rotating and zooming each path of cut new video image through a GPU; the specific method for implementing step S5 is as follows: loading each new video image after cutting into a graphic processor GPU, and utilizing a rotation scaling matrix in the graphic processor GPU
And rotation scaling formula
[xr,yr]=[xs,ys,1]RT
Performing a rotation and scaling process, wherein (x)s,ys) As a source image position, (x)r,yr) To rotate the post-zoom position, λiFor scaling, T is the rotation rank of the rotation scaling matrix, α is the angle of rotation of the new video image, cx、cyImaging center coordinates;
step S6: and projecting each path of new video image after rotation and scaling processing to a cube model, and converting the cube model to a spherical model for displaying.
2. The spherical splicing method for the video images according to claim 1, wherein the specific method for implementing the step S3 is as follows: setting the position of a pixel point in a video image as (x)d,yd) The pixel value of the pixel point isAccording to the position relation matrix Mm×nTo obtain (x)d,yd) Has a correction position of (x)p,yp) And stores the pixel value to the corresponding position (x) of the adjusted video imagep,yp) Thereby obtaining (x) in the new video imagep,yp) Pixel value of a locationAnd respectively adjusting each path of video image to obtain each path of new imageA video image; wherein the value range of R, G, B is 0-255.
3. The spherical splicing method for the video images according to claim 1, wherein the specific method for implementing the step S4 is as follows: let the ith video image clipping position be (x)0,y0)iSrc (x, y) is the pixel in the new video image, dst (x, y) is the pixel after clipping of the new video image, according to the clipping formula
And respectively cutting each path of new video image, wherein w is the width of the cutting area, and h is the height of the cutting area.
4. A spherical surface splicing system of video images is characterized by comprising a calibration module, an area correction module, a full image adjusting module, a cutting module, a rotary zooming module and a display module;
the calibration module is used for calibrating each parameter in the camera, and each parameter comprises an imaging center, radial distortion and tangential distortion;
the area correction module is used for selecting an area with the size of M multiplied by n pixels on a video image of the camera and carrying out correction calculation on each position in the M multiplied by n pixel area according to each calibrated parameter so as to obtain a position relation matrix M before and after correction of each position in the M multiplied by n pixel aream×nWherein m and n are the length and width of the pixel region; in the area correction module, an m × n pixel area is selected from a video image of a camera, and correction calculation is performed on each position of the m × n pixel area according to calibrated parameters: the coordinate of the imaging center is marked as (c)x,cy),k1、k2、k3For radial distortion, p1、p2For tangential distortion, the position coordinate of one pixel point in the region of m × n pixels is (x)d,yd) Corrected position coordinates of the pixel pointIs (x)p,yp) Using the formula
A corrective calculation is performed in which, among other things,thereby obtaining a positional relationship matrix M before and after correction for each position in the M × n pixel regionm×n;
The whole graph adjusting module is used for adjusting the whole graph according to the position relation matrix Mm×nAdjusting each position on the video image in a Graphic Processing Unit (GPU), and adjusting each position in each path of video image respectively to obtain each path of new video image;
the cutting module is used for cutting each path of new video image according to a cutting formula;
the rotary zooming module is used for rotating and zooming each path of cut new video image through a GPU; specifically, each path of new video image after being cut is loaded into a graphic processor GPU, and a rotation scaling matrix is utilized in the graphic processor GPU
And rotation scaling formula
[xr,yr]=[xs,ys,1]RT
Performing a rotation and scaling process, wherein (x)s,ys) As a source image position, (x)r,yr) To rotate the post-zoom position, λiFor scaling, T is the rotation rank of the rotation scaling matrix, α is the angle of rotation of the new video image, cx、cyImaging center coordinates;
and the display module is used for projecting each path of new video image after rotation and zoom processing to the cube model and then converting the cube model into the spherical model for display.
5. The spherical surface mosaicing system of claim 4, wherein the full-view adjustment module is configured to set a pixel point of the video image to be (x)d,yd) The pixel value of the pixel point isAccording to the position relation matrix Mm×nTo obtain (x)d,yd) Has a correction position of (x)p,yp) And stores the pixel value to the corresponding position (x) of the adjusted video imagep,yp) Thereby obtaining (x) in the new video imagep,yp) Pixel value of a locationAdjusting each path of video image respectively to obtain each path of new video image; wherein the value range of R, G, B is 0-255.
6. The spherical surface stitching system for video images as claimed in claim 4, wherein the cropping module is configured to set the cropping position of the ith video image to (x)0,y0)iSrc (x, y) is the pixel in the new video image, dst (x, y) is the pixel after clipping of the new video image, according to the clipping formula
dst(x,y)=src(x,y),
And respectively cutting each path of new video image, wherein w is the width of the cutting area, and h is the height of the cutting area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610054890.3A CN105741233B (en) | 2016-01-27 | 2016-01-27 | Video image spherical surface splicing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610054890.3A CN105741233B (en) | 2016-01-27 | 2016-01-27 | Video image spherical surface splicing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105741233A CN105741233A (en) | 2016-07-06 |
CN105741233B true CN105741233B (en) | 2020-01-17 |
Family
ID=56247715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610054890.3A Expired - Fee Related CN105741233B (en) | 2016-01-27 | 2016-01-27 | Video image spherical surface splicing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105741233B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018032259A1 (en) * | 2016-08-15 | 2018-02-22 | 深圳市大疆创新科技有限公司 | Image processing device and image processing method |
CN108122191B (en) * | 2016-11-29 | 2021-07-06 | 成都美若梦景科技有限公司 | Method and device for splicing fisheye images into panoramic image and panoramic video |
US10728494B2 (en) | 2017-02-20 | 2020-07-28 | Disney Enterprises, Inc. | Differential transformation of video |
CN107274455A (en) * | 2017-07-07 | 2017-10-20 | 东北林业大学 | Mix the three-dimensional rebuilding method of panoramic image in vision system |
CN108009273B (en) * | 2017-12-19 | 2021-12-14 | 北京小米移动软件有限公司 | Image display method, image display device and computer-readable storage medium |
CN109102464A (en) * | 2018-08-14 | 2018-12-28 | 四川易为智行科技有限公司 | Panorama Mosaic method and device |
CN111464771B (en) * | 2020-04-14 | 2022-07-05 | 上海卓易科技股份有限公司 | Multi-path output method and equipment for vehicle-mounted video |
CN117915020A (en) * | 2022-05-30 | 2024-04-19 | 荣耀终端有限公司 | Method and device for video cropping |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001022728A1 (en) * | 1999-09-20 | 2001-03-29 | The Trustees Of Columbia University In The City Of New York | Systems and methods for generating spherical mosaic images |
US6522787B1 (en) * | 1995-07-10 | 2003-02-18 | Sarnoff Corporation | Method and system for rendering and combining images to form a synthesized view of a scene containing image information from a second image |
US6733138B2 (en) * | 2001-08-15 | 2004-05-11 | Mitsubishi Electric Research Laboratories, Inc. | Multi-projector mosaic with automatic registration |
US6750860B1 (en) * | 1998-12-28 | 2004-06-15 | Microsoft Corporation | Rendering with concentric mosaics |
CN101520897A (en) * | 2009-02-27 | 2009-09-02 | 北京机械工业学院 | Video camera calibration method |
CN102629372A (en) * | 2012-02-22 | 2012-08-08 | 北京工业大学 | 360 degree panoramic aerial view generation method used for assisting vehicle driving |
CN103369192A (en) * | 2012-03-31 | 2013-10-23 | 深圳市振华微电子有限公司 | Method and device for Full-hardware splicing of multichannel video images |
CN103763479A (en) * | 2013-12-31 | 2014-04-30 | 深圳英飞拓科技股份有限公司 | Splicing device for real-time high speed high definition panoramic video and method thereof |
CN104504650A (en) * | 2014-12-31 | 2015-04-08 | 深圳市航盛电子股份有限公司 | OpenGL (open graphics library) based multi-channel video stitching method and system |
-
2016
- 2016-01-27 CN CN201610054890.3A patent/CN105741233B/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6522787B1 (en) * | 1995-07-10 | 2003-02-18 | Sarnoff Corporation | Method and system for rendering and combining images to form a synthesized view of a scene containing image information from a second image |
US6750860B1 (en) * | 1998-12-28 | 2004-06-15 | Microsoft Corporation | Rendering with concentric mosaics |
WO2001022728A1 (en) * | 1999-09-20 | 2001-03-29 | The Trustees Of Columbia University In The City Of New York | Systems and methods for generating spherical mosaic images |
US6733138B2 (en) * | 2001-08-15 | 2004-05-11 | Mitsubishi Electric Research Laboratories, Inc. | Multi-projector mosaic with automatic registration |
CN101520897A (en) * | 2009-02-27 | 2009-09-02 | 北京机械工业学院 | Video camera calibration method |
CN102629372A (en) * | 2012-02-22 | 2012-08-08 | 北京工业大学 | 360 degree panoramic aerial view generation method used for assisting vehicle driving |
CN103369192A (en) * | 2012-03-31 | 2013-10-23 | 深圳市振华微电子有限公司 | Method and device for Full-hardware splicing of multichannel video images |
CN103763479A (en) * | 2013-12-31 | 2014-04-30 | 深圳英飞拓科技股份有限公司 | Splicing device for real-time high speed high definition panoramic video and method thereof |
CN104504650A (en) * | 2014-12-31 | 2015-04-08 | 深圳市航盛电子股份有限公司 | OpenGL (open graphics library) based multi-channel video stitching method and system |
Non-Patent Citations (2)
Title |
---|
"基于 DAS 的实时全景视频拼接系统的设计与实现";王庆波;《中国优秀硕士学位论文全文数据库 信息科技辑》;20131215;I138-1543 * |
"基于图像绘制的球面全景图生成及自动拼接技术研究";华顺刚 等;《大连理工大学学报》;20030930;第43卷(第05期);第640-643页 * |
Also Published As
Publication number | Publication date |
---|---|
CN105741233A (en) | 2016-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105741233B (en) | Video image spherical surface splicing method and system | |
CN113382168B (en) | Apparatus and method for storing overlapping regions of imaging data to produce an optimized stitched image | |
US11631155B2 (en) | Equatorial stitching of hemispherical images in a spherical image capture system | |
CN109348119B (en) | Panoramic monitoring system | |
US9262807B2 (en) | Method and system for correcting a distorted input image | |
TWI423659B (en) | Image corretion method and related image corretion system thereof | |
EP3438919B1 (en) | Image displaying method and head-mounted display apparatus | |
JP5596972B2 (en) | Control device and control method of imaging apparatus | |
US20140300644A1 (en) | Method and apparatus for generating an image cut-out | |
CN104103068B (en) | For controlling the method and apparatus of virtual camera | |
US20070211955A1 (en) | Perspective correction panning method for wide-angle image | |
JP2018524832A (en) | Omnidirectional stereo capture and rendering of panoramic virtual reality content | |
KR101521008B1 (en) | Correction method of distortion image obtained by using fisheye lens and image display system implementing thereof | |
CN104519340A (en) | Panoramic video stitching method based on multi-depth image transformation matrix | |
CN106780374A (en) | A kind of fish eye images distortion correction method based on flake imaging model | |
DE102017118714A1 (en) | Multi-level camera carrier system for stereoscopic image acquisition | |
CN111815517A (en) | Self-adaptive panoramic stitching method based on snapshot pictures of dome camera | |
US20090059018A1 (en) | Navigation assisted mosaic photography | |
KR101704362B1 (en) | System for real time making of panoramic video base on lookup table and Method for using the same | |
CN108765582B (en) | Panoramic picture display method and device | |
CN109990756B (en) | Binocular ranging method and system | |
US9807302B1 (en) | Offset rolling shutter camera model, and applications thereof | |
CN107454326B (en) | Method for panoramic shooting by using fisheye lens, camera and panoramic shooting system | |
CN110796690A (en) | Image matching method and image matching device | |
JP6901580B2 (en) | Horizontal calibration method of panoramic image or video, system and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200117 |
|
CF01 | Termination of patent right due to non-payment of annual fee |