Saliency-based method for extracting road target from night vision infrared image

Information

  • Patent Grant
  • 10635929
  • Patent Number
    10,635,929
  • Date Filed
    Thursday, June 8, 2017
    7 years ago
  • Date Issued
    Tuesday, April 28, 2020
    4 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
CROSS REFERENCE TO RELATED APPLICATIONS

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.


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.


TECHNICAL 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 Graph-Based Visual Saliency (“GBVS”) model 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 in a hypercomplex frequency domain, extracting the salient region meticulously of salient image CC to get the salient image ZZ of night vision infrared image in the global feature;
    • S3, Fuse the global and local cues to get the salient image AA.


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:

    • 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 hypercomplex matrix f(x,y);
    • 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;
    • 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 image 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 cues to integrate the global and local cues of the saliency image ZZ, and getting the saliency image AA is as follows:

    • S3.1, Saliency image 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 the saliency image ZZ;
    • S3.3, According to the salient 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 the saliency image 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 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







kk
=


v


(

F


(

f


(

x
,
y

)


)


)





v


(

F


(

f


(

x
,
y

)


)


)






,





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







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, α 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:

Pg(wi)=∥Ui−Dbbi2


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.





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 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 image CC.


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:









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 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 FIG. 2, for the saliency image ZZ, we use 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 get the saliency image 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 saliency image 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, Nw, 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; (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:











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 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:










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, º is product of elements;










bb
i

=

1


cc
i

+

λ
×

tr


(

cc
i

)









(
14
)







Where cci is covariance matrix, λ is Regularization coefficient, X 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, α 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−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 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 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. A method to extract road targets based on saliency in an infrared image using night vision, contains the following steps: capturing a night vision infrared image of a road target;performing a coarse extraction on a saliency region of the night vision infrared image based on local contrast using a graph-based visual saliency model to obtain a saliency image CC;performing an extraction of the saliency region of the saliency image CC using a hypercomplex Fourier transformation on global features of the saliency image CC to transform a time domain of the saliency image CC to a spectral scale space with a hypercomplex frequency domain to form a saliency image ZZ; andfusing global and local cues to get a saliency image AA;wherein the saliency image CC is a first saliency image of the night vision infrared image, the saliency image ZZ is a second saliency image of the night vision infrared image, and the saliency image AA is a final saliency image of the night vision infrared image;wherein forming the saliency image ZZ comprises: using a red component, a green component, and a blue component of the saliency image CC to calculate characteristic maps U, RG, and BY;wherein ‘r’ is the red component, ‘g’ is the green component, and ‘b’ is the blue component; andwherein U is calculated by U=(r+g+b)/3,RG is calculated by RG=[r−(g+b)/2]−[g−(r+b)/2], andBY is calculated by BY=[b−(r+g)/2]−[(r+g)/2−|r−g|/2−b];using the characteristic maps U, RG, and BY to create a hypercomplex matrix f(x,y) of the saliency image CC;performing a hypercomplex Fourier transformation of the hypercomplex matrix f (x,y), wherein an amplitude spectrum A, a phase spectrum p, and a characteristic spectrum kk are calculated;performing a convolution calculation on the amplitude spectrum A to obtain a spectral scale space {AAk};calculating a saliency map sequence {Zk} of the saliency image CC based on the spectral scale space {AAk}; andselecting the saliency image ZZ from the saliency map sequence {Zk} based on the principle of maximum variance, wherein the saliency image ZZ is one of the saliency maps from the saliency map sequence {Zk}.
  • 2. According to the method to extract the road targets based on the saliency in the night vision infrared image according to claim 1, it is characterized that the steps to combine global cues and local cues to get a saliency image AA comprise: dividing the saliency image ZZ into multiple small image regions based on a super pixel segmentation;using a global contrast on the multiple small image regions to calculate a low level model of the saliency image ZZ;using the low level model of the saliency image ZZ, to create a coding dictionary BC of a background and a coding dictionary FC of the saliency region in a high-level model of saliency image ZZ, based on a threshold segmentation method;calculating a saliency image of the background and a saliency image of the saliency region in the high-level model of the saliency image ZZ;combining the saliency image of the saliency region and the saliency image of the background to get the saliency image of the high-level model of the saliency image ZZ; andfusing the saliency image of the low level model of the saliency image ZZ and the high-level model of the saliency image ZZ to get the final saliency image AA.
  • 3. According to the method to extract the road targets based on the saliency in the night vision infrared image according to claim 2, it is characterized by: using the threshold segmentation method of the coding dictionary BC of the background and the coding dictionary FC of the saliency region in the high-level model;
  • 4. According to the method to extract the road targets based on the saliency in the night vision infrared image according to claim 2, it is characterized by: calculating the saliency image of the background and the saliency image of the saliency region in the high-level model of saliency image ZZ;
  • 5. According to the method to extract the road targets based on the saliency in the night vision infrared image according to claim 1, characterized by: the formula to calculate the hypercomplex matrix f(x,y);wherein f(x,y)=0.5×U{right arrow over (i)}+0.25×RG{right arrow over (j)}+0.25BY{right arrow over (k)}; andwherein vectors {right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)} are unit vectors; andwherein the vector {right arrow over (i)} corresponds to a first dimensional direction, the vector {right arrow over (j)} corresponds to a second dimensional direction, and the vector {right arrow over (k)} corresponds to a third dimensional direction of a three dimensional coordinate space.
  • 6. According to the method to extract the road targets based on the saliency in the night vision infrared image according to claim 1, characterized by: the formula to calculate the amplitude spectrum A;
  • 7. According to the method to extract the road targets based on the saliency in the night vision infrared image according to claim 1, characterized by: the formula to calculate saliency map sequence {Zk};
Priority Claims (1)
Number Date Country Kind
2016 1 0631619 Aug 2016 CN national
PCT Information
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
US Referenced Citations (6)
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
Foreign Referenced Citations (6)
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
Non-Patent Literature Citations (2)
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.
Related Publications (1)
Number Date Country
20190197344 A1 Jun 2019 US