A multi-path video-based panoramic splicing intelligent display method and system and a storage medium

By using an environmental template library and a panoramic stitching intelligent display method based on dynamic and static feature extraction, the problem of edge distortion of panoramic images in mobile devices is solved, and the visual stability and adaptability of the panoramic stitching system under dynamic conditions are improved.

CN123160339APending Publication Date: 2026-11-24昆山森启智能科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611203678.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-10
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing multi-channel video stitching technology is prone to problems such as local distortion at the edges of panoramic images, image overlap, pixel redundancy, blurred boundaries, and flickering when mobile devices are used due to dynamic changes in device posture and real-time changes in viewing angle, resulting in a decrease in visual continuity and stability.

Method used

A panoramic stitching intelligent display method based on multi-channel video is adopted. By using an environmental template library and extracting dynamic and static features, the local distortion interval is accurately located, the stitching edge coverage area is adaptively adjusted, the template library is dynamically updated, the judgment threshold is optimized, and the deduplication amplitude is adjusted by combining motion direction and speed feedback to achieve visual stability and continuity in dynamic scenes.

Benefits of technology

It significantly suppresses flickering, blurring, and overlap distortion at the edges of panoramic stitching, improves the visual coherence and stability of mobile vehicles under dynamic conditions, and enhances the adaptive capability and long-term operational stability of the panoramic stitching system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160339A_ABST
    Figure CN123160339A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of image processing, and discloses a panoramic splicing intelligent display method and system based on multiple videos, a storage medium, and the method comprises the following steps: acquiring to-be-spliced image data of multiple video channels and arranging the to-be-spliced image data according to channel numbers, and combining adjacent image edges into adjacent intervals; extracting target features and background features and their repetitiveness parameters in each edge interval, calculating target similarity values, background similarity values and repetition similarity values; according to a three-layer progressive judgment logic, setting a corresponding distortion mark when the target similarity values, the background similarity values and the repetition similarity values all satisfy preset conditions; based on the set distortion mark, selecting an edge with a larger pixel value as a reserved edge, and stretching and tiling another edge image after removing repeated features with a deduplication amplitude. The application can locate a local distortion area of a splicing edge, suppress picture overlapping redundancy and flickering and blurring phenomena, and improve the visual coherence and display stability of a panoramic picture under dynamic working conditions of a mobile carrier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing technology, and in particular to a panoramic stitching intelligent display method, system and storage medium based on multi-channel video. Background Technology

[0002] Multi-channel video panoramic stitching technology is a core technology in the fields of real-time video image processing and panoramic visualization display. By fusing, registering, and stitching multiple video data streams acquired from different perspectives and locations, it can overcome the technical bottleneck of limited field of view of a single camera, forming a large-scale, blind-spot-free panoramic dynamic video image. Currently, this technology has been widely applied in many fields such as intelligent transportation, security monitoring, low-altitude detection, and intelligent vehicle observation, and is an important technical support for realizing full-domain scene visualization monitoring and improving the integrity and comprehensiveness of environmental perception.

[0003] Multi-channel video stitching display technology has been gradually applied to mobile intelligent vehicles such as unmanned vehicles and drones, providing visual data for environmental perception, situational observation, and decision support for mobile devices. Mobile equipment operates under conditions characterized by dynamic changes in posture, real-time position movement, and frequent switching of shooting angles. Existing conventional video stitching solutions mostly employ fixed parameter registration and static stitching fusion algorithms.

[0004] When monitoring dynamic changes in the scene and real-time changes in the shooting angle of the device, local distortion of the edge of the panoramic image is likely to occur, resulting in frequent local image overlap and pixel redundancy in the transition area of ​​each video image stitching. Dynamic image displacement and inter-frame matching deviation will also exacerbate problems such as overlapping distortion, image flickering, and blurred boundaries at the stitching edges. Summary of the Invention

[0005] To reduce the impact of local distortion at the edges of panoramic images, this application provides a panoramic stitching intelligent display method, system, and storage medium based on multi-channel video.

[0006] In a first aspect, this application provides a panoramic stitching intelligent display method, system, and storage medium based on multi-channel video, employing the following technical solution: A method for intelligent panoramic stitching display based on multi-channel video includes the following steps: The process involves acquiring the image data to be stitched and the channel number corresponding to multiple video channels, sorting the channel numbers according to a preset sequence database to obtain sequence content, arranging the image data to be stitched according to the sequence content, and combining the edges of adjacent image data to be stitched after arrangement to obtain multiple adjacent intervals, including the first edge interval and the second edge interval. Extract multiple first content features corresponding to a preset environment template library from the first edge region, compare the first target feature and the first background feature from the multiple first content features, and identify the repetition parameter of the first target feature in the first edge region as the first repetition value; extract multiple second content features corresponding to a preset environment template library from the second edge region, compare the second target feature and the second background feature from the multiple second content features, and identify the repetition parameter of the second target feature in the second edge region as the second repetition value; Calculate the similarity data between the first target feature and the second target feature to obtain the target temporary similarity value; calculate the similarity data between the first background feature and the second background feature to obtain the background temporary similarity value; calculate the difference data between the first duplicate value and the second duplicate value to obtain the duplicate temporary similarity value. Each adjacent interval has a pre-set distortion marker. If the target temporary similarity value is greater than the preset first sequence similarity value, the background temporary similarity value is determined; otherwise, the corresponding distortion marker is cleared. If the background temporary similarity value is greater than the preset second sequence similarity value, the first repetition value is determined; otherwise, the corresponding distortion marker is cleared. If the first repetition value is greater than the preset repetition reference value, the repetition temporary similarity value is determined; otherwise, the corresponding distortion marker is cleared. If the repetition temporary similarity value is greater than the preset third sequence similarity value, the distortion marker corresponding to the adjacent interval is set. Based on the distortion markers, the pixel values ​​of the first target feature and the second target feature corresponding to the distortion markers are compared. The edge with the larger pixel value is extracted as the retained edge. Then, the edge image corresponding to the retained edge is stretched and tiled to cover the edge image corresponding to the other edge after removing duplicate target features and background features with a preset deduplication amplitude.

[0007] By adopting the above technical solution, the local distortion range of the multi-channel video stitching edge in dynamic scenes can be accurately located. On this basis, the edge to be retained is adaptively selected according to the pixel value, and the other edge image is replaced by deduplication and stretching. This effectively eliminates the image overlap redundancy and inter-frame matching deviation caused by changes in device posture, significantly suppresses the flickering, blurring and overlapping distortion of the panoramic stitching edge, and greatly improves the visual coherence and stability of the panoramic image of the mobile vehicle under dynamic conditions.

[0008] Optionally, the method may further include the following sub-steps: The environment template library contains multiple environment elements and multiple feature elements. The feature elements and environment elements have a mapping relationship. The matching data between the image in the edge region and multiple environment elements is calculated, and the environment element with the highest matching data is taken as the environment corresponding to the edge region. Based on the environment of the edge interval, feature elements with mapping relationships are invoked. The content types of feature elements include dynamic and static. Based on the feature elements, the corresponding features are matched from the edge interval as real-time features. Based on the content type of the feature elements, the real-time features are divided into front-end features corresponding to dynamic features and back-end features corresponding to static features. The front-end feature with the most occurrences is selected as the target feature, and the back-end feature with the most occurrences is selected as the environment feature.

