[go: up one dir, main page]

CN100592325C - A Method of Vehicle Existence Detection Based on Image Texture - Google Patents

A Method of Vehicle Existence Detection Based on Image Texture Download PDF

Info

Publication number
CN100592325C
CN100592325C CN200710188562A CN200710188562A CN100592325C CN 100592325 C CN100592325 C CN 100592325C CN 200710188562 A CN200710188562 A CN 200710188562A CN 200710188562 A CN200710188562 A CN 200710188562A CN 100592325 C CN100592325 C CN 100592325C
Authority
CN
China
Prior art keywords
target
vehicle
segment
row
data
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.)
Expired - Fee Related
Application number
CN200710188562A
Other languages
Chinese (zh)
Other versions
CN101231699A (en
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.)
Changan University
Original Assignee
Changan University
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 Changan University filed Critical Changan University
Priority to CN200710188562A priority Critical patent/CN100592325C/en
Publication of CN101231699A publication Critical patent/CN101231699A/en
Application granted granted Critical
Publication of CN100592325C publication Critical patent/CN100592325C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

本发明涉及一种基于图像纹理检测车辆存在的方法,将线阵CCD图像利用小波变换获取一行数据的小波系数,找出其中的局部极大点和极小点,并量化为仅包含1、-1和0的序列,每20行进行一次累加,统计5000行数据中累加和出现的频数最高的数值,作为新的背景纹理,以此每隔5000行更新一次背景,逐行进行二值化计算,获取当前行与前19行数据小波变化量化后的累加和,并将其逐段与背景纹理相比较,如果大于某个阈值,则认为该行中的该段为目标,置为1,否则,则置为0,以此对该行数据进行二值化,在此基础上,逐行进行车辆分割,为每个车道设置若干车辆计数器,逐段判断其所属的车道,并进行车辆信息的修改,以此实现实时车辆分割。

The invention relates to a method for detecting the presence of a vehicle based on image texture. The wavelet coefficients of a row of data are obtained from a line array CCD image by wavelet transform, the local maximum points and minimum points are found out, and quantized to only include 1, - The sequence of 1 and 0 is accumulated every 20 lines, and the value with the highest frequency of accumulation and occurrence in the 5000 lines of data is counted as a new background texture, so as to update the background every 5000 lines and perform binarization calculation line by line , to obtain the cumulative sum of the current row and the first 19 rows of data after wavelet change quantization, and compare it with the background texture segment by segment. If it is greater than a certain threshold, consider the segment in this row as the target and set it to 1, otherwise , then it is set to 0, so as to binarize the row of data. On this basis, vehicle segmentation is performed row by row, and several vehicle counters are set for each lane, and the lane to which it belongs is judged segment by segment, and the vehicle information is Modified to achieve real-time vehicle segmentation.

Description

