Continuous display method for two panoramic display areas in infrared panoramic monitoring
Technical Field
The invention belongs to the technical field of infrared monitoring processing, and particularly relates to a continuous display method for two panoramic display areas in infrared panoramic monitoring, which further relates to continuous display of the two panoramic display areas in the infrared panoramic monitoring, so that a 360-degree monitoring image of the infrared panoramic monitoring can be displayed in the two rectangular display areas, and the movement of a target can be continuously displayed in the two panoramic display areas.
Background
The infrared panoramic monitoring has the advantage of wide monitoring visual field and can provide 360-degree dead-angle-free monitoring. Due to the large frame size of the infrared panoramic monitoring, a rectangular panoramic view display is generally used. However, one rectangular panoramic view is inconvenient for displaying a monitoring image of 360 degrees completely, and is generally formed by splicing two rectangular panoramic display areas each displaying a monitoring image of 180 degrees. When two panoramic display areas are used, a complete 360-degree infrared panoramic surveillance map is cut into two rectangular images with two interrupt locations. When the target finishes walking the first rectangular panoramic display area, the target cannot continuously enter the second rectangular panoramic display area for continuous display; when the target runs out of the second rectangular panoramic display area, the target also cannot return to the first rectangular panoramic display area for continuous display. In order to observe a certain target or several targets, a certain monitored image range of the panoramic display area is usually enlarged and displayed in the main display area, so that the main display area tracks the movement of the target, and images around the target are dynamically acquired from the panoramic display area. When the target moves to the interrupt position in the panoramic display area, the main display area cannot effectively track the target, and obstacles are brought to the observation of the movement of the key target.
Disclosure of Invention
The invention aims to provide a continuous display method of two panoramic display areas in infrared panoramic monitoring, which can continuously display targets of the two panoramic display areas in the infrared panoramic monitoring, and can connect the boundary positions of the two panoramic display areas and continuously display the targets in the two panoramic display areas by the technologies of cloning and splicing images, recombining image boundary lines, repeatedly calibrating the targets and the like. When the object to be magnified is observed in the main display area, by the method of continuous display of the present invention, the magnified area can be continuously displayed across the interruption position even if the object moves at the boundary of the two panoramic display areas.
In order to achieve the purpose, the invention adopts the following technical scheme:
a continuous display method for two panoramic display areas in infrared panoramic monitoring comprises the following steps:
step 1: cloning an infrared panoramic monitoring 360-degree rectangular Image1 to generate an identical Image copy Image 2;
step 2: two identical rectangular images, namely Image1 and Image2, are spliced into a long Image3 through narrow edges;
and step 3: the panorama display area 1 is always located from the longer side of Image3
Location to Image3
Monitoring images intercepted at the positions;
and 4, step 4: the panoramic display area 2 is always from the long side of Image3
Location start to Image3
Monitoring images of the position size;
and 5: when the targets appear, the targets are identified in Image3 according to the coordinates of the targets, and each target is marked twice in Image 3;
step 6: when a target of interest needs to be enlarged and tracked in the main display area, intercepting the whole Image 3; the intercepted Image can be a part of the whole Image1, or can be a part of the Image1 which is connected with the Image2 from 180-360 degrees to 0-180 degrees, and the two selection methods are adopted; at this time, it is necessary to determine which of the two methods the selected image passes; the judgment criteria are: selecting a target which can contain all objects needing attention and minimizing the intercepted image; the specific selection method is as follows:
in the range of the two methods for intercepting the image, two targets with the minimum x coordinate and the maximum x coordinate in the targets needing attention are selected as a starting point and an end point, and the absolute value of the two targets is the length of the intercepted image. And tracking and displaying the image with smaller image length as a main display area.
Preferably, the rules identified in step 5 are: first, the original x coordinate of the object is marked on Image3, and the new x coordinate of the object is marked on Image3 by adding the length of the long side of the original monitor Image1 to the original x coordinate of the object.
Drawings
FIG. 1 is a schematic view of a situation when two objects span 180 degrees of a panoramic display area;
fig. 2 is a schematic view of a first solution mentioned in step 6;
FIG. 3 is a schematic view of the situation when two objects span 360 degrees of the panoramic display area;
FIG. 4 is a schematic view of a second solution mentioned in step 6;
fig. 5 is a flowchart of a continuous display method for two panoramic display areas in infrared panoramic monitoring.
In fig. 1 to 4, dots and stars in 4 figures represent two different targets, respectively.
Detailed Description
The invention provides a continuous display method of two panoramic display areas in infrared panoramic monitoring, which comprises the following steps:
step 1: cloning of the infrared panorama surveillance 360 ° rectangular Image1 generates an identical Image copy Image 2.
Step 2: two identical rectangular images, namely Image1 and Image2, are combined into a long Image3 through narrow-edge splicing.
And step 3: the panorama display area 1 is always located from the longer side of Image3
Location to Image3
The truncated surveillance image (i.e., 0-180 of the 360 panoramic surveillance image) is located.
And 4, step 4: the panoramic display area 2 is always from the long side of Image3
Location start to Image3
A position-sized monitor image (i.e., 180-360 of a 360 panoramic monitor image).
And 5: when the object appears, the object is identified in Image3 according to the coordinates of the object, and the identification rule is as follows: first, the original x coordinate of the object is marked on Image3, and the new x coordinate of the object is marked on Image3 by adding the length of the long side of the original monitor Image1 to the original x coordinate of the object. Each object is now labeled twice in Image 3.
Step 6: when an object of interest needs to be enlarged to track in the main display area, the enlarged Image is not captured in the panoramic display area 1 or 2, but is captured in the entire Image 3. This allows continuous acquisition of images for display even if the object crosses the boundary of the panoramic display area 1 or 2. Because each object needing attention to tracking appears twice in Image3, the captured Image may be a portion of the entire Image1(0 ° -360 °) (method 1) or may be a portion of the Image 180 ° -360 ° connected to Image2 from Image1 (method 2), both selection methods. At this time, it is necessary to determine which of the two methods the selected image passes. The judgment criteria are: the selection can contain all the objects that need attention and minimize the intercepted image. The specific selection method is as follows:
in the range of the two methods for intercepting the image, two targets with the minimum x coordinate and the maximum x coordinate in the targets needing attention are selected as a starting point and an end point, and the absolute value of the two targets is the length of the intercepted image. And tracking and displaying the image with smaller image length as a main display area.
The case of using the method 1 is illustrated in fig. 1 and 2; fig. 3 and 4 show the case of using the method 2.
The invention provides a continuous display method of two panoramic display areas in infrared panoramic monitoring, which comprises the steps of cloning and copying a 360-degree rectangular image of the infrared panoramic monitoring, and splicing an original rectangular image and a copied rectangular image. Marking the target information on the spliced image, andand the x coordinate of the image is subjected to secondary drawing after the length of the original 360-degree image is added. From stitched images
Position start intercept
The length is taken as the image of the panoramic display area 1; from stitched images
Position start intercept
The length is taken as the image of the panoramic display area 2. And (4) for the image used for tracking the attention target in the main display area, intercepting the spliced image according to the coordinate information so as to enable the spliced image to be continuously displayed.