[0009] By adopting the above technical solution, and by pre-constructing an environment template library and establishing a mapping relationship between environment elements and feature elements, the specific environment at present can be dynamically identified based on the real-time matching results of the edge region image. Based on this environment, the corresponding dynamic and static separation feature elements are called, thereby accurately distinguishing the features within the edge region into dynamic front-end features and static back-end features. On this basis, the front-end features and back-end features with the highest frequency of occurrence are selected as target features and background features, respectively. This effectively filters out dynamic interference and static redundancy in the environment, and ensures that the extracted features are statistically significant and representative, significantly improving the accuracy and environmental adaptability of subsequent similarity comparison and distortion labeling.

[0010] Optionally, the method further includes the following steps: The area of ​​a single edge region is calculated as the edge area; the sum of the areas of all target features within a single edge region is calculated as the target area; and the sum of the areas of all environmental features within a single edge region is calculated as the environmental area. If the target area and edge area are within a preset calculable area range, the ratio of the target area to the edge area is calculated as the target display ratio, and the ratio of the target area to the environmental area is calculated as the target reference ratio. All values ​​within the calculable area range are positive. If the target display ratio is greater than the preset display ratio, the coverage area of ​​the edge intervals in the adjacent intervals is adjusted according to the target display ratio. The larger the target display ratio, the larger the coverage area of ​​the edge intervals, and the smaller the target display ratio, the smaller the coverage area of ​​the edge intervals. Otherwise, the comparison and judgment are based on the target reference ratio. If the target reference ratio is less than the preset adjustment reference ratio, the setting display ratio is adjusted according to the target reference ratio. The smaller the target reference ratio, the smaller the setting display ratio, and the larger the target reference ratio, the larger the setting display ratio. Otherwise, the setting display ratio is restored.

[0011] By adopting the above technical solution and introducing a dual condition judgment mechanism of target display ratio and target reference ratio, dynamic adaptive adjustment and threshold feedback correction of the splicing edge coverage area are realized. Under the premise of preserving highly salient target areas, the splicing and fusion weights can be flexibly adjusted according to the actual scene feature distribution, thereby further improving the display balance and visual comfort of panoramic images in scenes with different depths and target densities.

[0012] Optionally, the method further includes the following steps: The sum of the target area and the environment area is the characteristic area, and the ratio of the characteristic area to the edge area is the characteristic area ratio. If the feature area ratio is less than the preset sampling area ratio, then the sampling interval is taken as the interval outside the range of the target feature and the environmental feature in the edge interval. Extract the contour edges in the sampling interval, identify the closed shape formed by the contour edges as the sampling shape, and send the sampling shape and the preset sampling mark to the backend, wherein the sampling mark is empty; obtain the corresponding sampling mark returned by the backend, and if the sampling mark is set, add the sampling shape corresponding to the set sampling mark as an element to the environment template library.

[0013] By adopting the above technical solution, the blank blind spots in the edge interval that are not covered by the target and environmental features are accurately identified by the feature area ratio. The sampled images are manually or automatically verified by the back-end feedback mechanism, and the effective images are dynamically added to the environment template library. This realizes the online autonomous iterative update of the template library, which can continuously adapt to new scenes and new targets, avoid the feature matching failure problem caused by template solidification, and further improve the adaptive evolution capability and feature recognition generalization of the panoramic stitching system in long time domain and changing scene conditions.

[0014] Optionally, the method further includes the following steps: Obtain an external judgment and adjustment instruction, and in response to the judgment and adjustment instruction, obtain the judgment condition corresponding to the operation of clearing the corresponding distortion mark, and bind the judgment condition to the operation of clearing the distortion mark; Within a preset statistical period, the total number of times the data is cleared is recorded as the total number of times the data is cleared, and the cumulative number of times the judgment condition is determined is recorded as the number of times the data is cleared. The clearing probability corresponding to the judgment condition is calculated based on the number of times the data is cleared and the total number of times the data is cleared. The clearing probabilities are sorted to obtain sorted data corresponding to the judgment conditions; a preset sorting database is obtained, which includes all possible items of sorted data and adjustment elements and reduction ranges corresponding to each sorted data; the adjustment elements include a first sequence similarity value, a second sequence similarity value, a duplicate reference value, and a third sequence similarity value; Based on the sorting data and the sorting database, obtain the corresponding adjustment element and reduction range, and perform reduction adjustment on the parameter value corresponding to the adjustment element according to the adjustment element and the reduction range; Obtain an external judgment and recovery instruction, and in response to the judgment and recovery instruction, restore the first sequence similarity value, the second sequence similarity value, the repeating reference value, and the third sequence similarity value to a preset initial value.

[0015] By adopting the above technical solution, the probability of triggering the clearing of distortion markers by each judgment condition is statistically analyzed, and the similarity value and repeated reference value of the first / second / third sequence are dynamically adjusted in reverse according to the sorting results. This achieves closed-loop adaptive optimization of the judgment threshold, which can seek a dynamic balance between detection accuracy and false trigger rate. It avoids frequent false clearing of distortion markers due to fixed thresholds when the scene changes drastically, thereby improving the long-term stability and scene adaptability of panoramic stitching edge distortion detection.

[0016] Optionally, the method further includes the following steps: Obtain module information of the motion module that loads multiple video streams, and match motion reading instructions from the preset module database based on the module information; Based on motion reading instructions, real-time motion data is read from the motion module, and the motion direction relative to the image orientation in multiple video streams is obtained from the motion data; The first edge interval and the second edge interval are divided into a retention interval located in front of the movement direction and an elimination interval located in the movement direction according to their relative orientation in the movement direction. The edge corresponding to the retention interval is taken as the retention edge.

[0017] By adopting the above technical solution, the real-time motion direction of the motion module is introduced as the basis for spatial priority judgment. The edge area located in front of the motion direction (i.e. the new scene about to enter the field of view) is retained first, while the edges of the historical scene behind are eliminated. This upgrades the panoramic stitching retention strategy from "static pixel value comparison" to "dynamic spatial priority scheduling". It can effectively avoid the scene of the newly entering the picture in front being mistakenly eliminated. At the same time, it prioritizes discarding the redundant information of the outdated scene behind, which significantly improves the timeliness and rationality of the panoramic image of the mobile vehicle in high-speed motion scene.

[0018] Optionally, the method further includes the following steps: The larger the deduplication magnitude, the more duplicate parts of the target features and background features are removed; The motion speed is calculated based on the motion data, and the standard speed corresponding to the hardware module of the multi-channel video is obtained based on the module database. If the movement speed is greater than the standard speed, then the speed ratio is calculated based on the movement speed and the standard speed, and the weight reduction amplitude is adjusted positively based on the speed ratio. The larger the speed ratio, the larger the weight reduction amplitude; the smaller the speed ratio, the smaller the weight reduction amplitude. Otherwise, the weight reduction amplitude remains unchanged.

[0019] By adopting the above technical solution, when the motion speed exceeds the hardware standard, the deduplication amplitude is dynamically increased in a positive direction based on the speed ratio. This allows the system to automatically increase the removal intensity of repetitive features when inter-frame overlap and redundancy intensifies under high-speed motion, avoiding the impact on visual clarity due to excessive residual ghosting in the stitching transition area; while maintaining a smaller deduplication amplitude at low speeds or when stationary to retain more detail information, achieving adaptive matching between deduplication intensity and motion conditions, effectively balancing the contradiction between image purity and information integrity.

[0020] Optionally, the method further includes the following steps: Based on the module database, the type of the motion module is identified from the module information. If the motion module is a rotorcraft, the motion acceleration is calculated based on the motion data, the real-time change amplitude is calculated based on the motion acceleration, and the standard change amplitude corresponding to the hardware module of the multi-channel video is obtained based on the module database. If the real-time change amplitude is greater than the standard change amplitude, then the change amplitude ratio is calculated based on the real-time change amplitude and the standard change amplitude. The deduplication amplitude is adjusted in the opposite direction based on the change amplitude ratio. The larger the change amplitude ratio, the smaller the deduplication amplitude; the smaller the change amplitude ratio, the larger the deduplication amplitude. Otherwise, the deduplication amplitude remains unchanged.