A kind of method that detects the vehicle existence based on image texture
Technical field
The invention belongs to the Video Detection field, be specifically related to a kind of method that detects the vehicle existence based on image texture.
Technical background
At present, transport information detects method commonly used toroid winding, ultrasound wave/Microwave Measurement, laser/infrared detection and video image detection etc.Toroid winding detecting device cost is low, accuracy of detection is higher, but has the shortcoming of installation and maintenance difficulty.Laser/the infrared detector performance is good, precision is high, but cost an arm and a leg, the equipment complexity.But ultrasound wave/microwave detector all weather operations, vehicle classification more easily realize, but be subjected to easily pedestrian and shelter influence, to detect distance shorter.Video detecting method operation is flexibly directly perceived, simple installation, be easy to safeguard and expense on the low side, therefore have more superiority than other detection methods.
Traditional video detecting method is based on face system of battle formations picture, its background image complexity, be unfavorable for that target is cut apart and feature extraction, and background image is simple relatively in the line array CCD imaging, therefore follow-up target is cut apart, feature extraction and description want simple many, this makes that the job stability of system under all weather conditions is easier to guarantee, and the frame rate of linear array CCD image is higher than the frame rate of area array CCD far away, thereby can realize high-precision test, particularly automobile storage with the detection of car speed.
Line array CCD is imaged as a line of road segment segment face at every turn, in order to guarantee the real-time of testing result, require image data is handled by line, and conventional Video Detection algorithm all is based on a pattern system of battle formations picture, therefore, need design the automobile storage that is applicable to linear array CCD image detection method.
Summary of the invention
The objective of the invention is to, provide a kind of and detect the method that vehicle exists based on image texture, this method can effectively suppress the interference that car light and shade are cut apart vehicle, realizes the accurate location in real time of vehicle.
In order to realize above-mentioned task, the present invention takes following technical solution:
A kind of method that detects the vehicle existence based on image texture, it is characterized in that, this method utilizes wavelet transformation to obtain the wavelet coefficient of data line linear array CCD image, find out a little bigger and minimal point of local pole wherein, and be quantified as and only comprise 1,-1 and 0 sequence, per 20 row carry out one-accumulate, add up the highest numerical value of frequency that adds up in 5000 line data and occur, as new background texture, upgrade a background with this every 5000 row, carry out binaryzation line by line and calculate, after obtaining current line and preceding 19 line data small echos and change quantizing add up and, and it is compared with background texture piecemeal, if greater than certain threshold value, think that then this section in this row is a target, be changed to 1, otherwise, then be changed to 0, with this this line data is carried out binaryzation; And be the binaryzation result that 1 segment calls target phase, binaryzation result is that 0 segment is called dead band;
On this basis, carry out vehicle line by line and cut apart, for each track is provided with the plurality of vehicles counter, judge the track under it piecemeal, the modification of the driving information of going forward side by side realizes that with this real-time vehicle cuts apart.
Automobile storage based on image texture of the present invention is carried out line by line in detection method, and its processing time is less than the acquisition time of data line, therefore can guarantee the real-time that detects, and calculate based on the binaryzation of image texture and can effectively eliminate the interference that car light and shade are cut apart vehicle, realize the accurate location in real time of vehicle.The present invention can directly apply to the linear array CCD image collection site, the vehicle in the image is cut apart in real time, for the traffic parameter statistics provides foundation.
Description of drawings
Fig. 1 is the binaryzation algorithm flow chart that the present invention is based on the pavement texture feature;
Fig. 2 is a vehicle partitioning algorithm process flow diagram of the present invention;
Fig. 3 is treatment effect figure on daytime, and wherein, figure is the original ccd image of gathering a), figure b) be the binaryzation design sketch, figure c) be vehicle segmentation effect figure;
Fig. 4 is treatment effect figure in evening, and wherein, figure is the original ccd image of gathering a), figure b) be the binaryzation design sketch, figure c) be vehicle segmentation effect figure.
Below in conjunction with accompanying drawing content of the present invention is described in further detail.
Embodiment
Method of the present invention utilizes wavelet transformation to obtain the wavelet coefficient of data line linear array CCD image, find out a little bigger and minimal point of local pole wherein, and be quantified as and only comprise 1,-1 and 0 sequence, per 20 row carry out one-accumulate, add up the highest numerical value of frequency that adds up in 5000 line data and occur, as new background texture, upgrade a background with this every 5000 row, carrying out binaryzation line by line calculates, after obtaining current line and preceding 19 line data small echos and change quantizing add up and, and it is compared with background texture piecemeal, if greater than certain threshold value, think that then this section in this row is a target, be changed to 1, otherwise, then be changed to 0, with this this line data is carried out binaryzation; And be the binaryzation result that 1 segment calls target phase, binaryzation result is that 0 segment is called dead band;
On this basis, carry out vehicle line by line and cut apart, for each track is provided with the plurality of vehicles counter, judge the track under it piecemeal, the modification of the driving information of going forward side by side realizes that with this real-time vehicle cuts apart.
Referring to Fig. 1, as follows based on the concrete implementation step of the binaryzation algorithm of image texture characteristic:
1) initialization of variable.Find background indicia bFindBack=false; Current every trade AL=0, background line number counter nBlock=0,20 line data add up by row and nSum[]=0, add up the frequency aBlockInfo[that each segment data occurs] []=0, binaryzation parameter alpha=0.35, β=2.0;
2) from internal memory, read data line, put AL=AL+1, nBlock=nBlock+1;
3) this line data is carried out three grades of wavelet transformations, takes out wavelet coefficient, be stored in array pDWTData[] in;
4) with array pDWTData[] only be converted into and comprise-1,0,1 sequence, be stored in AR[] in.Wherein, with pDWTData[] in local pole be labeled as 1 a little louder, local minimum point is labeled as-1, other points are labeled as 0;
5) if step 2 is changeed in AL<20);
6), and be stored in array nSum[by the row AR value of up-to-date 20 line data that adds up] in;
7) getting window size is 16, to nSum[] in data handle by window, in window ranges, get the value of a maximal value, and be stored in array nSumAvg[as all pixels in this window] in, promptly data line is divided into 64 sections;
8) if bFindBack=false changes step 11);
9) according to background aBack[], carry out binaryzation by following condition;
if(nSumAvg[j]<=α*aBack[j]&&nSumAvg[j]>=β*aBack[j])
The pairing pixel two-value of this row j segment data turns to 1;
else
The pairing pixel two-value of this row j segment data turns to 0;
10) the binaryzation result to data line further handles, if dead band length≤2 between two target phases, then the pixel of this dead band correspondence is filled to 1, if the length of previous target phase≤2, and distance 〉=7 of the back target phase of its distance then are changed to 0 to the pixel of previous target phase correspondence;
11) frequency that occurs of the AR value of up-to-date 20 line data of statistics, and be stored in array aBlockInfo[] in [], this array first dimension is represented the value of AR, and second ties up and represents segment number;
12) if step 2 is changeed in nBlock<5000);
13) according to aBlockInfo[] statistical information of [], find out each section and the maximum numerical value of frequency occurs as new background, and be stored in aBack[] in, put nBlock=0, revise background indicia bFindBack=true, and put aBlockInfo[] []=0;
14) if receive command for stopping, then stop data processing, otherwise change step 2).
Be the convenient vehicle partitioning algorithm of describing, the line array CCD visual field is divided into three logic tracks (corresponding to two monitored physics tracks) according to the close shot camera field of view, and each track comprises some information: pre-trigger sign, confirm to trigger sign, there are counter in null counter, target, target left margin, target right margin, target begin column number, target end line number, trigger the definite line number of point midway, target level projection counter, triggering in advance.
Referring to Fig. 2, the concrete implementation step that vehicle is cut apart is as follows:
1) lane information initialization.Pre-triggering sign with each track, confirm to trigger sign and be changed to false, with the null counter, the target left margin, the target right margin, target begin column number, target end line number, target level projection counter, the definite line number that triggers is changed to 0, objective definition segment length threshold value n1, the level thresholds n2 that merges vehicle, the horizontal projection of determining headstock adds up and threshold value n3, confirm the target width threshold value n4 of triggering, confirm the target length threshold value n5 of triggering, the null that the affirmation target finishes is counted n6, target maximum length n7, the minimum length n8 of target determines it is not that the horizontal projection of headstock adds up and threshold value n9;
2) read the binaryzation result of up-to-date data line;
3) reference position of the next target phase in location;
4) change step 5) if continuous target phase number surpasses n1, otherwise change step 3);
5) judge whether this continuous target phase can merge to the track of having triggered, if can merge, then changes step 6), otherwise change step 7);
Judge track under it according to the mid point of successive objective section,, need judge whether this continuous target phase belongs to the vehicle of triggering in advance in order to prevent false triggering.The objective definition section to the distance that triggers the track in advance is: if this continuous target phase has common factor with the vehicle horizontal extent that triggers the track, think that then this target phase belongs to the vehicle that has triggered in this track, its distance is 0; Otherwise, the minor increment on border, the left and right sides of vehicle in track has been triggered as its distance in the border, the left and right sides of getting continuous target phase distance respectively, if this distance surpasses threshold value n2, think that then this target phase does not belong to the vehicle that has triggered in this track, otherwise think that this target phase belongs to the vehicle that has triggered in this track;
6) revise the boundary information of this track vehicle.The number that target level projection counter is added up target phase piecemeal, the end line of modifying target number, if the border, the left and right sides of this target phase has exceeded the left and right sides bounds in this track, then step 8) is changeed on the border, the left and right sides of modifying target;
7) newly-built information of vehicles on the track under the successive objective section is put pre-triggering and is masked as true, opens target level projection counter, and border, the left and right sides, begin column number, the end line number of target are set;
8) judge whether to handle all segments of this line data,, change step 9), otherwise change step 3) if dispose;
9) handle information of vehicles by the track;
10) if there is target phase to occur on this track, the null counter puts 0, changes step 11), otherwise changes step 14);
11) if this track is not also confirmed to trigger, change step 12), otherwise change step 15);
12) judge whether to satisfy the condition of confirming triggering,, change step 13), otherwise change step 16) if satisfy.Confirm that trigger condition is: the horizontal projection of headstock information adds up and surpasses threshold value n3, and the width of target surpasses threshold value n4, and the length of target is above threshold value n5;
13) put the affirmation triggering and be masked as true, the definite line number of triggering is changed to the beginning line number of target, changes step 19);
14) this track null counter adds 1, if null length surpasses threshold value n6, thinks that then target finishes, and changes step 18), otherwise change step 19);
15) judge whether target length surpasses threshold value n7,, think that then target finishes, and changes step 18 if surpass), otherwise change step 19);
16) judge whether to satisfy the condition that cancellation triggers,, then change step 17 if satisfy), otherwise change step 19).The cancellation trigger condition is: target length surpasses threshold value n8, and perhaps the target length horizontal projection that surpasses n5 and headstock information adds up and less than threshold value n9;
17) cancellation triggers, put pre-triggering sign, confirm that the triggering sign is changed to false, the definite line number of null counter, target left margin, target right margin, target begin column number, target end line number, target level projection counter, triggering is changed to 0, changes step 19);
18) carrying out vehicle cuts apart.Determine the border, the left and right sides of vehicle according to target level projection counter, border, front and back according to the begin column of vehicle number and end line number definite vehicle, sign vehicle scope, and put pre-triggering sign, confirm to trigger sign and be changed to false, the definite line number of null counter, target left margin, target right margin, target begin column number, target end line number, target level projection counter, triggering is put 0;
19) judge whether to handle all tracks,, change step 20 if dispose), otherwise change step 9);
20) if receive command for stopping, then stop data processing, otherwise change step 2).
It below is the specific embodiment that the inventor provides.
Embodiment 1:
With reference to Fig. 3 a-c) shown in, the linear array CCD image that figure a) gathers for daytime is because there is vehicle shadow in the influence of the sun in the image.Employing based on the binaryzation algorithm process effect of image texture characteristic as figure b) shown in, the interference of having removed shade, figure c) be the vehicle segmentation effect, as seen the present invention has effectively suppressed the influence that shade is cut apart vehicle.
Embodiment 2:
With reference to Fig. 4 a-c) shown in, the linear array CCD image that figure a) gathers for evening is because the influence of car light and light filling exists in the image and not only has car light, and has shade.Employing based on the binaryzation algorithm process effect of image texture characteristic as figure c) shown in, the interference of having removed light and shade, figure c) be the vehicle segmentation effect, as seen the present invention has effectively suppressed the influence that shade and car light are cut apart vehicle.

