CN111667655A - Infrared image-based high-speed railway safety area intrusion alarm device and method - Google Patents

Infrared image-based high-speed railway safety area intrusion alarm device and method Download PDF

Info

Publication number
CN111667655A
CN111667655A CN202010660986.0A CN202010660986A CN111667655A CN 111667655 A CN111667655 A CN 111667655A CN 202010660986 A CN202010660986 A CN 202010660986A CN 111667655 A CN111667655 A CN 111667655A
Authority
CN
China
Prior art keywords
image
monitoring
speed railway
module
training
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010660986.0A
Other languages
Chinese (zh)
Inventor
李再帏
路宏遥
何越磊
孟晓亮
马跃坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai University of Engineering Science
Original Assignee
Shanghai University of Engineering Science
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai University of Engineering Science filed Critical Shanghai University of Engineering Science
Priority to CN202010660986.0A priority Critical patent/CN111667655A/en
Publication of CN111667655A publication Critical patent/CN111667655A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/251Fusion techniques of input or preprocessed data
    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19602Image analysis to detect motion of the intruder, e.g. by frame subtraction
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19665Details related to the storage of video surveillance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]

Abstract

The invention relates to an infrared image-based high-speed railway safety area intrusion alarm device and a method, wherein the alarm device comprises a data acquisition module, a ground analysis module, an early warning module, a remote communication module, a power supply module and a terminal monitoring platform; the data acquisition module is used for acquiring a monitoring image of a high-speed railway safety area in real time; the ground analysis module is used for analyzing and processing the acquired monitoring image; the early warning module is used for sending out a warning signal; the remote communication module is used for transmitting the identification result and the monitoring image; the power module is used for supplying power to the whole set of device; and the terminal monitoring platform is used for the staff to check the identification result and the field image. The invention can realize that the intrusion alarm device autonomously carries out image processing, human shape recognition and result feedback, avoids the adverse effect of factors such as illumination conditions, weather conditions and the like on the intrusion alarm device, and improves the working efficiency and the accuracy of the intrusion alarm device.

Description

