CN107845111B - Method for generating middle-loop display area in infrared panoramic monitoring - Google Patents
Method for generating middle-loop display area in infrared panoramic monitoring Download PDFInfo
- Publication number
- CN107845111B CN107845111B CN201711164298.XA CN201711164298A CN107845111B CN 107845111 B CN107845111 B CN 107845111B CN 201711164298 A CN201711164298 A CN 201711164298A CN 107845111 B CN107845111 B CN 107845111B
- Authority
- CN
- China
- Prior art keywords
- circle
- ring
- target point
- rectangle
- axis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000009795 derivation Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 101000701876 Homo sapiens Serpin A9 Proteins 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 102000050111 human SERPINA9 Human genes 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- 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
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- 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/10048—Infrared image
-
- 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/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
-
- 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/30—Subject of image; Context of image processing
- G06T2207/30232—Surveillance
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Geometry (AREA)
- Image Analysis (AREA)
- Closed-Circuit Television Systems (AREA)
- Image Processing (AREA)
Abstract
The invention provides a method for generating a middle girdle display area in infrared panoramic monitoring, which comprises the steps of firstly connecting rectangular images end to form a circular ring, then calculating the scaling ratio of any line segment in the original rectangle, which is parallel to a long edge and has the same length with the long edge, to each corresponding circumference in the circular ring, further calculating the arc length of the distance between any target point in the circular ring from the left wide edge of the rectangle to the splicing line of the circular ring, further calculating the included angle between the target point and the splicing line, and finally calculating the coordinate of the target in the circular ring. The infrared panoramic monitoring image can be correspondingly displayed in the annular display area through converting the rectangular image into the annular image, and clear azimuth information is displayed.
Description
Technical Field
The invention belongs to the technical field of infrared monitoring processing, particularly relates to a method for generating an annular display area in infrared panoramic monitoring, and further relates to a method for converting a target in an infrared panoramic rectangular monitoring image into the annular display area for displaying.
Background
The infrared panoramic monitoring has the advantage of wide monitoring visual field and can provide 360-degree dead-angle-free monitoring. However, the 360-degree image of the infrared panoramic monitoring is not very convenient to display on a plane, the existing technical scheme divides the 360-degree infrared panoramic monitoring image into rectangular images to be displayed on a screen, when a target appears or moves, the direction of the target needs to be judged according to coordinate information, and the infrared panoramic monitoring system is not intuitive and easy to understand and does not have a sense of direction.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for generating an annular display area in infrared panoramic monitoring, which is characterized in that an infrared panoramic rectangular monitoring image is converted into an annular display image, and the azimuth information of a target around a monitoring point can be visually seen through annular display; the method is realized by splicing and zooming each line segment parallel to the long edge of the rectangle into a circumference through progressive zooming, so that the whole rectangle is converted into a circular ring.
The method comprises the steps of firstly connecting rectangular images end to form a circular ring, then calculating the scaling ratio from any line segment parallel to the long edge in the rectangle to each corresponding circumference, further calculating the arc length of the distance between any target point in the circular ring from the wide edge of the rectangle to the splicing line of the circular ring, further calculating the included angle between the target point and the splicing line, and finally calculating the coordinate of the target in the circular ring. The infrared panoramic monitoring image can be correspondingly displayed in the annular display area through converting the rectangular image into the annular image, and clear azimuth information is displayed.
In order to achieve the purpose, the invention adopts the following technical scheme:
1. a method for generating a middle girdle display area in infrared panoramic monitoring is characterized in that the long edge of an infrared panoramic rectangular frame is arranged along the direction of an x axis of a coordinate axis, and the length is w; the wide side of the rectangular frame runs along the y axis of the coordinate axis, the width is h, a target point A (x, y) observed in the panoramic rectangular frame is converted into an annular display area to be displayed, and the method comprises the following steps:
step 1: the left and right wide sides of the rectangular frame are spliced together to form a circular ring
Assuming that the center of the circle is the same as the coordinate of the upper left corner of the panoramic rectangular frame and is located at the origin (0, 0), the perimeter of the excircle of the circle is equal to the length w of the rectangle, the distance between two circles in the circle is equal to the width h of the rectangle, and the radius of the large circle of the circle is r1, the circle is divided into three parts, namely a circle center, a circle centerIn the conversion process, each line segment parallel to the long edge in the rectangle is progressively converted into the circumference between each large circle and each small circle in the circular ring;
step 2: the above-mentioned scaling p of each rectangular long side to each circular perimeter is calculated,
and step 3: calculating the arc length and included angle from the target point in the ring belt area to the joint line of the ring
Distance moment of target point A (x, y) on rectangleThe distance between the left wide side and the right wide side is x, the required arc lengthThe included angle theta between the target point (x1, y1) on the ring and the joint of the ring, the obtained arc length l is divided by the radius r2 of the circle C, and the process is simplified
And 4, step 4: calculating coordinates of target points in a girdle band
From the rectangle to the ring, the splicing line of the ring can be at any position, the included angle between the splicing line and the positive half shaft of the x axis is theta 1, and then the target point
Assuming that the splice line is located on the y-axis positive half axis (positive downward), the distance from the x-axis positive half axis to the splice line isThen
And 5: generalizing the coordinates of the target point on the ring when the outer circumference of the ring is an arbitrary value
Establishing the target in the ring belt area in the way that the outer circumference of the ring is equal to the length w of the long side of the rectangle; when the outer circumference is an arbitrary value b, the target point in the ring zone
Step 6: generalization when the width of the girdle region (the interval between two circles) is an arbitrary value, the coordinates of the target point in the girdle region
Establishing the target in the ring belt area, wherein the width of the ring is equal to the width h of the rectangle; when zooming a small circle in the ring, namely changing the width of the ring belt area from h to alpha h, the distance from the target point (x3, y3) in the ring to the outer circle of the ring is changed from y1 to alpha y1, and the radius r3 of the circle where the target point is located is changed to r 1-alpha y, namelyThe angle theta is not changed, therefore
And 7: the method is popularized to the coordinates of the target point in the girdle area when the circle center of the girdle area is at any position of the coordinate axis
The derivation is based on the assumption that the center of the circle is located at the origin of the coordinate axis (0, 0). When the center of the circle is moved to the point (p, q), the target point (x4, y4) in the girdle is (x3+ p, y3+ q).
Preferably, step 2 specifically comprises:
according to the condition setting for converting the rectangle into the circle in step 1, assuming that the coordinates of the target point a (x, y) in the rectangular frame in the annular display area are (x1, y1), the origin (0, 0) is taken as the center, the target point (x1, y1) is taken as a point on the circumference as a circle C, the radius of the circle C is r2, and then r2 is (r 1-y). This is because the distance from the target point a (x, y) to the long side of the rectangle in the rectangle is y; when converted into a zone, the distance of the target point (x1, y1) from the outer circle circumference is y, so the radius of the circle on which the target point (x1, y1) is located, i.e. the circle C, is r2 ═ r 1-y; the circumference l of the circle C is 2 pi r2 pi 2 pi (r1-y), and the circumference l is w-2 pi y after simplification; scaling
The invention can convert the infrared panoramic monitoring image into the annular belt image to be displayed, can observe the directions of all targets visually by observing the annular belt image, and can perform self-defined setting on the outer circumference, the inner circumference and the circle center of the converted annular belt image so as to optimize the display effect.
Drawings
Figure 1 is a rectangular box display of an infrared panoramic surveillance image,
fig. 2 is a ring-band display of an infrared panoramic surveillance image.
Detailed Description
The invention provides a method for generating a middle-zone display area in infrared panoramic monitoring, which comprises the following steps:
the long edge of the infrared panoramic rectangular frame runs along the x axis of the coordinate axis (the x axis is positive to the right), and the length is w; the wide side of the rectangular frame runs along the y axis of the coordinate axis (the lower part of the y axis is positive), and the width is h. A target point a (x, y) is observed in the infrared panoramic rectangular box, as shown in fig. 1:
the target point A (x, y) observed in the panoramic rectangular frame is converted and displayed in the annular display area,
step 1: the left and right wide sides of the rectangular frame are spliced together to form a circular ring
The center of the circle is assumed to be the same as the coordinate of the upper left corner of the panoramic rectangular frame, and the circle and the coordinate are both located at the origin (0, 0). The circumference of the excircle of the ring is equal to the length w of the rectangle, the distance between two circles in the ring is equal to the width h of the rectangle, and the radius of the large circle of the ring is r1, thenDuring the transformation, each line segment parallel to the long side in the rectangle is progressively transformed into the circumference of each of the large and small circles in the circle.
Step 2: calculating the scaling ratio rho from each rectangular long edge to each circular perimeter
According to the condition setting for converting the rectangle into the circle in step 1, the coordinates of the target point a (x, y) in the rectangular frame in the zone display area are set to (x1, y 1). With the origin (0, 0) as the center, the target point (x1,y1) is a point on the circumference as a circle C, the radius of the circle C is r2, and then r2 is (r 1-y). This is because the distance from the target point a (x, y) to the long side of the rectangle in the rectangle is y. When converted into a zone, the distance of the target point (x1, y1) from the outer circle circumference is y, so the radius of the circle on which the target point (x1, y1) is located, i.e. circle C, is r2 ═ r 1-y. The circumference l of the circle C is 2 pi r2 pi 2 pi (r1-y), and after simplification, the circumference l is w-2 pi y. Thus scaling
And step 3: calculating the arc length and included angle from the target point in the ring belt area to the joint line of the ring
The distance from the target point A (x, y) on the rectangle to the left wide side of the rectangle is x, and the arc length is obtainedAccording to the arc length formula, the arc length is the included angle (radian) and the radius, the included angle theta between the target point (x1, y1) on the circular ring and the splicing part of the circular ring can be obtained, namely the obtained arc length l is divided by the radius r2 of the circle C, and the operation is simplifiedAs shown in fig. 2:
and 4, step 4: calculating coordinates of target points in a girdle band
From the rectangle to the ring, the splicing line of the ring can be at any position, the included angle between the splicing line and the positive half shaft of the x axis is theta 1, and then the target point
For example, assuming the splice line is located on the positive y-axis half (positive downward), the positive x-axis half is located a distance from the splice lineThen
And 5: generalizing the coordinates of the target point on the ring when the outer circumference of the ring is an arbitrary value
The above-found target in the ring belt region is established at the outer circumference of the ring equal to the length w of the long side of the rectangle. When the outer circumference is an arbitrary value b, the target point in the ring zone
Step 6: generalization when the width of the girdle region (the interval between two circles) is an arbitrary value, the coordinates of the target point in the girdle region
The above-found target in the ring zone is established when the width of the ring is equal to the width h of the rectangle. When zooming a small circle in the ring, i.e., changing the width of the girdle region from h to α h, the distance from the target point (x3, y3) in the ring to the outer circle of the ring changes from y1 to α y1, and the radius r3 of the circle where the target point is located changes to r1- α y, i.e., the radius r3 of the circle where the target point is located changes to r1- α yThe angle theta is not changed, therefore
And 7: the method is popularized to the coordinates of the target point in the girdle area when the circle center of the girdle area is at any position of the coordinate axis
The derivation is based on the assumption that the center of the circle is located at the origin of the coordinate axis (0, 0). When the center of the circle is moved to the point (p, q), the target point (x4, y4) in the girdle is (x3+ p, y3+ q).
Example 1
Setting the length of a rectangular image monitored by the infrared panorama as w and the width as h, converting the rectangular image into a circular image with the outer circumference as b, the width of a circular ring as alpha h, the included angle between a splicing part and an x axis as theta 1, and the circle center of the circular ring as (p, q), observing a target point (x, y) in the infrared panorama rectangular frame, and correspondingly converting the coordinate of the circular ring into the coordinate as follows:
Claims (2)
1. a method for generating a middle girdle display area in infrared panoramic monitoring is characterized in that the long edge of an infrared panoramic rectangular frame is arranged along the direction of an x axis of a coordinate axis, and the length is w; the wide side of the rectangular frame runs along the y axis of the coordinate axis, the width is h, a target point A (x, y) observed in the panoramic rectangular frame is converted into an annular display area to be displayed, and the method comprises the following steps:
step 1: the left and right wide sides of the rectangular frame are spliced together to form a circular ring
Assuming that the center of the circle is the same as the coordinate of the upper left corner of the rectangular frame and is located at the origin (0, 0), the perimeter of the outer circle of the circle is equal to the length w of the rectangle, the distance between two circles in the circle is equal to the width h of the rectangle, and the radius of the large circle of the circle is r1, the circle is divided into two partsIn the conversion process, each line segment parallel to the long edge in the rectangle is progressively converted into the circumference between each large circle and each small circle in the circular ring;
step 2: the above-mentioned scaling p of each rectangular long side to each circular perimeter is calculated,
and step 3: calculating the arc length and included angle from the target point in the ring belt area to the joint line of the ring
The distance from the target point A (x, y) on the rectangle to the left wide side of the rectangle is x, and the arc length is obtained The included angle theta between the target point (x1, y1) on the ring and the joint of the ring, the obtained arc length l is divided by the radius r2 of the circle C, and the process is simplified
And 4, step 4: calculating coordinates of target points in a girdle band
From the rectangle to the ring, the splicing line of the ring can be at any position, the included angle between the splicing line and the positive half shaft of the x axis is theta 1, and then the target point
If the splicing line is located on the positive half axis of the y-axis, the y-axis is positive downwards, and the distance from the positive half axis of the x-axis to the splicing line isThen
And 5: generalizing the coordinates of the target point on the ring when the outer circumference of the ring is an arbitrary value
Establishing the target in the ring belt area in the way that the outer circumference of the ring is equal to the length w of the long side of the rectangle; when the outer circumference is an arbitrary value b, the target point in the ring zone
Step 6: generalizing the coordinates of the target point in the girdle area when the width of the girdle area, i.e. the interval between two circles, is an arbitrary value
Establishing the target in the ring belt area, wherein the width of the ring is equal to the width h of the rectangle; when zooming a small circle in the ring, namely changing the width of the ring belt area from h to alpha h, the distance from the target point (x3, y3) in the ring to the outer circle of the ring is changed from y1 to alpha y1, and the radius r3 of the circle where the target point is located is changed to r 1-alpha y, namelyThe angle theta is not changed, therefore
And 7: the method is popularized to the coordinates of the target point in the girdle area when the circle center of the girdle area is at any position of the coordinate axis
The derivation is established on the assumption that the center of a circle of the circular ring is located at the origin (0, 0) of a coordinate axis; when the center of the circle is moved to the point (p, q), the target point (x4, y4) in the girdle is (x3+ p, y3+ q).
2. The method for generating a girdle display area in infrared panoramic monitoring as claimed in claim 1, wherein the step 2 specifically comprises:
according to the condition setting for converting the rectangle into the circle in step 1, assuming that the coordinates of the target point a (x, y) in the rectangular frame in the annular display area are (x1, y1), the origin (0, 0) is taken as the center of the circle, the target point (x1, y1) is taken as a point on the circumference as a circle C, the radius of the circle C is r2, and then r2 is (r 1-y); this is because the distance from the target point a (x, y) to the long side of the rectangle in the rectangle is y; when converted into a zone, the distance of the target point (x1, y1) from the outer circle circumference is y, so the radius of the circle on which the target point (x1, y1) is located, i.e. the circle C, is r2 ═ r 1-y; the circumference l 'of the circle C is 2 pi r2 pi 2 pi (r1-y), and the circumference l' is w-2 pi y after simplification; scaling
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711164298.XA CN107845111B (en) | 2017-11-21 | 2017-11-21 | Method for generating middle-loop display area in infrared panoramic monitoring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711164298.XA CN107845111B (en) | 2017-11-21 | 2017-11-21 | Method for generating middle-loop display area in infrared panoramic monitoring |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107845111A CN107845111A (en) | 2018-03-27 |
CN107845111B true CN107845111B (en) | 2021-06-25 |
Family
ID=61679449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711164298.XA Active CN107845111B (en) | 2017-11-21 | 2017-11-21 | Method for generating middle-loop display area in infrared panoramic monitoring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107845111B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685720B (en) * | 2018-12-28 | 2023-04-28 | 北京工业大学 | Method for selecting multiple display areas in infrared panoramic monitoring software |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7205546B1 (en) * | 2003-09-12 | 2007-04-17 | Kennedy Stephen W | Spherical PET mammography scanner |
CN101079151A (en) * | 2006-10-13 | 2007-11-28 | 浙江师范大学 | 360 degree around panorama generation method based on serial static image |
CN101442618A (en) * | 2008-12-31 | 2009-05-27 | 葛晨阳 | Method for synthesizing 360 DEG ring-shaped video of vehicle assistant drive |
CN102905086A (en) * | 2012-10-17 | 2013-01-30 | 中国人民解放军第四军医大学 | CCD (Charge-Coupled Device) photoreceptor for panorama shooting |
CN103208120A (en) * | 2013-04-01 | 2013-07-17 | 南京理工大学 | Comprehensive tangential and radial two-approximate-circle correction and unwrapping method for panoramic annular images |
-
2017
- 2017-11-21 CN CN201711164298.XA patent/CN107845111B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7205546B1 (en) * | 2003-09-12 | 2007-04-17 | Kennedy Stephen W | Spherical PET mammography scanner |
CN101079151A (en) * | 2006-10-13 | 2007-11-28 | 浙江师范大学 | 360 degree around panorama generation method based on serial static image |
CN101442618A (en) * | 2008-12-31 | 2009-05-27 | 葛晨阳 | Method for synthesizing 360 DEG ring-shaped video of vehicle assistant drive |
CN102905086A (en) * | 2012-10-17 | 2013-01-30 | 中国人民解放军第四军医大学 | CCD (Charge-Coupled Device) photoreceptor for panorama shooting |
CN103208120A (en) * | 2013-04-01 | 2013-07-17 | 南京理工大学 | Comprehensive tangential and radial two-approximate-circle correction and unwrapping method for panoramic annular images |
Also Published As
Publication number | Publication date |
---|---|
CN107845111A (en) | 2018-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011114610A1 (en) | Omnidirectional image processing device and omnidirectional image processing method | |
US10375305B2 (en) | Information processing device, imaging device, information processing method, and program | |
US9836938B2 (en) | Shovel having audio output device installed in cab | |
CN107945227B (en) | Method for generating radar display area in infrared panoramic monitoring | |
JP6786378B2 (en) | Information processing equipment, information processing methods and programs | |
US20160078298A1 (en) | Surveillance Method and Camera System Using the Same | |
EP2642754A1 (en) | Image generating device and operation assistance system | |
CN106028117A (en) | Image processing method and device | |
CN107845111B (en) | Method for generating middle-loop display area in infrared panoramic monitoring | |
US10136101B2 (en) | Information processing apparatus, communication system, and information processing method | |
CN112399033A (en) | Camera assembly and monitoring camera | |
JP2015114424A (en) | Electronic equipment, display device, method, and program | |
TWI477817B (en) | Display and method of displaying three-dimensional images with different parallax | |
CN104700409B (en) | A method of according to monitoring objective adjust automatically preset positions of camera | |
JP2017034511A (en) | Moving body detection system | |
CN112767487A (en) | Robot positioning method, device and system | |
CN108629732A (en) | Vehicle looks around panorama image generation method, device and vehicle | |
CN102946508A (en) | Panoramic video camera | |
CN105491340A (en) | System and method of processing of video monitoring images | |
US11800080B2 (en) | Distribution image generation method | |
CN109685720B (en) | Method for selecting multiple display areas in infrared panoramic monitoring software | |
CN107945160A (en) | The identification method of target is paid close attention in a kind of infrared panorama police radar viewing area | |
JP2014154904A (en) | Bird's-eye-view image presentation device | |
CN106296642A (en) | The method that vehicle-mounted viewing system photographic head inside and outside parameter is disposably demarcated | |
CN110992261A (en) | Method for quickly splicing images of unmanned aerial vehicle of power transmission line |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |