A compressed sensing vehicle image reconstruction and vehicle tracking method

Through block adaptive sampling and depth reconstruction technology, combined with perceptual entropy and bipolar sampling matrices, the computational pressure problem of vehicle image reconstruction and tracking in intelligent transportation systems is solved, high-quality image reconstruction and multi-target tracking are achieved, and sampling and Transmission costs.

CN118587664BActive Publication Date: 2024-10-11SOUTHWEST PETROLEUM UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411067038.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-11
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

When existing intelligent transportation systems acquire and transmit vehicle images, there are problems such as excessive computational pressure and high sampling costs, making it difficult to reconstruct high-quality vehicle images.

Method used

Block adaptive sampling is used combined with ROI area for coarse-grained sampling rate allocation, perceptual entropy is used to estimate the sparseness of the original signal, and compressed sensing sampling is performed through the trained bipolar sampling matrix; in the reconstruction process, a linear reconstruction network and deep residual are used The difference network performs initial and depth reconstruction, and processes low-light images through an adaptive enhancement algorithm; finally, multi-camera multi-target vehicle tracking is achieved through single-camera multi-target tracking and cyclic comparison.

Benefits of technology

It reduces the computational pressure of collection, transmission and storage, improves the reconstruction quality and tracking accuracy of vehicle images, reduces the difficulty of algorithm hardware implementation, and improves the sampling accuracy and reconstruction effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587664B_ABST
    Figure CN118587664B_ABST
Patent Text Reader

Abstract

The present invention provides a method for compressed sensing vehicle image reconstruction and vehicle tracking, which belongs to the technical field of intelligent transportation systems, including combining ROI regions for coarse-grained sampling rate allocation, using perceptual entropy to estimate the sparsity of the original signal in each ROI region, and using a trained bipolar sampling matrix for compressed sensing sampling; according to the sampling results, a linear reconstruction network is used in each region to initially reconstruct the vehicle image, a deep residual network is used to deeply reconstruct the vehicle image, and an adaptive enhancement algorithm is used to reconstruct the quality of the low-light vehicle image; according to the enhancement results, a single camera is used to track multiple targets, and feature extraction and distance matrix calculation are performed using a diversity set, and comparison is performed based on spatiotemporal information to obtain vehicle tracking results for multiple cameras and multiple targets. The present invention solves the problem of vehicle tracking that can reconstruct high-quality vehicle images while having computational pressure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent transportation systems, and in particular relates to a compressed sensing vehicle image reconstruction and vehicle tracking method. Background Art

[0002] The number of cars has been increasing steadily year by year. While the traffic construction in many first-tier cities is advancing at a high speed, serious traffic congestion and road blockage have occurred. In order to ease the traffic pressure, many cities have begun to adopt intelligent transportation systems (Intelligent Traffic System, referred to as ITS). At present, most urban roads directly use ordinary cameras to collect video vehicle images for moving vehicle detection. Compared with the early sensor detection method, it is cost-effective and the subsequent maintenance work is more convenient. However, in actual application scenarios, the current method of obtaining video vehicle images requires the complete collection of vehicle image information first, and then compression and transmission. With the continuous improvement of the requirements of intelligent transportation systems for vehicle images, this method gradually exposes problems such as excessive pressure on the transmission end and excessive cost on the sampling end. Therefore, how to provide a vehicle tracking method that can reduce the computing pressure of the three ends of the acquisition end, the transmission end and the storage end, and reconstruct high-quality vehicle images is a problem that technicians in this field urgently need to solve. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the present invention provides a compressed sensing vehicle image reconstruction and vehicle tracking method, which solves the vehicle tracking problem of being able to reconstruct high-quality vehicle images while having computational pressure.

[0004] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0005] This solution provides a compressed sensing vehicle image reconstruction and vehicle tracking method, including the following steps:

[0006] S1. When performing block adaptive sampling, the coarse-grained sampling rate is allocated in combination with the ROI area, the sparseness of the original signal in each ROI area is estimated using the perceptual entropy, and the compressed sensing sampling is performed using the trained bipolar sampling matrix;