Infrared image-based high-speed railway safety area intrusion alarm device and method
Technical Field
The invention belongs to the technical field of high-speed railway safety area state monitoring, and relates to an infrared image-based high-speed railway safety area intrusion alarm device and method.
Background
The general target of the 'thirteen-five' railway planning is that the railway mileage reaches 15 kilometers in 2020, the high-speed railway reaches 3 kilometers, the total railway scale is increased by 2.9 kilometers, wherein the high-speed railway is increased by 1.1 kilometer, and the investment of the 'thirteen-five' railway is about to reach 3.8 trillion yuan. Along with the development of the high-speed railway in China, the mileage of the high-speed railway is longer and longer, and the economic development and the efficiency of people in various places are greatly promoted. But also bring a lot of potential safety hazards, railway facilities are damaged, and the situation that the protective net directly passes through a railway line is ignored, so that the railway line protective net has great damage to railway safety production, economic loss is caused, and personal injury is also caused. If the intrusion alarm device is installed in the railway safety area, the dangerous behaviors that pedestrians pass through the high-speed railway line due to the fact that the pedestrians cannot see the railway safety area protective net or safely warn can be avoided to the greatest extent, and accidents that endanger personal safety are avoided.
In order to avoid the phenomenon that pedestrians invade a railway safety area, an invasion monitoring range of a high-speed railway safety area invasion alarm system firstly covers the range meeting the safety production requirement, and railway management departments mainly adopt an electronic fence type invasion monitoring device to cover the whole safety area to solve the problem, wherein the electronic fence type invasion monitoring device mainly comprises a pulse electronic fence, an infrared detection beam net, a tension type electronic fence, a vibration monitoring type electronic fence, an optical fiber type electronic fence and the like. Although these electronic fence type intrusion monitoring devices perform intrusion monitoring based on different principles, essentially, the intrusion behavior of pedestrians is determined by monitoring the changes of photoelectric signals generated by factors such as stress, vibration, sound and the like when the pedestrians pass through the electronic fence in the intrusion process. However, in order to cover the monitoring range of the whole safety area, the electronic fence must adopt a plurality of monitoring devices to form a monitoring system, which increases the cost of equipment investment in a certain sense; meanwhile, as the environment of the high-speed railway line is complex and variable, the electronic fence formed by a plurality of monitoring devices also needs to spend excessive time and labor in equipment maintenance.
Another important problem to be solved by the high-speed railway safety area intrusion alarm system is accurate human-shaped target recognition of an intruding object. The electronic fence type intrusion monitoring device indirectly judges the intrusion behavior of the safety area by monitoring the change of the photoelectric signal of the internal sensor, but the electronic fence type intrusion monitoring device cannot effectively identify whether an intruding object is a human, and meanwhile, a high-speed train running on a high-speed railway can bring huge noise, vibration, air pressure difference and other interference factors, so that the identification of the electronic fence type intrusion monitoring device is influenced. In order to solve the human-shaped target recognition problem of an invading object, the railway department utilizes a high-definition optical camera to monitor a safe area in real time, and utilizes an image recognition algorithm to carry out human-shaped classification recognition on a moving target in a monitored image. However, the video monitoring device for monitoring the safety area in real time is generally based on a visible light imaging sensor, so that the video monitoring device cannot obtain a clearly imaged monitoring image under the conditions of poor illumination effect, poor weather condition and the like, and the identification accuracy of the intrusion alarm system is greatly reduced. On the other hand, in order to complete the image recognition process of the monitoring picture of the high-speed railway safety area, the monitoring device must transmit the monitoring data to a terminal processing platform of a designated station monitoring center after acquiring the monitoring image of the high-speed railway safety area, and the condition of transmission data loss or delay may occur in the transmission process, so that more time is required for intrusion monitoring.
Disclosure of Invention
The invention aims to solve the problems in the prior art and provides an infrared image-based high-speed railway safety area intrusion alarm device and method.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
an intrusion alarm device for a high-speed railway safety area based on infrared images comprises a data acquisition module, a ground analysis module, an early warning module, a power supply module, a remote communication module and a terminal monitoring platform;
the data acquisition module is connected with the ground analysis module through a data transmission line, so that the monitoring image acquired by the data acquisition module is transmitted to the ground analysis module in real time; the ground analysis module is used for analyzing and processing the acquired monitoring image; the early warning module is connected with the ground analysis module through a data transmission line and carries out early warning according to an analysis processing result of the ground analysis module; the remote communication module is connected with the ground analysis module through a data transmission line, and is used for storing the monitoring image and the analysis processing result (human shape recognition result) of the ground analysis module and transmitting the monitoring image and the analysis processing result to the terminal monitoring platform; the power supply module is used for supplying power to the data acquisition module, the ground analysis module, the early warning module and the remote communication module, and the specific connection mode is not limited as long as the function can be realized;
the data acquisition module comprises multispectral security monitoring equipment which is arranged on a tower along the high-speed railway;
the multispectral security monitoring equipment consists of a high-definition visible light camera and a thermal infrared imager, and the high-definition visible light camera and the thermal infrared imager are provided with corresponding local area network ports so as to be convenient for transmitting monitoring image data with the ground analysis module; the data acquisition module simultaneously acquires visible light monitoring images and infrared monitoring images of the same high-speed railway safety area by using a high-definition visible light camera and a thermal infrared imager;
the ground analysis module comprises a hardware layer, an operating system, a bottom driver and an image processing software layer, wherein the operating system, the bottom driver and the image processing software layer are stored in the hardware layer; the image processing software layer consists of an image preprocessing unit, an image fusion unit, a foreground target extraction unit and a human-shaped target identification unit; the hardware layer consists of a CPU (central processing unit) processor (used for executing a corresponding image processing algorithm), a memory, a mainboard, a power supply input port, a local area network port and an input/output interface;
the image preprocessing unit is used for denoising the infrared monitoring image and the visible light monitoring image of the high-speed railway safety area to remove or reduce noise points and clutter in the image and improve the quality of the monitoring image of the high-speed railway safety area;
the image fusion unit is used for carrying out weighted-based image fusion processing on the denoised infrared monitoring image and the denoised visible light monitoring image to obtain a fused monitoring image of the safety area of the high-speed railway;
the foreground target extraction unit is used for carrying out background segmentation on the fused high-speed railway safety area monitoring image, accurately extracting a moving target in the fused high-speed railway safety area monitoring image and realizing the separation of a foreground and a background;
the human-shaped target recognition unit is used for extracting human-shaped features of the extracted moving target and recognizing whether the moving target is a human-shaped target or not by taking the extracted human-shaped features as the basis.
The infrared thermal imager in the data acquisition module performs imaging display by the temperature difference or radiation difference between a detected target and a background, so that the infrared image has more obvious moving target information no matter under severe weather conditions such as day, night, haze, rainstorm and the like, but the edge details are lacked; a high-definition visible light camera in the data acquisition module performs imaging by utilizing the reflection capability difference of the surfaces of different objects, so that a visible light image has rich texture and color information, the performance capability of visible light on all objects in a monitored scene can be weakened under the influence of external conditions such as illumination, weather and the like, after an image fusion unit performs image fusion on an infrared image and the visible light image, the insensitivity of an infrared imaging technology to an external environment and the good detail information of the visible light image in a night and low-illumination space are fully utilized, and the two characteristics are complemented to obtain the monitored image with clear moving target contour characteristics.
As a preferred technical scheme:
according to the high-speed railway safety zone intrusion alarm device based on the infrared images, the data acquisition module and the ground analysis module are connected with respective local area network ports through data transmission lines, so that the monitoring images acquired by the data acquisition module are transmitted to the ground analysis module in real time.
According to the high-speed railway safety zone intrusion alarm device based on the infrared images, the early warning module is composed of a buzzer, an indicator light, a power input port and an input/output interface.
The high-speed railway safety zone intrusion alarm device based on the infrared image comprises a remote communication module, a wireless network transmission unit, a memory and an input/output interface.
According to the high-speed railway safety zone intrusion alarm device based on the infrared images, the monitoring images and the analysis processing results of the ground analysis module are stored in the memory of the remote communication module, and the monitoring images and the analysis processing results in the memory are transmitted to the terminal monitoring platform by the wireless network transmission unit.
According to the high-speed railway safety zone intrusion alarm device based on the infrared images, the terminal monitoring platform is a PC (personal computer) located in a high-speed railway station monitoring center, and can receive the identification result and the field monitoring image transmitted by the remote communication module in real time.
According to the high-speed railway safety zone intrusion alarm device based on the infrared images, the power module is a lithium battery.
According to the high-speed railway safety zone intrusion alarm device based on the infrared image, the image preprocessing unit carries out denoising on the monitoring image by using a median filtering method, the method slides the determined filtering window in the collected monitoring image, and the filtering window is arrangedThe center is coincident with the position of the current pixel point in the monitoring image, the gray values of pixels in the neighborhood of the window are arranged in ascending order, and the gray value of the current pixel point is replaced by the sorted intermediate value, so that the results of effectively suppressing noise points and clutter generated in the acquisition process of the data acquisition module are achieved; the median filtering method comprises the following specific steps: z is a radical of1,z2,z3…zkFor the gray values of the pixels in the filter window, R (z) is used1,z2,z3…zk) Representing the result function of median filtering of the pixels in the window, k being the number of pixels in the filtering window, R (z)1,z2,z3…zk)=Med(z1,z2,z3…zk),Med(z1,z2,z3…zk) Denotes z1,z2,z3…zkThe method comprises the steps of sorting according to the size, selecting a 3 × 3 filtering window from the filtering window, calculating the gray average value of all pixel points in the 3 × 3 filtering window by an image preprocessing unit, selecting the maximum value and the minimum value of the 5 average values as the maximum threshold value and the minimum threshold value, judging the pixel points to be processed as noise points if the gray values of the pixel points to be processed are not in the range of the maximum threshold value and the minimum threshold value, and replacing the noise points by the gray median values of the pixel points in the filtering window.
According to the high-speed railway safety zone intrusion alarm device based on the infrared image, the infrared monitoring image and the visible light monitoring image which are denoised by the image preprocessing unit are respectively recorded as a source image A and a source image B, and the image fusion unit carries out fusion processing on the source image A and the source image B by using an image fusion algorithm based on weighted fusion;
for the weighted fusion of the infrared image and the visible light image in the safety zone of the high-speed railway, the weighted fusion based on the pixel values of the two source images is not directly adopted, but the high-frequency coefficient and the low-frequency coefficient of the source images are decomposed by utilizing wavelet change, the high-frequency coefficient and the low-frequency coefficient of the fused image are obtained by adopting different fusion rules for the high-frequency coefficient and the low-frequency coefficient of the source images, the fused image is obtained by utilizing inverse wavelet transformation, and the advantages of the two source images can be fully reserved in the fused image;
the image fusion algorithm based on weighted fusion is as follows:
step 1: respectively carrying out wavelet transformation on the source image A and the source image B to obtain a low-frequency coefficient C of the source image A after the wavelet transformationAAnd a high frequency coefficient FAAnd low frequency coefficient C of source image BBAnd a high frequency coefficient FB
Step 2: low frequency coefficient C of source image AAAnd low frequency coefficient C of source image BBObtaining a low-frequency coefficient C of the fused image by adopting a low-frequency coefficient fusion rule based on weightingF(ii) a The low-frequency coefficient obtained by wavelet transformation of the source image retains the basic general picture information of the original image, and the low-frequency coefficient C of the source image A is subjected toAAnd low frequency coefficient C of source image BBGiving corresponding weight to obtain low-frequency coefficient C of fused imageFThe low-frequency coefficient of the fused image can fully retain effective basic summary information in the two source images;
and step 3: high frequency coefficient F to source image AAAnd the high frequency coefficient F of the source image BBObtaining a high-frequency coefficient F of the fused image by adopting a high-frequency coefficient fusion rule based on the maximum high-frequency coefficientF(ii) a The high-frequency coefficient obtained by wavelet transformation of the source image reflects the edge and boundary information of the source image and the detail information such as the brightness abrupt change part of the pixel, and the high-frequency coefficient F of the fused image is obtained by adopting the high-frequency coefficient fusion rule based on the maximum high-frequency coefficient for the high-frequency coefficients of the source image A and the source image BFThe high-frequency coefficient of the fused image can fully retain the image edge characteristics of the source image;
and 4, step 4: low frequency coefficient C of fused imageFAnd a high frequency coefficient FFAnd performing inverse wavelet transformation to obtain a fused monitoring image of the high-speed railway safety area.
In the high-speed railway safety zone intrusion alarm device based on the infrared image, the low-frequency coefficient C of the source image A in the step 2ALow frequency coefficient C with source image BBThe low-frequency coefficient fusion rule based on weighting is as follows:
Figure BDA0002578518440000051
wherein the low frequency coefficient CAAnd a low frequency coefficient CBWeight of a1、a2Comprises the following steps:
Figure BDA0002578518440000052
high-frequency coefficient F of source image A in step 3AHigh frequency coefficient F with source image BBThe high-frequency coefficient fusion rule based on the maximum high-frequency coefficient is as follows:
Figure BDA0002578518440000053
in the infrared image-based high-speed railway security zone intrusion alarm device, the foreground object extraction unit adopts a background difference method to realize separation of a background and a foreground in the fused monitoring image, and further extracts a moving object foreground in the monitoring image; the background subtraction method comprises the following specific steps:
step 1: acquiring a current frame image; acquiring image of 50 frames before the current frame, performing background construction, accumulating gray values at the same coordinates of the image of 50 frames, calculating average value, using the calculated average value as background gray value,
Figure BDA0002578518440000057
RG (x, y) represents a background gray value at coordinates (x, y), I (x, y, I) represents a gray value at coordinates (x, y) of an ith frame image in a 50 frame image before the current frame;
step 2: subtracting the gray value of the current frame and the constructed background model at the same coordinate to obtain a gray value difference | RG (x, y) -I (x, y) |, wherein I (x, y) represents the gray value of the current frame image at the coordinate (x, y);
and step 3: constructing an adaptive threshold T by a maximum inter-class variance method, wherein pixel points with the gray value difference larger than the adaptive threshold T are foreground points, pixel points with the gray value difference smaller than the adaptive threshold T are background points, and the gray value difference is | RG (x, y) -I (x, y) |; the self-adaptive threshold T can be automatically adjusted according to the specific condition of the current frame, so that the condition that the manually set threshold cannot achieve the best segmentation effect is avoided; the self-adaptive threshold value T is a certain gray value of a differential image of the current frame and the background model, and the differential image is divided into two types C by taking the gray value as a boundary00 to T and c1- { T to L-1} (L is a differential image gray level), C is calculated0Probability of (2)
Figure BDA0002578518440000058
Mean value of
Figure BDA0002578518440000056
And C1Probability w of1-1-w0Average value of
Figure BDA0002578518440000063
(piIs the probability of occurrence of a grey value i, pi-ni/N,niThe number of pixels with the gray value of i and the total number of pixel points of the differential image N); the adaptive threshold T is such that the inter-class variance g is w0w1(u0-u1)2Reaches a maximum value, and when the threshold value is T, the two parts C of the image are differentiated0And C1The gray value difference is maximum, and the segmentation effect of the foreground and the background of the monitored image is best;
and 4, step 4: and binarizing the foreground points and the background points, and separating the moving target and the background in the fused monitoring image.
According to the high-speed railway safety zone intrusion alarm device based on the infrared image, for the contour region of the moving object extracted by the foreground object extraction unit, the contour edge of the moving object can well show the human-shaped feature of the moving object, and the pixel points at the contour edge (local) of the moving object have sudden change in the gradient size and direction, so that the gradient direction histogram (HOG feature) of the monitoring image can be used as the human-shaped feature description of the moving object; for the human-shaped feature description of the moving target in the monitored image, the calculation formula of the gradient distribution (gradient direction and size) of each pixel point of the monitored image is as follows:
gradient in horizontal direction: gx(x,y)=[-1 0 1]*I(x,y);
Gradient in vertical direction: gy(x,y)=[-1 0 1]T*I(x,y);
Gradient size of pixel point at image (x, y) position:
Figure BDA0002578518440000061
the gradient direction of the pixel point at the image (x, y) position is:
Figure BDA0002578518440000062
in the formula, I (x, y) represents the gray value of a pixel point at the position of the image (x, y);
the specific steps of the human-shaped target recognition unit for extracting the HOG characteristic value of the monitoring image are as follows:
step 1: correcting the image by using a gamma algorithm, and reducing the influence of illumination and noise on feature extraction, wherein I (x, y) ═ x, y)gammaThe gamma value is 1/2;
step 2: calculating the gradient direction and the size of each pixel point in the monitoring image;
and step 3: dividing the image into cell blocks (cells) with equal sizes, wherein the pixel size of each cell is gamma multiplied by gamma (gamma depends on the pixel size multiplied by beta of the fused image, gamma can be divided by beta, and gamma is smaller than 10), and counting the gradient size and gradient direction of all pixel points in the cell into a gradient direction histogram;
step 4-cell gradient method in blocks (each block consisting of 2 × 2 cells)Normalized to the histogram, the normalization function takes the L2-norm function:
Figure BDA0002578518440000071
v*v is the histogram of gradient direction, a very small constant, avoiding denominator
Figure BDA0002578518440000074
Is 0;
and 5: connecting the gradient direction histograms of all the blocks in series to generate HOG characteristics of the monitoring image as human shape characteristic description of the moving target;
the human-shaped target recognition unit forms an effective human-shaped recognition classifier by utilizing an AdaBoost algorithm to recognize the human shape of the moving target; the human-shaped target recognition unit inputs the extracted human-shaped feature description of the moving target into a human-shaped recognition classifier, and a discrimination function in the human-shaped recognition classifier carries out classification decision calculation on the moving target to finally recognize whether the moving target is a human-shaped target; considering the problems of different human figures and postures and more types of human figures and non-human figures existing in the distinction, in order to improve the identification accuracy of a discrimination function in an identification classifier, a human figure target unit carries out multi-sample iterative training by utilizing a machine learning algorithm (AdaBoost algorithm) to obtain a human figure identification classifier; the training process of the AdaBoost algorithm is as follows:
step 1: selecting an existing infrared human-shaped database OTCBVS OSU thermal database in the field of video monitoring as a training data set, manually classifying training samples, and classifying positive and negative samples in the training data set; wherein the training data set S { (x)1,y1),(x2,y2),…(xn,yn)},xiFeature vector (HOG feature), y, for each training sample in the training dataseti∈{-1,+1};
Step 2: during the first training, all training samples are given the same distribution weight D1=(w11,w12,…w1n) Wherein
Figure BDA0002578518440000072
D1The distribution weight of all training samples in the 1 st training process is obtained;
and step 3: performing a multi-sample iterative training process, wherein the training process is as follows:
(a) using a weight distribution DmLearning the training data set to obtain a basic classifier Gm(x);
Gm(x):x→{-1,+1};Dm=(wm1,wm2,…wmm);
Gm(x) Is the basic classifier in the mth training process, x is the input value of the basic classifier, and the input value x of the basic classifier in the training process is the feature vector x of the training samples in the training data seti;DmThe distribution weight of all training samples in the mth training process;
(b) calculation of Gm(x) Classification error rate on training set em
Figure BDA0002578518440000073
I(Gm(xi)≠yi) Represents: when G ism(xi) And yiWhen equal, the value is 0; when G ism(xi) And yiWhen the values are not equal, the value is 1; x is the number ofiFor each training sample's feature vector, y, in the training dataseti{-1,+1};wmiRepresenting the distribution weight of the ith training sample in the mth training process;
(c) computing basic classifier Gm(x) Coefficient α in human form recognition classifier G (x) in the human form object recognition unitm
Figure BDA0002578518440000081
(d) Updating the weight distribution of the training data set for the next iteration;
Dm+1=(wm+1,1,wm+1,2,…wm+1,n);
wherein
Figure BDA0002578518440000082
wm+1,iRepresents the distribution weight of the ith training sample in the (m + 1) th training process, Dm+1The distribution weight of all training samples in the (m + 1) th training process is calculated;
(e)emwhen the value is less than 0.5, ending the iterative training process;
and 4, step 4: combining all basic classifiers in the training process in the multi-sample iterative training process to form a human shape recognition classifier in the human shape target recognition unit as follows:
Figure BDA0002578518440000083
basic classifier G in the mth training processm(x) Is constructed as follows:
Figure BDA0002578518440000084
where H is all positive sample feature vectors of the training data set
Figure BDA0002578518440000085
(HOG feature) of the mean vector,
Figure BDA0002578518440000086
p is the total number of all positive samples in the training dataset, xiA feature vector (HOG feature) for each training sample in the training dataset; d (x)iH) is xiAnd H; thetamAs a basic classifier Gm(x) Is measured.
The invention also provides a high-speed railway safety area intrusion alarm method, which is suitable for the high-speed railway safety area intrusion alarm device based on the infrared image and comprises the following steps:
(1) the data acquisition module acquires an infrared monitoring image and a visible light monitoring image of a high-speed railway safety area in real time by using multispectral security monitoring equipment;
(2) transmitting the monitoring image acquired by the data acquisition module to a ground analysis module in real time;
(3) the image preprocessing unit is used for preprocessing and denoising the infrared monitoring image and the visible light monitoring image;
(4) the image fusion unit carries out image fusion processing on the infrared monitoring image and the visible light image which are subjected to preprocessing and denoising to obtain a fused monitoring image;
(5) the foreground object extraction unit extracts a moving object in the fused monitoring image;
(6) the human-shaped target recognition unit extracts human-shaped features of the moving target and recognizes the human-shaped target of the moving target according to the extracted human-shaped features;
(7) if the ground analysis module judges that the moving target in the monitoring image of the high-speed railway safety area is a human-shaped target, the early warning module warns an intruder according to the recognition result;
(8) the remote communication module sends the identification result and the monitoring image to the terminal monitoring platform in time, and the staff takes necessary measures according to the identification result and the monitoring image received by the terminal monitoring platform.
Has the advantages that:
compared with the prior art, the invention has the beneficial effects that:
(1) by the thermal infrared imager of the data acquisition device, the invention can effectively realize all-weather video monitoring by adopting an infrared thermal imaging technology. The infrared thermal imaging technology is characterized in that a thermal image picture is generated according to infrared radiation emitted by a scene, and the state information of a moving target in the scene can be still acquired under severe weather conditions such as heavy rain, strong sunlight, strong wind, haze, snowfall and the like or under the condition that a large number of objects are shielded on site, so that the accuracy of human-shaped target identification of the moving object is improved;
(2) in consideration of the defects that infrared images are weak in spatial correlation, insufficient in moving target detail reflection, low in contrast and the like due to factors such as radiation characteristics, transmission distance and atmospheric attenuation of moving objects, the infrared monitoring device has the advantages that by means of visible light images generated by a high-definition visible light camera and an image fusion unit built in the ground analysis module, infrared and visible light monitoring images are fused, the fused images can increase the definition of the images and comprehensively reflect all information of targets and backgrounds, the stability and reliability of the images are improved, and the monitoring accuracy of the intrusion monitoring device is improved;
(3) the invention can automatically complete a series of steps of monitoring image preprocessing, monitoring image fusion, background and moving target foreground separation, human shape feature extraction of the moving target and human shape target identification by utilizing the ground analysis module, thereby improving the efficiency and accuracy of intrusion monitoring and reducing the working intensity of workers. In addition, workers can transplant different image processing algorithms to an application software layer in the ground analysis module, so that the intrusion monitoring of various objects such as animals, vehicles and the like by the high-speed railway safety zone intrusion alarm device provided by the invention is realized;
(4) before the whole intrusion alarm device runs, a hardware layer, an operating system, a bottom layer driver and a corresponding image processing software layer are built in advance in the ground analysis module, so that the intrusion alarm device can independently execute intrusion monitoring steps through the ground analysis module without executing related algorithm steps through a terminal monitoring platform of a station monitoring center, and the intrusion monitoring efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of an arrangement of an intrusion alarm device for a high-speed railway safety area based on infrared images according to an embodiment of the invention;
FIG. 2 is a flow chart of a method for alarming intrusion into a safe area of a high speed railway based on infrared images according to an embodiment of the present invention;
FIG. 3 is a flowchart of a multi-sample iterative training process of a machine learning algorithm used by a human shape recognition unit in an infrared image-based intrusion alarm device for a high-speed railway security zone according to an embodiment of the present invention;
FIG. 4 is an image processing platform system of a ground analysis module in an intrusion alarm device for a high speed railway safety area based on infrared images according to an embodiment of the present invention;
the system comprises a data acquisition module, a ground analysis module, a warning module, a power supply module and a remote communication module, wherein the data acquisition module is 1, the ground analysis module is 2, the warning module is 3, and the remote communication module is 5.
Detailed Description
The invention will be further illustrated with reference to specific embodiments. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.
An intrusion alarm device for a high-speed railway safety zone based on infrared images is shown in figure 1 and comprises a data acquisition module 1, a ground analysis module 2, an early warning module 3, a power supply module 4, a remote communication module 5 and a terminal monitoring platform;
the data acquisition module 1 is connected with the ground analysis module 2 through a data transmission line, so that the monitoring image acquired by the data acquisition module 1 is transmitted to the ground analysis module 2 in real time; the ground analysis module 2 is used for analyzing and processing the collected monitoring image; the early warning module 3 is connected with the ground analysis module 2 through a data transmission line and carries out early warning according to the analysis processing result of the ground analysis module 2; the remote communication module 5 is connected with the ground analysis module 2 through a data transmission line, and the remote communication module 5 is used for storing the monitoring image and the analysis processing result (human shape recognition result) of the ground analysis module 2 and transmitting the monitoring image and the analysis processing result to the terminal monitoring platform; the power supply module 4 is used for supplying power to the data acquisition module 1, the ground analysis module 2, the early warning module 3 and the remote communication module 5;
the data acquisition module 1 comprises multispectral security monitoring equipment which is installed on towers along the high-speed railway and consists of a high-definition visible light camera and a thermal infrared imager, the high-definition visible light camera and the thermal infrared imager are provided with corresponding local area network ports, and the data acquisition module 1 is used for simultaneously acquiring visible light monitoring images and infrared monitoring images of the same high-speed railway safety area by using the high-definition visible light camera and the thermal infrared imager; as shown in fig. 4, the ground analysis module 2 includes a hardware layer, an operating system, a bottom driver, and an image processing software layer, where the operating system, the bottom driver, and the image processing software layer are stored in the hardware layer; the image processing software layer consists of an image preprocessing unit, an image fusion unit, a foreground target extraction unit and a human-shaped target identification unit; the hardware layer consists of a CPU processor, a memory, a storage, a mainboard, a power input port, a local area network port and an input/output interface; the early warning module 3 consists of a buzzer, an indicator light, a power input port and an input/output interface; the remote communication module 5 consists of a wireless network transmission unit, a memory and an input/output interface, the monitoring image and the analysis processing result of the ground analysis module 2 are stored in the memory of the remote communication module 5, and the monitoring image and the analysis processing result in the memory are transmitted to the terminal monitoring platform by utilizing the wireless network transmission unit; the power module 4 is a lithium battery; the terminal monitoring platform is a PC (personal computer) machine positioned in a monitoring center of a high-speed railway station yard;
the image preprocessing unit is used for denoising the monitoring image of the high-speed railway safety area, and specifically, a median filtering method is used for denoising the monitoring image, the method slides a determined filtering window in the collected monitoring image, the center of the filtering window is overlapped with the position of a current pixel point in the monitoring image, gray values of pixels contained in the window neighborhood are arranged in an ascending order, and the sorted middle value replaces the gray value of the current pixel point, so that the result of effectively inhibiting noise points and clutter generated in the collection process of the data collection module is achieved; the median filtering method comprises the following specific steps: x is the number of1,x2,x3…xkFor the gray values of the pixels in the filter window, R (x)1,x2,x3…xk) Representing the result function of median filtering of the pixels in the window, k being the number of pixels in the filtering window, R (x)1,x2,x3…xk)=Med(x1,x2,x3…xk),Med(x1,x2,x3…xk) Denotes x1,x2,x3…xkThe image preprocessing unit calculates the gray average value of all pixel points in the 3 × filtering window, the gray average value of pixel points in the horizontal and vertical directions of a pixel point to be processed (a central pixel point of the filtering window) and the gray average value of pixel points on the main diagonal line and the auxiliary diagonal line of the filtering window, and selects the maximum value and the minimum value of the 5 average values as the maximum threshold value and the minimum threshold value, if the gray value of the pixel point to be processed is not in the range of the maximum threshold value and the minimum threshold value, the pixel point to be processed is judged as a noise point and is replaced by the gray average value of the pixel points in the filtering window, an adaptive threshold value range is selected for the filtering window to judge whether the pixel to be processed is noise, and the loss of edges and details of a monitored image of a high-speed railway safety area caused by a median filtering algorithm is avoided;
the method comprises the following steps of recording an infrared monitoring image and a visible light monitoring image which are subjected to preprocessing and denoising as a source image A and a source image B respectively, carrying out fusion processing on the source image A and the source image B by using an image fusion algorithm based on weighted fusion to obtain a fused high-speed railway safety area monitoring image, wherein the image fusion algorithm based on weighted fusion is as follows:
step 1: respectively carrying out wavelet transformation on the source image A and the source image B to obtain a low-frequency coefficient CA and a high-frequency coefficient F of the source image A after the wavelet transformationAAnd low frequency coefficient C of source image BBHigh frequency coefficient FB
Step 2: low frequency coefficient C of source image AAAnd low frequency coefficient C of source image BBObtaining a low-frequency coefficient C of the fused image by adopting a low-frequency coefficient fusion rule based on weightingF(ii) a The low-frequency coefficient fusion rule based on weighting of the source image A and the source image B is as follows:
Figure BDA0002578518440000111
wherein the low frequency coefficient CAAnd a low frequency coefficient CBRight of (1)Value α1、α2Is composed of
Figure BDA0002578518440000112
And step 3: high frequency coefficient F to source image AAAnd the high frequency coefficient F of the source image BBObtaining a high-frequency coefficient F of the fused image by adopting a high-frequency coefficient fusion rule based on the maximum high-frequency coefficientF(ii) a The high-frequency coefficient fusion rule based on the maximum high-frequency coefficient of the source image A and the source image B is as follows:
Figure BDA0002578518440000121
and 4, step 4: low frequency coefficient C of fused imageFAnd a high frequency coefficient FFPerforming inverse wavelet transform to obtain a fused monitoring image of the high-speed railway safety area;
the foreground object extraction unit is used for performing background segmentation on the monitoring image subjected to image fusion processing, accurately extracting a moving object in the monitoring image of the high-speed railway safety area, and realizing the separation of the foreground from the background, and particularly, a background difference method is adopted to quickly realize the separation of the background from the foreground in the fused monitoring image, wherein the background difference method specifically comprises the following steps:
step 1: acquiring a current frame image; acquiring image of 50 frames before the current frame, performing background construction, accumulating gray values at the same coordinates of the image of 50 frames, calculating average value, using the calculated average value as background gray value,
Figure BDA0002578518440000122
RG(x, y) represents the background gray-scale value at the coordinates (x, y), and I (x, y, I) represents the gray-scale value at the coordinates (x, y) of the ith frame image in the 50 frame image before the current frame;
step 2: subtracting the gray value of the current frame and the constructed background model at the same coordinate to obtain a gray value difference | BG (x, y) -I (x, y) |, wherein I (x, y) represents the gray value of the current frame image at the coordinate (x, y);
and step 3: constructing an adaptive threshold T by a maximum inter-class variance method, wherein pixel points with the gray value difference larger than the adaptive threshold T are foreground points, pixel points with the gray value difference smaller than the adaptive threshold T are background points, and the gray value difference is | BG (x, y) -I (x, y) |; the self-adaptive threshold T can be automatically adjusted according to the specific condition of the current frame, so that the condition that the manually set threshold cannot achieve the best segmentation effect is avoided; the self-adaptive threshold value T is a certain gray value of a differential image of the current frame and the background model, and the differential image is divided into two types C by taking the gray value as a boundary00 to T and C1- { T to L-1} (L is a differential image gray level), C is calculated0Probability of (2)
Figure BDA0002578518440000126
Mean value of
Figure BDA0002578518440000124
And C1Probability w of1-1-w0Average value of
Figure BDA0002578518440000125
(piIs the probability of occurrence of a grey value i, pi-ni/N,niThe number of pixels with the gray value of i and the total number of pixel points of the differential image N); the adaptive threshold T is such that the inter-class variance g is w0w1(u0-u1)2Reaches a maximum value, and when the threshold value is T, the two parts C of the image are differentiated0And C1The gray value difference is maximum, and the segmentation effect of the foreground and the background of the monitored image is best;
and 4, step 4: binarizing foreground points and background points, and separating a moving target and a background of the fused monitoring image;
for the contour region of the moving target extracted by the foreground target extraction unit, the contour edge of the moving target can well show the human-shaped feature of the moving target, and the pixel points at the contour edge (local) of the moving target can be suddenly changed in the size and direction of the gradient, so that the gradient direction histogram (HOG feature) of the monitoring image can be used as the human-shaped feature description of the moving target; for the human-shaped feature description of the moving target in the monitored image, the calculation formula of the gradient distribution (gradient direction and size) of each pixel point of the monitored image is as follows:
gradient in horizontal direction: gx(x,y)=[-1 0 1]*I(x,y);
Gradient in vertical direction: gy(x,y)=[-1 0 1]T*I(x,y);
Gradient size of pixel point at image (x, y) position:
Figure BDA0002578518440000131
the gradient direction of the pixel point at the image (x, y) position is:
Figure BDA0002578518440000132
in the formula, I (x, y) represents the gray value of a pixel point at the position of the image (x, y);
the specific steps of the human-shaped target recognition unit for extracting the HOG characteristic value of the monitoring image are as follows:
step 1: correcting the image by using a gamma algorithm, and reducing the influence of illumination and noise on feature extraction, wherein I (x, y) is I (x, y)gammaThe gamma value is 1/2;
step 2: calculating the gradient direction and the size of each pixel point in the monitoring image;
and step 3: dividing the image into cell blocks (cells) with equal sizes, wherein the pixel size of each cell is gamma multiplied by gamma (gamma depends on the pixel size multiplied by beta of the fused image, gamma can be divided by beta, and gamma is smaller than 10), and counting the gradient size and gradient direction of all pixel points in the cell into a gradient direction histogram;
step 4, carrying out cell gradient direction histogram normalization in blocks (each block consists of 2 × 2 cells), wherein the normalization function adopts an L2-norm function:
Figure BDA0002578518440000133
v*v is the histogram of gradient of the cell, oneExtremely small constant, avoiding denominator
Figure BDA0002578518440000134
Is 0;
and 5: connecting the gradient direction histograms of all the blocks in series to generate HOG characteristics of the monitoring image as human shape characteristic description of the moving target;
the human-shaped target recognition unit forms a human-shaped recognition classifier by using an AdaBoost algorithm to recognize the human shape of the moving target, and as shown in FIG. 3, the training process of the AdaBoost algorithm is as follows:
step 1: selecting an existing infrared human-shaped database OTCBVS OSU thermal database in the field of video monitoring as a training sample set, manually classifying the training samples, and classifying positive and negative samples in the training data set, wherein the training data set S { (x)1,y1),(x2,y2),…(xn,yn)},xiFeature vector (HOG feature), y, for each training sample in the training dataseti∈{-1,+1};
Step 2: during the first training, all training samples are given the same distribution weight D1=(w11,w12,…w1n) Wherein
Figure BDA0002578518440000141
D1The distribution weight of all training samples in the 1 st training process is obtained;
and step 3: performing a multi-sample iterative training process, wherein the training process is as follows:
(a) using a weight distribution DmLearning the training data set to obtain a basic classifier Gm(x);
Gm(x):x→{-1,+1};Dm=(wm1,wm2,…wmn);
Gm(x) Is the basic classifier in the mth training process, x is the input value of the basic classifier, and the input value x of the basic classifier in the training process is the feature vector x of the training samples in the training data seti;DmThe distribution weight of all training samples in the mth training process;
(b) calculation of Gm(x) Classification error rate on training set em
Figure BDA0002578518440000142
Wherein, I (G)m(xi)≠yi) Represents: when G ism(xi) And yiWhen equal, the value is 0; when G ism(xi) And yiWhen the values are not equal, the value is 1; x is the number ofiFor each training sample's feature vector, y, in the training dataseti∈{-1,+1};wmiRepresenting the distribution weight of the ith training sample in the mth training process;
(c) computing basic classifier Gm(x) Coefficient α in human form recognition classifier G (x) in the human form object recognition unitm
Figure BDA0002578518440000143
(d) Updating the weight distribution of the training data set for the next iteration;
Dm+1=(wm+1,1,wm+1,2,…wm+1,n);
wherein
Figure BDA0002578518440000144
wm+1,iRepresents the distribution weight of the ith training sample in the (m + 1) th training process, Dm+1The distribution weight of all training samples in the (m + 1) th training process is calculated;
(e)emwhen the value is less than 0.5, ending the iterative training process;
and 4, step 4: combining all basic classifiers in the training process in the multi-sample iterative training process to form a human shape recognition classifier in the human shape target recognition unit
Figure BDA0002578518440000151
Basic classifier G in the mth training processm(x) Is constructed as follows:
Figure BDA0002578518440000152
where H is all positive sample feature vectors of the training data set
Figure BDA0002578518440000154
(HOG feature) of the mean vector,
Figure BDA0002578518440000153
p is the total number of all positive samples in the training dataset, xiA feature vector (HOG feature) for each training sample in the training dataset; d (x)iH) is xiAnd H; thetamAs a basic classifier Gm(x) Is measured.
The intrusion alarm method for the high-speed railway safety area, which is suitable for the intrusion alarm device for the high-speed railway safety area based on the infrared image, as shown in fig. 2, comprises the following steps:
(1) the data acquisition module acquires an infrared monitoring image and a visible light monitoring image of a high-speed railway safety area in real time by using multispectral security monitoring equipment;
(2) transmitting the monitoring image acquired by the data acquisition module to a ground analysis module in real time;
(3) the image preprocessing unit is used for preprocessing and denoising the infrared monitoring image and the visible light monitoring image;
(4) the image fusion unit carries out image fusion processing on the infrared monitoring image and the visible light image which are subjected to preprocessing and denoising to obtain a fused monitoring image;
(5) the foreground object extraction unit extracts a moving object in the fused monitoring image;
(6) the human-shaped target recognition unit extracts human-shaped features of the moving target and recognizes the human-shaped target of the moving target according to the extracted human-shaped features;
(7) if the ground analysis module judges that the moving target in the monitoring image of the high-speed railway safety area is a human-shaped target, the early warning module warns an intruder according to the recognition result;
(8) the remote communication module sends the identification result and the monitoring image to the terminal monitoring platform in time, and the staff takes necessary measures according to the identification result and the monitoring image received by the terminal monitoring platform.
The invention can realize that the all-weather 24-hour alarm device autonomously monitors the invasion of humanoid targets in the high-speed railway safety area, prompts and warns the invaded targets and can timely send identification and on-site monitoring images to station monitoring personnel;
the invention can automatically complete a series of steps of monitoring image preprocessing, monitoring image fusion, background and moving target foreground separation, human shape feature extraction of the moving target and human shape target identification by utilizing the ground analysis module, thereby improving the efficiency and accuracy of intrusion monitoring and reducing the working intensity of workers. In addition, the staff can transplant different image processing algorithms to the application software layer in the ground analysis module, so that the intrusion monitoring of various objects such as animals, vehicles and the like by the high-speed railway intrusion alarm device provided by the invention is realized;
according to the invention, the infrared monitoring image and the visible light image in the high-speed railway safety area at the same time point are acquired through the data acquisition module, the two monitoring images are fused through an image fusion algorithm, the fused image retains the contour state information of the moving target in the infrared image and the scene information of the clear moving target in the visible light image, and the accuracy of intrusion monitoring is improved.