Claims (1)

1.一种基于图像纹理检测车辆存在的方法,其特征在于,该方法将线阵CCD图像逐行进行二值化计算;在此基础上,逐行进行车辆目标分割;1. A method for detecting vehicle existence based on image texture is characterized in that, the method carries out binarization calculation with line array CCD image line by line; on this basis, carries out vehicle target segmentation line by line; 所述的二值化计算按照以下步骤进行:Described binarization calculation is carried out according to the following steps: (a)变量初始化:(a) Variable initialization: 设置背景标志bFindBack=false;当前行行号AL=0,背景行数计数器nBlock=0,20行数据按列累加的和nSum[]=0,统计各段数据出现的频数aBlockInfo[][]=0,二值化参数α=0.35,β=2.0;Set the background flag bFindBack=false; the current row number AL=0, the background row number counter nBlock=0, the accumulated sum of 20 rows of data by column nSum[]=0, count the frequency of occurrence of each section of data aBlockInfo[][]= 0, binarization parameter α=0.35, β=2.0; (b)从内存中读取一行图像数据,置AL=AL+1,nBlock=nBlock+1;(b) read one row of image data from the internal memory, put AL=AL+1, nBlock=nBlock+1; (c)对该行数据进行三级小波变换,取出小波系数,存于数组pDWTData[]中;(c) Perform three-stage wavelet transform on the row data, take out the wavelet coefficients, and store them in the array pDWTData[]; (d)将数组pDWTData[]转化为只包含-1、0、1的序列,存于AR[]中;其中,将pDWTData[]中的局部极大点标记为1,局部极小点标记为-1,其他点标记为0;(d) Convert the array pDWTData[] into a sequence containing only -1, 0, 1 and store it in AR[]; among them, the local maximum point in pDWTData[] is marked as 1, and the local minimum point is marked as -1, other points are marked as 0; (e)如果AL<20,转步骤(b);否则,转步骤(f);(e) If AL<20, go to step (b); otherwise, go to step (f); (f)按列累加最新20行数据的AR值,并存于数组nSum[]中;(f) Accumulate the AR values of the latest 20 rows of data by column and store them in the array nSum[]; (g)取窗口大小为16,对nSum[]中的数据按窗口进行处理,在窗口范围内取一个最大值作为该窗口内所有像素点的值,并存于数组nSumAvg[]中,即一行数据被划分成64段;(g) Take the window size as 16, process the data in nSum[] according to the window, take a maximum value within the window range as the value of all pixels in the window, and store it in the array nSumAvg[], that is, one line of data is divided into 64 segments; (h)如果bFindBack=false,转步骤(k);否则,转步骤(i);(h) If bFindBack=false, go to step (k); otherwise, go to step (i); (i)根据背景aBack[],按如下条件进行二值化;(i) According to the background aBack[], perform binarization according to the following conditions; if(nSumAvg[j]<=α*aBack[j]&&nSumAvg[j]>=β*aBack[j])if(nSumAvg[j]<=α*aBack[j]&&nSumAvg[j]>=β*aBack[j]) 该行第j段数据所对应的像素点二值化为1;Binarize the pixel point corresponding to the jth segment of data in the row to 1; elseelse 该行第j段数据所对应的像素点二值化为0;The pixel point corresponding to the data in the jth segment of the row is binarized to 0; (j)对一行数据的二值化结果进行进一步处理,如果位于两个目标段之间的空段长度≤2,则把该空段对应的像素填充为1,如果前一个目标段的长度≤2,并且它距离后一个目标段的距离≥7,则把前一个目标段对应的像素置为0;(j) Further process the binarization result of a row of data, if the length of the empty segment between two target segments is ≤ 2, fill the corresponding pixel of the empty segment with 1, if the length of the previous target segment ≤ 2, and its distance from the next target segment is ≥ 7, then the pixel corresponding to the previous target segment is set to 0; (k)统计最新20行数据的AR值出现的频数,并存于数组aBlockInfo[][]中,该数组第一维代表AR的取值,第二维代表段号;(k) Count the frequency of the AR value of the latest 20 rows of data, and store it in the array aBlockInfo[][], the first dimension of the array represents the value of AR, and the second dimension represents the segment number; (l)如果nBlock<5000,转步骤(b);否则,转步骤(m);(l) If nBlock<5000, go to step (b); otherwise, go to step (m); (m)根据aBlockInfo[][]的统计信息,找出各段出现频数最多的数值作为新的背景,并存于aBack[]中,置nBlock=0,修改背景标志bFindBack=true,并置aBlockInfo[][]=0;(m) According to the statistical information of aBlockInfo[][], find out the value with the highest frequency of occurrence in each segment as the new background, and store it in aBack[], set nBlock=0, modify the background flag bFindBack=true, and set aBlockInfo[ ][]=0; (n)如果收到终止指令,则停止数据处理,否则转步骤(b);(n) If a termination instruction is received, stop data processing, otherwise go to step (b); 所述的车辆目标分割是将线阵CCD视场按照近景摄像机视场划分成三个逻辑车道,每个逻辑车道包含:预触发标志、确认触发标志、空行计数器、目标存在计数器、目标左边界、目标右边界、目标开始行号、目标结束行号、预触发中点位置、目标水平投影计数器、触发的确切行数信息;车辆目标分割按以下步骤进行:The vehicle target segmentation is to divide the field of view of the linear array CCD into three logical lanes according to the field of view of the close-range camera, and each logical lane includes: a pre-trigger sign, a confirmation trigger sign, an empty row counter, a target existence counter, and a target left boundary , the right boundary of the target, the target start line number, the target end line number, the pre-trigger midpoint position, the target horizontal projection counter, the exact line number information of the trigger; the vehicle target segmentation is carried out according to the following steps: (1)车道信息初始化:(1) Lane information initialization: 将每个逻辑车道的预触发标志、确认触发标志置为false,将空行计数器、目标左边界、目标右边界、目标开始行号、目标结束行号、目标水平投影计数器、触发的确切行数置为0,定义目标段个数的阈值n1,合并车辆的水平阈值n2,确定是车头的水平投影累加和阈值n3,确认触发的目标宽度阈值n4,确认触发的目标长度阈值n5,确认目标结束的空行数n6,目标最大长度n7,目标的最小长度n8,确定不是车头的水平投影累加和阈值n9;Set the pre-trigger flag and confirm trigger flag of each logical lane to false, set the empty line counter, target left border, target right border, target start line number, target end line number, target horizontal projection counter, exact number of lines triggered Set it to 0, define the threshold n1 of the number of target segments, the horizontal threshold n2 of merging vehicles, determine that it is the horizontal projection accumulation threshold n3 of the vehicle head, confirm the triggered target width threshold n4, confirm the triggered target length threshold n5, and confirm the end of the target The number of blank lines n6, the maximum length n7 of the target, the minimum length n8 of the target, and the cumulative sum threshold n9 of the horizontal projection that is determined not to be the front of the vehicle; (2)读取最新一行数据的二值化结果;(2) Read the binarization result of the latest row of data; (3)定位下一个目标段的起始位置;(3) locate the starting position of the next target segment; (4)如果连续的目标段个数超过n1转步骤(5),否则转步骤(3);(4) If the number of consecutive target segments exceeds n1, turn to step (5), otherwise turn to step (3); (5)判断该连续的目标段是否可以合并到已触发的车道,如果可以合并,则转步骤(6),否则转步骤(7);(5) Judging whether the continuous target segment can be merged into the triggered lane, if it can be merged, then turn to step (6), otherwise turn to step (7); 如果该连续的目标段与已触发逻辑车道的车辆水平范围有交集,则认为该目标段属于该车道已触发的车辆,其距离为0;否则,取连续的目标段的左右边界分别距离已触发车道的车辆的左右边界的最小距离作为其距离,如果该距离超过阈值n2,则认为该目标段不属于该车道已触发的车辆,否则认为该目标段属于该车道已触发的车辆;If there is an intersection between the continuous target segment and the vehicle horizontal range of the triggered logical lane, the target segment is considered to belong to the triggered vehicle in the lane, and its distance is 0; otherwise, the distance between the left and right borders of the continuous target segment is triggered The minimum distance between the left and right boundaries of the vehicle in the lane is taken as its distance. If the distance exceeds the threshold n2, the target segment is considered not to belong to the triggered vehicle of the lane, otherwise the target segment is considered to belong to the triggered vehicle of the lane; (6)修改该车道车辆的边界信息:(6) Modify the boundary information of the vehicle in this lane: 目标水平投影计数器逐段统计目标段的个数,修改目标的结束行号,如果该目标段的左右边界超出了该逻辑车道的左右边界范围,则修改目标段的左右边界,转步骤(8);The target horizontal projection counter counts the number of target segments segment by segment, and modifies the end row number of the target. If the left and right borders of the target segment exceed the left and right border range of the logical lane, modify the left and right borders of the target segment, and go to step (8) ; (7)在连续目标段所属的逻辑车道上新建车辆信息,置预触发标志为true,开启目标水平投影计数器,并设置目标的左右边界、开始行号、结束行号;(7) Create new vehicle information on the logical lane to which the continuous target segment belongs, put the pre-trigger flag as true, open the target horizontal projection counter, and set the left and right borders, start line number, and end line number of the target; (8)判断是否处理完该行数据的所有小段,如果处理完毕,转步骤(9),否则转步骤(3);(8) Judging whether all segments of the row data have been processed, if processed, turn to step (9), otherwise turn to step (3); (9)逐车道处理车辆信息;(9) Processing vehicle information lane by lane; (10)如果该逻辑车道上有目标段出现,空行计数器置0,转步骤(11),否则转步骤(14);(10) If the target segment occurs on the logical lane, the empty row counter is set to 0, and then step (11) is turned, otherwise step (14) is turned; (11)如果该逻辑车道还没有确认触发,转步骤(12),否则转步骤(15);(11) If the logical lane has not been confirmed to be triggered, go to step (12), otherwise go to step (15); (12)判断是否满足确认触发的条件,如果满足,转步骤(13),否则转步骤(16);确认触发条件为:车头信息的水平投影累加和超过阈值n3,并且目标的宽度超过阈值n4,目标的长度超过阈值n5;(12) Judging whether the condition for triggering confirmation is satisfied, if so, go to step (13), otherwise go to step (16); the triggering condition for confirmation is: the cumulative sum of the horizontal projection of the head information exceeds the threshold n3, and the width of the target exceeds the threshold n4 , the length of the target exceeds the threshold n5; (13)置确认触发标志为true,触发的确切行数置为目标的开始行数,转步骤(19);(13) it is set to confirm that the trigger sign is true, and the exact number of rows triggered is set as the starting number of rows of the target, and step (19) is turned; (14)该逻辑车道空行计数器加1,如果空行数超过阈值n6,则认为目标结束,转步骤(18),否则转步骤(19);(14) The empty row counter of this logical lane adds 1, if the number of empty rows exceeds the threshold n6, then think that the target ends, and turn to step (18), otherwise turn to step (19); (15)判断目标长度是否超过阈值n7,如果超过,则认为目标结束,转步骤(18),否则转步骤(19);(15) Judging whether the target length exceeds the threshold n7, if it exceeds, then consider that the target ends, and turn to step (18), otherwise turn to step (19); (16)判断是否满足取消触发的条件,如果满足,则转步骤(17),否则转步骤(19);取消触发条件为:目标长度超过阈值n8,或者目标长度超过n5并且车头信息的水平投影累加和小于阈值n9;(16) Judging whether the condition for canceling the trigger is satisfied, if satisfied, then turn to step (17), otherwise turn to step (19); the cancellation trigger condition is: the target length exceeds the threshold n8, or the target length exceeds n5 and the horizontal projection of the front information The cumulative sum is less than the threshold n9; (17)取消触发,置预触发标志、确认触发标志置为false,将空行计数器、目标左边界、目标右边界、目标开始行号、目标结束行号、目标水平投影计数器、触发的确切行数置为0,转步骤(19);(17) Cancel the trigger, set the pre-trigger flag and confirm the trigger flag to false, and set the empty line counter, target left border, target right border, target start line number, target end line number, target horizontal projection counter, and the exact line of the trigger The number is set to 0, turn to step (19); (18)进行车辆目标分割;根据目标水平投影计数器确定车辆目标的左右边界,根据车辆目标的开始行号和结束行号确定车辆目标的前后边界,标识车辆目标范围,并且置预触发标志、确认触发标志置为false,将空行计数器、目标左边界、目标右边界、目标开始行号、目标结束行号、目标水平投影计数器、触发的确切行数置0;(18) Carry out vehicle target segmentation; Determine the left and right boundaries of the vehicle target according to the target horizontal projection counter, determine the front and rear boundaries of the vehicle target according to the start line number and the end line number of the vehicle target, identify the vehicle target range, and put the pre-trigger mark, confirm The trigger flag is set to false, and the empty line counter, target left border, target right border, target start line number, target end line number, target horizontal projection counter, and the exact number of lines triggered are set to 0; (19)判断是否处理完所有车道,如果处理完毕,转步骤(20),否则转步骤(9);(19) Judging whether all lanes have been processed, if the processing is complete, turn to step (20), otherwise turn to step (9); (20)如果收到终止指令,则停止数据处理,否则转步骤(2)。(20) If a termination instruction is received, stop data processing, otherwise go to step (2).
CN200710188562A 2007-12-11 2007-12-11 A Method of Vehicle Existence Detection Based on Image Texture Expired - Fee Related CN100592325C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710188562A CN100592325C (en) 2007-12-11 2007-12-11 A Method of Vehicle Existence Detection Based on Image Texture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710188562A CN100592325C (en) 2007-12-11 2007-12-11 A Method of Vehicle Existence Detection Based on Image Texture