[0007] S2. When reconstructing and enhancing the vehicle image, according to the sampling results, the linear reconstruction network is used to perform initial reconstruction of the vehicle image in different regions, the deep residual network is used to perform deep reconstruction of the vehicle image, and the adaptive enhancement algorithm is used to reconstruct the quality of the low-light vehicle image;

[0008] S3. Based on the reconstruction results, a single camera is used to track multiple targets. The feature extraction is performed on the subset set and the distance matrix is ​​calculated. The distance matrix and the output of the single camera multi-target tracking are cyclically compared to obtain the multi-camera multi-target vehicle tracking results.

[0009] The beneficial effects of the present invention are as follows: the present invention solves the vehicle tracking problem of being able to reconstruct high-quality vehicle images while calculating pressure by using adaptive ratio block sampling, reconstructing and enhancing vehicle images, and performing multi-target tracking of vehicles.

[0010] Furthermore, the S1 comprises the following steps:

[0011] S101, when performing block adaptive sampling, coarse-grained sampling rate allocation is performed in combination with the ROI area;

[0012] S102, using perceptual entropy to estimate the sparsity of the original signal in each ROI region, and obtain a fine-grained sampling rate distribution;

[0013] S103. According to the allocation results of S101 and S102, compressed sensing sampling is performed on the trained {-1, 1} bipolar sampling matrix.

[0014] The beneficial effect of the above further scheme is that the present invention uses adaptive ratio block sampling to reduce the required storage space. At the same time, the encoding end does not need to wait until the entire image is observed before encoding. The encoding and transmission can be performed after the image block is projected onto the observation matrix, thereby reducing the pressure on the sampling and transmission end and reducing the computational complexity of the decoding end.

[0015] Furthermore, the expression of the coarse-grained sampling is as follows: ;in, represents the coarse-grained size of the optimal region, represents the sampling rate, Indicates the proportion of the vehicle image ROI area, Indicates the importance weight ratio of the set optimal area and the ROI area other than the optimal area.

[0016] The beneficial effect of the above further scheme is that the present invention makes the processing of large-scale image data sets more efficient through coarse-grained sampling, reduces the amount of data required while retaining the overall trend, and obtains the result without processing every frame of the image.

[0017] Furthermore, the training process of the two-pole sampling matrix is ​​as follows:

[0018] A1. Based on forward propagation, the parameters of the floating-point sampling matrix are bipolar quantized using a deterministic quantization method: ;in, represents the bipolar sampling matrix obtained after bipolar quantization processing, represents the binarization process, Represents the floating point sampling matrix after training;

[0019] A2. Perform convolution operation on the two-pole quantization results and the vehicle image, and perform forward propagation based on the convolution results;

[0020] A3. According to the processing results of A1 and A2, cumulative parameter gradient processing is performed to complete the training of the two-pole sampling matrix.

[0021] The beneficial effect of the above further scheme is that the present invention can retain more image structured information during sampling by training the bipolar sampling matrix, which is convenient for hardware implementation and lays a solid foundation for high-quality reconstruction at low sampling rates and signal loss resistance at high sampling rates. The {-1,1} bipolar sampling matrix that saves storage space and is easy for hardware implementation and can retain more structured information can improve the sampling accuracy of the algorithm while reducing the difficulty of hardware implementation of the algorithm, and has a better reconstruction effect.

[0022] Furthermore, the S2 comprises the following steps:

[0023] S201, when reconstructing and enhancing the vehicle image, the signal reconstruction is expressed as a linear mapping according to the sampling result, and the vehicle image is initially reconstructed by using a linear reconstruction network in different regions;

[0024] S202, performing deep reconstruction of the vehicle image using a deep residual network according to the initial reconstruction result;

[0025] S203: Reconstruct the quality of the low-illuminance vehicle image using an adaptive enhancement algorithm according to the depth reconstruction result.

[0026] The beneficial effect of the above further scheme is that the present invention uses the residual learning network to reduce the error between the reconstructed signal and the original signal, and further improves the reconstruction quality. It has a calculation speed far exceeding that of the traditional reconstruction algorithm, and has a better reconstruction effect. It can obtain more important information of the image in a lower number of sampling times, and ensure the reconstruction quality while reducing the pressure on the sampling end and the transmission end.

