SALIENCY-BASED METHOD FOR EXTRACTING ROAD TARGET FROM NIGHT VISION INFRARED IMAGE

Information

  • Patent Application
  • 20190197344
  • Publication Number
    20190197344
  • Date Filed
    June 08, 2017
    7 years ago
  • Date Published
    June 27, 2019
    5 years ago
Abstract
The present invention belongs to the field of machine vision. A saliency-based method for extracting a road target from a night vision infrared image is disclosed. The method combines saliencies of the time domain and the frequency domain, global contrast and local contrast, and low level features and high level features, and energy radiation is also considered to be a saliency factor; thus, the object of processing is an infrared image and not the usual natural image. The extraction of a salient region is performed on the raw natural image on the basis of energy radiation, and the obtained extraction result if the salient region is more accurate and thorough, and the contour of a target in the salient region is clearer.
Description
TECHNICAL FIELD

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.


TECHNOLOGICAL BACKGROUND

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.


THE CONTENT OF INVENTION

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:

    • A road target extraction method based on the saliency in the night vision infrared image, including the following steps:


S1, For night vision infrared image, we use the GBVS model (Image saliency analysis algorithm based on graph theory) to extract the salient region based on local features to salient image CC after rough extraction;


S2, Based on the method of spectral scale space of super-plural frequency spectrum, extract the salient region meticulously of salient image CC to get the salient map ZZ of night vision infrared image in the global feature;


S3, Confuse the global and local cues to get the salient map AA.


Further, the steps of applying the method of spectral scale space of super-plural frequency spectrum to extract the salient regions meticulously of the saliency map CC as described in S2 is as follows:


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;


S2.2, Integrate the feature map U, RG, BY and gain the super-plural matrix f(x,y).


S2.3, Carry out the super-plural Fourier transformation to the super-plural matrix f(x,y), and calculating the amplitude spectrum A, phase spectrum p, and feature spectrum kk;


S2.4, the amplitude spectrum A obtained is convoluted, thus the spectral scale space {AAk} is obtained;


S2.5, Compute saliency map sequence {Zi} on the spectral scale space {AAk};


S2.6, Select one of saliency map ZZ from saliency map sequence {Zi} based on the principle of maximum variance.


Further, the steps of using the saliency extraction method based on the fusion of global and local clues to integrate the global and local cues of the saliency map ZZ, and getting the saliency map AA is as follows:


S3.1, Saliency image ZZ is divided into several small image regions based on the super pixel segmentation;


S3.2, For the multiple small image regions, the global contrast is used to obtain the salient image in the low level model of ZZ;


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;


S3.4, Calculate the saliency image of background and the saliency image pg(wi) of salient target in high-level model of ZZ;


S3.5, Combine the saliency image of background and the saliency image of the salient target 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 saliency image AA.


Further, the formula of the super-plural 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 super-plural 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







kk
=


v


(

F


(

f


(

x
,
y

)


)


)





v


(

F


(

f


(

x
,
y

)


)


)






,




Among them, |·| is solving amplitude, F( ) is super-plural Fourier transformation, φ( ) is phase, v( ) is taking the vector part of the Fourier transformation, ∥·∥ is module of vector, g is Gaussian kernel, * is convolution, × 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 ZZ is as follows: the equilibrium coefficient μ between punitive consideration and regularization is selected randomly by computer to satisfy the following formula







min


(





i
=
1

n







U
i

-

Dbb
i




2


+

μ






dd

w
i




bb
i




2



)


,
where
,






bb
i

=

1


cc
i

+

λ
×

tr


(

cc
i

)






,






dd

w
i


=

exp
(



[


dist


(


U
i

,

H
1


)


,


dist


(


U
i

,

H
2


)














dist


(


U
i

,

H
n


)




]

T

α

)


,




Ui is original image, Hn represents the vector of the encoding dictionary, n represents the number of elements in the encoding dictionary, a is the weight coefficient of the local adapter, dist(Ui,Hn) represents the Euclidean distance between Ui and Hn, ddwi represents a local adapter; the saliency image pg(wi) of salient target is as follows:






P
g(wi)=∥Ui−Dbbi2.


The beneficial effect of the invention is as follows: The invention apply GBVS model to extract the saliency map preliminarily; Then, we use the method of spectral scale space of super-plural frequency spectrum 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 no-salient regions to extract the salient objects accurately.





ILLUSTRATION OF THE DRAWINGS


FIG. 1 is a flowchart of the method to extract the road targets based on the saliency in the infrared image in night vision.



FIG. 2 is a flowchart based on the integration of the global and local cues for the saliency extraction method;



FIG. 3 saliency map in the invention, FIG. 3(a) is the infrared image in night vision of pedestrian, FIG. 3(b) is the saliency map of pedestrian in the invention, FIG. 3(c) is the infrared image in night vision of vehicle, FIG. 3(d) is the saliency map of vehicle in the invention.





SPECIFIC IMPLEMENTATION METHODS

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 FIG. 1, the flowchart of the method to extract the road targets based on the saliency in the infrared image in night vision contains the following steps:


S1, For night vision infrared image, we use the GBVS model (Image saliency analysis algorithm based on graph theory) to extract the salient region based on local features to salient image CC after rough extraction;


S1.1, We use the classic Itti visual saliency model (saliency model based visual attention) to extract the feature map of night vision infrared images;


S1.2, Markov chain of the feature map can be constructed by markov random field;


Markov random field: the saliency of pixels in an image cell region is only related to the saliency of the adjacent pixels, but has nothing to do with the saliency of other pixels, then the set of pixels in this small image region is a Markov random field;


S1.3, By finding the equilibrium distribution of Markov chains, we get the saliency map CC.


S2, Based on the method of spectral scale space of super-plural frequency spectrum (applying the Hyper complex Fourier change to transform from time domain to spectral scale space in hyper complex frequency domain), extract the salient region meticulously of salient image CC to get the salient map 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 super-plural 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 super-plural Fourier transformation to the super-plural 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 super-plural 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:






