CN108257110B - Tracking display method for target in infrared panoramic monitoring - Google Patents
Tracking display method for target in infrared panoramic monitoring Download PDFInfo
- Publication number
- CN108257110B CN108257110B CN201711164289.0A CN201711164289A CN108257110B CN 108257110 B CN108257110 B CN 108257110B CN 201711164289 A CN201711164289 A CN 201711164289A CN 108257110 B CN108257110 B CN 108257110B
- Authority
- CN
- China
- Prior art keywords
- display area
- main display
- target
- coordinates
- width
- 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
Images
Classifications
-
- 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
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/24—Aligning, centring, orientation detection or correction of the image
- G06V10/245—Aligning, centring, orientation detection or correction of the image by locating a pattern; Special marks for positioning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/52—Surveillance or monitoring of activities, e.g. for recognising suspicious objects
-
- 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/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)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The invention discloses a tracking display method of a target in infrared panoramic monitoring, which utilizes the real-time coordinate of the target to adjust the real-time coordinate and the size of the target when the target is displayed in a main display area. When the target moves, the main display area can track and display the moving target in real time, and the size and the coordinate position of the main display area are replanned according to the position of the target, so that the target can be displayed in the middle of the main display area.
Description
Technical Field
The invention belongs to the technical field of infrared monitoring processing, and particularly relates to a tracking display method of a target in infrared panoramic monitoring, which enables a main display area to track and display a moving target in real time.
Background
The infrared panoramic monitoring has the advantage of wide monitoring visual field and can provide 360-degree dead-angle-free monitoring. However, there are many targets in the panoramic monitoring display area, and in order to better observe the targets, one or more key targets in the panoramic display area need to be dragged into the main display area. However, in the prior art, when the target moves, the main display area cannot track and display the moving target in real time, thereby causing an obstacle to the observation of the movement of the key target.
Disclosure of Invention
The invention aims to provide a tracking display method of a target in infrared panoramic monitoring, which utilizes the real-time coordinate of the target to adjust the real-time coordinate and the size of a main display area. When the target moves, the main display area can track and display the moving target in real time, and the size and the coordinate position of the main display area are replanned according to the position of the target, so that the target can be displayed in the middle of the main display area.
In order to achieve the purpose, the invention adopts the following technical scheme:
a tracking display method of a target in infrared panoramic monitoring comprises the following steps:
step 1: assigning a value to the main display area according to the size and the coordinates of a selection frame for selecting the tracking target in the panoramic display area;
step 2: obtaining a target which needs to be tracked and displayed in a main display area at present;
and step 3: adjusting the length, the width and the coordinates of the main display area according to the real-time moving coordinates of the target;
if the size of the array returned in the step 2 is 0, keeping the length, the width and the coordinates of the main display area unchanged;
if the size of the array returned in the step 2 is larger than 0, the length, the width and the coordinates of the main display area are readjusted to enable the selected target to be located in the middle of the main display area;
and 4, step 4: adjusting the coordinates of the upper left corner of the display area to enable the target to be located in the middle of the display area
And 5: adjusting the length, width and coordinates of the main display area according to the selected state
There are two states of displaying the target in the main display area: one is original selection, and the other is no deformation;
if the 'original selection' state is selected, cutting out the corresponding picture in the panoramic display area according to the length, the width and the coordinates obtained in the step 3, and directly displaying the cut-out picture in the main display area;
if the 'no deformation' state is selected, the width displayed by the main display area is equal to the ratio of the length of the current main display area to the length of the original main display area multiplied by the width of the current main display area; cutting out a corresponding picture in the panoramic display area according to the adjusted length and width, and displaying the cut-out picture in the main display area; and marking scale of coordinate axes in the main display area according to the coordinate of the selected target.
The specific method for adjustment in the preferred step 3 is: firstly, the minimum rectangle which can define all the selected targets in the panoramic display area is calculated, and the steps of calculating the minimum rectangle which can define all the targets are as follows:
step 3.1: finding out the maximum and minimum values of the y coordinates in all selected targets, and subtracting to obtain the width of a minimum matrix;
step 3.2: finding a minimum line segment which can cover the x coordinates of all the selected targets;
step 3.3: the starting point and the end point of the minimum line segment are used as the maximum value and the minimum value of the x coordinate;
step 3.4: and determining a minimum rectangle capable of delineating all the targets according to the maximum and minimum x coordinate and the y coordinate.
The invention can track the movement of the target to display the target in the main display area, and timely adjust the coordinate and the size of the main display area according to the real-time coordinate of the moving target, so that the main display area not only can track the display target in real time, but also can display the target in the middle position of the main display area, thereby being convenient for better observing the tracked target.
Drawings
FIG. 1 is a diagram illustrating a selection box for selecting a target to be tracked and displayed in an infrared detection panoramic display area;
FIG. 2 is a case of dragging the selection box of FIG. 1 to the main display area tracking;
fig. 3 is a schematic flow chart of a target tracking and displaying method in infrared panoramic monitoring according to the present invention.
Detailed Description
As shown in fig. 3, the present invention provides a method for tracking and displaying a target in infrared panoramic monitoring, which comprises the following steps:
step 1: and assigning a value to the main display area according to the size and the coordinates of the selection box for selecting the tracking target in the panoramic display area, as shown in fig. 1.
And obtaining the length and width of a selection frame drawn in the panoramic monitoring and the coordinates of the upper left point, and assigning the coordinates to the main display area.
Step 2: obtaining the target needing to be tracked and displayed in the main display area
When the target selected in the selection box in the panorama display is dragged into the main display area, the main display area is displayed following the movement of the selected target. However, the displacement of all the objects is not highly regular, and there may be a case where a certain object is not selected at the time of selection, but moves to a position close to the selected object afterwards, and is displayed in the main display area, as shown in fig. 2.
Therefore, whether all the target points currently displayed in the main display area are the target points selected by the selection frame is judged, and the array of all the target points currently displayed in the main display area and selected by the selection frame is returned.
And step 3: adjusting the length, width and coordinates of the main display area according to the real-time moving coordinates of the target
And if the size of the array returned in the step 2 is 0, keeping the length, the width and the coordinates of the main display area unchanged.
And if the size of the array returned in the step 2 is larger than 0, re-adjusting the length, the width and the coordinates of the main display area to enable the selected target to be located in the middle of the main display area.
The specific method for adjusting is as follows: first, the smallest rectangle that can enclose all the selection targets in the panoramic display area is calculated. But because the infrared panoramic monitoring is 360 degrees, the infrared panoramic monitoring is cut into two rectangular panoramic display areas of 0-180 degrees and 180-360 degrees for the convenience of display. Therefore, when the selected object spans two panoramic display areas, the long side of the minimum matrix to be selected cannot be obtained simply by subtracting the two x-coordinate maxima of all the selected objects. The steps of calculating the smallest rectangle that can circumscribe all objects are as follows:
step 3.1: and finding out the maximum and minimum values of the y coordinates in all the selected targets, and subtracting to obtain the width of the minimum matrix.
Step 3.2: finding a minimum line segment that covers all x-coordinates of the selected object
Since infrared panoramic monitoring is 360 °, even if the panoramic display is cut in two, in fact, the right border of the first panoramic display is connected to the left border of the second panoramic display; the left boundary of the first panoramic display area and the right boundary of the second panoramic display area are the same line segment in the complete panoramic display area.
Therefore, among all the targets that need to be selected, every two adjacent points a (x1, y1) and B (x2, y2) are chosen in order (a is on the left side of B). When B is the leftmost object in the panoramic display, the rightmost object in the panoramic display is considered a by the nature of the 360 ° panorama. The minimum value of (pano.width + x1-x 2)% pano.width (where pano.width is the length of the panoramic display area image) is calculated as the minimum covered line segment.
Step 3.3: the starting point and the end point of the minimum line segment are used as the maximum value and the minimum value of the x coordinate
Step 3.4: and determining a minimum rectangle capable of delineating all the targets according to the maximum and minimum x coordinate and the y coordinate.
And 4, step 4: adjusting the coordinates of the upper left corner of the display area to enable the target to be located in the middle of the display area
Making the x coordinate of the upper left corner of the main display area equal to the maximum value plus the minimum value of the x coordinates in all targets in the selection frame minus the width of the main display area and then dividing by 2; and enabling the y coordinate at the upper left corner of the display area to be equal to the maximum value and the minimum value of the y coordinates in all the targets in the selection box, subtracting the width of the main display area and then dividing by 2.
And 5: adjusting the length, width and coordinates of the main display area according to the selected state
There are two states of displaying the target in the main display area: one is original selection and one is no deformation.
If the "original selection" state is selected, the corresponding screen is cut out in the panoramic display area according to the length, width and coordinates obtained in step 3, and the cut-out screen is directly displayed in the main display area.
If the 'no deformation' state is selected, the width displayed by the main display area is equal to the ratio of the length of the current main display area to the length of the original main display area multiplied by the width of the current main display area. And cutting out a corresponding picture in the panoramic display area according to the adjusted length and width, and displaying the cut-out picture in the main display area. And marking scale of coordinate axes in the main display area according to the coordinate of the selected target.
The invention provides a method for tracking and displaying a target in infrared panoramic monitoring. And adjusting the length, the width and the coordinates of the main display area in real time according to the real-time moving coordinates of the target. The length and width and coordinates of the main display area are adjusted according to the selected state to determine whether to display the target in a deformed manner.
Claims (1)
1. A tracking display method of a target in infrared panoramic monitoring is characterized by comprising the following steps:
step 1: assigning a value to the main display area according to the size and the coordinates of a selection frame for selecting the tracking target in the panoramic display area;
step 2: obtaining a target which needs to be tracked and displayed in a main display area at present;
judging whether all the target points currently displayed in the main display area are the target points selected by the selection frame or not, and returning to the array of all the target points currently displayed in the main display area and selected by the selection frame;
and step 3: adjusting the length, the width and the coordinates of the main display area according to the real-time moving coordinates of the target;
if the size of the array returned in the step 2 is 0, keeping the length, the width and the coordinates of the main display area unchanged;
if the size of the array returned in the step 2 is larger than 0, the length, the width and the coordinates of the main display area are readjusted to enable the selected target to be located in the middle of the main display area;
the specific method for adjusting in step 3 is as follows: firstly, the minimum rectangle which can define all the selected targets in the panoramic display area is calculated, and the steps of calculating the minimum rectangle which can define all the targets are as follows:
step 3.1: finding out the maximum and minimum values of the y coordinates in all selected targets, and subtracting to obtain the width of a minimum matrix;
step 3.2: finding a minimum line segment which can cover the x coordinates of all the selected targets;
step 3.3: the starting point and the end point of the minimum line segment are used as the maximum value and the minimum value of the x coordinate;
step 3.4: determining a minimum rectangle capable of delineating all targets according to the maximum and minimum x coordinate and y coordinate;
and 4, step 4: adjusting the coordinate of the upper left corner of the display area to enable the target to be located in the middle of the display area;
and 5: adjusting the length, the width and the coordinates of the main display area according to the selected state; there are two states of displaying the target in the main display area: one is original selection, and the other is no deformation; if the 'original selection' state is selected, cutting out the corresponding picture in the panoramic display area according to the length, the width and the coordinates obtained in the step 3, and directly displaying the cut-out picture in the main display area; if the 'no deformation' state is selected, the width displayed by the main display area is equal to the ratio of the length of the current main display area to the length of the original main display area multiplied by the width of the current main display area; cutting out a corresponding picture in the panoramic display area according to the adjusted length and width, and displaying the cut-out picture in the main display area; and marking scale of coordinate axes in the main display area according to the coordinate of the selected target.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711164289.0A CN108257110B (en) | 2017-11-21 | 2017-11-21 | Tracking display method for target in infrared panoramic monitoring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711164289.0A CN108257110B (en) | 2017-11-21 | 2017-11-21 | Tracking display method for target in infrared panoramic monitoring |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108257110A CN108257110A (en) | 2018-07-06 |
CN108257110B true CN108257110B (en) | 2021-03-23 |
Family
ID=62721427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711164289.0A Active CN108257110B (en) | 2017-11-21 | 2017-11-21 | Tracking display method for target in infrared panoramic monitoring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108257110B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109683787A (en) * | 2018-12-28 | 2019-04-26 | 北京工业大学 | A kind of method of the more display field definitions of infrared panorama monitoring software and operation monitoring area |
CN112788426A (en) * | 2020-12-30 | 2021-05-11 | 北京安博盛赢教育科技有限责任公司 | Display method, device, medium and electronic equipment of function display area |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102006461A (en) * | 2010-11-18 | 2011-04-06 | 无锡中星微电子有限公司 | Joint tracking detection system for cameras |
CN103105858A (en) * | 2012-12-29 | 2013-05-15 | 上海安维尔信息科技有限公司 | Method capable of amplifying and tracking goal in master-slave mode between fixed camera and pan tilt zoom camera |
CN104902236A (en) * | 2015-05-27 | 2015-09-09 | 深圳英飞拓科技股份有限公司 | Linkage control method and device for monitoring equipment |
CN105809654A (en) * | 2014-12-29 | 2016-07-27 | 深圳超多维光电子有限公司 | Target object tracking method and device, and stereo display equipment and method |
US9536320B1 (en) * | 2014-12-23 | 2017-01-03 | John H. Prince | Multiple coordinated detectors for examination and ranging |
-
2017
- 2017-11-21 CN CN201711164289.0A patent/CN108257110B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102006461A (en) * | 2010-11-18 | 2011-04-06 | 无锡中星微电子有限公司 | Joint tracking detection system for cameras |
CN103105858A (en) * | 2012-12-29 | 2013-05-15 | 上海安维尔信息科技有限公司 | Method capable of amplifying and tracking goal in master-slave mode between fixed camera and pan tilt zoom camera |
US9536320B1 (en) * | 2014-12-23 | 2017-01-03 | John H. Prince | Multiple coordinated detectors for examination and ranging |
CN105809654A (en) * | 2014-12-29 | 2016-07-27 | 深圳超多维光电子有限公司 | Target object tracking method and device, and stereo display equipment and method |
CN104902236A (en) * | 2015-05-27 | 2015-09-09 | 深圳英飞拓科技股份有限公司 | Linkage control method and device for monitoring equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108257110A (en) | 2018-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8515130B2 (en) | Conference system, monitoring system, image processing apparatus, image processing method and a non-transitory computer-readable storage medium | |
US12033289B2 (en) | Method and system for visualizing overlays in virtual environments | |
EP3114658B1 (en) | Intrusion detection with directional sensing | |
WO2020206708A1 (en) | Obstacle recognition method and apparatus, computer device, and storage medium | |
US10572716B2 (en) | Processing uncertain content in a computer graphics system | |
US20190268509A1 (en) | Image processing device, image processing method, and recording medium | |
JP7028513B2 (en) | Event data stream processing method and computing equipment | |
US9576335B2 (en) | Method, device, and computer program for reducing the resolution of an input image | |
WO2017156949A1 (en) | Transparent display method and transparent display apparatus | |
JP2010128727A (en) | Image processor | |
WO2018213702A1 (en) | Augmented reality system | |
CN108257110B (en) | Tracking display method for target in infrared panoramic monitoring | |
CN111783675A (en) | Intelligent city video self-adaptive HDR control method based on vehicle semantic perception | |
CN101146216B (en) | Video positioning and parameter computation method based on picture sectioning | |
JP2022501751A (en) | Systems and methods for selecting complementary images from multiple images for 3D geometric extraction | |
KR101700651B1 (en) | Apparatus for tracking object using common route date based on position information | |
US20090213121A1 (en) | Image processing method and apparatus | |
CN108055500B (en) | Continuous display method for two panoramic display areas in infrared panoramic monitoring | |
US20180108173A1 (en) | Method for improving occluded edge quality in augmented reality based on depth camera | |
CN112667137B (en) | Switching display method and device for house type graph and house three-dimensional model | |
CN112862976B (en) | Data processing method and device and electronic equipment | |
AU2021392727A9 (en) | Collaborative augmented reality measurement systems and methods | |
JP6187322B2 (en) | Image display device and image display system | |
CN107526479B (en) | Method, device and system for displaying environment quantity acquired by sensor | |
CN105975165B (en) | Display control method of fisheye menu |
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 |