[0027] Furthermore, the expression for performing the initial reconstruction is as follows: ; ;in, represents the initial reconstructed signal containing the vehicle image, represents the linear reconstruction network, represents the sample value obtained by compressed sensing sampling, represents the optimal mapping matrix, express The total collection of represents the linear mapping matrix, express The total collection of express In the data set i image information blocks before compressed sensing sampling, represents a measurement signal sampled by compressed sensing;

[0028] The optimal mapping matrix is ​​obtained using the following formula: ;in, represents the loss function, Indicates the amount of training data.

[0029] The beneficial effect of the above further scheme is that the present invention is superior to traditional mainstream algorithms at various sampling rates, and the algorithm has a quality of initial reconstruction that is comparable to that of other mainstream algorithms through less calculation and faster completion.

[0030] Furthermore, the vehicle image is deeply reconstructed using a deep residual network according to the initial reconstruction result, which is specifically as follows:

[0031] According to the initial reconstruction results, the vehicle image is deeply reconstructed using the deep residual network to obtain the optimal mapping matrix and residual network parameters : ; ; ;in, represents the loss function, and Represent the optimal mapping matrix and residual network parameters respectively, represents the number of small image blocks, Indicates A small image block, represents a small image patch, represents the measurement signal sampled by compressed sensing, Represents the reconstruction result, represents the initial reconstructed signal containing the vehicle image, represents the residual, represents the linear reconstruction network, represents the sample value obtained by compressed sensing sampling, represents the residual network.

[0032] The beneficial effect of the above further solution is: reducing the error between the reconstructed signal and the original signal, and further improving the reconstruction quality.

[0033] Furthermore, the S3 comprises the following steps:

[0034] S301: Based on the reconstruction result, a single-camera multi-target tracking model MOT is used to obtain a single-camera multi-target tracking set T ;

[0035] S302: Multi-target tracking set T Partition into query sets Q And the selected set G ;

[0036] S303, from the query set Q And the selected set G Feature extraction is performed in

[0037] S304: Calculate query set Q Each feature and candidate set in G The distance of each feature in , and get the distance matrix;

[0038] S305: The distance matrix is ​​combined with the output of the single camera multi-target vehicle tracking T , a circular comparison is performed to obtain the vehicle tracking results of multiple cameras and multiple targets. When tracking a vehicle, each camera is time-calibrated and space-sorted according to the time and space information, and the time calibration and space sorting results are compared.

[0039] The beneficial effect of the above further solution is that the present invention uses the efficient multi-camera vehicle tracking algorithm ELECTRICITY to ensure stable, accurate and fast multi-target tracking of vehicles in a single camera. It provides a new solution to solve many challenging problems such as differences in observation range, viewing angle, frequent occlusion, lighting, rainy and other environmental differences. The cross-camera tracking part further improves the re-identification accuracy.

[0040] Furthermore, the cyclic comparison is specifically performed as follows:

[0041] like The minimum distance between the query feature and all the registered features of the vehicle tracking sequence tracklet under different cameras is greater than , then remove the ;like and The distance between ,and and The distance between , then and The vehicle tracking ID is updated to the same vehicle tracking ID, and the vehicle tracking results of multiple cameras and multiple targets are obtained, where Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet is selected by the query, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet is selected by the query, represents the maximum threshold of the distance matrix, Indicates the distance threshold.

[0042] The beneficial effect of the above further solution is that the present invention ensures stable, accurate and fast multi-target tracking of vehicles in a single camera through cyclic comparison. The ability to correctly classify other easier samples in cross-camera vehicle tracking will be great, and the appearance differences caused by camera angles can be overcome. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 The figure is a flow chart of the method of the present invention.

[0044] Figure 2 Schematic diagram of the division of the monitoring ROI area in this embodiment. DETAILED DESCRIPTION

[0045] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0046] Example

[0047] like Figure 1 As shown, the present invention provides a compressed sensing vehicle image reconstruction and vehicle tracking method, and its implementation method is as follows:

[0048] S1. When performing block adaptive sampling, the coarse-grained sampling rate is allocated in combination with the ROI area, the perceptual entropy is used to estimate the sparsity of the original signal in each ROI area, and the trained bipolar sampling matrix is ​​used for compressed sensing sampling. The implementation method is as follows:

