CN107481207A - The geometric correction method and system of a kind of video image - Google Patents
The geometric correction method and system of a kind of video image Download PDFInfo
- Publication number
- CN107481207A CN107481207A CN201710750779.2A CN201710750779A CN107481207A CN 107481207 A CN107481207 A CN 107481207A CN 201710750779 A CN201710750779 A CN 201710750779A CN 107481207 A CN107481207 A CN 107481207A
- Authority
- CN
- China
- Prior art keywords
- video image
- projecting apparatus
- relative position
- bounding box
- geometric correction
- 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
- 238000012937 correction Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000013507 mapping Methods 0.000 claims description 22
- 239000011159 matrix material Substances 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Transforming Electric Information Into Light Information (AREA)
- Projection Apparatus (AREA)
Abstract
The present invention relates to a kind of geometric correction method of video image and system, this method includes:Digital camera shoots the image that every projecting apparatus individually projects;Described image is handled and matrixing calculates, obtains the view field after every projecting apparatus distorts on projection screen;Calculate the outer bounding box of whole projection wall;Relative position of the view field of every projecting apparatus in the outer bounding box is calculated according to the outer bounding box, and obtains the position coordinates of the relative position;Video image to be shown is mapped to by the relative position according to the position coordinates, the video image projected correctly splices.Before being corrected, the data of geometric correction are written in configuration file GeomParam.ini, carrying out video image timing, the configuration information of each projecting apparatus is read from configuration file GeomParam.ini can carry out geometric correction to video image, realize automatically correctly splice the video image projected well.
Description
Technical field
The present invention relates to video image alignment technique field, more particularly to a kind of geometric correction method of video image and
System.
Background technology
For playing video on the projection wall system shown by more projector splicings, each projector goes out
The video pictures shape come, which differs, is set to rectangle, and picture size is largely not the same, and so we are just needed to each
Projecting apparatus launches the picture come and carries out geometric correction, picture " distortion " is returned, so that the multiple picture energy really shown
It is seamless spliced into one piece be in logic one big projecting apparatus launch come it is the same.
Current mechanical checkout, a base with multiple regulation frees degree is all exactly equipped with for each projecting apparatus,
Then projecting apparatus is fixed on this base, every single-degree-of-freedom is adjusted by craft(Including position, base etc.), make
The projecting direction of projecting apparatus is obtained perpendicular to projection screen, and projecting apparatus can correct tiled display two-by-two.But even if every throwing
Shadow instrument accurately rectifies an instrument equipped with such, and this correction work still needs skilled technician to enter by hand to every projecting apparatus
Row correction, this is very cumbersome and time-consuming work, and when the quantity of projecting apparatus is larger, this work is particularly difficult.
The content of the invention
Based on this, it is necessary to for needing skilled technician's manual the problem of being corrected to every projecting apparatus, there is provided one
The geometric correction method and system of kind video image.
A kind of geometric correction method of video image, including:Digital camera shoots the image that every projecting apparatus individually projects;
Described image is handled and matrixing calculates, obtains the view field after every projecting apparatus distorts on projection screen;
Calculate the outer bounding box of whole projection wall;The view field of every projecting apparatus is calculated in the outer encirclement according to the outer bounding box
Relative position in box, and obtain the position coordinates of the relative position;According to the position coordinates by video image to be shown
The relative position is mapped to, the video image projected correctly splices.
Preferably, the processing includes:The acquisition of calibration grid and the acquisition of characteristic point;The matrixing calculates bag
Include:The calculating of effective display area domain and the calculating of mapping matrix.
Preferably, digital camera shoots the image that every projecting apparatus individually projects;Described image is handled and matrix
Include before the step of transformation calculations:The projection screen texture to display of every projecting apparatus is calculated according to the configuration information
Account for the ratio of whole giant-screen video image;Video image to be shown is split according to the ratio, the son that will have split
Video image generates the texture of 1024*1024 sizes.
Preferably, effective view field of each projecting apparatus is a big polygon, and the polygon is by multiple small
The small quadrangle that quadrangle slaps together, video image to be shown is mapped to by the relative position according to the position coordinates
Step includes:The texture coordinate on four summits of each small quadrangle is calculated according to configuration information;According to the texture coordinate according to
The secondary texture mapping by the 1024*1024 sizes is to the small quadrangle.
A kind of geometric correction system of video image, including:Computer Vision module, outer bounding box computing module, phase
To position computation module and mapping block;The Computer Vision module, it is independent to shoot every projecting apparatus for digital camera
The image of projection;Described image is handled and matrixing calculates, is obtained after every projecting apparatus distorts on projection screen
View field;The outer bounding box computing module, for calculating the outer bounding box of whole projection wall;The relative position calculates
Module, for calculating relative position of the view field of every projecting apparatus in the outer bounding box according to the outer bounding box,
And obtain the position coordinates of the relative position;The mapping block, for according to the position coordinates by video figure to be shown
As being mapped to the relative position, the video image projected correctly splices.
Preferably, the processing includes:The acquisition of calibration grid and the acquisition of characteristic point;The matrixing calculates bag
Include:The calculating of effective display area domain and the calculating of mapping matrix.
Preferably, in addition to:Texture generation module;The texture generation module, for being calculated according to the configuration information
The projection screen texture to display of every projecting apparatus accounts for the ratio of whole giant-screen video image;Treated according to the ratio
Display video image is split, and the sub-video image split is generated to the texture of 1024*1024 sizes.
Preferably, effective view field of each projecting apparatus is a big polygon, and the polygon is by multiple small
The small quadrangle that quadrangle slaps together, the mapping block, it is additionally operable to calculate the four of each small quadrangle according to configuration information
The texture coordinate on individual summit;According to the texture coordinate successively by the texture mapping of the 1024*1024 sizes to described small by four
Side shape.
The geometric correction method of above-mentioned video image, the image that every projecting apparatus individually projects is shot by digital camera;
Described image is handled and matrixing calculates, obtains the view field after every projecting apparatus distorts on projection screen,
The outer bounding box of whole projection wall is calculated, the view field of every projecting apparatus is calculated in the outer encirclement according to the outer bounding box
Relative position in box, and obtain the position coordinates of the relative position;According to the position coordinates by video image to be shown
It is mapped to the relative position.Before being corrected, the data of geometric correction are written to configuration file GeomParam.ini
In, video image timing is being carried out, the configuration information of each projecting apparatus is read from configuration file GeomParam.ini
Geometric correction is carried out to video image, realizes automatically correctly splice the video image projected well.
Brief description of the drawings
Fig. 1 is the indicative flowchart of the geometric correction method of the video image of an embodiment;
Fig. 2 is the schematic diagram of the geometric correction system of the video image of an embodiment.
Embodiment
The geometric correction method of the video image of this programme is applied to the projection wall system shown by more projector splicings.Institute
State and play video on projection wall system, the row field amplitude of constituent parts, linear, geometric center position be required to it is completely the same, otherwise
The big picture of whole projection wall has different distortions in different units.This method is by before being corrected, by geometry school
Positive data are written in configuration file GeomParam.ini, video image timing are being carried out, from configuration file
The configuration information of each projecting apparatus is read in GeomParam.ini can carry out geometric correction to video image, realize well
Automatically the video image projected is correctly spliced.
Fig. 1 is the indicative flowchart of the geometric correction method of the video image of an embodiment;As shown in figure 1, one kind regards
The geometric correction method of frequency image, including:
S11, digital camera shoot the image that every projecting apparatus individually projects;Described image is handled and matrixing meter
Calculate, obtain the view field after every projecting apparatus distorts on projection screen;
, it is necessary to which the geometric data of correction is written into configuration information before being corrected.
As a preferred embodiment, the processing includes:The acquisition of calibration grid and the acquisition of characteristic point;The matrix becomes
Changing calculating includes:The calculating of effective display area domain and the calculating of mapping matrix.
As a preferred embodiment, digital camera shoots the image that every projecting apparatus individually projects;Described image is carried out
Include before the step of processing and matrixing calculate:The projection screen that every projecting apparatus is calculated according to the configuration information is wanted
The texture of display accounts for the ratio of whole giant-screen video image;Video image to be shown is split according to the ratio, will
The texture for the sub-video image generation 1024*1024 sizes split.
S12, calculate the outer bounding box of whole projection wall;
S13, relative position of the view field of every projecting apparatus in the outer bounding box is calculated according to the outer bounding box, and
Obtain the position coordinates of the relative position;
S14, video image to be shown is mapped to by the relative position according to the position coordinates, the video image projected
Correct splicing.
As a preferred embodiment, effective view field of each projecting apparatus is a big polygon, the polygon
For the small quadrangle slapped together by multiple small quadrangles, video image to be shown is mapped to according to the position coordinates described in
The step of relative position, includes:The texture coordinate on four summits of each small quadrangle is calculated according to configuration information;According to described
Texture coordinate is successively by the texture mapping of the 1024*1024 sizes to the small quadrangle.
The geometric correction method of above-mentioned video image, the image that every projecting apparatus individually projects is shot by digital camera;
Described image is handled and matrixing calculates, obtains the view field after every projecting apparatus distorts on projection screen,
The outer bounding box of whole projection wall is calculated, the view field of every projecting apparatus is calculated in the outer encirclement according to the outer bounding box
Relative position in box, and obtain the position coordinates of the relative position;According to the position coordinates by video image to be shown
It is mapped to the relative position.Before being corrected, the data of geometric correction are written to configuration file GeomParam.ini
In, video image timing is being carried out, the configuration information of each projecting apparatus is read from configuration file GeomParam.ini
Geometric correction is carried out to video image, realizes automatically correctly splice the video image projected well.
Fig. 2 is the schematic diagram of the geometric correction system of the video image of an embodiment;As shown in Fig. 2 one kind regards
The geometric correction system of frequency image, including:Computer Vision module 11, outer bounding box computing module 12, relative position calculate
Module 13 and mapping block 14;The Computer Vision module 11, shoot every projecting apparatus for digital camera and individually project
Image;Described image is handled and matrixing calculates, obtains the throwing after every projecting apparatus distorts on projection screen
Shadow zone domain;The outer bounding box computing module 12, for calculating the outer bounding box of whole projection wall;The relative position calculates mould
Block 13, for calculating relative position of the view field of every projecting apparatus in the outer bounding box according to the outer bounding box,
And obtain the position coordinates of the relative position;The mapping block 14, for according to the position coordinates by video to be shown
Image is mapped to the relative position, and the video image projected correctly splices.
As a preferred embodiment, the processing includes:The acquisition of calibration grid and the acquisition of characteristic point;The matrix becomes
Changing calculating includes:The calculating of effective display area domain and the calculating of mapping matrix.
As a preferred embodiment, in addition to:Texture generation module;The texture generation module, for matching somebody with somebody according to
The projection screen texture to display of confidence breath every projecting apparatus of calculating accounts for the ratio of whole giant-screen video image;According to institute
State ratio to split video image to be shown, the sub-video image split is generated to the texture of 1024*1024 sizes.
As a preferred embodiment, effective view field of each projecting apparatus is a big polygon, the polygon
For the small quadrangle slapped together by multiple small quadrangles, the mapping block, it is additionally operable to each small according to configuration information calculating
The texture coordinate on four summits of quadrangle;According to the texture coordinate successively by the texture mapping of the 1024*1024 sizes
To the small quadrangle.
The geometric correction system of above-mentioned video image, Computer Vision module shoot every projecting apparatus by digital camera
The image individually projected;Described image is handled and matrixing calculates, it is abnormal on projection screen to obtain every projecting apparatus
View field after change, outer bounding box computing module calculate the outer bounding box of whole projection wall, relative position computing module according to
The outer bounding box calculates relative position of the view field of every projecting apparatus in the outer bounding box, and obtains described relative
The position coordinates of position;Video image to be shown is mapped to the relative position by mapping block according to the position coordinates.
Before being corrected, the data of geometric correction are written in configuration file GeomParam.ini, are carrying out video image correction
When, the configuration information of each projecting apparatus is read from configuration file GeomParam.ini to carry out geometry school to video image
Just, realize and automatically correctly splice the video image projected well.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (8)
- A kind of 1. geometric correction method of video image, it is characterised in that including:Digital camera shoots the image that every projecting apparatus individually projects;Described image is handled and matrixing calculates, is obtained View field after being distorted to every projecting apparatus on projection screen;Calculate the outer bounding box of whole projection wall;Relative position of the view field of every projecting apparatus in the outer bounding box is calculated according to the outer bounding box, and obtained The position coordinates of the relative position;Video image to be shown is mapped to by the relative position according to the position coordinates, the video image projected is correct Splicing.
- 2. the geometric correction method of video image according to claim 1, it is characterised in that the processing includes:Correction The acquisition of grid and the acquisition of characteristic point;The matrixing, which calculates, to be included:The calculating of effective display area domain and the calculating of mapping matrix.
- 3. the geometric correction method of video image according to claim 1, it is characterised in that digital camera shoots every throwing The image that shadow instrument individually projects;Described image is handled and matrixing calculate the step of before include:The projection screen texture to display that every projecting apparatus is calculated according to the configuration information accounts for whole giant-screen video figure The ratio of picture;Video image to be shown is split according to the ratio, it is big that the sub-video image split is generated into 1024*1024 Small texture.
- 4. the geometric correction method of video image according to claim 3, it is characterised in that effective throwing of each projecting apparatus Shadow zone domain is a big polygon, and the polygon is the small quadrangle slapped together by multiple small quadrangles, according to described The step of video image to be shown is mapped to the relative position by position coordinates includes:The texture coordinate on four summits of each small quadrangle is calculated according to configuration information;According to the texture coordinate successively by the texture mapping of the 1024*1024 sizes to the small quadrangle.
- A kind of 5. geometric correction system of video image, it is characterised in that including:Computer Vision module, outer bounding box meter Calculate module, relative position computing module and mapping block;The Computer Vision module, the image that every projecting apparatus individually projects is shot for digital camera;To described image Carry out processing and matrixing calculates, obtain the view field after every projecting apparatus distorts on projection screen;The outer bounding box computing module, for calculating the outer bounding box of whole projection wall;The relative position computing module, for calculating the view field of every projecting apparatus according to the outer bounding box described outer Relative position in bounding box, and obtain the position coordinates of the relative position;The mapping block, for video image to be shown to be mapped into the relative position according to the position coordinates, projection Video image out correctly splices.
- 6. the geometric correction system of video image according to claim 5, it is characterised in that the processing includes:Correction The acquisition of grid and the acquisition of characteristic point;The matrixing, which calculates, to be included:The calculating of effective display area domain and the calculating of mapping matrix.
- 7. the geometric correction system of video image according to claim 5, it is characterised in that also include:Texture generates mould Block;The texture generation module, the projection screen line to display for calculating every projecting apparatus according to the configuration information Reason accounts for the ratio of whole giant-screen video image;Video image to be shown is split according to the ratio, by what is split Sub-video image generates the texture of 1024*1024 sizes.
- 8. the geometric correction system of video image according to claim 7, it is characterised in that effective throwing of each projecting apparatus Shadow zone domain is a big polygon, and the polygon is the small quadrangle slapped together by multiple small quadrangles, the mapping Module, it is additionally operable to calculate the texture coordinate on four summits of each small quadrangle according to configuration information;According to the texture coordinate Successively by the texture mapping of the 1024*1024 sizes to the small quadrangle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710750779.2A CN107481207A (en) | 2017-08-28 | 2017-08-28 | The geometric correction method and system of a kind of video image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710750779.2A CN107481207A (en) | 2017-08-28 | 2017-08-28 | The geometric correction method and system of a kind of video image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107481207A true CN107481207A (en) | 2017-12-15 |
Family
ID=60603967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710750779.2A Pending CN107481207A (en) | 2017-08-28 | 2017-08-28 | The geometric correction method and system of a kind of video image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107481207A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110675350A (en) * | 2019-10-22 | 2020-01-10 | 普联技术有限公司 | Cloud deck camera view field coordinate mapping method and device, storage medium and cloud deck camera |
CN111654681A (en) * | 2019-03-04 | 2020-09-11 | 安世亚太科技股份有限公司 | Projection splicing method of DLP optical machine |
CN112259047A (en) * | 2020-12-08 | 2021-01-22 | 成都成电光信科技股份有限公司 | LED spherical screen display method |
CN113315958A (en) * | 2020-05-20 | 2021-08-27 | 上海六联智能科技有限公司 | Projected image correction method |
CN115883801A (en) * | 2021-09-28 | 2023-03-31 | 精工爱普生株式会社 | Image projection method and projector |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778694A (en) * | 2015-04-10 | 2015-07-15 | 北京航空航天大学 | Parameterized and automatic geometric correction method for multi-projector tiled display |
US20160309086A1 (en) * | 2015-04-14 | 2016-10-20 | Kabushiki Kaisha Toshiba | Electronic device and method |
CN106897976A (en) * | 2015-12-23 | 2017-06-27 | 中国人民解放军海军航空工程学院 | Single video card triple channel solid what comes into a driver's projection software correction fusion method based on GPU |
CN106951204A (en) * | 2017-03-21 | 2017-07-14 | 广东暨通信息发展有限公司 | Image synchronization method based on computer cluster visualization system |
-
2017
- 2017-08-28 CN CN201710750779.2A patent/CN107481207A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778694A (en) * | 2015-04-10 | 2015-07-15 | 北京航空航天大学 | Parameterized and automatic geometric correction method for multi-projector tiled display |
US20160309086A1 (en) * | 2015-04-14 | 2016-10-20 | Kabushiki Kaisha Toshiba | Electronic device and method |
CN106897976A (en) * | 2015-12-23 | 2017-06-27 | 中国人民解放军海军航空工程学院 | Single video card triple channel solid what comes into a driver's projection software correction fusion method based on GPU |
CN106951204A (en) * | 2017-03-21 | 2017-07-14 | 广东暨通信息发展有限公司 | Image synchronization method based on computer cluster visualization system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111654681A (en) * | 2019-03-04 | 2020-09-11 | 安世亚太科技股份有限公司 | Projection splicing method of DLP optical machine |
CN111654681B (en) * | 2019-03-04 | 2024-04-19 | 北京谦恒德科技有限公司 | Projection splicing method of DLP optical machine |
CN110675350A (en) * | 2019-10-22 | 2020-01-10 | 普联技术有限公司 | Cloud deck camera view field coordinate mapping method and device, storage medium and cloud deck camera |
CN110675350B (en) * | 2019-10-22 | 2022-05-06 | 普联技术有限公司 | Cloud deck camera view field coordinate mapping method and device, storage medium and cloud deck camera |
CN113315958A (en) * | 2020-05-20 | 2021-08-27 | 上海六联智能科技有限公司 | Projected image correction method |
CN112259047A (en) * | 2020-12-08 | 2021-01-22 | 成都成电光信科技股份有限公司 | LED spherical screen display method |
CN115883801A (en) * | 2021-09-28 | 2023-03-31 | 精工爱普生株式会社 | Image projection method and projector |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107481207A (en) | The geometric correction method and system of a kind of video image | |
CN110336987B (en) | Projector distortion correction method and device and projector | |
US10872439B2 (en) | Method and device for verification | |
KR102110701B1 (en) | Perspective correction for curved display screens | |
CN109272478B (en) | Screen projection method and device and related equipment | |
JP4435145B2 (en) | Method and apparatus for providing panoramic image by calibrating geometric information | |
US6793350B1 (en) | Projecting warped images onto curved surfaces | |
CN110191326B (en) | Projection system resolution expansion method and device and projection system | |
US6527395B1 (en) | Method for calibrating a projector with a camera | |
Raskar et al. | Quadric transfer for immersive curved screen displays | |
CN108700798A (en) | Frame during creating panoramic frame adapts to splicing | |
CN104869376B (en) | Multi-image and multi-pixel level geometric correction method for video fusion | |
US9892488B1 (en) | Multi-camera frame stitching | |
KR20130054868A (en) | Geometric correction apparatus and method based on recursive bezier patch sub-division | |
US10063792B1 (en) | Formatting stitched panoramic frames for transmission | |
CN110099267A (en) | Trapezoidal correcting system, method and projector | |
US20130120451A1 (en) | Image processing device, image processing method, and program | |
US20200413015A1 (en) | Information processing apparatus, computation method of information processing apparatus, and program | |
CN108028900A (en) | Projector equipment, projecting method and program recorded medium | |
CN109978958A (en) | A kind of interactive projection system calibrated error compensation method | |
CN112055186A (en) | Geometric correction method, system, equipment and storage medium for multi-projection image splicing | |
JP2004228824A (en) | Stack projection device and its adjusting method | |
RU2721750C2 (en) | Information processing device, information processing method and program | |
CN114494448A (en) | Calibration error evaluation method and device, computer equipment and storage medium | |
KR101847996B1 (en) | Image projection method for a curved projection area and projection system therefor |
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: 20171215 |
|
RJ01 | Rejection of invention patent application after publication |