Publications (2)

Publication Number Publication Date
CN101231699A CN101231699A (en) 2008-07-30
CN100592325C true CN100592325C (en) 2010-02-24

Family

ID=39898160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710188562A Expired - Fee Related CN100592325C (en) 2007-12-11 2007-12-11 A Method of Vehicle Existence Detection Based on Image Texture

Country Status (1)

Country Link
CN (1) CN100592325C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903434B (en) * 2012-12-28 2015-11-04 重庆凯泽科技有限公司 Based on the intelligent transportation system of image procossing
CN107240101B (en) * 2017-04-13 2021-01-29 桂林优利特医疗电子有限公司 Target area detection method and device, and image segmentation method and device

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
An Efficient Method of Locating Vehicle License Plate. Zhigang Xu, Honglei Zhu.Third International Conference on Natural Computation,Vol.2 . 2007
An Efficient Method of Locating Vehicle License Plate. Zhigang Xu,Honglei Zhu.Third International Conference on Natural Computation,Vol.2. 2007 *
一种新的汽车牌照识别的图像增强算法. 宋焕生,赵祥模,王养利.长安大学学报(自然科学版),第26卷第4期. 2006
基于小波分解的车辆视频检测算法. 陈晓梅,黄宏涛.华东交通大学学报,第23卷第2期. 2006
基于小波分解的车辆视频检测算法. 陈晓梅,黄宏涛.华东交通大学学报,第23卷第2期. 2006 *
视频交通监控系统中背景提取算法. 郭永涛,宋焕生,贺昱曜.电视技术,第5期. 2006
视频交通监控系统中背景提取算法. 郭永涛,宋焕生,贺昱曜.电视技术,第5期. 2006 *