[0049] S101, when performing block adaptive sampling, coarse-grained sampling rate allocation is performed in combination with the ROI area;

[0050] S102, using perceptual entropy to estimate the sparsity of the original signal in each ROI region, and obtain a fine-grained sampling rate distribution;

[0051] S103, according to the allocation results of S101 and S102, the trained {-1,1} bipolar sampling matrix is ​​subjected to compressed sensing sampling. The training process of the bipolar sampling matrix is ​​as follows:

[0052] A1. Based on forward propagation, the parameters of the floating-point sampling matrix are bipolar quantized using a deterministic quantization method: ;in, represents the bipolar sampling matrix obtained after bipolar quantization processing, represents the binarization process, Represents the floating point sampling matrix after training;

[0053] A2. Perform convolution operation on the two-pole quantization results and the vehicle image, and perform forward propagation based on the convolution results;

[0054] A3. According to the processing results of A1 and A2, cumulative parameter gradient processing is performed to complete the training of the two-pole sampling matrix.

[0055] In this embodiment, the ROI information, importance ratio information and perceptual entropy information are used to determine whether to use coarse-grained sampling rate allocation or fine-grained sampling rate allocation, thereby achieving compressed sensing sampling rate block adaptation. Compared with other surveillance videos, road surveillance videos have a relatively fixed key area (Region Of Interest, ROI). The resolution of the image in the ROI area is required to be higher, while the part outside the ROI area can tolerate a lower resolution than that in the ROI area. In some embodiments, the coarse-grained sampling rate intervals of different areas are adaptively determined based on this feature. Figure 2 As shown, the black part is the less important ROI area, and the white part is the important ROI area. In some embodiments, different sampling rate intervals can be allocated to each area of ​​the image according to the overall sampling rate and the proportion of different areas, so that the white ROI area obtains more measurement values, so that it can obtain better reconstruction effect during reconstruction.

[0056] In this embodiment, the first t Frame image signal X The signal length is The overall sampling rate is R , then the total number of measurements is , assuming that the image ROI area ratio is The importance weight ratio of the important area to other areas is set as , then the coarse-grained size of the important area The sampling rate is calculated as follows: ;in, represents the coarse-grained size of the optimal region, represents the sampling rate, Indicates the proportion of the vehicle image ROI area, Indicates the importance weight ratio of the set optimal area and the areas other than the optimal area.

[0057] In this embodiment, in order to estimate the sparsity of the original signal in the perceptual domain, in some embodiments, the finite isometric property RIP of the measurement matrix is ​​used to estimate the sparseness of the image information block. The compressed domain measurement value Y after sampling i With its "8-neighborhood" measurement The perceptual entropy is calculated, where express In the data set i image information blocks before compressed sensing sampling (i.e., real image signal blocks, hereinafter referred to as image information blocks), Represents the measurement signal of compressed sensing sampling In addition, in order to make the calculation results convenient for quantitative use, the obtained whole should be normalized so that the ratio of the minimum and maximum values ​​is used as the perceptual entropy. The formula is as follows: ;in, represents the sample value obtained by compressed sensing sampling, represents the 8-neighborhood measurement value, represents the perceptual entropy.

[0058] In this embodiment, when the perceptual entropy is close to 1, it indicates that the measurement signal of the current compressed sensing sampling is The gradient difference with the surrounding area is not big, it is inferred that the original image signal surface is relatively smooth, and only relatively few measurements are needed to reconstruct it well. If the value of perceptual entropy is close to 0, it means that the structural differences between the blocks in the area are large, and it is inferred that the image information block The spatial correlation with the surrounding neighborhood is weakened, and by calculating the perceptual entropy, it is possible to use only the measured values ​​for the image information block. The sparsity of is predicted, and then the fine-grained sampling rate allocation is performed. In order to reduce the amount of calculation at the sampling end and meet the real-time nature of the adaptive sampling rate update, a simple calculation is performed on the fine-grained sampling rate allocation. The upper and lower limits of the sampling rate for fine-grained sampling rate allocation are respectively and The specific formula is as follows: ;in, represents fine-grained sampling rate allocation, represents the lower bound of the fine-grained sampling rate allocation, represents the upper limit of the fine-grained sampling rate allocation, Indicates Perceptual entropy.

