This application is a U.S. National Phase filing under 35 U.S.C. § 371 of International Application PCT/CN2017/087531, filed Jun. 8, 2017, and published as WO2018/024030 A1 on Feb. 8, 2018. PCT/CN2017/087531 claims priority from Chinese Patent Application Number 201610631619.1, filed Aug. 3, 2016. The entire contents of each of these applications are hereby expressly incorporated herein by reference.
The invention relates to machine visual attention, which is used for the extraction and identification of road targets at night, especially the extraction method of visual salient targets in the infrared image of night vision.
The visual salient mechanism can be used to extract the salient areas of significant object which may have influence on traffic safety in complex road. For traditional object detection method in complex road scenes, the related algorithm is very complex, then the data processing capacity of the computer will be very large and the processing efficiency will be very low. Nowadays, the researchers are inspired by the visual attention mechanism in the human visual system, hoping that machine vision would first screen the raw input data like the human visual system. Therefore, the visual salient model of machine vision is proposed to reduce computation and improve its efficiency.
Visual saliency is a concept of neurophysiology and psychology. Many neurophysiologists and psychologists have put forward a lot of models to explain the saliency mechanism of the human visual system, such as the peripheral central nervous system, which simulates the ability of efficient data screening in human visual attention mechanism. Inspired by this, researchers in various countries have launched extensive and in-depth research on how to screen data in machine vision like human visual saliency mechanism.
Chinese invention (CN102999926A) disclosed is an image visual saliency calculation method based on low-level feature fusion which fuse underlying features such as colors, textures, etc. to obtain a significant area. This invention just based on low-level features while ignore high-level features so that its saliency extraction is inaccurate. Chinese invention (CN103020993A) disclosed a dual-channel color contrast fusion visual saliency detection method which use the superpixel method to calculate the value of color saliency to obtain a saliency image based on color features. This invention only processes in the time domain, and is based only on color characteristics, ignoring the significance in the frequency domain, so the extraction of the significance area is not complete. The above method has its own deficiencies in the process of extracting the salient regions, and deals with a natural and natural image without considering that the night vision infrared image corresponding to the natural image can be processed. Therefore, in the night road scenario, their detection rate is low, and are easily disturbed by the light in the background environment, and the outline of the prominent target is not clear enough.
By processing the corresponding night vision infrared images of the original image, the present invention tend to avoid the influence of the light in the non-visible background of the original image at night, so as to improve the accuracy of the salient target extraction in the night road scene.
In view of the existing visual attention models, the accuracy of target detection in night road scenes is low, which is easily influenced by the non-salient regions in the night road scenes and the lights in the non-salient regions, and the salient contours are not clear. Focus on the shortage of existing technology, the invention provides a road target extraction method based on the saliency in the night vision infrared image.
The invention provides a road target extraction method based on the saliency in the night vision infrared image, which is realized by the following technical scheme:
Further, the steps of applying the method of spectral scale space of using the hypercomplex frequency domain to extract the salient regions meticulously of the saliency image CC as described in S2 is as follows:
Further, the steps of using the saliency extraction method based on the fusion of global and local cues to integrate the global and local cues of the saliency image ZZ, and getting the saliency image AA is as follows:
Further, the formula of the hypercomplex matrix f(x,y) described in S2.2 is f(x,y)=0.5×U {right arrow over (i)}+0.25×RG {right arrow over (j)}+0.25BY {right arrow over (k)}, Where vectors {right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)} are unit vectors in the three dimensional space coordinate system with the same direction as x, y, z.
Further, the formula of the amplitude spectrum A described in S2.3 is A=|F(f(x,y))|, Where: |⋅| is calculating the amplitude, F( ) is hypercomplex Fourier transformation.
Further, the formula of saliency map sequence {Zi} described in S2.5 is Zi=g*|F−1{AAk(x,y)ekk×p(x,y)}|2, phase spectrum is p=φ(F(f(x,y))), feature spectrum is
Among them, |⋅| is solving amplitude, F( ) is hypercomplex Fourier transformation, φ( ) is phase, v( ) is taking the vector part of the Fourier transformation, ∥⋅∥ is modulus of vector, g is Gaussian kernel, *is convolution, X is product, F−1 is Fourier inversion.
Further, principle in threshold segmentation of coding dictionary BC of the background and the coding dictionary FC of the salient target in the high-level model described in S3.3 is BC=wi (if Pd(wi)<λ1), FC=wi (if Pd (wi)>λ2) wherein λ1 represents the threshold selected in the background encoding; and λ2 is threshold value chosen for the encoding of a salient target.
Further, The calculation process to get the saliency image of background and the saliency image of salient target in high-level model of the saliency image ZZ is as follows: the equilibrium coefficient μ between punitive consideration and regularization is selected randomly by computer to satisfy the following formula
Ui is original image, Hn represents the vector of the encoding dictionary, n represents the number of elements in the encoding dictionary, α is the weight coefficient of the local adapter, dist(Ui,Hn) represents the Euclidean distance between Ui and Hn, ddw
Pg(wi)=∥Ui−Dbbi∥2
The beneficial effect of the invention is as follows: The invention apply GBVS model to extract the saliency image preliminarily; Then, we use the method of spectral scale space of hypercomplex frequency domain to extract the global features which can combine the features in time domain and frequency domain; Lastly, we apply the method based on the cues combining the global and the local which can combine the features in the global and the local to make the outline of salient objects clear. The invention can emphasize the salient regions and inhibit the non-salient regions to extract the salient objects accurately.
The following will be explained further with the accompanying drawings, but the scope of protection of this invention is not limited to this.
As shown in
S2, Based on the method of spectral scale space of the hypercomplex frequency domain (applying the hypercomplex Fourier transformation to transform from time domain to spectral scale space in hypercomplex frequency domain), extract the salient region meticulously of salient image CC to get the salient image ZZ of night vision infrared image in the global feature;
S2.1, By calculating the three components in red, green and blue channels of saliency image, three characteristic maps U,RG,BY of saliency image are obtained. The formula is as follows:
U=(r+g+b)/3 (1)
RG=[r−(g+b)/2]−[g−(r+b)/2] (2)
BY=[b−(r+g)/2]−[(r+g)/2−|r−g|/2−b] (3)
Where: the r, g, b is three components in red, green and blue channels of saliency image CC;
S2.2, Integrate the feature map U,RG,BY and gaining the hypercomplex matrix f(x,y), the Formula is as Follows:
f(x,y)=0.5×U{right arrow over (i)}+0.25×RG{right arrow over (j)}+0.25BY{right arrow over (k)} (4)
Where: vectors {right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)} are unit vectors in the three dimensional space coordinate system with the same direction as x, y, z;
S2.3, Carry out the hypercomplex Fourier transformation to the hypercomplex matrix f(x,y), and calculating the amplitude spectrum A, phase spectrum p, and feature spectrum kk, the formula of amplitude spectrum A is as follows:
A=|F(f(x,y))| (5)
Where: |⋅| is calculating the amplitude, F( ) is hypercomplex Fourier transformation;
S2.4, Make convolution on the amplitude spectrum A to obtain spectral scale space {AAk}, and its formula is as follows:
{AAk}=g*A (6)
Among them, g is Gaussian kernel, * is convolution.
S2.5, Calculate the salient map sequence {Zk} based on the spectral scale space {AAk}, the formula is as follows:
Zi=g*|F−1{AAk(x,y)ekk×p(x,y)}|2 (7)
phase spectrum p is as follows:
p=φ(F(f(x,y))) (8)
And feature spectrum kk is as follows:
Among them, g is gaussian kernel, ⊕ is convolution, *is product, F−1 is Fourier inversion, |⋅| is solving amplitude; F( ) is hypercomplex Fourier transformation; φ( ) is phase; v( ) is taking the vector part of the Fourier transformation; ∥⋅∥ is the modulus of vector;
S2.6, Select one of saliency image ZZ from saliency map sequence {Zi} based on the principle of maximum variance.
S3, As shown in
S3.1, Saliency image ZZ is divided into several small image regions based on the super pixel segmentation (super pixel segmentation is the method to extract the region whose pixel is similar in position, color, brightness and texture).
S3.2, For the multiple small image regions in S3.1, the global contrast is used to obtain the salient image in the low level model of saliency image ZZ. The calculation to multiple small images based on the global contrast is as follows:
Among them, OK(q) indicates the frequency of the pixels q falling within the salient target region, Wi represents multiple small image areas separated by super-pixel segmentation, Nw, indicates the number of pixels that fall into the region wi;
Among them, (x,y) is average coordinates; (x0,y0) is image central coordinates; Vx, Vy is width and height of the image parameters;
The saliency map Pd (wi) of the low-level model is obtained as follows according to the above formula:
Among them, cj is small image area located on the image boundary; M represents the number of small image areas in the image boundary; dd (wi,cj) represents the difference between the region wi and region cj measured by Euclidean metric; Pd(wi) is salient map of low-level model;
S3.3, According to the saliency image ZZ in the low level model, we get the coding dictionary BC of the background and the coding dictionary FC of the salient target in the high-level model based on the threshold segmentation method (make segmentation to the image based on threshold); principle in threshold segmentation of coding dictionary BC of the background and the coding dictionary FC of the salient target in the high-level model is: BC=wi (if Pd(wi)<λ1), FC=wi (if Pd(wi)>λ2), Among them, λ1 represents the threshold selected in the background encoding; λ2 is threshold value chosen for the encoding of a salient target;
S3.4, The calculation of the saliency image of background and the saliency image of salient target in high-level model of the saliency image ZZ is as follows:
the equilibrium coefficient μ between punitive consideration and regularization is selected randomly by computer to satisfy the following formula:
Where Ui is description to the infrared image of night vision, D is the Coding dictionary, º is product of elements;
Where cci is covariance matrix, λ is Regularization coefficient, X is product, tr(cci) is the sum of diagonal elements in a matrix cci;
Where Hn represents the vector of the encoding dictionary, n represents the number of elements in the encoding dictionary, α is the weight coefficient of the local adapter, dsit(Uu,Hn) represents the Euclidean distance between Ui and Hn;
According to the above formulas, the saliency image pg(wi) of salient target in the high-level model is as follows:
Pg(wi)=∥Ui−Dbbi∥2 (16)
S3.5, Combine the saliency image of the salient target and background to get the saliency image of the high level model;
S3.6, Fuse the saliency image of the low level model and the saliency image of the high level model to get the final salient image AA.
The saliency image of pedestrian and vehicle are obtained by the method to extract the road targets based on the saliency in the infrared image in night vision of the invention as shown in
The example is a preferred embodiment of the invention, but the invention is not limited to the above implementation. Without deviating from the substance of the invention, any obvious improvement, replacement, or deformation that the technical personnel of the field made still belong to the scope of protection of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2016 1 0631619 | Aug 2016 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2017/087531 | 6/8/2017 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2018/024030 | 2/8/2018 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
9317759 | Inada | Apr 2016 | B2 |
20140063275 | Krahenbuhl | Mar 2014 | A1 |
20150010207 | Inada | Jan 2015 | A1 |
20150227810 | Perazzi | Aug 2015 | A1 |
20160004929 | Varghese | Jan 2016 | A1 |
20170372162 | Wang | Dec 2017 | A1 |
Number | Date | Country |
---|---|---|
102521592 | Jun 2012 | CN |
102999926 | Mar 2013 | CN |
103020993 | Apr 2013 | CN |
104463855 | Mar 2015 | CN |
104463907 | Mar 2015 | CN |
106295542 | Jan 2017 | CN |
Entry |
---|
International Search Report for PCT/CN2017/087531, dated Aug. 24, 2017. |
Chao Ji et al., “Image Salient Region Detection Based on Spatial and Frequency Domains,” Journal of Jilin University Engineering and Technology Edition, vol. 44, No. 1, Jan. 31, 2014. |
Number | Date | Country | |
---|---|---|---|
20190197344 A1 | Jun 2019 | US |