[0021] By adopting the above technical solution, and targeting the high-frequency vibration and attitude change conditions unique to rotary-wing aircraft, the system monitors the change amplitude of motion acceleration in real time. When the change amplitude exceeds the standard value, the de-weighting amplitude is dynamically reduced in the opposite direction based on the over-amplitude ratio. This actively preserves more edge repetitive features under conditions of violent shaking or sharp turns of the aircraft, avoiding the loss of key scene information or splicing breakage due to excessive de-weighting. During stable flight, the original de-weighting intensity is maintained to ensure the simplicity of the image. This achieves adaptive matching of the de-weighting strategy to the dynamic stability of the aircraft.

[0022] Secondly, this application provides a panoramic stitching intelligent display system based on multi-channel video, which adopts the following technical solution: A panoramic stitching intelligent display system based on multi-channel video includes a processor, wherein the processor executes the steps of the panoramic stitching intelligent display method based on multi-channel video as described in any one of the preceding claims.

[0023] Thirdly, this application provides a storage medium, which adopts the following technical solution: A storage medium storing a program, wherein the program, when executed by a processor, implements the steps of the panoramic stitching intelligent display method based on multi-channel video as described above.

[0024] In summary, this application includes at least one of the following beneficial technical effects: it can accurately locate the local distortion areas at the edges of multi-channel video stitching in dynamic scenes, and adaptively select the edges to retain based on pixel values, replacing another edge image with a deduplication and stretching method, effectively eliminating image overlap redundancy and inter-frame matching deviation caused by device posture changes; based on this, it improves the environmental adaptability of feature discrimination through an environmental template library and dynamic-static separation feature extraction, achieves dynamic adaptive adjustment of coverage area through dual conditions of target display ratio and target reference ratio, and realizes online iterative update of the template library through feature area ratio and backend feedback mechanism. By clearing the probability statistics closed-loop adjustment of the judgment threshold to suppress false triggering, by introducing the motion direction to realize spatial priority scheduling to prioritize the retention of new scenes in front, and by using the dual feedback of motion speed and rotorcraft acceleration to realize positive and negative adaptive adjustment of the deduplication amplitude respectively; each additional step works together and progresses layer by layer, from accurate distortion detection, reliable feature extraction, dynamic coverage adjustment, continuous template evolution, threshold self-optimization, direction priority scheduling to motion adaptive deduplication, comprehensively improving the stitching quality, visual coherence, environmental adaptability and long-term operational stability of the panoramic stitching system under the dynamic working conditions of mobile vehicles. Attached Figure Description

[0025] Figure 1 This is a flowchart illustrating the steps of a panoramic stitching intelligent display method based on multi-channel video.

[0026] Figure 2 This is a flowchart illustrating the steps of a method for extracting edge region target features and environmental features based on an environmental template library. Detailed Implementation

[0027] The embodiments of this application are described in detail below, and examples of the embodiments are shown in the accompanying drawings.

[0028] In the description of this specification, the references to "certain embodiments," "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples" refer to specific features, structures, materials, or characteristics described in connection with the described embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0029] This application discloses a panoramic stitching intelligent display method based on multi-channel video, referring to... Figure 1 It includes the following steps: Step S101: Obtain the image data to be stitched and the channel number corresponding to multiple video channels, sort the channel numbers according to the preset sequence database to obtain the sequence content, arrange the image data to be stitched according to the sequence content, and combine the edges of adjacent image data to be stitched after arrangement to obtain multiple adjacent intervals.

[0030] Multi-channel video refers to the video acquisition channels corresponding to multiple cameras installed on mobile intelligent vehicles (such as unmanned vehicles and drones). Each camera is installed at different positions on the vehicle according to a preset spatial arrangement, and there is a certain overlap in the field of view between adjacent cameras so that they can be stitched together to form a panoramic image.

[0031] Specifically, each video channel corresponds to a channel number, such as Channel 1, Channel 2, ..., Channel N (N is the total number of video channels, typically between 4 and 8). A pre-defined sequence database stores the arrangement rules for each channel number, which are predetermined based on the actual physical installation location of each camera. For example, for four cameras installed around a vehicle, their channel numbers can be arranged clockwise as Channel 1 (front), Channel 2 (right), Channel 3 (rear), and Channel 4 (left). After sorting the channel numbers according to the sequence database, a sequence is obtained. The image data to be stitched is then arranged according to this sequence, ensuring that the arranged image data matches the order of its physical spatial location.

[0032] The edges of adjacent image data to be stitched are obtained after arrangement and combined to obtain multiple adjacent intervals. For example, for image data with N channels, arranged sequentially as image 1, image 2, ..., image N, the adjacent intervals include (edge ​​of image 1, edge of image 2), (edge ​​of image 2, edge of image 3), ..., (edge ​​of image N-1, edge of image N). If the panoramic stitching is a surround stitching (i.e., end-to-end stitching), it also includes (edge ​​of image N, edge of image 1). Each adjacent interval includes a first edge interval and a second edge interval, corresponding to the edge regions that are close to each other in two adjacent images, respectively. The width of the edge interval can be preset according to the degree of overlap of the camera's field of view. Preferably, the width of the edge interval is set to 10% to 20% of the image width.

[0033] Step S102: Extract multiple first content features corresponding to the preset environment template library from the first edge interval, compare the first target feature and the first background feature from the multiple first content features, and identify the repeatability parameter of the first target feature in the first edge interval as the first repeatability value.

[0034] The environment template library pre-stores multiple environment elements and multiple feature elements, with a mapping relationship between the feature elements and the environment elements. Environment elements are used to represent different scene types, such as urban roads, highways, mountainous terrain, low-altitude areas, and indoor environments. Feature elements are used to represent image features with discriminative power for each scene type, including but not limited to edge features, corner features, texture features, and color features.

[0035] The specific method for extracting content features is as follows: Scale Invariant Feature Transform (SIFT), Speed-Up Robust Feature Transform (SURF), or Oriented Fast Rotation Brief (ORB) algorithms are used to detect feature points and extract descriptors from images in edge regions. Taking the SIFT algorithm as an example, a Gaussian difference pyramid is first constructed to detect extreme points in scale space as candidate feature points; then, the position and scale of the feature points are accurately located by fitting a three-dimensional quadratic function, and low-contrast feature points and unstable edge response points are eliminated; finally, the directional distribution characteristics of the gradient in the neighborhood of the feature points are used to assign an orientation to each feature point, generating a 128-dimensional feature descriptor. The extracted feature descriptors constitute the content features.

[0036] The specific method for comparing the first target feature and the first background feature from multiple first content features is as follows: The extracted content features are matched with feature elements in a preset environment template library. For each content feature, the Euclidean distance or cosine similarity between it and the feature descriptors of each feature element is calculated. The feature element with the highest similarity exceeding a preset matching threshold (preferably, the matching threshold is set to 0.6) is taken as the matching result corresponding to that content feature. In the matching result, those corresponding to dynamic type feature elements are dynamic features, and those corresponding to static type feature elements are static features. Further, the frequency of occurrence of various dynamic features in the edge interval is counted, and the dynamic feature with the highest frequency of occurrence is taken as the target feature; the frequency of occurrence of various static features is counted, and the static feature with the highest frequency of occurrence is taken as the background feature.