[0059] In this embodiment, the trained {-1,1} bipolar sampling matrix is ​​obtained by first training to obtain a floating-point matrix, and then polarizing the elements in the sampling matrix. The trained floating-point sampling matrix can be obtained by calculating the gradient of the parameters through the optimization algorithm, and then updating each parameter according to the algorithm flow. , and then directly polarize the elements in the sampling matrix to obtain the bipolar sampling matrix.

[0060] In this embodiment, the training process of the bipolar sampling matrix is ​​mainly divided into two steps. The first step is to calculate the parameter gradient, and the second step is to accumulate the parameter gradient and add all the calculated parameter gradients. The first step is specifically divided into two parts: forward propagation and backward propagation. The forward propagation firstly performs bipolar quantization on the floating-point parameters. There are two methods of bipolar quantization: probability statistics and deterministic quantization. The present invention uses the deterministic quantization method to perform bipolar quantization on the sampling matrix, and then uses the quantized bipolar sampling matrix Convolution is performed with the vehicle image, and each layer is directly forward propagated. After the training process of the two-pole sampling network is completed, the first convolution layer of the two-pole sampling network is reshaped, and finally The {-1,1} bipolar sampling matrix Φ of dimension * ,in, Represents the spatial dimension of the image signal, Indicates the number of channels of the image signal (for RGB images, ), m represents the last measurement number, Indicates the final -dimensional bipolar sampling matrix.

[0061] S2. When reconstructing and enhancing the vehicle image, according to the sampling results, the linear reconstruction network is used in different regions to perform initial reconstruction of the vehicle image, the deep residual network is used to perform deep reconstruction of the vehicle image, and the adaptive enhancement algorithm is used to reconstruct the quality of the low-light vehicle image. The implementation method is as follows:

[0062] S201, when reconstructing and enhancing the vehicle image, the signal reconstruction is expressed as a linear mapping according to the sampling result, and the vehicle image is initially reconstructed by using a linear reconstruction network in different regions;

[0063] S202, performing deep reconstruction of the vehicle image using a deep residual network according to the initial reconstruction result;

[0064] S203: Reconstruct the quality of the low-illuminance vehicle image using an adaptive enhancement algorithm according to the depth reconstruction result.

[0065] In this embodiment, the compressed sensing sampling can be regarded as an image signal Transformation into measurement signals via the measurement matrix : ;in, middle Represents RGB sampling information, n Represents the minimum number of image blocks, matrix It is called the linear mapping matrix ( middle Represents RGB sampling information, n represents the minimum number of image blocks, represents the compressed sampling module), by calculating the error Minimum and inclusive N training data pairs The data set is optimized to obtain the optimal mapping matrix Optimization solution of: ;in, represents the initial reconstructed signal containing the vehicle image, represents the linear reconstruction network, represents the sample value obtained by compressed sensing sampling, represents the optimal mapping matrix, express The total collection of represents the linear mapping matrix, express The total collection of express In the data set i image information blocks before compressed sensing sampling, Represents the measured signal of the compressed sensing sampling.

[0066] Image compressed sensing deep residual reconstruction network algorithm DR2-Ne selects fully connected layers to form a linear reconstruction network , and use the loss function to derive the optimal mapping matrix : ;in, represents the loss function, represents the number of training data, express In the data set i image information blocks before compressed sensing sampling, Represents the measurement signal of compressed sensing sampling, which is trained based on the sampled value Reconstructed signal The error with the real signal is minimal.

[0067] Input image information block and the measured signal sampled by compressed sensing , and obtain the optimal mapping matrix through methods such as stochastic gradient descent , combined with the trained linear reconstruction network , the reconstruction algorithm can be based on any image information block Obtain the preliminary reconstruction of the image signal to be reconstructed : ;in, represents the initial reconstructed signal containing the vehicle image, represents the linear reconstruction network, represents the sample value obtained by compressed sensing sampling, represents the optimal mapping matrix, express The total collection of represents the linear mapping matrix, express The total collection of express In the data set i image information blocks before compressed sensing sampling, Represents the measured signal of the compressed sensing sampling.