Also Published As

Publication number Publication date
CN101231699A (en) 2008-07-30

Similar Documents

Publication Publication Date Title
Zhu et al. VISATRAM: A real-time vision system for automatic traffic monitoring
CN101514993B (en) Vehicle speed measurement device based on linear array CCD camera
CN100545867C (en) Aerial shooting traffic video frequency vehicle rapid checking method
CN107301776A (en) Track road conditions processing and dissemination method based on video detection technology
CN102426785B (en) Traffic flow information perception method and system based on contour and local feature points
CN101364347A (en) A video-based detection method for vehicle control delays at intersections
CN104063882B (en) Vehicle video speed measuring method based on binocular camera
CN101872546A (en) A fast detection method for cross-border vehicles based on video
CN110298300A (en) A method of detection vehicle violation crimping
CN110718061A (en) Traffic intersection traffic flow statistics method, device, storage medium and electronic device
CN114998317B (en) Lens occlusion detection method and device, camera device and storage medium
Telagarapu et al. A novel traffic-tracking system using morphological and Blob analysis
CN100592325C (en) A Method of Vehicle Existence Detection Based on Image Texture
CN208271388U (en) A kind of volume of traffic acquisition system based on video monitoring
Mossi et al. Real-time traffic analysis at night-time
Hai-Feng et al. Vehicle abnormal behavior detection system based on video
CN1350941A (en) Method and device for moving vehicle image tracking
Janda et al. A road edge detection approach for marked and unmarked lanes based on video and radar
Al Okaishi et al. Vehicular queue length measurement based on edge detection and vehicle feature extraction
CN101216892A (en) A Method for Recognizing the Existence of Vehicles Based on the Gray Scale Features of Line Array CCD Camera Sequence Images
CN113160299B (en) Vehicle video speed measurement method based on Kalman filtering and computer readable storage medium
CN110516549B (en) Traffic flow parameter obtaining method based on binary time domain diagram
Al-Kadi et al. Road scene analysis for determination of road traffic density
Trivedi et al. Vehicle counting module design in small scale for traffic management in smart city
Li et al. An Effective Algorithm for Video‐Based Parking and Drop Event Detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100224

Termination date: 20121211