Z
i
=g*|F
−1
{AA
k(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:









kk
=


v


(

F


(

f


(

x
,
y

)


)


)





v


(

F


(

f


(

x
,
y

)


)


)









(
9
)







Among them, g is gaussian kernel, ⊕ is convolution, * is product, F−1 is Fourier inversion, |·| is solving amplitude; F( ) is super-plural Fourier transformation; φ( ) is phase; v( ) is taking the vector part of the Fourier transformation; ∥·∥ is module of vector;


S2.6, Select one of saliency map ZZ from saliency map sequence {Zi} based on the principle of maximum variance.


S3, As shown in FIG. 2, for the saliency map ZZ, we use the saliency extraction method based on the fusion of global and local clues to integrate the global and local cues of the saliency map ZZ, and get the saliency map AA;


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 ZZ. The calculation to multiple small images based on the global contrast is as follows:










OK


(

w
i

)


=





q


w
i








OK


(
q
)




N

w
i







(
10
)







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, Nwi indicates the number of pixels that fall into the region wi;










CK


(

w
i

)


=

exp


[


-



(

x
-

x
o


)

2


2


V
x
2




-



(

y
-

y
o


)

2


2


V
y
2




]






(
11
)







Among them, (x,y) is average coordinates; (xo,yo) 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:











P
d



(

w
i

)


=






j
=
1

M



dd


(


w

i
,




c
j


)



M

×

OK


(

w
i

)


×

CK


(

w
i

)







(
12
)







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 ZZ is as follows:

  • the equilibrium coefficient μ between punitive consideration and regularization is selected randomly by computer to satisfy the following formula:










min


(





i
=
1

n







U
i

-

Dbb
i




2


+

μ






dd

w
i




bb
i




2



)


,




(
13
)







Where Ui is description to the infrared image of night vision, D is the Coding dictionary, c is product of elements;










bb
i

=

1


cc
i

+

λ
×

tr


(

cc
i

)









(
14
)







Where cci is covariance matrix, λ is Regularization coefficient, × is product, tr(cci) is the sum of diagonal elements in a matrix cci;










dd

w
i


=

exp
(



[


dist


(


U
i

,

H
1


)


,


dist


(


U
i

,

H
2


)














dist


(


U
i

,

H
n


)




]

T

α

)





(
15
)







Where Hn represents the vector of the encoding dictionary, n represents the number of elements in the encoding dictionary, a is the weight coefficient of the local adapter, dist(Ui,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:






P
g(wi)=∥Ui−Dbbi2   (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 saliency image AA.


The saliency map 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 FIG. 3.


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.

Claims
  • 1. The method to extract the road targets based on the saliency in the infrared image in night vision contains the following steps: For night vision infrared image, providing the GBVS model (Image saliency analysis algorithm based on graph theory) to extract the salient region based on local features to salient image CC after rough extraction;based on the method of spectral scale space of super-plural frequency spectrum (applying the Hyper complex Fourier change to transform from time domain to spectral scale space in hyper complex frequency domain), extract the salient region meticulously of salient image CC to get the salient map ZZ of night vision infrared image in the global feature; andconfusing the global and local cues to get the salient map AA.
  • 2. According to the method to extract the road targets based on the saliency in the infrared image in night vision according to claim 1, it is characterized that the steps to extract the salient region of salient map CC meticulously based on the method of spectral scale space of super-plural frequency spectrum comprise: 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;Integrate the feature map U, RG, BY and gaining the super-plural matrix f(x,y);Carry out the super-plural Fourier transformation to the super-plural matrix f(x,y), and calculating the amplitude spectrum A, phase spectrum p, and feature spectrum kk;Make convolution on the amplitude spectrum A to obtain spectral scale space {AAk};Calculate the salient map sequence {Zk} based on the spectral scale space {AAk};Select one of saliency map ZZ from saliency map sequence {Zi} based on the principle of maximum variance.
  • 3. According to the method to extract the road targets based on the saliency in the infrared image in night vision according to claim 1, it is characterized that the steps to combine the global cues and local cues to get the saliency map AA comprise dividing saliency image ZZ into multiple small image regions based on the super pixel segmentation;using the global contrast to obtain the salient image in the low level model of ZZ for the multiple small image regions;According to the saliency image ZZ in the low level model, determining 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;calculating the saliency image of background and the saliency image of salient target in high-level model of ZZ;Combining the saliency image of the salient target and background to get the saliency image of the high level model ZZ; andFusing the saliency image of the low level model and the saliency image of the high level model to get the final saliency image AA.
  • 4. According to the method to extract the road targets based on the saliency in the infrared image in night vision according to claim 2, it is characterized that the formula to calculate the super-plural matrix f(x,y) 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)}; wherein 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.
  • 5. According to the method to extract the road targets based on the saliency in the infrared image in night vision according to claim 2, it is characterized that the formula to calculate amplitude spectrum A is as follow: A=|F(f(x,y))| wherein |·| is calculating the amplitude, F( ) is super-plural Fourier transformation.
  • 6. According to the method to extract the road targets based on the saliency in the infrared image in night vision according to claim 2, it is characterized that the formula to calculate salient map sequence {Zk} is as follows: Zi=g*|F−1{AAk(x,y)ekk×p(x,y)}|2
  • 7. According to the method to extract the road targets based on the saliency in the infrared image in night vision according to claim 3, it is characterized that the 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 as follows: BC=wi (if Pd(w)<λ1), FC=wi (if Pd(wi)>λ2),
  • 8. According to the method to extract the road targets based on the saliency in the infrared image in night vision according to claim 3, it is characterized that the process to calculate of the saliency image of background and the saliency image of salient target in high-level model of ZZ is as follows: the equilibrium coefficient μ between punitive consideration and regularization is selected randomly by computer to satisfy the following formula:
Priority Claims (1)
Number Date Country Kind
201610631619.1 Aug 2016 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2017/087531 6/8/2017 WO 00