[0068] Image Compressed Sensing Deep Residual Reconstruction Network Algorithm DR2-Ne uses residual learning blocks to implement residual learning. Each block contains three convolutional layers to simulate the nonlinear mapping part. It consists of a series of learning blocks, the residual can be further rewritten as: ; ;in, represents the preliminary reconstruction of the image signal to be reconstructed, represents the residual, represents the linear reconstruction network, Represents the residual network parameters.

[0069] Using the loss function and methods such as stochastic gradient descent, we can solve the optimal mapping matrix and residual network parameters : ; ;in, represents the loss function, and Represent the optimal mapping matrix and residual network parameters respectively, represents the number of small image blocks, Indicates A small image block, represents a small image patch, represents the measurement signal sampled by compressed sensing, Represents the reconstruction result, represents the initial reconstructed signal containing the vehicle image, represents the residual, represents the linear reconstruction network, represents the sample value obtained by compressed sensing sampling, represents the residual network.

[0070] In this embodiment, The adjustment factor α is determined by the local information entropy of the window size, the average gradient value of the local area of ​​the image, the local mean and the local variance of the image; and a new weighted template is designed according to the different effects of the neighborhood pixels on the center point, where m represents the last measurement number, w Indicates the spatial dimension of the image signal.

[0071] In this embodiment, the vehicle image is enhanced using fractional order, and the present invention performs convolution operation on each pixel of the original image. According to the different influences of the neighborhood pixels on the central pixel, an 8-directional fractional-order mask operator with good directionality is designed using the fractional-order differential correlation coefficient, so that the design of the two-dimensional filter is more reasonable. The mask operator sets the distance from each point to the central pixel as the weight factor of the pixel, the distance of the directly adjacent points in the 4-neighborhood of the pixel is set to 1, and the mask operator needs to be normalized. In the field of vehicle image enhancement, the Caputo fractional-order differential, which is changed from the GL fractional-order differential definition method, is used, where the Caputo fractional-order differential is defined as follows: ;in, , denote the lower and upper limits of the integral, respectively, and , Express satisfaction A positive integer, represents the differential order, Representation is defined by Caputo fractional differentials, represents a random variable, represents the input image, represents the integral symbol, Represents the Gamma function.

[0072] Gamma transform definition: ;in, represents the gamma transform of the pixel, Respectively represent the horizontal and vertical coordinates of the pixel, represents the input image to be processed, Representing images The maximum pixel value in The overall is the gamma parameter, represents the pixels of the input image, c Represents a constant.

[0073] S3. Based on the reconstruction results, a single camera is used to track multiple targets. The feature extraction and distance matrix calculation are performed by the diversity set. The distance matrix and the output of the single camera multi-target tracking are cyclically compared to obtain the multi-camera multi-target vehicle tracking results. The implementation method is as follows:

[0074] S301: Based on the reconstruction result, a single-camera multi-target tracking model MOT is used to obtain a single-camera multi-target tracking set T ;

[0075] S302: Multi-target tracking set T Partition into query sets Q And the selected set G ;

[0076] S303, from the query set Q And the selected set G Feature extraction is performed in

[0077] S304: Calculate query set Q Each feature and candidate set in G The distance of each feature in , and get the distance matrix;

[0078] S305: The distance matrix is ​​combined with the output of the single camera multi-target vehicle tracking T , a circular comparison is performed to obtain the vehicle tracking results of multiple cameras and multiple targets. When tracking a vehicle, each camera is time-calibrated and space-sorted according to the time and space information, and the time calibration and space sorting results are compared.

[0079] In this embodiment, when tracking a vehicle, each camera is time-calibrated and spatially sorted according to the time-space information, and the time calibration and spatial sorting results are compared to further improve the re-identification accuracy.

[0080] Perform a circular comparison, which is specifically:

[0081] like The minimum distance between the query feature and all the registered features of the vehicle tracking sequence tracklet under different cameras is greater than , then remove the ;like and The distance between ,and and The distance between , then and The vehicle tracking ID is updated to the same vehicle tracking ID, and the vehicle tracking results of multiple cameras and multiple targets are obtained, where Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet is selected by the query, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet is selected by the query, represents the maximum threshold of the distance matrix, Indicates the distance threshold.

[0082] In this embodiment, the cross-camera tracking in the present invention is specifically: tracking is performed based on the detection results according to the tracking mode represented by Deep Simplified Multi-Target Tracking and Matching Deep SORT and Multi-Target Tracking Towards-Realtime-MOT.

[0083] In this embodiment, the optimized efficient multi-camera vehicle tracking algorithm ELECTRICITY based on data sets such as VeRi-776 (research resources for vehicle re-identification) is clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. The instance segmentation network Mask-RCNN is used to obtain the confidence, detection box and other information of each detected object, and the dataset partitioning method of Microsoft is used to divide the vehicles into three categories: cars, trucks and buses. In order to avoid multiple results of vehicles being detected at the same time. The efficient multi-camera vehicle tracking algorithm ELECTRICITY adds an inter-class NMS (non-maximum suppression), and the selection will be sorted by confidence, and then the vehicle classification detection will be completed one by one according to the intersection-over-union ratio IoU.

[0084] In this embodiment, a single-camera multi-target tracking model MOT is used to obtain a single-camera multi-target tracking set T , and then divide it into query sets Q (Contains each vehicle tracking sequence fragment One of the frames is used as the cross-camera re-identification query) and the candidate set G . Then use the deep CNN network deep network feature set Extract features from both sets and then calculate the query set Q Each feature and candidate set in G The distance of each feature in is obtained to obtain the distance matrix, and then a circular comparison is performed based on the distance matrix and the output of the previous single-camera multi-vehicle target tracking MOT to obtain the multi-camera multi-vehicle target tracking result MTMC.

[0085] In this embodiment, the cameras are time-calibrated and spatially sorted according to the spatiotemporal information. Using the spatial information of the camera and the temporal information of the surveillance video, spatially adjacent cameras can be compared, and the time calibration and synchronization of each camera can be completed. Since such prior information is relatively fixed, this step only needs to be performed once when the entire algorithm is initialized. Further, the vehicle tracking sequence segments are sorted according to the camera ID, and only the vehicle tracking sequence segment tracklet is preferentially compared with the vehicle tracking sequence segment tracklet adjacent to the camera ID. If the first Vehicle tracking sequence fragment tracklet The query set (query set Q features obtained under different cameras) and all the registered library features of the vehicle tracking sequence tracklets under different cameras (the set to be selected G The minimum distance between the features is greater than , then remove the vehicle tracking sequence fragment tracklet ;if and The distance between , and The distance between , then and The tracking ID of is updated to the same tracking ID, where Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet is selected by the query, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet is selected by the query, represents the maximum threshold of the distance matrix, Indicates the distance threshold.

[0086] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A compressed sensing vehicle image reconstruction and vehicle tracking method, It is characterized in that The following steps are involved: S1. When performing block adaptive sampling, the coarse-grained sampling rate is allocated in combination with the ROI area, the sparseness of the original signal in each ROI area is estimated using the perceptual entropy, and the compressed sensing sampling is performed using the trained bipolar sampling matrix; The expression of perceptual entropy is as follows: in, represents the sample value obtained by compressed sensing sampling, represents the 8-neighborhood measurement value, represents the perceptual entropy; S2. When reconstructing and enhancing the vehicle image, according to the sampling results, the linear reconstruction network is used to perform initial reconstruction of the vehicle image in different regions, the deep residual network is used to perform deep reconstruction of the vehicle image, and the adaptive enhancement algorithm is used to reconstruct the quality of the low-light vehicle image; S3. Based on the reconstruction results, a single camera is used to track multiple targets, feature extraction is performed on the diversity set, and a distance matrix is ​​calculated. The distance matrix and the output of the single camera multi-target tracking are cyclically compared to obtain the multi-camera multi-target vehicle tracking results. The S3 comprises the following steps: S301: Based on the reconstruction result, a single-camera multi-target tracking model MOT is used to obtain a single-camera multi-target tracking set T ; S302: Multi-target tracking set T Partition into query sets Q And the selected set G ; S303, from the query set Q And the selected set G Feature extraction is performed in S304: Calculate query set Q Each feature and candidate set in G The distance of each feature in , and get the distance matrix; S305: Combine the distance matrix with the output of single camera multi-target vehicle tracking T , and perform circular comparison to obtain the vehicle tracking results of multiple cameras and multiple targets. When tracking a vehicle, the cameras are time-calibrated and space-sorted according to the time-space information, and the time-calibration and space-sorting results are compared; The comparison is performed based on the time calibration and space sorting results, which are specifically: like The minimum distance between the query feature and all the registered features of the vehicle tracking sequence tracklet under different cameras is greater than , then remove the ;like and The distance between ,and and The distance between , then and The vehicle tracking ID is updated to the same vehicle tracking ID, and the vehicle tracking results of multiple cameras and multiple targets are obtained, where Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet is selected by the query, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet, Indicates that the vehicle tracking ID is The vehicle tracking sequence fragment tracklet is selected by the query, Represents the maximum threshold of the distance matrix, Indicates the distance threshold.

2. The compressed sensing vehicle image reconstruction and vehicle tracking method according to claim 1, It is characterized in that The S1 comprises the following steps: S101, when performing block adaptive sampling, coarse-grained sampling rate allocation is performed in combination with the ROI area; S102, using perceptual entropy to estimate the sparsity of the original signal in each ROI region, and obtain a fine-grained sampling rate distribution; S103. According to the allocation results of S101 and S102, compressed sensing sampling is performed on the trained {-1, 1} bipolar sampling matrix.

3. The compressed sensing vehicle image reconstruction and vehicle tracking method according to claim 2, It is characterized in that The expression of the coarse-grained sampling is as follows: in, represents the coarse-grained size of the optimal region, represents the sampling rate, Indicates the proportion of the vehicle image ROI area, Indicates the importance weight ratio of the set optimal area and the ROI area other than the optimal area.

4. The compressed sensing vehicle image reconstruction and vehicle tracking method according to claim 2, It is characterized in that The training process of the two-pole sampling matrix is ​​as follows: A1. Based on forward propagation, the parameters of the floating-point sampling matrix are bipolar quantized using a deterministic quantization method: in, represents the bipolar sampling matrix obtained after bipolar quantization processing, represents the binarization process, Represents the floating point sampling matrix after training; A2. Perform convolution operation on the two-pole quantization results and the vehicle image, and perform forward propagation based on the convolution results; A3. According to the processing results of A1 and A2, cumulative parameter gradient processing is performed to complete the training of the two-pole sampling matrix.

5. The compressed sensing vehicle image reconstruction and vehicle tracking method according to claim 1, It is characterized in that The S2 comprises the following steps: S201, when reconstructing and enhancing the vehicle image, the signal reconstruction is expressed as a linear mapping according to the sampling result, and the vehicle image is initially reconstructed by using a linear reconstruction network in different regions; S202, performing deep reconstruction of the vehicle image using a deep residual network according to the initial reconstruction result; S203: Reconstruct the quality of the low-illuminance vehicle image using an adaptive enhancement algorithm according to the depth reconstruction result.

6. The compressed sensing vehicle image reconstruction and vehicle tracking method according to claim 5, It is characterized in that The expression for the initial reconstruction is as follows: in, represents the initial reconstructed signal containing the vehicle image, represents the linear reconstruction network, represents the sample value obtained by compressed sensing sampling, represents the optimal mapping matrix, express The total collection of represents the linear mapping matrix, express The total collection of express The data set i image information blocks before compressed sensing sampling, represents a measurement signal sampled by compressed sensing; The optimal mapping matrix is ​​obtained using the following formula: in, represents the loss function, Indicates the amount of training data.

7. The compressed sensing vehicle image reconstruction and vehicle tracking method according to claim 5, It is characterized in that According to the initial reconstruction result, the vehicle image is deeply reconstructed using a deep residual network, which is specifically as follows: According to the initial reconstruction results, the vehicle image is deeply reconstructed using the deep residual network to obtain the optimal mapping matrix and residual network parameters : in, represents the loss function, and Represent the optimal mapping matrix and residual network parameters respectively, represents the number of small image blocks, Indicates A small image block, represents a small image patch, represents the measurement signal sampled by compressed sensing, Represents the reconstruction result, represents the initial reconstructed signal containing the vehicle image, represents the residual, represents the linear reconstruction network, represents the sample value obtained by compressed sensing sampling, represents the residual network.