[0037] The specific method for identifying the repetition parameter of a target feature in the edge interval is as follows: count the total number of times the target feature appears in the edge interval, and use this total number as the repetition parameter, i.e., the first repetition value. For example, if the target feature is the "pedestrian" feature, and 15 pedestrian feature points or feature regions are detected in the first edge interval, then the first repetition value is 15.

[0038] Step S103: Extract multiple second content features corresponding to the preset environment template library from the second edge interval, compare the second target feature and the second background feature from the multiple second content features, and identify the repeatability parameter of the second target feature in the second edge interval as the second repeatability value.

[0039] The specific implementation method of this step is the same as that of step S102, except that the edge interval being processed is the second edge interval instead of the first edge interval. The meaning of the second repetition value is the same as that of the first repetition value, that is, the total number of times the target feature appears in the second edge interval.

[0040] Step S104: Calculate the similarity data between the first target feature and the second target feature to obtain the target temporary similarity value; calculate the similarity data between the first background feature and the second background feature to obtain the background temporary similarity value; calculate the difference data between the first duplicate value and the second duplicate value to obtain the duplicate temporary similarity value.

[0041] The specific method for calculating similarity data is as follows: For target features and background features, the cosine similarity between feature descriptors is used as the similarity measure. The formula for calculating cosine similarity is: ; Here, A and B are the 128-dimensional (or other dimensional) feature descriptor vectors corresponding to the two features. The cosine similarity ranges from [0, 1], with values ​​closer to 1 indicating greater similarity between the two features.

[0042] Specifically, the cosine similarity between the feature descriptors of the first target feature and the feature descriptors of the second target feature is calculated to obtain the temporary similarity value of the target. Calculate the cosine similarity between the feature descriptors of the first background feature and the feature descriptors of the second background feature to obtain the temporary background similarity value. .

[0043] The specific method for calculating the temporary similarity value is as follows: calculate the absolute value of the difference between the first and second repeated values, and then calculate the ratio of this absolute value to the larger of the first and second repeated values ​​to obtain the temporary similarity value. The calculation formula is: ; Where R1 is the first repetition value and R2 is the second repetition value. The meaning of this formula is: when the first repetition value and the second repetition value are equal, the temporary repetition similarity value is 1; the greater the difference between the two, the closer the temporary repetition similarity value is to 0. The range of the temporary repetition similarity value is [0, 1].

[0044] Step S105: Each adjacent interval has a pre-set distortion marker; if the target temporary similarity value is greater than the pre-set first sequence similarity value, then the background temporary similarity value is determined; otherwise, the corresponding distortion marker is cleared; if the background temporary similarity value is greater than the pre-set second sequence similarity value, then the first repetition value is determined; otherwise, the corresponding distortion marker is cleared; if the first repetition value is greater than the pre-set repetition reference value, then the repetition temporary similarity value is determined; otherwise, the corresponding distortion marker is cleared; if the repetition temporary similarity value is greater than the pre-set third sequence similarity value, then the distortion marker corresponding to the adjacent interval is set.

[0045] The distortion marker is a binary status marker used to identify whether there is splicing distortion in the corresponding adjacent intervals. The initial state of the distortion marker is clear (i.e., logic value 0), and the set state (i.e., logic value 1) indicates that there is splicing distortion in the adjacent interval that needs to be processed.

[0046] The first sequence similarity value, the second sequence similarity value, the third sequence similarity value, and the repetition reference value are preset judgment thresholds. Preferably, the first sequence similarity value ranges from 0.65 to 0.85, more preferably 0.75; the second sequence similarity value ranges from 0.60 to 0.80, more preferably 0.70; the third sequence similarity value ranges from 0.50 to 0.70, more preferably 0.60; and the repetition reference value ranges from 5 to 20, more preferably 10. These thresholds can be adaptively adjusted according to the actual application scenario and image resolution.

[0047] This step uses a three-level progressive judgment logic: The first layer of judgment determines whether the temporary similarity value of the target is greater than the first sequence similarity value. If the temporary similarity value is not greater than the first sequence similarity value, it indicates that the target features in the two adjacent edge intervals are significantly different, and the two edge intervals may belong to different scenes or the target has changed significantly. In this case, no further judgment is needed, and the corresponding distortion marker is cleared directly. If the temporary similarity value is greater than the first sequence similarity value, then proceed to the second layer of judgment.

[0048] The second layer of judgment checks whether the temporary background similarity value is greater than the second sequence similarity value. If the temporary background similarity value is not greater than the second sequence similarity value, it indicates that the background features of the two adjacent edge intervals are significantly different, and the environmental backgrounds of the two edge intervals are inconsistent. In this case, the corresponding distortion marker is cleared. If the temporary background similarity value is greater than the second sequence similarity value, then the third layer of judgment is initiated.

[0049] The third layer of judgment: Determine whether the first repetition value is greater than the repetition reference value. If the first repetition value is not greater than the repetition reference value, it means that the target feature appears less frequently in the first edge interval, the target feature is not significant enough to constitute a valid basis for distortion judgment, and the corresponding distortion marker is cleared. If the first repetition value is greater than the repetition reference value, proceed to the fourth layer of judgment.

[0050] The fourth layer of judgment: Determine whether the repeated temporary similarity value is greater than the third sequence similarity value. If the repeated temporary similarity value is not greater than the third sequence similarity value, it indicates that the difference between the first and second repeated values ​​is large, meaning that the frequency of occurrence of the target feature in the two edge intervals is inconsistent, and there may be overlap, redundancy, or missing features. In this case, the corresponding distortion marker is cleared. If the repeated temporary similarity value is greater than the third sequence similarity value, it indicates that the degree of repetition of the target feature in the two edge intervals is high and the background is consistent, suggesting the possibility of splicing distortion. In this case, the distortion marker corresponding to the adjacent interval is set.

[0051] By using the above three-layer progressive judgment (actually four layers, where the first three layers are conditional filtering and the fourth layer is the final judgment), adjacent intervals with splicing distortion can be accurately identified, avoiding false detections and missed detections.

[0052] Step S106: Based on the positioned distortion marker, compare the pixel values ​​of the first target feature and the second target feature corresponding to the distortion marker, and extract the edge with the larger pixel value as the retained edge. Then, after removing duplicate target features and background features from the edge image corresponding to the retained edge with a preset deduplication amplitude, stretch and tile the edge image corresponding to the retained edge to cover the edge image corresponding to the other edge. The actual coverage area of ​​the stretching and tiling is determined according to the coverage area adjusted in step S303. When step S303 is not adjusted, the preset default coverage area is used for stretching and tiling.

[0053] Pixel count refers to the number of pixels occupied by a target feature within an edge region. Specifically, for a first target feature, the total number of pixels in all target feature regions within the first edge region is counted, and this is taken as the first pixel count. For a second target feature, the total number of pixels in all target feature regions within the second edge region is counted, and this is taken as the second pixel count. The first pixel count and the second pixel count are compared, and the edge with the larger pixel count is selected as the retained edge.

[0054] The deduplication margin is a preset parameter, ranging from 0 to 1, representing the proportion of duplicate features removed. A larger deduplication margin value indicates more overlap between the target feature and the background feature. Preferably, the initial value of the deduplication margin is set to 0.3 to 0.5.

[0055] The specific method for removing duplicate features is as follows: In the edge image corresponding to the retained edge, identify the target features and background features that are duplicated in another edge image, and remove the duplicate parts according to the proportion determined by the deduplication margin. For example, if the deduplication margin is 0.4, then 40% of the duplicate feature regions will be removed.