Claims (13)

1. A high-speed railway safety zone intrusion alarm device based on infrared images is characterized in that: the system comprises a data acquisition module, a ground analysis module, an early warning module, a power supply module, a remote communication module and a terminal monitoring platform;
the data acquisition module is connected with the ground analysis module through a data transmission line, so that the monitoring image acquired by the data acquisition module is transmitted to the ground analysis module in real time; the ground analysis module is used for analyzing and processing the acquired monitoring image; the early warning module is connected with the ground analysis module through a data transmission line and carries out early warning according to an analysis processing result of the ground analysis module; the remote communication module is connected with the ground analysis module through a data transmission line and is used for storing the monitoring image and the analysis processing result of the ground analysis module and transmitting the monitoring image and the analysis processing result to the terminal monitoring platform; the power supply module is used for supplying power to the data acquisition module, the ground analysis module, the early warning module and the remote communication module;
the data acquisition module comprises multispectral security monitoring equipment which is arranged on a tower along the high-speed railway;
the multispectral security monitoring equipment consists of a high-definition visible light camera and a thermal infrared imager, and the high-definition visible light camera and the thermal infrared imager are provided with corresponding local area network ports; the data acquisition module simultaneously acquires visible light monitoring images and infrared monitoring images of the same high-speed railway safety area by using a high-definition visible light camera and a thermal infrared imager;
the ground analysis module comprises a hardware layer, an operating system, a bottom driver and an image processing software layer, wherein the operating system, the bottom driver and the image processing software layer are stored in the hardware layer; the image processing software layer consists of an image preprocessing unit, an image fusion unit, a foreground target extraction unit and a human-shaped target identification unit; the hardware layer consists of a CPU processor, a memory, a storage, a mainboard, a power input port, a local area network port and an input/output interface;
the image preprocessing unit is used for denoising the infrared monitoring image and the visible light monitoring image of the high-speed railway safety area;
the image fusion unit is used for carrying out weighted-based image fusion processing on the denoised infrared monitoring image and the denoised visible light monitoring image to obtain a fused monitoring image of the safety area of the high-speed railway;
the foreground target extraction unit is used for carrying out background segmentation on the fused high-speed railway safety area monitoring image, accurately extracting a moving target in the fused high-speed railway safety area monitoring image and realizing the separation of a foreground and a background;
the human-shaped target recognition unit is used for extracting human-shaped features of the extracted moving target and recognizing whether the moving target is a human-shaped target or not by taking the extracted human-shaped features as the basis.
2. The high-speed railway safety zone intrusion alarm device based on the infrared image as claimed in claim 1, wherein the data acquisition module and the ground analysis module are connected with respective local area network ports through data transmission lines, so that the monitoring image acquired by the data acquisition module is transmitted to the ground analysis module in real time.
3. The high-speed railway safety zone intrusion alarm device based on the infrared image is characterized in that the early warning module consists of a buzzer, an indicator light, a power supply input port and an input/output interface.
4. The high-speed railway safety zone intrusion alarm device based on the infrared image is characterized in that the remote communication module consists of a wireless network transmission unit, a memory and an input/output interface.
5. The high-speed railway safety zone intrusion alarm device based on the infrared image is characterized in that the monitoring image and the analysis processing result of the ground analysis module are stored in the memory of the remote communication module, and the monitoring image and the analysis processing result in the memory are transmitted to the terminal monitoring platform by using a wireless network transmission unit.
6. The high-speed railway safety zone intrusion alarm device based on the infrared image as claimed in claim 1, wherein the terminal monitoring platform is a PC located in a monitoring center of a high-speed railway yard.
7. The high-speed railway safety zone intrusion alarm device based on the infrared image as claimed in claim 1, wherein the power module is a lithium battery.
8. The infrared image-based high-speed railway safety zone intrusion alarm device as claimed in claim 1, wherein the image preprocessing unit denoises the monitored image using a median filtering method.
9. The infrared image-based intrusion alarm device for the safety zone of the high-speed railway according to claim 1, wherein the infrared monitoring image and the visible light monitoring image which are denoised by the image preprocessing unit are respectively recorded as a source image A and a source image B, and the image fusion unit performs fusion processing on the source image A and the source image B by using an image fusion algorithm based on weighted fusion;
the image fusion algorithm based on weighted fusion is as follows:
step 1: respectively carrying out wavelet transformation on the source image A and the source image B to obtain a low-frequency coefficient C of the source image A after the wavelet transformationAAnd a high frequency coefficient FAAnd low frequency coefficient C of source image BBAnd a high frequency coefficient FB
Step 2: low frequency coefficient C of source image AAAnd low frequency coefficient C of source image BBObtaining a low-frequency coefficient C of the fused image by adopting a low-frequency coefficient fusion rule based on weightingF
And step 3: high frequency coefficient F to source image AAAnd the high frequency coefficient F of the source image BBObtaining a high-frequency coefficient F of the fused image by adopting a high-frequency coefficient fusion rule based on the maximum high-frequency coefficientF
And 4, step 4: low frequency of fused imageCoefficient CFAnd a high frequency coefficient FFAnd performing inverse wavelet transformation to obtain a fused monitoring image of the high-speed railway safety area.
10. The infrared image-based high-speed railway safety zone intrusion alarm device as claimed in claim 9, wherein the low-frequency coefficient C of the source image A in the step 2ALow frequency coefficient C with source image BBThe low-frequency coefficient fusion rule based on weighting is as follows:
Figure FDA0002578518430000021
wherein the low frequency coefficient CAAnd a low frequency coefficient CBWeight of a1、a2Comprises the following steps:
Figure FDA0002578518430000031
high-frequency coefficient F of source image A in step 3AHigh frequency coefficient F with source image BBThe adopted high-frequency coefficient fusion rule based on the maximum high-frequency coefficient is as follows:
Figure FDA0002578518430000032
11. the high-speed railway safety zone intrusion alarm device based on the infrared image as claimed in claim 1, wherein the foreground object extraction unit adopts a background difference method to realize the separation of the background and the foreground in the fused monitoring image.
12. The high-speed railway safety zone intrusion alarm device based on the infrared images as claimed in claim 1, wherein the humanoid target recognition unit utilizes an AdaBoost algorithm to form an effective humanoid recognition classifier for humanoid recognition of moving targets; the training process of the AdaBoost algorithm is as follows:
step (ii) of1: selecting an infrared human-shaped Database OTCBVS OSU Thermal Database as a training data set, manually classifying training samples, and classifying positive and negative samples in the training data set; wherein the training data set S { (x)1,y1),(x2,y2),…(xn,yn)},xiFor each training sample's feature vector, y, in the training dataseti∈{-1,+1};
Step 2: during the first training, all training samples are given the same distribution weight D1=(w11,w12,…w1n) Wherein
Figure FDA0002578518430000033
D1The distribution weight of all training samples in the 1 st training process is obtained;
and step 3: performing a multi-sample iterative training process, wherein the training process is as follows:
(a) using a weight distribution DmLearning the training data set to obtain a basic classifier Gm(x);
Gm(x):x→{-1,+1};Dm=(wm1,Wm2,…wmn);
Gm(x) Is the basic classifier in the mth training process, x is the input value of the basic classifier, and the input value x of the basic classifier in the training process is the feature vector x of the training samples in the training data seti;DmThe distribution weight of all training samples in the mth training process;
(b) calculation of Gm(x) Classification error rate on training set em
Figure FDA0002578518430000041
I(Gm(xi)≠yi) Represents: when G ism(xi) And yiWhen equal, the value is 0; when G ism(xi) And yiWhen they are not equal, getA value of 1; x is the number ofiFor each training sample's feature vector, y, in the training dataseti∈{-1,+1};wmiRepresenting the distribution weight of the ith training sample in the mth training process;
(c) computing basic classifier Gm(x) Coefficient α in human form recognition classifier G (x) in the human form object recognition unitm
Figure FDA0002578518430000042
(d) Updating the weight distribution of the training data set for the next iteration;
Dm+1=(wm+1,1,wm+1,2,…wm+1,n);
wherein the content of the first and second substances,
Figure FDA0002578518430000043
wm+1,irepresents the distribution weight of the ith training sample in the (m + 1) th training process, Dm+1The distribution weight of all training samples in the (m + 1) th training process is calculated;
(e)emwhen the value is less than 0.5, ending the iterative training process;
and 4, step 4: combining all basic classifiers in the training process in the multi-sample iterative training process to form a human shape recognition classifier in the human shape target recognition unit
Figure FDA0002578518430000044
Basic classifier G in the mth training processm(x) Is constructed as follows:
Figure FDA0002578518430000045
wherein H is all positive sample feature vectors x 'of the training data set'iThe mean value vector of (a) is,
Figure FDA0002578518430000046
p is the total number of all positive samples in the training dataset, xiA feature vector for each training sample in the training dataset; d (x)iH) is xiAnd H; thetamAs a basic classifier Gm(x) Is measured.
13. A high-speed railway safety area intrusion alarm method is suitable for the high-speed railway safety area intrusion alarm device based on the infrared image according to any one of claims 1 to 12, and is characterized by comprising the following steps:
(1) the data acquisition module acquires an infrared monitoring image and a visible light monitoring image of a high-speed railway safety area in real time by using multispectral security monitoring equipment;
(2) transmitting the monitoring image acquired by the data acquisition module to a ground analysis module in real time;
(3) the image preprocessing unit is used for preprocessing and denoising the infrared monitoring image and the visible light monitoring image;
(4) the image fusion unit carries out image fusion processing on the infrared monitoring image and the visible light image which are subjected to preprocessing and denoising to obtain a fused monitoring image;
(5) the foreground object extraction unit extracts a moving object in the fused monitoring image;
(6) the human-shaped target recognition unit extracts human-shaped features of the moving target and recognizes the human-shaped target of the moving target according to the extracted human-shaped features;
(7) if the ground analysis module judges that the moving target in the monitoring image of the high-speed railway safety area is a human-shaped target, the early warning module warns an intruder according to the recognition result;
(8) the remote communication module sends the identification result and the monitoring image to the terminal monitoring platform in time, and the staff takes necessary measures according to the identification result and the monitoring image received by the terminal monitoring platform.
CN202010660986.0A 2020-07-10 2020-07-10 Infrared image-based high-speed railway safety area intrusion alarm device and method Pending CN111667655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010660986.0A CN111667655A (en) 2020-07-10 2020-07-10 Infrared image-based high-speed railway safety area intrusion alarm device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010660986.0A CN111667655A (en) 2020-07-10 2020-07-10 Infrared image-based high-speed railway safety area intrusion alarm device and method

