CN106296584A - A kind of method that panoramic mosaic figure shows with local video or image co-registration - Google Patents
A kind of method that panoramic mosaic figure shows with local video or image co-registration Download PDFInfo
- Publication number
- CN106296584A CN106296584A CN201610635319.0A CN201610635319A CN106296584A CN 106296584 A CN106296584 A CN 106296584A CN 201610635319 A CN201610635319 A CN 201610635319A CN 106296584 A CN106296584 A CN 106296584A
- Authority
- CN
- China
- Prior art keywords
- panoramic mosaic
- component
- coordinate system
- wid
- hei
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000010606 normalization Methods 0.000 claims description 12
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 2
- 230000004927 fusion Effects 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Closed-Circuit Television Systems (AREA)
- Studio Devices (AREA)
Abstract
The present invention relates to a kind of method that panoramic mosaic figure shows with local video or image co-registration.The method is by PTZ camera current video or shooting angle (horizontal angle Pan of certain sectional drawing, angle of pitch Tilt), and coverage (angle of view, zoom Zoom), calculate the image-region particular location at panoramic mosaic model, then the content updated in panoramic picture in respective regions, when shooting angle and scope change, the respective regions in change panoramic picture, and the restore-zone that original video covers returns panoramic mosaic figure.The method improves the man-machine experience that solution panoramic mosaic figure shows with local video or image co-registration.
Description
Technical field
The present invention relates to a kind of method that panoramic mosaic figure shows with local video or image co-registration.
Background technology
In conventional CCTV camera, there is a kind of PTZ camera such as Fig. 1, although the coverage of camera lens is limited, but due to dress
On rotatable The Cloud Terrace, it is possible to achieve level and the rotation of pitching, expand monitoring range.
Understanding to realize the summary to surrounding, splicing frequently appears in the application of this kind of PTZ camera,
By being spliced by the picture that camera shoots in different angles, obtain the picture of a coverage the most even panorama.
Such as Fig. 2.But the image of splicing is static, it is impossible to real-time update, thus need nonetheless remain for connecing a camera video synthesis and use.
Video image and panoramic mosaic image with the use of, need user switch, and abstract location fusion video exist
The content of panoramic mosaic image.Still inconvenience is had in man-machine experience.
The split-join model being currently employed for PTZ camera includes cylinder model more, and Sphere Measurement Model etc., by characteristic matching, ball
The methods such as coordinate transform, it is achieved PTZ camera sequence of pictures splicing and combining on model.Such as Fig. 3, pass through cylinder for ptz camera
The annulus panorama sketch of model splicing.
Panoramic mosaic figure can directly show by 2D, it is also possible to is converted by 3D engine, becomes virtual PTZ and shows.As
Fig. 4,3D engine the virtual PTZ image on 4 directions obtained.
In addition, also there is a kind of product adding full shot in PTZ device, directly generated panorama by attachment lens
Figure.
Summary of the invention
In order to solve above-mentioned technical problem, it is an object of the invention to provide a kind of panoramic mosaic figure and local video or figure
Method shown in merging, the method improves the man-machine experience solving this separate type.
In order to realize above-mentioned purpose, present invention employs following technical scheme:
A kind of method that panoramic mosaic figure shows with local video or image co-registration, the method comprises the following steps:
A) according to the algorithm of panoramic mosaic, panoramic mosaic pixel coordinate system R is obtainedpanoWith split-join model coordinate system Rmodel
Corresponding relation Fp-m;
B) PTZ camera video present frame or shooting angle Pan of certain sectional drawing and Tilt are obtained;
C) according to PTZ camera coverage and zoom, present frame or the horizontal direction shooting angle model of certain sectional drawing are obtained
Enclose RangepanAnd the Range in vertical directiontilt, and resolution (Widv,Heiv);
D) according to Pan, Tilt, RangepanAnd Rangetilt, obtain model coordinate systems RmodelSit with the pixel of PTZ camera
Mark system RptCorresponding relation Fm-pt;
E) selected display mode, while display panoramic mosaic figure, according to corresponding relation Fp-mAnd Fm-ptCalculate panorama sketch
In each position whether in the range of the current shooting of PTZ camera, if in the range of, then by content replace, content cover
And/or content mergence method, the current video frame of display PTZ camera or sectional drawing;If outside scope, then show original spliced map
Content.
As preferably, the present invention panoramic mosaic figure be 2D display panoramic mosaic figure or 3D shows panoramic mosaic figure.
As preferably, panoramic mosaic figure is 2D when showing panoramic mosaic figure,
RpanoFor cartesian coordinate system
RmodelFor normalization polar coordinate system
As improving further, when panoramic mosaic figure is 2D display panoramic mosaic figure, in step d),
Wherein:
Dis=Widv*0.5/tan(Rpan* 0.5) or
Dis=Heiv*0.5/tan(Rtilt* 0.5),
As preferably, panoramic mosaic figure is 3D when showing panoramic mosaic figure,
RpanoFor cartesian coordinate system
RmodelFor cartesian coordinate system
As improving further, when panoramic mosaic figure is 3D display panoramic mosaic figure, in step d),
Wherein:
Due to the fact that and have employed above-mentioned technical scheme, by PTZ camera current video or the shooting angle of certain sectional drawing
Degree (horizontal angle Pan, angle of pitch Tilt), and coverage (angle of view, zoom Zoom), calculate image-region at panorama
The particular location of split-join model, the content then updated in panoramic picture in respective regions, when shooting angle and scope change,
Respective regions in change panoramic picture, and the restore-zone that original video covers returns panoramic mosaic figure.The method improves solution
The man-machine experience that panoramic mosaic figure and local video or image co-registration show.
Accompanying drawing explanation
Fig. 1 is Pan/Tilt/Zoom camera image.
Fig. 2 is Pan/Tilt/Zoom camera stitching image.
Fig. 3 is annulus panorama sketch.
Fig. 4 is virtual PTZ technology figure under multi-angle.
Fig. 5 is cartesian coordinate system video-projection figure.
Fig. 6 is annulus splicing figure and head-shaking machine video frame content figure.
Fig. 7 is frame of video in-scope figure.
Fig. 8 is 2D display panoramic mosaic and frame of video fusion results figure.
Fig. 9 is 3D display panoramic mosaic and frame of video fusion results figure.
Detailed description of the invention
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is made a detailed explanation.
The present invention to relate to parameter interpretation as follows:
xpano: panoramic mosaic pixel coordinate figure X-component, the upper left corner is 0, and the lower right corner is Widpano
ypano: panoramic mosaic pixel coordinate figure Y-component, the upper left corner is 0, and the lower right corner is Heipano
Widpano: panoramic mosaic figure width
Heipano: panoramic mosaic figure is high
Pm: the horizontal angle component of polar coordinate system split-join model
Tm: the angle of pitch component of polar coordinate system split-join model
Pv: the horizontal angle component of head-shaking machine The Cloud Terrace
Tv: the angle of pitch component of head-shaking machine The Cloud Terrace
Rpan: the field of view angle of video image horizontal direction
Rtilt: the field of view angle of video image vertical direction
Widv: video image width
Heiv: video image water is high
xpt: video image element coordinate figure X-component, the upper left corner is 0, and the lower right corner is Widv
ypt: video image element coordinate figure X-component, the upper left corner is 0, and the lower right corner is Heiv
xm: during 3D display, the X-component of the normalization direction vector of cartesian coordinate system split-join model
ym: during 3D display, the Y-component of the normalization direction vector of cartesian coordinate system split-join model
zm: during 3D display, the Z component of the normalization direction vector of cartesian coordinate system split-join model
xm: during 3D display, the X-component of the normalization direction vector of cartesian coordinate system video-projection
ym: during 3D display, the Y-component of the normalization direction vector of cartesian coordinate system video-projection
zm: during 3D display, the Z component of the normalization direction vector of cartesian coordinate system video-projection
Cartesian coordinate system video-projection Fig. 5, camera lens optical axis is X-axis.
Embodiment 1 2D display panoramic mosaic and the fusion of head-shaking machine video
Head-shaking machine only has two degree of freedom of Pan, Tilt, does not has Zoom
A) cylindrical panoramic annulus and split-join model coordinate system transformational relation F are obtainedp-m
RpanoFor cartesian coordinate system
RmodelFor normalization polar coordinate system
B) by private information or agreement, the shooting angle of head-shaking machine video present frame is obtained
C) head-shaking machine coverage is obtainedAnd video resolutionWherein it must is fulfilled for
Heiv=Widv*tan(Rtilt*0.5)/tan(Rpan* 0.5) or
Rtilt=atctan (Heiv/Widv*tan(Rpan*0.5))*2;
D) model coordinate systems R is obtainedmodelWith head-shaking machine video pixel coordinates system RptCorresponding relation Fm-pt,
Wherein:
Dis=Widv*0.5/tan(Rpan* 0.5) or
Dis=Heiv*0.5/tan(Rtilt*0.5);
If xpt∈(0,Widv) and ypt∈(0,Heiv), then in panoramic mosaic figure, this location conten is fused and replaces to
The response contents of video present frame.Below figure: Fig. 6 shows panoramic mosaic figure and head-shaking machine current video frame;Fig. 7 shows and calculates
Head-shaking machine current video position;Fig. 8 is for merging final result.
Embodiment 2 3D display panoramic mosaic and the fusion of head-shaking machine video
Head-shaking machine only has two degree of freedom of Pan, Tilt, does not has Zoom.And 3D shows, having model coordinate systems is original coordinates
System, distinguishes sphere spliced map position corresponding to computation model diverse location and head-shaking machine video location.
A) the coordinate system transformational relation F of sphere split-join model and spliced map is obtainedm-p
RpanoFor cartesian coordinate system
RmodelFor cartesian coordinate system
B) by private information or agreement, the shooting angle of head-shaking machine video present frame is obtained
C) head-shaking machine coverage is obtainedAnd video resolutionWherein it must is fulfilled for
Heiv=Widv*tan(Rtilt*0.5)/tan(Rpan0.5) or
Rtilt=atctan (Heiv/Widv*tan(Rpan*0.5))*2;
D) model coordinate systems R is obtainedmodelWith head-shaking machine video pixel coordinates system RptCorresponding relation Fm-pt
Wherein:
If xpt∈(0,Widv) and ypt∈(0,Heiv), then in panoramic mosaic figure, this location conten is fused and replaces to
The response contents of video present frame.If Fig. 9 is for merging final result.
Claims (6)
1. the method that a panoramic mosaic figure shows with local video or image co-registration, it is characterised in that the method includes following
Step:
A) according to the algorithm of panoramic mosaic, panoramic mosaic pixel coordinate system R is obtainedpanoWith split-join model coordinate system RmodelRight
F should be related top-m;
B) PTZ camera video present frame or shooting angle Pan of certain sectional drawing and Tilt are obtained;
C) according to PTZ camera coverage and zoom, present frame or the horizontal direction shooting angle scope of certain sectional drawing are obtained
RangepanAnd the Range in vertical directiontilt, and resolution (Widv,Heiv);
D) according to Pan, Tilt, RangepanAnd Rangetilt, obtain model coordinate systems RmodelPixel coordinate system with PTZ camera
RptCorresponding relation Fm-pt;
E) selected display mode, while display panoramic mosaic figure, according to corresponding relation Fp-mAnd Fm-ptCalculate in panorama sketch each
Whether individual position in the range of the current shooting of PTZ camera, if in the range of, then by content replace, content cover and/or
Content mergence method, the current video frame of display PTZ camera or sectional drawing;If outside scope, then show the interior of original spliced map
Hold.
The method that a kind of panoramic mosaic figure the most according to claim 1 shows with local video or image co-registration, its feature
It is that panoramic mosaic figure is 2D display panoramic mosaic figure or 3D display panoramic mosaic figure.
The method that a kind of panoramic mosaic figure the most according to claim 1 shows with local video or image co-registration, its feature
It is when panoramic mosaic figure is 2D display panoramic mosaic figure,
RpanoFor cartesian coordinate system
RmodelFor normalization polar coordinate system
Wherein:
xpano: panoramic mosaic pixel coordinate figure X-component, the upper left corner is 0, and the lower right corner is Widpano;
ypano: panoramic mosaic pixel coordinate figure Y-component, the upper left corner is 0, and the lower right corner is Heipano;
Pm: the horizontal angle component of polar coordinate system split-join model;
Tm: the angle of pitch component of polar coordinate system split-join model.
The method that a kind of panoramic mosaic figure the most according to claim 3 shows with local video or image co-registration, its feature
It is in step d),
Dis=Widv*0.5/tan(Rpan* 0.5) or
Dis=Heiv*0.5/tan(Rtilt* 0.5),
Wherein:
xpt: video image element coordinate figure X-component, the upper left corner is 0, and the lower right corner is Widv
ypt: video image element coordinate figure X-component, the upper left corner is 0, and the lower right corner is Heiv
Rpan: the field of view angle of video image horizontal direction
Rtilt: the field of view angle of video image vertical direction
Widv: video image width
Heiv: video image is high
Pm: the horizontal angle component of polar coordinate system split-join model
Tm: the angle of pitch component of polar coordinate system split-join model
Pv: the horizontal angle component of The Cloud Terrace
Tv: the angle of pitch component of The Cloud Terrace.
The method that a kind of panoramic mosaic figure the most according to claim 1 shows with local video or image co-registration, its feature
It is when panoramic mosaic figure is 3D display panoramic mosaic figure,
RpanoFor cartesian coordinate system
RmodelFor cartesian coordinate system
Wherein:
xpano: panoramic mosaic pixel coordinate figure X-component, the upper left corner is 0, and the lower right corner is Widpano
ypano: panoramic mosaic pixel coordinate figure Y-component, the upper left corner is 0, and the lower right corner is Heipano
xm: during 3D display, the X-component of the normalization direction vector of cartesian coordinate system split-join model
ym: during 3D display, the Y-component of the normalization direction vector of cartesian coordinate system split-join model
zm: during 3D display, the Z component of the normalization direction vector of cartesian coordinate system split-join model
Pm: the horizontal angle component of polar coordinate system split-join model
Tm: the angle of pitch component of polar coordinate system split-join model
Widpano: panoramic mosaic figure width
Heipano: panoramic mosaic figure is high.
The method that a kind of panoramic mosaic figure the most according to claim 5 shows with local video or image co-registration, its feature
It is in step d),
Wherein:
Wherein:
Widv: video image width
Heiv: video image water is high
xpt: video image element coordinate figure X-component, the upper left corner is 0, and the lower right corner is Widv
ypt: video image element coordinate figure X-component, the upper left corner is 0, and the lower right corner is Heiv。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610635319.0A CN106296584B (en) | 2016-08-02 | 2016-08-02 | Method for fusion display of panoramic mosaic and local video or image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610635319.0A CN106296584B (en) | 2016-08-02 | 2016-08-02 | Method for fusion display of panoramic mosaic and local video or image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106296584A true CN106296584A (en) | 2017-01-04 |
CN106296584B CN106296584B (en) | 2020-02-07 |
Family
ID=57665469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610635319.0A Active CN106296584B (en) | 2016-08-02 | 2016-08-02 | Method for fusion display of panoramic mosaic and local video or image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106296584B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109116433A (en) * | 2018-09-03 | 2019-01-01 | 深圳市华讯方舟太赫兹科技有限公司 | A kind of rays safety detection apparatus and its imaging method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101707671A (en) * | 2009-11-30 | 2010-05-12 | 杭州普维光电技术有限公司 | Panoramic camera and PTZ camera combined control method and panoramic camera and PTZ camera combined control device |
CN103327217A (en) * | 2012-03-23 | 2013-09-25 | 杭州普维光电技术有限公司 | Video processing method and video processing device |
CN103716595A (en) * | 2014-01-08 | 2014-04-09 | 深圳英飞拓科技股份有限公司 | Linkage control method and device for panoramic mosaic camera and dome camera |
CN103971375A (en) * | 2014-05-22 | 2014-08-06 | 中国人民解放军国防科学技术大学 | Panoramic gaze camera space calibration method based on image splicing |
CN104184994A (en) * | 2014-08-15 | 2014-12-03 | 杭州普维光电技术有限公司 | Camera and high-speed ball correlation control method |
US20150055839A1 (en) * | 2013-08-21 | 2015-02-26 | Seiko Epson Corporation | Intelligent Weighted Blending for Ultrasound Image Stitching |
CN105469379A (en) * | 2014-09-04 | 2016-04-06 | 广东中星电子有限公司 | Video target area shielding method and device |
-
2016
- 2016-08-02 CN CN201610635319.0A patent/CN106296584B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101707671A (en) * | 2009-11-30 | 2010-05-12 | 杭州普维光电技术有限公司 | Panoramic camera and PTZ camera combined control method and panoramic camera and PTZ camera combined control device |
CN103327217A (en) * | 2012-03-23 | 2013-09-25 | 杭州普维光电技术有限公司 | Video processing method and video processing device |
US20150055839A1 (en) * | 2013-08-21 | 2015-02-26 | Seiko Epson Corporation | Intelligent Weighted Blending for Ultrasound Image Stitching |
CN103716595A (en) * | 2014-01-08 | 2014-04-09 | 深圳英飞拓科技股份有限公司 | Linkage control method and device for panoramic mosaic camera and dome camera |
CN103971375A (en) * | 2014-05-22 | 2014-08-06 | 中国人民解放军国防科学技术大学 | Panoramic gaze camera space calibration method based on image splicing |
CN104184994A (en) * | 2014-08-15 | 2014-12-03 | 杭州普维光电技术有限公司 | Camera and high-speed ball correlation control method |
CN105469379A (en) * | 2014-09-04 | 2016-04-06 | 广东中星电子有限公司 | Video target area shielding method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109116433A (en) * | 2018-09-03 | 2019-01-01 | 深圳市华讯方舟太赫兹科技有限公司 | A kind of rays safety detection apparatus and its imaging method |
CN109116433B (en) * | 2018-09-03 | 2020-02-04 | 深圳市华讯方舟太赫兹科技有限公司 | Security check equipment and imaging method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106296584B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA3019163C (en) | Generating intermediate views using optical flow | |
Gluckman et al. | Real-time omnidirectional and panoramic stereo | |
Nayar | Omnidirectional video camera | |
US6947059B2 (en) | Stereoscopic panoramic image capture device | |
Peleg et al. | Cameras for stereo panoramic imaging | |
EP2993894B1 (en) | Image capturing method and electronic apparatus | |
US20180262789A1 (en) | System for georeferenced, geo-oriented realtime video streams | |
CN103971375A (en) | Panoramic gaze camera space calibration method based on image splicing | |
US10616483B1 (en) | Apparatus and method of generating electronic three-dimensional walkthrough environment | |
AU2003214899A1 (en) | Stereoscopic Panoramic Image Capture Device | |
KR101233948B1 (en) | Method and imaging system for obtaining digital pan·tilt images using rotationally symmetric wide-angle lens | |
JP2017529709A (en) | How to build an optical flow field | |
CN105025287A (en) | Method for constructing scene stereo panoramic image by utilizing video sequence images of rotary shooting | |
CN106296584A (en) | A kind of method that panoramic mosaic figure shows with local video or image co-registration | |
CN107644394B (en) | 3D image processing method and device | |
US10935878B2 (en) | Image processing apparatus, image processing method, and program | |
CN110036411B (en) | Apparatus and method for generating electronic three-dimensional roaming environment | |
Ha et al. | Embedded panoramic mosaic system using auto-shot interface | |
Ono et al. | Generation of panoramic images by two hemispherical cameras independent of installation location | |
WO2017160381A1 (en) | System for georeferenced, geo-oriented real time video streams | |
CN110796690B (en) | Image matching method and image matching device | |
JP2020071854A (en) | Image processing apparatus, image processing method, and program | |
Lin et al. | 360 Degree Fish Eye Optical Construction For Equirectangular Projection of Panoramic Images | |
CN110581959A (en) | Multiple imaging apparatus and multiple imaging method | |
KR101983727B1 (en) | Argument Reality Virtual Studio System |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Room 506, block C, 5 / F, building 3, No. 351, Changhe Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Hangzhou Puwei cloud Technology Co.,Ltd. Address before: 310052, room 4, building 2, building 500, No. 402 Qiu Yi Road, Hangzhou, Zhejiang, Binjiang District Patentee before: Puwell Technologies Co.,Ltd. |