[0056] The specific method of stretching and tiling is as follows: the edge image corresponding to the retained edge after removing duplicate features is stretched to the size of the edge image corresponding to the other edge using an image scaling algorithm (such as bilinear interpolation or bicubic interpolation), and then tiled to cover the edge image area corresponding to the other edge, forming a complete stitching transition. This method effectively eliminates image overlap redundancy and inter-frame matching deviation caused by device posture changes, and significantly suppresses flickering, blurring, and overlap distortion at the edges of panoramic stitching.

[0057] To further define the specific methods for extracting target and background features from edge regions, refer to... Figure 2 The method also includes the following sub-steps.

[0058] Step S201: The environment template library contains multiple environment elements and multiple feature elements. The feature elements and environment elements have a mapping relationship. The matching data between the image in the edge interval and the multiple environment elements is calculated. The environment element with the highest matching data is taken as the environment corresponding to the edge interval.

[0059] The environmental template library is constructed as follows: Sample images of various typical environments are pre-collected, and each environment type is labeled with a corresponding environmental tag (such as "urban road," "highway," "wild mountain area," "low-altitude area," etc.). For each environment type, typical features (such as road markings, building outlines, tree textures, cloud edges, etc.) are extracted as feature elements, and a mapping relationship between environmental elements and feature elements is established. The mapping relationship can be stored in the form of a look-up table, with each environmental element corresponding to a set of feature elements.

[0060] The specific method for calculating the matching data between an image in an edge region and multiple environmental elements is as follows: extract the overall features of the image in the edge region (such as color histogram, texture features, scene semantic features, etc.), then calculate the similarity between the overall features and the standard features corresponding to each environmental element, and take the environmental element with the highest similarity as the environment corresponding to the edge region. For example, a pre-trained scene classification neural network (such as PlaceCNN) can be used to classify the scene of the image in the edge region, output the probability distribution of each type of environment, and take the environment category with the highest probability as the matching result.

[0061] Step S202: Based on the environment of the edge interval, call the feature elements with mapping relationship. The content type of the feature elements includes dynamic and static. Match the corresponding features from the edge interval based on the feature elements as real-time features. Based on the content type of the feature elements, divide the real-time features into front-end features corresponding to dynamic features and back-end features corresponding to static features. Select the front-end feature with the most existence as the target feature and select the back-end feature with the most existence as the environment feature.

[0062] After determining the environment corresponding to the edge interval, all feature elements that have a mapping relationship with that environment are called from the environment template library. The content types of feature elements include two categories: dynamic and static. The dynamic type corresponds to objects that may move in the scene (such as pedestrians, vehicles, aircraft, animals, etc.), and the static type corresponds to background elements that are stationary in the scene (such as buildings, roads, trees, mountains, etc.).

[0063] Based on the invoked feature elements, feature matching is performed in the edge region image, and the matched features are used as real-time features. The matching method can employ template matching or feature point matching algorithms. Then, based on the content type of the feature elements, the real-time features are divided into front-end features (dynamic) and back-end features (static). The frequency of occurrence of each type of front-end feature is counted, and the front-end feature with the highest frequency is selected as the target feature; similarly, the frequency of occurrence of each type of back-end feature is counted, and the back-end feature with the highest frequency is selected as the environmental feature.

[0064] Using the above method, the specific environment can be dynamically identified based on the real-time matching results of the edge region image, and the corresponding dynamic and static separation feature elements can be called based on the environment to ensure that the extracted features are statistically significant and representative.

[0065] To further define the specific method for adjusting the coverage area of ​​the edge region based on the area ratio of target features to environmental features, the method also includes the following steps.

[0066] Step S301: Calculate the area of ​​a single edge interval as the edge area, calculate the sum of the areas of all target features in a single edge interval as the target area, and calculate the sum of the areas of all environmental features in a single edge interval as the environmental area.

[0067] The unit of edge area is the number of pixels, that is, the total number of pixels contained in the edge region. Let the width of the edge region be We (pixels) and the height be He (pixels), then the edge area A edge =We×He.

[0068] The target area is calculated as follows: identify all pixel regions belonging to the target features within the edge interval, and sum the total number of pixels in these regions as the target area A. targetThe calculation method for the environment area is similar; it involves summing the total number of pixel regions belonging to the environment features within the edge region, which is then used as the environment area A. background The environmental features mentioned refer to the background features in steps S102 and S104. They are the same concept and both correspond to the static back-end features in the edge interval.

[0069] Step S302: If the target area and the edge area are within the preset calculable area range, the ratio of the target area to the edge area is calculated as the target display ratio, and the ratio of the target area to the environment area is calculated as the target reference ratio; wherein, all values ​​within the calculable area range are positive.

[0070] The computable area range is used to ensure that the target area and edge area are within a reasonable numerical range, avoiding the loss of reference value for the ratio calculation due to areas that are too small or too large. The values ​​for the computable area range are as follows: the lower threshold for the target area is 1% of the edge area, and the upper threshold is 80% of the edge area; the lower threshold for the edge area is 10,000 pixels (for images with a resolution of 1920×1080, the edge area is usually much larger than this value). That is, only when A... targe ≥1%×A edge And A targ e≤80%×A edge And A edge Only when the value is ≥10000 will subsequent calculations begin.

[0071] The target shows a ratio of R display The calculation formula is: ; Target reference ratio R reference The calculation formula is: ; Step S303: If the target display ratio is greater than the preset display ratio, the coverage area of ​​the edge interval in the adjacent interval is adjusted according to the target display ratio. This coverage area is used to characterize the effective retention width of the edge transition band during subsequent splicing and fusion. The larger the target display ratio, the larger the coverage area of ​​the edge interval; the smaller the target display ratio, the smaller the coverage area of ​​the edge interval. Otherwise, a comparison and judgment are made based on the target reference ratio.

[0072] The display ratio is set to a preset threshold, preferably between 0.15 and 0.35, and more preferably 0.25. If the target display ratio is greater than the set display ratio, it indicates that the target feature occupies a high proportion in the edge region, and more edge areas need to be preserved to ensure target integrity. In this case, the coverage area of ​​the edge region is adjusted according to the target display ratio, and the adjustment method is as follows: ; Where k is the coverage coefficient, preferably set to 1.2 to 1.8, more preferably set to 1.5; A cover This is the adjusted coverage area, and it does not exceed the total area of ​​the edge regions. The larger the target display ratio, the larger the coverage area of ​​the edge regions; the smaller the target display ratio, the smaller the coverage area of ​​the edge regions.

[0073] If the target display ratio is not greater than the set display ratio, then the judgment process based on the target reference ratio will be initiated.

[0074] Step S304: If the target reference ratio is less than the preset adjustment reference ratio, adjust the setting display ratio according to the target reference ratio. The smaller the target reference ratio, the smaller the setting display ratio; the larger the target reference ratio, the larger the setting display ratio. Otherwise, restore the setting display ratio.

[0075] The adjustment reference ratio is set to a preset threshold, preferably between 0.5 and 1.5, and more preferably 1.0. If the target reference ratio is less than the adjustment reference ratio, it indicates that the proportion of the target feature relative to the environmental feature is too low, and the threshold for setting the display ratio needs to be lowered to make it easier to trigger coverage area adjustment in subsequent frames. The adjustment method is as follows: ; in, The current display ratio is set. This is the adjusted display ratio. The smaller the target reference ratio, the smaller the adjusted display ratio (i.e., the greater the threshold reduction); the larger the target reference ratio, the larger the adjusted display ratio. If the target reference ratio is not less than the adjusted reference ratio, the display ratio will be restored to its preset initial value.

[0076] Through the aforementioned dual-condition judgment mechanism, dynamic adaptive adjustment of the splicing edge coverage area and threshold feedback correction are achieved.

[0077] To further define the specific method for dynamically updating the environment template library based on feature coverage, the method also includes the following steps.

[0078] Step S401: Calculate the sum of the target area and the environment area as the feature area, and calculate the ratio of the feature area to the edge area as the feature area ratio.

[0079] Feature area Feature area ratio The calculation formula is: .

[0080] Step S402: If the feature area ratio is less than the preset sampling area ratio, then the area outside the range of the target feature and the environmental feature in the edge interval is taken as the sampling interval.

[0081] The sampling area ratio is a preset threshold, preferably set to 0.3 to 0.6, and more preferably set to 0.45. If the feature area ratio is less than the sampling area ratio, it indicates that a large proportion of the edge interval is not covered by target features and environmental features. These areas may be new scene elements or features not yet included in the template library. In this case, the area in the edge interval that is not covered by any target features and environmental features is taken as the sampling interval.

[0082] Step S403: Extract the contour edges in the sampling interval, identify the closed shape formed by the contour edges as the sampling shape, and send the sampling shape and the preset sampling mark to the backend, wherein the sampling mark is empty; obtain the corresponding sampling mark returned by the backend, and if the sampling mark is set, add the sampling shape corresponding to the set sampling mark as an element to the environment template library.

[0083] The contour edges in the sampling interval can be extracted using the Canny edge detection algorithm, and then a contour tracking algorithm (such as the Suzuki algorithm) can be used to identify the closed shape formed by the contour edges. The closed shape is then used as the sampling shape.

[0084] The sampling marker is a binary marker, initially empty (i.e., logical value 0). The sampled image and sampling marker are sent to the backend (e.g., a cloud server or a manual review terminal), where the backend verifies the sampled image—the verification method can be automated feature comparison (determining whether the image is a known scene element) or manual review and annotation. After the backend verification is complete, it returns the sampling marker. If the sampling marker is set (logical value 1), it indicates that the sampled image has been confirmed as a valid scene element. The sampled image is then added as a new feature element to the environment template library, and a mapping relationship between it and the current environment element is established.

[0085] Through the above methods, the template library can be updated online autonomously, continuously adapting to new scenarios and new goals.

[0086] To further define the specific method for dynamically adjusting the judgment threshold based on the clearing probability, the method also includes the following steps.

[0087] Step S501: Obtain an external judgment and adjustment instruction, and in response to the judgment and adjustment instruction, obtain the judgment condition corresponding to the operation of clearing the corresponding distortion mark, and bind the judgment condition to the operation of clearing the distortion mark.

[0088] The judgment adjustment command is triggered by the user or system administrator to initiate the adaptive adjustment process of the judgment threshold. The judgment condition refers to the specific condition that triggers the clearing of distortion markers in step S105, including but not limited to: Condition C1: The target temporary similarity value is not greater than the first sequence similarity value; Condition C2: The background temporary similarity value is not greater than the second sequence similarity value; Condition C3: The first duplicate value is not greater than the duplicate reference value; Condition C4: The duplicate temporary similarity value is not greater than the third sequence similarity value. Each judgment condition is bound to its corresponding clearing operation for subsequent statistical analysis of the frequency of clearing triggered by each condition.

[0089] Step S502: Within a preset statistical time period, record the total number of times the data is cleared as the total number of times the data is cleared, record the cumulative number of times the judgment condition is determined as the number of times the data is cleared, and calculate the clearing probability corresponding to the judgment condition based on the number of times the data is cleared and the total number of times the data is cleared.

[0090] Statistical duration T T The preset time window is preferably set to 300 to 1800 seconds (i.e., 5 to 30 minutes), and more preferably to 600 seconds (10 minutes). Within the statistical duration, the total number of all clearing operations is recorded. Record the number of times each condition triggers the clear. The probability of clearing each judgment condition. The calculation formula is: ;in, The probability of clearing the data ranges from [0, 1].

[0091] Step S503: Sort the clearing probabilities to obtain sorted data corresponding to the judgment condition; obtain a preset sorting database, the sorting database including all possible items of sorted data and adjustment elements and reduction ranges corresponding to each sorted data; the adjustment elements include a first sequence similarity value, a second sequence similarity value, a repeating reference value and a third sequence similarity value.

[0092] The clear probabilities P_1, P_2, P_3, and P_4 of the four judgment conditions are sorted in descending order to obtain the sorted data. The sorted data reflects the frequency with which each judgment condition triggers clearing; a higher clear probability indicates that the judgment condition is more likely to be triggered, which may mean that the corresponding threshold setting is too strict.

[0093] The sorting database is a pre-defined lookup table, the structure of which is shown in Table 1: Table 1 Example of a sorted database The reduction margin is an adjustment ratio, ranging from 0.05 to 0.25, indicating that the current value of the corresponding adjustment element will be reduced to this ratio. The higher the probability of clearing, the larger the corresponding reduction margin; the lower the probability of clearing, the smaller the corresponding reduction margin.

[0094] Step S504: Based on the sorting data, obtain the corresponding adjustment element and reduction range from the sorting database, and perform reduction adjustment on the parameter value corresponding to the adjustment element according to the adjustment element and the reduction range.

[0095] For example, if the sorted data is "C1 > C2 > C3 > C4", meaning that condition C1 (the temporary similarity value of the target is not greater than the similarity value of the first sequence) has the highest probability of being cleared, it indicates that the setting of the similarity value of the first sequence may be too strict, causing a large number of target features to be misjudged as dissimilar. In this case, the corresponding adjustment element obtained from the sorted database is "the similarity value of the first sequence", with a reduction margin of 0.10, which reduces the current similarity value of the first sequence to 90% of its original value (i.e., multiplied by 0.90).

[0096] The formula for reducing adjustment is: ; in, The current threshold parameter value, α To reduce the amplitude, This is the adjusted threshold parameter value.

[0097] Step S505: Obtain an external judgment recovery instruction, and in response to the judgment recovery instruction, restore the first sequence similarity value, the second sequence similarity value, the repeating reference value, and the third sequence similarity value to a preset initial value.

[0098] The recovery command is triggered by the user or system administrator to restore all judgment thresholds to preset initial values. The initial values ​​are the preferred values ​​described in step S105: the first sequence similarity value is 0.75, the second sequence similarity value is 0.70, the third sequence similarity value is 0.60, and the repeat reference value is 10.

[0099] The above method achieves closed-loop adaptive optimization of the judgment threshold, which can seek a dynamic balance between detection accuracy and false trigger rate.

[0100] In this embodiment, the specific method of selecting the edge to be retained based on the direction of movement is further defined, and the method also includes the following steps.

[0101] Step S601: Obtain the module information of the motion module that loads multiple video streams, and match the motion reading command from the preset module database based on the module information.

[0102] A motion module refers to the motion control system of a mobile vehicle equipped with multi-channel video acquisition devices, such as the chassis control system of an unmanned vehicle or the flight control system of a drone. Module information includes the motion module's model, interface protocol, and data format. The module database stores the motion data reading instruction formats corresponding to various motion modules, and the corresponding motion reading instruction is matched based on the module information.

[0103] Step S602: Read real-time motion data from the motion module based on the motion reading instruction, and obtain the motion direction relative to the image orientation in the multi-channel video from the motion data.

[0104] Motion data includes the real-time position, velocity, acceleration, and attitude angles (heading, pitch, and roll) of the motion module. The direction of motion, i.e., the heading angle of the motion module in the horizontal plane, is extracted from this data. Image orientation refers to the mounting orientation of each camera on the vehicle in the multi-channel video feed; for example, a forward-facing camera corresponds to the front of the vehicle. The direction of motion is compared with the image orientation to determine the orientational relationship of the direction of motion relative to the viewing angles of each camera.

[0105] Step S603: Divide the first edge interval and the second edge interval into a retention interval located in front of the movement direction and an elimination interval located behind the movement direction according to their relative orientation in the movement direction. The edges corresponding to the retention intervals are taken as retention edges. When determining the retention interval based on the movement direction, the spatial priority scheduling in this step is superior to the selection method based on pixel value comparison in step S106. That is, when executing this step, the edge in front of the movement direction is directly taken as the retention edge, and the pixel value comparison operation in step S106 is no longer executed; if a valid movement direction cannot be obtained, the execution returns to step S106.

[0106] Taking forward-moving vehicle motion as an example, assume the first edge interval corresponds to the right edge of the left camera, and the second edge interval corresponds to the left edge of the front camera; these two constitute adjacent intervals. When the vehicle moves forward, the direction of motion is forward. The edge interval located in front of the direction of motion (i.e., the second edge interval corresponding to the front camera) is the retained interval, and the edge interval located behind the direction of motion (i.e., the first edge interval corresponding to the left camera) is the eliminated interval. The edges corresponding to the retained intervals are used as the retained edges; that is, in subsequent deduplication and overlay operations, the edge images of the front camera are preferentially retained.

[0107] By introducing the direction of motion as a basis for spatial priority determination, the preservation strategy of panoramic stitching is upgraded from "static pixel value comparison" to "dynamic spatial priority scheduling".

[0108] In this embodiment, the specific method of adjusting the deweighting amplitude according to the movement speed is further defined, and the method also includes the following steps.

[0109] Step S701: The larger the deduplication magnitude, the more duplicate parts of the target feature and the background feature are removed.

[0110] The deduplication magnitude DD is a parameter ranging from [0, 1]. When D=0, no duplicate features are removed; when D=1, all duplicate features are removed. The initial value of the deduplication magnitude is preferably set to 0.3.

[0111] Step S702: Calculate the motion speed based on the motion data, and obtain the standard speed corresponding to the hardware module of the multi-channel video based on the module database.

[0112] The motion speed V is obtained directly from the motion data or calculated through position differential. The standard speed Vstd is the reference speed corresponding to the multi-channel video hardware module. This value depends on the camera's frame rate, resolution, and typical operating conditions of the vehicle. For example, for a camera with a frame rate of 30fps and a resolution of 1920×1080, the standard speed can be set to 10m / s (corresponding to the typical vehicle speed on urban roads). The value of the standard speed can be adjusted according to the actual application scenario, and is preferably set to 5m / s to 20m / s.

[0113] Step S703: If the movement speed is greater than the standard speed, calculate the speed ratio based on the movement speed and the standard speed, and adjust the weight reduction amplitude in the positive direction according to the speed ratio. The larger the speed ratio, the larger the weight reduction amplitude; the smaller the speed ratio, the smaller the weight reduction amplitude. Otherwise, keep the weight reduction amplitude unchanged.

[0114] speed ratio The calculation formula is: ; When V > V std At that time, the speed ratio >1. The formula for adjusting the deduplication range is: ; in, The current deduplication rate is β, which is the speed adjustment coefficient, preferably set to 0.8 to 1.2, and more preferably set to 1.0; The upper limit of the deduplication range is preferably set to 0.8; This represents the adjusted deduplication range. The larger the speed ratio, the larger the deduplication range; the smaller the speed ratio (but greater than 1), the smaller the deduplication range.

[0115] When V≤V std At that time, the current deduplication rate will remain unchanged.

[0116] The above method achieves adaptive matching between weight reduction intensity and motion conditions.

[0117] In this embodiment, the specific method for adjusting the weight reduction amplitude in the reverse direction according to the acceleration change amplitude of the rotorcraft is further defined, and the method also includes the following steps.

[0118] Step S801: Identify the type of the motion module from the module information based on the module database. If the motion module is a rotorcraft, calculate the motion acceleration based on the motion data, calculate the real-time change amplitude based on the motion acceleration, and obtain the standard change amplitude corresponding to the hardware module of the multi-channel video based on the module database.

[0119] First, identify the type of motion module. If the motion module is a rotorcraft (such as a quadcopter drone, hexacopter drone, etc.), then proceed to the process of this embodiment. Motion acceleration a a By analyzing the velocity V V Taking the time derivative, we get: ; Real-time change range This refers to the change in motion acceleration within a preset time window (preferably set to 0.5 seconds to 2 seconds), i.e.: ; in, For the acceleration at the current moment, for Acceleration before time.

[0120] Standard variation range This is a preset benchmark value used to measure the magnitude of acceleration change of a rotorcraft under normal, stable flight conditions. The value of the standard magnitude of change is related to the aircraft model and flight mode, and is preferably set to 0.5 m / s² to 2.0 m / s², more preferably 1.0 m / s².

[0121] Step S802: If the real-time change amplitude is greater than the standard change amplitude, calculate the change amplitude ratio based on the real-time change amplitude and the standard change amplitude, and adjust the deduplication amplitude in reverse according to the change amplitude ratio. The larger the change amplitude ratio, the smaller the deduplication amplitude; the smaller the change amplitude ratio, the larger the deduplication amplitude. Otherwise, maintain the deduplication amplitude unchanged. When the adjustment conditions of step S703 (positive adjustment based on motion speed) and step S802 are simultaneously satisfied, the reverse adjustment result of step S802 is used as the final deduplication amplitude; when only the adjustment condition of step S703 is satisfied, the positive adjustment result of step S703 is used as the final deduplication amplitude.

[0122] Ratio of changes The calculation formula is: ; when When the ratio of changes in magnitude R_a > 1, the formula for the reverse adjustment of the deduplication magnitude is: ; in, This represents the current deduplication level. γ The acceleration adjustment coefficient is preferably set to 0.8 to 1.2, and more preferably to 1.0; The lower limit of the deduplication range is preferably set to 0.05; This represents the adjusted deduplication range. The larger the ratio of the change range, the smaller the deduplication range; the smaller the ratio of the change range (but greater than 1), the larger the deduplication range.

[0123] when At that time, the current deduplication rate will remain unchanged.

[0124] In response to the high-frequency vibration and sudden attitude change conditions unique to rotorcraft, by monitoring the change in motion acceleration in real time and adjusting the de-weighting amplitude in the opposite direction, more edge repeating features can be actively preserved under conditions of violent shaking or sharp turns of the aircraft, avoiding the loss of key scene information due to excessive de-weighting.

[0125] This application also discloses a panoramic stitching intelligent display system based on multi-channel video, including a processor, wherein the processor executes the steps of the panoramic stitching intelligent display method based on multi-channel video as described in any of the above embodiments.

[0126] This application also discloses a storage medium storing a program, which, when executed by a processor, implements the steps of the panoramic stitching intelligent display method based on multi-channel video described above.

[0127] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A panoramic stitching intelligent display method based on multi-channel video, characterized in that, Includes the following steps: The process involves acquiring the image data to be stitched and the channel number corresponding to multiple video channels, sorting the channel numbers according to a preset sequence database to obtain sequence content, arranging the image data to be stitched according to the sequence content, and combining the edges of adjacent image data to be stitched after arrangement to obtain multiple adjacent intervals, including the first edge interval and the second edge interval. Extract multiple first content features corresponding to a preset environment template library from the first edge region, compare the first target feature and the first background feature from the multiple first content features, and identify the repetition parameter of the first target feature in the first edge region as the first repetition value; extract multiple second content features corresponding to a preset environment template library from the second edge region, compare the second target feature and the second background feature from the multiple second content features, and identify the repetition parameter of the second target feature in the second edge region as the second repetition value; Calculate the similarity data between the first target feature and the second target feature to obtain the target temporary similarity value; calculate the similarity data between the first background feature and the second background feature to obtain the background temporary similarity value; calculate the difference data between the first duplicate value and the second duplicate value to obtain the duplicate temporary similarity value. Each adjacent interval has a pre-set distortion marker. If the target temporary similarity value is greater than the preset first sequence similarity value, the background temporary similarity value is determined; otherwise, the corresponding distortion marker is cleared. If the background temporary similarity value is greater than the preset second sequence similarity value, the first repetition value is determined; otherwise, the corresponding distortion marker is cleared. If the first repetition value is greater than the preset repetition reference value, the repetition temporary similarity value is determined; otherwise, the corresponding distortion marker is cleared. If the repetition temporary similarity value is greater than the preset third sequence similarity value, the distortion marker corresponding to the adjacent interval is set. Based on the distortion markers, the pixel values ​​of the first target feature and the second target feature corresponding to the distortion markers are compared. The edge with the larger pixel value is extracted as the retained edge. Then, the edge image corresponding to the retained edge is stretched and tiled to cover the edge image corresponding to the other edge after removing duplicate target features and background features with a preset deduplication amplitude.

2. The panoramic stitching intelligent display method based on multi-channel video according to claim 1, characterized in that: The method also includes the following sub-steps: The environment template library contains multiple environment elements and multiple feature elements. The feature elements and environment elements have a mapping relationship. The matching data between the image in the edge region and multiple environment elements is calculated, and the environment element with the highest matching data is taken as the environment corresponding to the edge region. Based on the environment of the edge interval, feature elements with mapping relationships are invoked. The content types of feature elements include dynamic and static. Based on the feature elements, the corresponding features are matched from the edge interval as real-time features. Based on the content type of the feature elements, the real-time features are divided into front-end features corresponding to dynamic features and back-end features corresponding to static features. The front-end feature with the most occurrences is selected as the target feature, and the back-end feature with the most occurrences is selected as the environment feature.

3. The panoramic stitching intelligent display method based on multi-channel video according to claim 2, characterized in that: The method also includes the following steps: The area of ​​a single edge region is calculated as the edge area; the sum of the areas of all target features within a single edge region is calculated as the target area; and the sum of the areas of all environmental features within a single edge region is calculated as the environmental area. If the target area and edge area are within a preset calculable area range, the ratio of the target area to the edge area is calculated as the target display ratio, and the ratio of the target area to the environmental area is calculated as the target reference ratio. All values ​​within the calculable area range are positive. If the target display ratio is greater than the preset display ratio, the coverage area of ​​the edge intervals in the adjacent intervals is adjusted according to the target display ratio. The larger the target display ratio, the larger the coverage area of ​​the edge intervals, and the smaller the target display ratio, the smaller the coverage area of ​​the edge intervals. Otherwise, the comparison and judgment are based on the target reference ratio. If the target reference ratio is less than the preset adjustment reference ratio, the setting display ratio is adjusted according to the target reference ratio. The smaller the target reference ratio, the smaller the setting display ratio, and the larger the target reference ratio, the larger the setting display ratio. Otherwise, the setting display ratio is restored.

4. The panoramic stitching intelligent display method based on multi-channel video according to claim 3, characterized in that: The method also includes the following steps: The sum of the target area and the environment area is the characteristic area, and the ratio of the characteristic area to the edge area is the characteristic area ratio. If the feature area ratio is less than the preset sampling area ratio, then the sampling interval is taken as the interval outside the range of the target feature and the environmental feature in the edge interval. Extract the contour edges in the sampling interval, identify the closed shape formed by the contour edges as the sampling shape, and send the sampling shape and the preset sampling mark to the backend, wherein the sampling mark is empty; obtain the corresponding sampling mark returned by the backend, and if the sampling mark is set, add the sampling shape corresponding to the set sampling mark as an element to the environment template library.

5. The panoramic stitching intelligent display method based on multi-channel video according to claim 1, characterized in that: The method also includes the following steps: Obtain an external judgment and adjustment instruction, and in response to the judgment and adjustment instruction, obtain the judgment condition corresponding to the operation of clearing the corresponding distortion mark, and bind the judgment condition to the operation of clearing the distortion mark; Within a preset statistical period, the total number of times the data is cleared is recorded as the total number of times the data is cleared, and the cumulative number of times the judgment condition is determined is recorded as the number of times the data is cleared. The clearing probability corresponding to the judgment condition is calculated based on the number of times the data is cleared and the total number of times the data is cleared. The clearing probabilities are sorted to obtain sorted data corresponding to the judgment conditions; a preset sorting database is obtained, which includes all possible items of sorted data and adjustment elements and reduction ranges corresponding to each sorted data; the adjustment elements include a first sequence similarity value, a second sequence similarity value, a duplicate reference value, and a third sequence similarity value; Based on the sorting data and the sorting database, obtain the corresponding adjustment element and reduction range, and perform reduction adjustment on the parameter value corresponding to the adjustment element according to the adjustment element and the reduction range; Obtain an external judgment and recovery instruction, and in response to the judgment and recovery instruction, restore the first sequence similarity value, the second sequence similarity value, the repeating reference value, and the third sequence similarity value to a preset initial value.

6. The panoramic stitching intelligent display method based on multi-channel video according to claim 1, characterized in that: The method also includes the following steps: Obtain module information of the motion module that loads multiple video streams, and match motion reading instructions from the preset module database based on the module information; Based on motion reading instructions, real-time motion data is read from the motion module, and the motion direction relative to the image orientation in multiple video streams is obtained from the motion data; The first edge interval and the second edge interval are divided into a retention interval located in front of the movement direction and an elimination interval located in the movement direction according to their relative orientation in the movement direction. The edge corresponding to the retention interval is taken as the retention edge.

7. The panoramic stitching intelligent display method based on multi-channel video according to claim 6, characterized in that: The method also includes the following steps: The larger the deduplication magnitude, the more duplicate parts of the target features and background features are removed; The motion speed is calculated based on the motion data, and the standard speed corresponding to the hardware module of the multi-channel video is obtained based on the module database. If the movement speed is greater than the standard speed, then the speed ratio is calculated based on the movement speed and the standard speed, and the weight reduction amplitude is adjusted positively based on the speed ratio. The larger the speed ratio, the larger the weight reduction amplitude; the smaller the speed ratio, the smaller the weight reduction amplitude. Otherwise, the weight reduction amplitude remains unchanged.

8. The panoramic stitching intelligent display method based on multi-channel video according to claim 6, characterized in that: The method also includes the following steps: Based on the module database, the type of the motion module is identified from the module information. If the motion module is a rotorcraft, the motion acceleration is calculated based on the motion data, the real-time change amplitude is calculated based on the motion acceleration, and the standard change amplitude corresponding to the hardware module of the multi-channel video is obtained based on the module database. If the real-time change amplitude is greater than the standard change amplitude, then the change amplitude ratio is calculated based on the real-time change amplitude and the standard change amplitude. The deduplication amplitude is adjusted in the opposite direction based on the change amplitude ratio. The larger the change amplitude ratio, the smaller the deduplication amplitude; the smaller the change amplitude ratio, the larger the deduplication amplitude. Otherwise, the deduplication amplitude remains unchanged.

9. A panoramic stitching intelligent display system based on multi-channel video, characterized in that, The system includes a processor that performs the steps of the panoramic stitching intelligent display method based on multi-channel video as described in any one of claims 1-8.

10. A storage medium, characterized in that, The storage medium stores a program, which, when executed by a processor, implements the steps of the panoramic stitching intelligent display method based on multi-channel video as described in any one of claims 1-8.