Publications (1)

Publication Number Publication Date
CN111667655A true CN111667655A (en) 2020-09-15

Family

ID=72391995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010660986.0A Pending CN111667655A (en) 2020-07-10 2020-07-10 Infrared image-based high-speed railway safety area intrusion alarm device and method

Country Status (1)

Country Link
CN (1) CN111667655A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158800A (en) * 2021-03-19 2021-07-23 上海云赛智联信息科技有限公司 Enclosure intrusion hybrid detection method and enclosure intrusion hybrid detection system
CN114913654A (en) * 2022-05-16 2022-08-16 北京京航安机场工程有限公司 Airport enclosure intrusion pre-alarm processing equipment and method based on edge calculation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158800A (en) * 2021-03-19 2021-07-23 上海云赛智联信息科技有限公司 Enclosure intrusion hybrid detection method and enclosure intrusion hybrid detection system
CN114913654A (en) * 2022-05-16 2022-08-16 北京京航安机场工程有限公司 Airport enclosure intrusion pre-alarm processing equipment and method based on edge calculation

Similar Documents

Publication Publication Date Title
CN105809679B (en) Mountain railway side slope rockfall detection method based on visual analysis
CN103442209B (en) Video monitoring method of electric transmission line
CN111784633B (en) Insulator defect automatic detection algorithm for electric power inspection video
CN101715111B (en) Method for automatically searching abandoned object in video monitoring
CN111260629A (en) Pantograph structure abnormity detection algorithm based on image processing
CN110852179B (en) Suspicious personnel invasion detection method based on video monitoring platform
CN112183472A (en) Method for detecting whether test field personnel wear work clothes or not based on improved RetinaNet
CN111667655A (en) Infrared image-based high-speed railway safety area intrusion alarm device and method
CN112861617A (en) Slope disaster identification system based on monitoring image
Shangzheng A traffic sign image recognition and classification approach based on convolutional neural network
Kapoor et al. Deep learning based object and railway track recognition using train mounted thermal imaging system
CN115841633A (en) Power tower and power line associated correction power tower and power line detection method
CN113192038B (en) Method for recognizing and monitoring abnormal smoke and fire in existing flame environment based on deep learning
CN114627286A (en) Method for detecting wagon staff invasion based on PSPNet and improved YOLOv4
CN109815784A (en) A kind of intelligent method for classifying based on thermal infrared imager, system and storage medium
CN212873683U (en) High-speed railway safety zone intrusion alarm device based on infrared image
CN115995097A (en) Deep learning-based safety helmet wearing standard judging method
CN115410114A (en) Urban rail flood prevention early warning method and system based on multiple characteristics
CN114708544A (en) Intelligent violation monitoring helmet based on edge calculation and monitoring method thereof
CN111160224B (en) High-speed rail contact net foreign matter detection system and method based on FPGA and horizon line segmentation
CN113223081A (en) High-altitude parabolic detection method and system based on background modeling and deep learning
CN111382718A (en) Night pedestrian detection system and pedestrian detection method based on system
CN111582084A (en) Weak supervision learning-based rail foreign matter detection method and system under empty base view angle
CN113327245B (en) Tunnel protection door state detection method based on image recognition
CN112396031B (en) Target detection method and system based on heterogeneous operation platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination