CN102508313A - Method and system for detecting transport tool - Google Patents

Method and system for detecting transport tool Download PDF

Info

Publication number
CN102508313A
CN102508313A CN2011103171569A CN201110317156A CN102508313A CN 102508313 A CN102508313 A CN 102508313A CN 2011103171569 A CN2011103171569 A CN 2011103171569A CN 201110317156 A CN201110317156 A CN 201110317156A CN 102508313 A CN102508313 A CN 102508313A
Authority
CN
China
Prior art keywords
curve
value
gray
point
transport
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.)
Granted
Application number
CN2011103171569A
Other languages
Chinese (zh)
Other versions
CN102508313B (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.)
Beijing Hualixing Sci Tech Development Co Ltd
Original Assignee
Beijing Hualixing Sci Tech Development Co Ltd
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 Beijing Hualixing Sci Tech Development Co Ltd filed Critical Beijing Hualixing Sci Tech Development Co Ltd
Priority to CN 201110317156 priority Critical patent/CN102508313B/en
Publication of CN102508313A publication Critical patent/CN102508313A/en
Application granted granted Critical
Publication of CN102508313B publication Critical patent/CN102508313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention provides a method and system for detecting whether a transport vehicle is a green channel vehicle or not. The method comprises the following steps of: scanning the transport vehicle to obtain at least one gray curve corresponding to a detector, and judging whether the transport tool is the green channel vehicle or not through the condition of preset thresholds into which points on the at least one gray curve fall. According to the technical scheme provided by the invention, detection efficiency can be increased and detection accuracy can be improved.

Description

Detect the method and system of means of transport
Technical field
The present invention relates to the vehicle detection technology, in particular to the method and system that detects means of transport.
Background technology
Passage when " green channel " is meant the fresh and live agricultural product transport by road, and be " green channel vehicle " (i.e. " green being open to traffic ") from the vehicle that green channel goes.Because the green channel transportation all is fresh and live agricultural product; Requirement is delivered to the destination in the short as far as possible time; And other non-green being open to traffic from also using green channel and cause congestion in road in order to prevent; Even cause economic loss owing to the transportation of fresh and live agricultural product is delayed, need the vehicle that get into green channel be detected.In testing process, for the algorithm in the correlation technique, its utilization ratio to scan-data is low; In 64 data that receive like four detectors in its use; Actual available being merely about 10, simultaneously, in data handling procedure; Also there are many mistakes or improper, caused the detection accuracy probably below 80%.
Therefore, need a kind of new means of transport detection technique, can increase detection efficiency, improve the accuracy that detects.
Summary of the invention
The present invention just is being based on the problems referred to above, has proposed a kind of new means of transport detection technique, can increase detection efficiency, improves the accuracy that detects.
In view of this; The present invention proposes a kind of method that detects means of transport; Be used to judge whether said means of transport is the green channel vehicle, comprising: step 102, through the ray that said means of transport is scanned of at least one detector received radiation source emission; According to received ray, obtain at least one grey scale curve corresponding to each said detector; Step 104, the afterbody of confirming said means of transport corresponding position in said grey scale curve; Step 106; Whether the horizontal width of judging said grey scale curve is less than preset width threshold value; If; Then in every said grey scale curve, with the average gray value of the point between the destination terminal of said afterbody corresponding position and said grey scale curve in said grey scale curve air average gray as said grey scale curve, otherwise the historical air average gray in the Preset Time threshold value of storing in the detector with said grey scale curve correspondence; As the air average gray of said grey scale curve, or utilize said detector that air is scanned and obtain the air average gray; Step 108 judges whether the gray-scale value of being had a few on the said grey scale curve all belongs to the first preset ratio scope of said air average gray, if then said grey scale curve is the air curve, and other grey scale curve is an efficiency curve; Step 110, the head of confirming said means of transport according to said air average gray corresponding position in said efficiency curve; Step 112 is confirmed average tail position and average head position, for every said efficiency curve, utilizes the point between said average tail position and said average head position, constitutes the rough handling curve; Step 114 will be mapped as preset value respectively in proportion corresponding to the said air gray-scale value of every said rough handling curve, and according to said ratio the gray-scale value of the point in the said rough handling curve carried out mapping treatment, obtain the mapping treatment curve; Step 116; The gray-scale value and the predetermined threshold value of the point on the said mapping treatment curve are compared; The quantity that falls into the point of said predetermined threshold value according to gray-scale value accounts for the ratio of the total quantity of the point on the said mapping treatment curve, judges whether said means of transport is the green channel vehicle.In this technical scheme, to launch the ray that is used to scan by radiation source, and receive by detector, the detector here can obtain grey scale curve through the ray that receives is analyzed.Point on the grey scale curve here is corresponding to the cargo loading situation of headstock to the tailstock of means of transport.For the gray-scale value of each point, do not scan means of transport at ray, when promptly scanning air; Gray-scale value is maximum; And for the different objects that scans, corresponding different gray values, and whether this goods that is also reflecting its loading is the goods of green channel regulation.For the afterbody of means of transport and confirming of head, be owing to when the scanning means of transport, be a dynamic process; For whole means of transport is all scanned; Just begin scanning when need also not arrive, and after the tailstock of this means of transport leaves, stop scanning again at the headstock of this means of transport, thereby for the grey scale curve that obtains; Need to confirm its afterbody and head, and with after the afterbody or the part before the head remove and do not include analysis in.In addition, for confirming of efficiency curve, be since detector when mounted; Some possibly be installed in higher position, and the roof to large-scale operational tool scans for ease, and for less operational tool; Then possibly can't be scanned, therefore, the grey scale curve that obtains for not scanning means of transport; The gray-scale value of the point on its curve needs this grey scale curve is removed obviously corresponding to the gray-scale value of air, follow-up judgement is impacted avoiding.
In technique scheme, preferably, in said step 104; The afterbody of confirming said means of transport comprises in the process of position corresponding on the said grey scale curve: at the horizontal width of said grey scale curve during less than preset width threshold value; Handle according to first mode, said first mode comprises: begin from the destination terminal of said grey scale curve, choose a plurality of points on the said grey scale curve in order with preset fixed numbers; And calculate the average gray value of said a plurality of points; Wherein, as the standard average, and the average gray value that will after this obtain and said standard average compare with the average gray value of a plurality of points of choosing first; When said average gray value belonged to the second preset ratio scope of said standard average, the residing position of point that gray-scale value in said a plurality of points is minimum was as the afterbody of said means of transport; When the horizontal width of said grey scale curve equals said preset width threshold value; Judge whether every said grey scale curve satisfies the condition that truncates; The said condition of truncating comprises: choose from a plurality of points of the said destination terminal of said grey scale curve with said fixed numbers; Judge whether the average gray value of said a plurality of points belongs to the 3rd preset ratio scope of said air average gray; If all said grey scale curve all satisfy the said condition that truncates; Said grey scale curve figure is handled according to said first mode, otherwise said grey scale curve figure is handled according to second mode, said second mode comprises: with the residing position of said destination terminal of every the said grey scale curve afterbody as said means of transport.In this technical scheme, preset width threshold value is meant " painting canvas " that forms grey scale curve, and the horizontal width of grey scale curve is less than preset width threshold value; The grey scale curve that promptly scans has comprised the part after a part and the afterbody before whole means of transport and the head thereof, definite for afterbody at this moment, and just the destination terminal from curve begins; Because when being air, the gray-scale value that scans is very high, and in case scan on the means of transport; The amplitude that the gray-scale value of the point on the curve reduces can be very big; Therefore through a plurality of o'clock as 10 o'clock as one group, and must contain point in first group corresponding to air, such one group one group ground compares with first group of average gray value of putting successively; Big for gray-value variation, when exceeding preset scope, just can think to arrive afterbody.And the width threshold value that equals to preset for the horizontal width of grey scale curve; Can't confirm whether the destination terminal of grey scale curve is afterbody this moment; Also get a little from destination terminal; At this moment the air average gray value need be obtained as object relatively, the air average gray value of storing in the detector that uses before can be adopted here.But because ray possibly decay, it is time by time little to cause detecting the gray-scale value that obtains, if the data of at this moment storing in the detector are too early; Possibly cause than mistake; Therefore set the regular hour threshold value as 1 day, the data in this time period can be used, otherwise; Directly air is scanned, obtain the air average gray value.
In technique scheme; Preferably; In said step 110, confirm that the process of head in position corresponding on the said efficiency curve of said means of transport comprises: as initiating terminal, is selected directions with the horizontal direction away from said afterbody with the predeterminated position on the said efficiency curve; Judge whether every said efficiency curve satisfies the condition of decaptitating; The said condition of decaptitating comprises: choose a plurality of points on the said efficiency curve from said initiating terminal in order with said fixed numbers, and calculate the average gray value of said a plurality of points, if said average gray value belongs to the 4th preset ratio scope of the corresponding air average gray of said efficiency curve; Then satisfy the said condition of decaptitating, otherwise continue to get a little and judge; If said efficiency curve satisfies the said condition of decaptitating, with in said a plurality of points near the residing position of point of said initiating terminal head as said means of transport.In this technical scheme, there is certain distance at preceding 1/3 place of predeterminated position such as curve apart from head here, prevents erroneous judgement, and after too not leaning on, reduces nonsensical calculating.In case here certain once get the average gray value that a little calculates and air average gray value near and when surpassing the predetermined threshold value scope, explain necessarily to comprise at least one point in this point of getting corresponding to air, then obviously arrived head.
In technique scheme, preferably, said step 114 comprises: said preset value is s, and wherein s is a positive integer; And in said step 116; Said predetermined threshold value comprises: first threshold, second threshold value, the 3rd threshold value and the 4th threshold value; Wherein, first threshold is for being not less than 0 and be not more than s/16, and second threshold value is for greater than s/16 and be not more than 3s/10; The 3rd threshold value is greater than 3s/10 and is not more than s/2, and the 4th threshold value is greater than s/2 and is not more than s; Check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If the quantity of the point on all mapping treatment curves is X; The quantity that gray-scale value falls into the point of said the 4th threshold value is Y, and Y/X>50%, and then said means of transport is non-green channel vehicle; Wherein, X, Y are positive integer.In this technical scheme, the gray-scale value of the point in the grey scale curve is not of uniform size, and directly calculating is more loaded down with trivial details, therefore is mapped as unified proportional numerical value, is convenient to comparison.Here confirm through setting preset value in the variation ratio in when mapping that got such as the s here, then first threshold is [0,250] at 4000 o'clock, second threshold value be (250,1200], the 3rd threshold value be (1200,2000], the 4th threshold value be (2000,4000].Wherein, The air average gray value is 4000; Then when the gray-scale value of the point on the mapping treatment curve falls into the 4th threshold value, represent that this position corresponding on means of transport possibly be zero load, and when the point that is in light condition is too much; Such as surpassing 50%, judge that this means of transport is non-green being open to traffic.
In technique scheme; Preferably; In said step 116; Also comprise: check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into, if all mapping treatment curves all satisfy: the quantity that gray-scale value falls into the point of said first threshold and said second threshold value be not less than the point on the mapping treatment curve at said some place quantity 60%, then said means of transport is the green channel vehicle.In this technical scheme; Be appreciated that car for normal load; From top to bottom can be by the trend that reduces gradually of gray scale, but can not be lower than certain threshold value again for the ratio of the compaction rate of institute's lade, thereby through after the restriction of above-mentioned condition; The green correct judgment rate that is open to traffic is about 93%, but not the green correct judgment rate that is open to traffic is about 76%.
In technique scheme, preferably, in said step 116, also comprise: confirm the coefficient of variation of the gray-scale value of the point on the n bar mapping treatment curve, choose m bar mapping treatment curve from small to large according to coefficient of variation, wherein n, m are positive integer; In said m bar mapping treatment curve; The bar number of 70% mapping treatment curve that the quantity that gray-scale value falls into the point of said second threshold value and said the 3rd threshold value is not less than the quantity of the point on the mapping treatment curve at said some place is a; And the bar number of 70% mapping treatment curve that the gray-scale value quantity that falls into the point of said the 4th threshold value is not less than the quantity of the point on the mapping treatment curve at said some place is b; If a/m>1/3 or b/m>1/3, then said means of transport is non-green channel vehicle, wherein a<m; B<m, and a, b are positive integer.In this technical scheme, be appreciated that to surpass certain threshold value if only adorned the data of some goods or unloaded goods in the less valid data of fluctuation, then think and might in this means of transport freight, be mingled with other goods.Judgement through technique scheme be about 88% for the green correct judgment rate that is open to traffic, but not the green correct judgment rate that is open to traffic is about 84%.
In technique scheme; Preferably; In said step 116; Also comprise: choose 80% at least one mapping treatment curve of the quantity of the point on the mapping treatment curve that quantity that gray-scale value falls into the point of said the 4th threshold value is not less than said some place, confirm the coefficient of variation of the gray-scale value of the point on the said at least one mapping treatment curve, and at least one the said coefficient of variation that obtains is calculated mean difference coefficient; If said mean difference coefficient is greater than 4.0, then said means of transport is non-green channel vehicle.In this technical scheme, be appreciated that to loading at itself in the closely knit relatively car, loading should be identical or similar thing, the fluctuation of gray-scale value should be smaller, excessive then possibly the existing of fluctuating has been mingled with other goods, thinks defective.Judgement through technique scheme be about 86% for the green correct judgment rate that is open to traffic, but not the green correct judgment rate that is open to traffic is about 86%.
According to another aspect of the invention, also proposed a kind of system that detects means of transport, be used to judge whether said means of transport is the green channel vehicle, comprising: radiation appliance, emission is used to scan at least one ray of said means of transport; Sniffer comprises at least one detector, and said detector is used to receive said at least one ray of said radiation appliance emission; Treating apparatus comprises: generation module, and the said ray according to said sniffer receives generates at least one grey scale curve corresponding to each said detector; Locating module is confirmed the position of afterbody correspondence in said grey scale curve of said means of transport, or confirms the position of head correspondence in said grey scale curve of said means of transport; Whether judge module, the horizontal width of judging said grey scale curve less than preset width threshold value, or judges whether said grey scale curve is efficiency curve; Acquisition module; Judge at said judge module under the situation of horizontal width less than preset width threshold value of said grey scale curve; In every said grey scale curve; Obtain the average gray value of the point between the destination terminal of said afterbody corresponding position and said grey scale curve in said grey scale curve; And with the air average gray of said average gray value as said grey scale curve; Otherwise obtain the historical air average gray in the Preset Time threshold value of storing in the corresponding detector of said grey scale curve, and with the air average gray of said historical air average gray as said grey scale curve, or utilize said detector that air is scanned to obtain the air average gray; Processing module; Comprise: the rough handling unit; According to the afterbody of the definite said means of transport of said locating module or the position of head correspondence in said grey scale curve, confirm average tail position and average head position, and for every said efficiency curve; The point of utilization between said average tail position and said average head position constitutes the rough handling curve; The mapping treatment unit will be mapped as preset value respectively in proportion corresponding to the said air gray-scale value of every said rough handling curve, and according to said ratio the gray-scale value of the point in the said rough handling curve carried out mapping treatment, obtain the mapping treatment curve; Comparison module; The gray-scale value and the predetermined threshold value of the point on the said mapping treatment curve are compared; The quantity that falls into the point of said predetermined threshold value according to gray-scale value accounts for the ratio of the total quantity of the point on the said mapping treatment curve, judges whether said means of transport is the green channel vehicle.In this technical scheme, to launch the ray that is used to scan by radiation source, and receive by detector, the detector here can obtain grey scale curve through the ray that receives is analyzed.Point on the grey scale curve here is corresponding to the cargo loading situation of headstock to the tailstock of means of transport.For the gray-scale value of each point, do not scan means of transport at ray, when promptly scanning air; Gray-scale value is maximum; And for the different objects that scans, corresponding different gray values, and whether this goods that is also reflecting its loading is the goods of green channel regulation.For the afterbody of means of transport and confirming of head, be owing to when the scanning means of transport, be a dynamic process; For whole means of transport is all scanned; Just begin scanning when need also not arrive, and after the tailstock of this means of transport leaves, stop scanning again at the headstock of this means of transport, thereby for the grey scale curve that obtains; Need to confirm its afterbody and head, and with after the afterbody or the part before the head remove and do not include analysis in.In addition, for confirming of efficiency curve, be since detector when mounted; Some possibly be installed in higher position, and the roof to large-scale operational tool scans for ease, and for less operational tool; Then possibly can't be scanned, therefore, the grey scale curve that obtains for not scanning means of transport; The gray-scale value of the point on its curve needs this grey scale curve is removed obviously corresponding to the gray-scale value of air, follow-up judgement is impacted avoiding.
In technique scheme; Preferably; Said locating module comprises the process that the afterbody of said means of transport positions: judge at said judge module under the situation of horizontal width less than preset width threshold value of said grey scale curve; Said locating module positions according to first mode, and said first mode comprises: begin from the destination terminal of said grey scale curve, choose a plurality of points on the said grey scale curve in order with preset fixed numbers; And calculate the average gray value of said a plurality of points; Wherein, as the standard average, and the average gray value that will after this obtain and said standard average compare with the average gray value of a plurality of points of choosing first; When said average gray value belonged to the second preset ratio scope of said standard average, the residing position of point that gray-scale value in said a plurality of points is minimum was as the afterbody of said means of transport; Said judge module equals under the situation of said preset width threshold value at the horizontal width of judging said grey scale curve; Judge whether every said grey scale curve satisfies the condition that truncates; The said condition of truncating comprises: choose from a plurality of points of the said destination terminal of said grey scale curve with said fixed numbers; Judge whether the average gray value of said a plurality of points belongs to the 3rd preset ratio scope of said air average gray; If all said grey scale curve all satisfy the said condition that truncates; Said locating module is handled said grey scale curve figure according to said first mode, otherwise said grey scale curve figure is handled according to second mode, and said second mode comprises: with the residing position of said destination terminal of every the said grey scale curve afterbody as said means of transport; And said locating module comprises the process that the head of said means of transport positions: with the predeterminated position on the said efficiency curve as initiating terminal; With the horizontal direction away from said afterbody is selected directions; Judge whether every said efficiency curve satisfies the condition of decaptitating; The said condition of decaptitating comprises: choose a plurality of points on the said efficiency curve from said initiating terminal in order with said fixed numbers, and calculate the average gray value of said a plurality of points, if said average gray value belongs to the 4th preset ratio scope of the corresponding air average gray of said efficiency curve; Then satisfy the said condition of decaptitating, otherwise continue to get a little and judge; If said efficiency curve satisfies the said condition of decaptitating, with in said a plurality of points near the residing position of point of said initiating terminal head as said means of transport.In this technical scheme, preset width threshold value is meant " painting canvas " that forms grey scale curve, and the horizontal width of grey scale curve is less than preset width threshold value; The grey scale curve that promptly scans has comprised the part after a part and the afterbody before whole means of transport and the head thereof, definite for afterbody at this moment, and just the destination terminal from curve begins; Because when being air, the gray-scale value that scans is very high, and in case scan on the means of transport; The amplitude that the gray-scale value of the point on the curve reduces can be very big; Therefore through a plurality of o'clock as 10 o'clock as one group, and must contain point in first group corresponding to air, such one group one group ground compares with first group of average gray value of putting successively; Big for gray-value variation, when exceeding preset scope, just can think to arrive afterbody.And the width threshold value that equals to preset for the horizontal width of grey scale curve; Can't confirm whether the destination terminal of grey scale curve is afterbody this moment; Also get a little from destination terminal; At this moment the air average gray value need be obtained as object relatively, the air average gray value of storing in the detector that uses before can be adopted here.But because ray possibly decay, it is time by time little to cause detecting the gray-scale value that obtains, if the data of at this moment storing in the detector are too early; Possibly cause than mistake; Therefore set the regular hour threshold value as 1 day, the data in this time period can be used, otherwise; Directly air is scanned, obtain the air average gray value.And when confirming head, there is certain distance at preceding 1/3 place of predeterminated position such as curve apart from head here, prevents erroneous judgement, and after too not leaning on, reduces nonsensical calculating.In case here certain once get the average gray value that a little calculates and air average gray value near and when surpassing the predetermined threshold value scope, explain necessarily to comprise at least one point in this point of getting corresponding to air, then obviously arrived head.
In technique scheme, preferably, also comprise: said preset value is s; Said predetermined threshold value comprises: first threshold, second threshold value, the 3rd threshold value and the 4th threshold value, and wherein, first threshold is for being not less than 0 and be not more than s/16; Second threshold value is greater than s/16 and is not more than 3s/10; The 3rd threshold value is for greater than 3s/10 and be not more than s/2, and the 4th threshold value is for greater than s/2 and be not more than s, and s is a positive integer; And said comparison module judges that whether said means of transport is that the process of green channel vehicle one of specifically comprises in the following multiple situation at least or its combination: 1, check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If the quantity of the point on all mapping treatment curves is X; The quantity that gray-scale value falls into the point of said the 4th threshold value is Y, and Y/X>50%, and then said means of transport is non-green channel vehicle; Wherein, X, Y are positive integer; 2, check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If all mapping treatment curve all satisfies: the quantity that gray-scale value falls into the point of said first threshold and said second threshold value be not less than the point on the mapping treatment curve at said some place quantity 60%, then said means of transport is the green channel vehicle; 3, confirm the coefficient of variation of the gray-scale value of the point on the n bar mapping treatment curve, choose m bar mapping treatment curve from small to large according to coefficient of variation, wherein n, m are positive integer; In said m bar mapping treatment curve; The bar number of 70% mapping treatment curve that the quantity that gray-scale value falls into the point of said second threshold value and said the 3rd threshold value is not less than the quantity of the point on the mapping treatment curve at said some place is a; And the bar number of 70% mapping treatment curve that the gray-scale value quantity that falls into the point of said the 4th threshold value is not less than the quantity of the point on the mapping treatment curve at said some place is b; If a/m>1/3 or b/m>1/3, then said means of transport is non-green channel vehicle, wherein a<m; B<m, and a, b are positive integer; 4, choose 80% at least one mapping treatment curve of the quantity of the point on the mapping treatment curve that quantity that gray-scale value falls into the point of said the 4th threshold value is not less than said some place; Confirm the coefficient of variation of the gray-scale value of the point on the said at least one mapping treatment curve; And at least one said coefficient of variation calculating mean difference coefficient to obtaining; If said mean difference coefficient is greater than 4.0, then said means of transport is non-green channel vehicle.In this technical scheme, the gray-scale value of the point in the grey scale curve is not of uniform size, and directly calculating is more loaded down with trivial details, therefore is mapped as unified proportional numerical value, is convenient to comparison.Here confirm through setting preset value in the variation ratio in when mapping that got such as the s here, then first threshold is [0 at 4000 o'clock; 250], second threshold value be (250,1200]; The 3rd threshold value be (1200,2000], the 4th threshold value is (2000; 4000], wherein, the air average gray value is 4000.For situation 1; Be appreciated that when falling into the 4th threshold value, represent that this position corresponding on means of transport possibly be zero load for gray-scale value when the point on the mapping treatment curve, and when the point that is in light condition is too much; Such as surpassing 50%, judge that this means of transport is non-green being open to traffic.For situation 2; Be appreciated that car for normal load; From top to bottom can be by the trend that reduces gradually of gray scale, but can not be lower than certain threshold value again for the ratio of the compaction rate of institute's lade, thereby through after the restriction of above-mentioned condition; The green correct judgment rate that is open to traffic is about 93%, but not the green correct judgment rate that is open to traffic is about 76%.For situation 3, be appreciated that to surpass certain threshold value if only adorned the data of some goods or unloaded goods in the less valid data of fluctuation, then think and might in this means of transport freight, be mingled with other goods.Judgement through technique scheme be about 88% for the green correct judgment rate that is open to traffic, but not the green correct judgment rate that is open to traffic is about 84%.For situation 4, be appreciated that to loading at itself in the closely knit relatively car, loading should be identical or similar thing, the fluctuation of gray-scale value should be smaller, excessive then possibly the existing of fluctuating has been mingled with other goods, thinks defective.Judgement through technique scheme be about 86% for the green correct judgment rate that is open to traffic, but not the green correct judgment rate that is open to traffic is about 86%.
Through above technical scheme, can increase detection efficiency, improve the accuracy that detects.
Description of drawings
Fig. 1 shows the process flow diagram of the method that detects means of transport according to an embodiment of the invention;
Fig. 2 shows the block diagram of the system that detects means of transport according to an embodiment of the invention;
Fig. 3 A shows the synoptic diagram of confirming the position of afterbody according to an embodiment of the invention;
Fig. 3 B shows the synoptic diagram of confirming the position of afterbody according to an embodiment of the invention;
Fig. 4 shows the synoptic diagram of confirming efficiency curve according to an embodiment of the invention; And
Fig. 5 shows the synoptic diagram of confirming the position of head according to an embodiment of the invention.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.
Set forth a lot of details in the following description so that make much of the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following disclosed specific embodiment.
Fig. 1 shows the process flow diagram of the method that detects means of transport according to an embodiment of the invention.
As shown in Figure 1; Detect the method for means of transport according to an embodiment of the invention; Comprise: step 102; The ray that means of transport is scanned through the emission of at least one detector received radiation source according to received ray, obtains at least one grey scale curve corresponding to each detector; Step 104, the afterbody of confirming means of transport corresponding position in grey scale curve; Step 106; Whether the horizontal width of judging grey scale curve is less than preset width threshold value; If; Then in every grey scale curve, with the average gray value of the point between the destination terminal of afterbody corresponding position and grey scale curve in grey scale curve air average gray as grey scale curve, otherwise the historical air average gray in the Preset Time threshold value of storing in the detector with the grey scale curve correspondence; As the air average gray of grey scale curve, or utilize detector that air is scanned and obtain the air average gray; Step 108 judges whether the gray-scale value of being had a few on the grey scale curve all belongs to the first preset ratio scope of air average gray, if then grey scale curve is the air curve, and other grey scale curve is an efficiency curve; Step 110, the head of confirming means of transport according to the air average gray corresponding position in efficiency curve; Step 112 is confirmed average tail position and average head position, for every efficiency curve, utilizes the point between average tail position and average head position, constitutes the rough handling curve; Step 114 will be mapped as preset value respectively in proportion corresponding to the air gray-scale value of every rough handling curve, and proportionally the gray-scale value of the point in the rough handling curve carried out mapping treatment, obtain the mapping treatment curve; Step 116 compares the gray-scale value and the predetermined threshold value of the point on the mapping treatment curve, and the quantity that falls into the point of predetermined threshold value according to gray-scale value accounts for the ratio of the total quantity of the point on the mapping treatment curve, judges whether means of transport is the green channel vehicle.In this technical scheme, to launch the ray that is used to scan by radiation source, and receive by detector, the detector here can obtain grey scale curve through the ray that receives is analyzed.Shown in Fig. 3 A, among grey scale curve Figure 30 0A in the drawings, grey scale curve 302A is the synoptic diagram of a grey scale curve; Left side among the figure is the longitudinal axis 304; Be used to represent that grey scale curve 302A goes up the gray-scale value of point, and downside is a transverse axis 306 in respect of time, this is owing to the scanning process to means of transport is a dynamic process; Relating to the time changes, and change of time also corresponding from the head to this process of afterbody.Point on the grey scale curve 302A here is corresponding to the cargo loading situation of headstock to the tailstock of means of transport.Gray-scale value for each point; Do not scan means of transport at ray, when promptly scanning air, gray-scale value is maximum; And for the different objects that scans; Corresponding different gray values, and whether this goods that is also reflecting its loading is the goods of green channel regulation, this from grey scale curve 302A can be easy in shape find out.For the afterbody of means of transport and confirming of head, be owing to when the scanning means of transport, be a dynamic process; For whole means of transport is all scanned; Just begin scanning when need also not arrive, and after the tailstock of this means of transport leaves, stop scanning again at the headstock of this means of transport, thereby for the grey scale curve that obtains; Need to confirm its afterbody and head, and with after the afterbody or the part before the head remove and do not include analysis in.In addition, for confirming of efficiency curve, be since detector when mounted; Some possibly be installed in higher position, and the roof to large-scale operational tool scans for ease, and for less operational tool; Then possibly can't be scanned, therefore, the grey scale curve that obtains for not scanning means of transport; The gray-scale value of the point on its curve needs this grey scale curve is removed obviously corresponding to the gray-scale value of air, follow-up judgement is impacted avoiding.
In technique scheme; In step 104, the afterbody of confirming means of transport comprises in the process of position corresponding on the grey scale curve:, handle according to first mode during less than preset width threshold value at the horizontal width of grey scale curve; First mode comprises: begin from the destination terminal of grey scale curve; Fixed numbers with preset is chosen a plurality of points on the grey scale curve in order, and calculates the average gray value of a plurality of points, wherein; With the average gray value of a plurality of points of choosing first as the standard average; And the average gray value that will after this obtain and standard average compare, and when average gray value belonged to the second preset ratio scope of standard average, the residing position of point that gray-scale value in a plurality of points is minimum was as the afterbody of means of transport; When the width threshold value that the horizontal width of grey scale curve equals to preset; Judge whether every grey scale curve satisfies the condition that truncates; The condition of truncating comprises: choose from a plurality of points of the destination terminal of grey scale curve with fixed numbers; Judge whether the average gray value of a plurality of points belongs to the 3rd preset ratio scope of air average gray,, grey scale curve figure is handled according to first mode if all grey scale curve all satisfy the condition that truncates; Otherwise grey scale curve figure is handled according to second mode, and second mode comprises: with the afterbody of the residing position of the destination terminal of every grey scale curve as means of transport.In this technical scheme, preset width threshold value is meant " painting canvas " that forms grey scale curve, in Fig. 3 A; Shown in the preset width threshold value 310A, be the length of whole image, the length here can be the quantity of pixel; Like 2048 pixels, curve width 308A then is a grey scale curve 302A length in the horizontal direction, at the curve width 308A of grey scale curve during less than preset width threshold value 310A; The grey scale curve that promptly scans has comprised the part after a part and the afterbody before whole means of transport and the head thereof, definite for afterbody at this moment, and just the destination terminal 314A from curve begins; Because when being air, the gray-scale value that scans is very high, and in case scan on the means of transport; The amplitude that the gray-scale value of the point on the curve reduces can be very big; Therefore through a plurality of o'clock as 10 o'clock as one group, and must contain point in first group corresponding to air, such one group one group ground compares with first group of average gray value of putting successively; Big for gray-value variation, when exceeding preset scope, just can think to arrive afterbody 312A.And the situation of the width threshold value that equals to preset for the horizontal width of grey scale curve, shown in Fig. 3 B, in grey scale curve Figure 30 0B; For grey scale curve 302B; Its curve width 308B and preset width threshold value 310B equate that can't confirm whether the destination terminal of grey scale curve is afterbody, also gets a little from destination terminal this moment; At this moment the air average gray value need be obtained as object relatively, the air average gray value of storing in the detector that uses before can be adopted here.But because ray possibly decay, it is time by time little to cause detecting the gray-scale value that obtains, if the data of at this moment storing in the detector are too early; Possibly cause than mistake; Therefore set the regular hour threshold value as 1 day, the data in this time period can be used, otherwise; Directly air is scanned, obtain the air average gray value.Suppose that the grey scale curve 302B in Fig. 3 B does not satisfy the condition that truncates, then will adopt second mode to handle, this moment is as shown in the figure, has chosen afterbody 312B.
In technique scheme; When confirming efficiency curve; Be that grey scale curve and air average gray are compared; If the gray-scale value of all points on the grey scale curve is all close with the air average gray, then this grey scale curve possibly not scan means of transport, can not handle as detecting data.Such as for grey scale curve Figure 40 shown in Figure 40; Grey scale curve 402 wherein; Point wherein all is near the air average gray 404, if the point on grey scale curve 402 relatively, finds to surpass in the predetermined number ratio is in air average gray 404 like the gray-scale value of 90% point the preset ratio scope as in 5%; Think that then this grey scale curve 402 is the air curve, other grey scale curve that do not satisfy above-mentioned condition then are efficiency curve.
In technique scheme; In step 110, confirm that the process of head in position corresponding on the efficiency curve of means of transport comprises: as initiating terminal, is selected directions with the horizontal direction away from afterbody with the predeterminated position on the efficiency curve; Judge whether every efficiency curve satisfies the condition of decaptitating; The condition of decaptitating comprises: choose a plurality of points on the efficiency curve from initiating terminal in order with fixed numbers, and calculate the average gray value of a plurality of points, if average gray value belongs to the 4th preset ratio scope of the corresponding air average gray of efficiency curve; Then satisfy the condition of decaptitating, otherwise continue to get a little and judgement; If efficiency curve satisfies the condition of decaptitating, with in a plurality of points near the residing position of point of initiating terminal head as means of transport.In this technical scheme,, as shown in Figure 5 for confirming of the head of means of transport; In grey scale curve Figure 50 0, need carry out confirming of head to efficiency curve 502, at first choose predeterminated position 504 as initiating terminal; Choosing of this point is looser, and like preceding 1/3 place of curve, mainly need consider apart from head has certain distance; Prevent erroneous judgement, and after too not leaning on, reduce nonsensical calculating.In case here certain once get the average gray value that a little calculates and air average gray value near and when surpassing the predetermined threshold value scope; As the average gray value of a plurality of points of choosing is more than 90% of air average gray value; Explain necessarily to comprise at least one point in this point of getting, then choose head as shown in the figure 506 corresponding to air.
In technique scheme, step 114 comprises: preset value is s, and wherein s is a positive integer; And in step 116; Predetermined threshold value comprises: first threshold, second threshold value, the 3rd threshold value and the 4th threshold value; Wherein, first threshold is for being not less than 0 and be not more than s/16, and second threshold value is for greater than s/16 and be not more than 3s/10; The 3rd threshold value is greater than 3s/10 and is not more than s/2, and the 4th threshold value is greater than s/2 and is not more than s; Check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into, if the quantity of the point on all mapping treatment curves is X, the quantity that gray-scale value falls into the point of the 4th threshold value is Y; And Y/X>50%; Then means of transport is non-green channel vehicle, and wherein, X, Y are positive integer.In this technical scheme, the gray-scale value of the point in the grey scale curve is not of uniform size, and directly calculating is more loaded down with trivial details, therefore is mapped as unified proportional numerical value, is convenient to comparison.Here confirm through setting preset value in the variation ratio in when mapping that got such as the s here, then first threshold is [0,250] at 4000 o'clock, second threshold value be (250,1200], the 3rd threshold value be (1200,2000], the 4th threshold value be (2000,4000].Wherein, The air average gray value is 4000; Then when the gray-scale value of the point on the mapping treatment curve falls into the 4th threshold value, represent that this position corresponding on means of transport possibly be zero load, and when the point that is in light condition is too much; Such as surpassing 50%, judge that this means of transport is non-green being open to traffic.
In technique scheme; In step 116; Also comprise: check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If all mapping treatment curve all satisfies: the quantity that gray-scale value falls into the point of the first threshold and second threshold value be not less than the point on the mapping treatment curve at a place quantity 60%, then means of transport is the green channel vehicle.In this technical scheme; Be appreciated that car for normal load; From top to bottom can be by the trend that reduces gradually of gray scale, but can not be lower than certain threshold value again for the ratio of the compaction rate of institute's lade, thereby through after the restriction of above-mentioned condition; The green correct judgment rate that is open to traffic is about 93%, but not the green correct judgment rate that is open to traffic is about 76%.
In technique scheme, in step 116, also comprise: confirm the coefficient of variation of the gray-scale value of the point on the n bar mapping treatment curve, choose m bar mapping treatment curve from small to large according to coefficient of variation, wherein n, m are positive integer; In m bar mapping treatment curve; The bar number of 70% mapping treatment curve that the quantity that gray-scale value falls into the point of second threshold value and the 3rd threshold value is not less than the quantity of the point on the mapping treatment curve at a place is a; And the bar number of 70% mapping treatment curve that the gray-scale value quantity that falls into the point of the 4th threshold value is not less than the quantity of the point on the mapping treatment curve at a place is b; If a/m>1/3 or b/m>1/3, then means of transport is non-green channel vehicle, wherein a<m; B<m, and a, b are positive integer.In this technical scheme, be appreciated that to surpass certain threshold value if only adorned the data of some goods or unloaded goods in the less valid data of fluctuation, then think and might in this means of transport freight, be mingled with other goods.Judgement through technique scheme be about 88% for the green correct judgment rate that is open to traffic, but not the green correct judgment rate that is open to traffic is about 84%.
In technique scheme; In step 116; Also comprise: choose 80% at least one mapping treatment curve of the quantity of the point on the mapping treatment curve that quantity that gray-scale value falls into the point of the 4th threshold value is not less than a place, confirm the coefficient of variation of the gray-scale value of the point at least one mapping treatment curve, and at least one coefficient of variation that obtains is calculated mean difference coefficient; If the mean difference coefficient is greater than 4.0, then means of transport is non-green channel vehicle.In this technical scheme, be appreciated that to loading at itself in the closely knit relatively car, loading should be identical or similar thing, the fluctuation of gray-scale value should be smaller, excessive then possibly the existing of fluctuating has been mingled with other goods, thinks defective.Judgement through technique scheme be about 86% for the green correct judgment rate that is open to traffic, but not the green correct judgment rate that is open to traffic is about 86%.
Fig. 2 shows the block diagram of the system that detects means of transport according to an embodiment of the invention.
As shown in Figure 2, detect the system 200 of means of transport according to an embodiment of the invention, comprising: radiation appliance 202, emission is used to scan at least one ray of means of transport; Sniffer 204 comprises at least one detector, and detector is used at least one ray of received radiation device emission; Treating apparatus 206 comprises: generation module 208, and the ray according to sniffer 204 receives generates at least one grey scale curve corresponding to each detector; Locating module 210, the afterbody of confirming means of transport corresponding position in grey scale curve, or the head of definite means of transport corresponding position in grey scale curve; Whether judge module 212, the horizontal width of judging grey scale curve less than preset width threshold value, or judges whether grey scale curve is efficiency curve; Acquisition module 214; Judge at judge module 212 under the situation of horizontal width less than preset width threshold value of grey scale curve; In every grey scale curve; Obtain the average gray value of the point between the destination terminal of afterbody corresponding position and grey scale curve in grey scale curve, and with the air average gray of average gray value as grey scale curve, otherwise obtain the interior historical air average gray of storing in the corresponding detector of grey scale curve of Preset Time threshold value; And with the air average gray of historical air average gray, or utilize detector that air is scanned to obtain the air average gray as grey scale curve; Processing module 216; Comprise: rough handling unit 2162; Average tail position and average head position are confirmed in the afterbody of the means of transport of confirming according to locating module 210 or head corresponding position in grey scale curve, and for every efficiency curve; The point of utilization between average tail position and average head position constitutes the rough handling curve; Mapping treatment unit 2164 will be mapped as preset value respectively in proportion corresponding to the air gray-scale value of every rough handling curve, and proportionally the gray-scale value of the point in the rough handling curve carried out mapping treatment, obtain the mapping treatment curve; Comparison module 218; The gray-scale value and the predetermined threshold value of the point on the mapping treatment curve are compared; The quantity that falls into the point of predetermined threshold value according to gray-scale value accounts for the ratio of the total quantity of the point on the mapping treatment curve, judges whether means of transport is the green channel vehicle.In this technical scheme, to launch the ray that is used to scan by radiation source, and receive by detector, the detector here can obtain grey scale curve through the ray that receives is analyzed.Point on the grey scale curve here is corresponding to the cargo loading situation of headstock to the tailstock of means of transport.For the gray-scale value of each point, do not scan means of transport at ray, when promptly scanning air; Gray-scale value is maximum; And for the different objects that scans, corresponding different gray values, and whether this goods that is also reflecting its loading is the goods of green channel regulation.For the afterbody of means of transport and confirming of head, be owing to when the scanning means of transport, be a dynamic process; For whole means of transport is all scanned; Just begin scanning when need also not arrive, and after the tailstock of this means of transport leaves, stop scanning again at the headstock of this means of transport, thereby for the grey scale curve that obtains; Need to confirm its afterbody and head, and with after the afterbody or the part before the head remove and do not include analysis in.In addition, for confirming of efficiency curve, be since detector when mounted; Some possibly be installed in higher position, and the roof to large-scale operational tool scans for ease, and for less operational tool; Then possibly can't be scanned, therefore, the grey scale curve that obtains for not scanning means of transport; The gray-scale value of the point on its curve needs this grey scale curve is removed obviously corresponding to the gray-scale value of air, follow-up judgement is impacted avoiding.
In technique scheme; The process that the afterbody of 210 pairs of means of transports of locating module positions comprises: judge at judge module 212 under the situation of horizontal width less than preset width threshold value of grey scale curve; Locating module 210 positions according to first mode, and first mode comprises: begin from the destination terminal of grey scale curve, choose a plurality of points on the grey scale curve in order with preset fixed numbers; And calculate the average gray value of a plurality of points; Wherein, as the standard average, and the average gray value that will after this obtain and standard average compare with the average gray value of a plurality of points of choosing first; When average gray value belonged to the second preset ratio scope of standard average, the residing position of point that gray-scale value in a plurality of points is minimum was as the afterbody of means of transport; Judge module 212 is under the situation of the width threshold value that the horizontal width of judging grey scale curve equals to preset; Judge whether every grey scale curve satisfies the condition that truncates; The condition of truncating comprises: choose from a plurality of points of the destination terminal of grey scale curve with fixed numbers; Judge whether the average gray value of a plurality of points belongs to the 3rd preset ratio scope of air average gray, if all grey scale curve all satisfy the condition that truncates, locating module 210 is handled grey scale curve figure according to first mode; Otherwise grey scale curve figure is handled according to second mode, and second mode comprises: with the afterbody of the residing position of the destination terminal of every grey scale curve as means of transport; And the process that the head of 210 pairs of means of transports of locating module positions comprises: with the predeterminated position on the efficiency curve as initiating terminal; With the horizontal direction away from afterbody is selected directions; Judge whether every efficiency curve satisfies the condition of decaptitating; The condition of decaptitating comprises: choose a plurality of points on the efficiency curve from initiating terminal in order with fixed numbers, and calculate the average gray value of a plurality of points, if average gray value belongs to the 4th preset ratio scope of the corresponding air average gray of efficiency curve; Then satisfy the condition of decaptitating, otherwise continue to get a little and judgement; If efficiency curve satisfies the condition of decaptitating, with in a plurality of points near the residing position of point of initiating terminal head as means of transport.In this technical scheme, preset width threshold value is meant " painting canvas " that forms grey scale curve, and the horizontal width of grey scale curve is less than preset width threshold value; The grey scale curve that promptly scans has comprised the part after a part and the afterbody before whole means of transport and the head thereof, definite for afterbody at this moment, and just the destination terminal from curve begins; Because when being air, the gray-scale value that scans is very high, and in case scan on the means of transport; The amplitude that the gray-scale value of the point on the curve reduces can be very big; Therefore through a plurality of o'clock as 10 o'clock as one group, and must contain point in first group corresponding to air, such one group one group ground compares with first group of average gray value of putting successively; Big for gray-value variation, when exceeding preset scope, just can think to arrive afterbody.And the width threshold value that equals to preset for the horizontal width of grey scale curve; Can't confirm whether the destination terminal of grey scale curve is afterbody this moment; Also get a little from destination terminal; At this moment the air average gray value need be obtained as object relatively, the air average gray value of storing in the detector that uses before can be adopted here.But because ray possibly decay, it is time by time little to cause detecting the gray-scale value that obtains, if the data of at this moment storing in the detector are too early; Possibly cause than mistake; Therefore set the regular hour threshold value as 1 day, the data in this time period can be used, otherwise; Directly air is scanned, obtain the air average gray value.And when confirming head, there is certain distance at preceding 1/3 place of predeterminated position such as curve apart from head here, prevents erroneous judgement, and after too not leaning on, reduces nonsensical calculating.In case here certain once get the average gray value that a little calculates and air average gray value near and when surpassing the predetermined threshold value scope, explain necessarily to comprise at least one point in this point of getting corresponding to air, then obviously arrived head.
In technique scheme, also comprise: preset value is s, and predetermined threshold value comprises: first threshold, second threshold value, the 3rd threshold value and the 4th threshold value; Wherein, First threshold is for being not less than 0 and be not more than s/16, and second threshold value is for greater than s/16 and be not more than 3s/10, and the 3rd threshold value is for greater than 3s/10 and be not more than s/2; And the 4th threshold value for greater than s/2 and be not more than s, and s is a positive integer; And comparison module judges that whether means of transport is that the process of green channel vehicle one of specifically comprises in the following multiple situation at least or its combination: 1, check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If the quantity of the point on all mapping treatment curves is X; The quantity that gray-scale value falls into the point of the 4th threshold value is Y, and Y/X>50%, and then means of transport is non-green channel vehicle; Wherein, X, Y are positive integer; 2, check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If all mapping treatment curve all satisfies: the quantity that gray-scale value falls into the point of the first threshold and second threshold value be not less than the point on the mapping treatment curve at a place quantity 60%, then means of transport is the green channel vehicle; 3, confirm the coefficient of variation of the gray-scale value of the point on the n bar mapping treatment curve, choose m bar mapping treatment curve from small to large according to coefficient of variation, wherein n, m are positive integer; In m bar mapping treatment curve; The bar number of 70% mapping treatment curve that the quantity that gray-scale value falls into the point of second threshold value and the 3rd threshold value is not less than the quantity of the point on the mapping treatment curve at a place is a; And the bar number of 70% mapping treatment curve that the gray-scale value quantity that falls into the point of the 4th threshold value is not less than the quantity of the point on the mapping treatment curve at a place is b; If a/m>1/3 or b/m>1/3, then means of transport is non-green channel vehicle, wherein a<m; B<m, and a, b are positive integer; 4, choose 80% at least one mapping treatment curve of the quantity of the point on the mapping treatment curve that quantity that gray-scale value falls into the point of the 4th threshold value is not less than a place; Confirm the coefficient of variation of the gray-scale value of the point at least one mapping treatment curve; And at least one coefficient of variation calculating mean difference coefficient to obtaining; If the mean difference coefficient is greater than 4.0, then means of transport is non-green channel vehicle.In this technical scheme, the gray-scale value of the point in the grey scale curve is not of uniform size, and directly calculating is more loaded down with trivial details, therefore is mapped as unified proportional numerical value, is convenient to comparison.Here confirm through setting preset value in the variation ratio in when mapping that got such as the s here, then first threshold is [0 at 4000 o'clock; 250], second threshold value be (250,1200]; The 3rd threshold value be (1200,2000], the 4th threshold value is (2000; 4000], wherein, the air average gray value is 4000.For situation 1; Be appreciated that when falling into the 4th threshold value, represent that this position corresponding on means of transport possibly be zero load for gray-scale value when the point on the mapping treatment curve, and when the point that is in light condition is too much; Such as surpassing 50%, judge that this means of transport is non-green being open to traffic.For situation 2; Be appreciated that car for normal load; From top to bottom can be by the trend that reduces gradually of gray scale, but can not be lower than certain threshold value again for the ratio of the compaction rate of institute's lade, thereby through after the restriction of above-mentioned condition; The green correct judgment rate that is open to traffic is about 93%, but not the green correct judgment rate that is open to traffic is about 76%.For situation 3, be appreciated that to surpass certain threshold value if only adorned the data of some goods or unloaded goods in the less valid data of fluctuation, then think and might in this means of transport freight, be mingled with other goods.Judgement through technique scheme be about 88% for the green correct judgment rate that is open to traffic, but not the green correct judgment rate that is open to traffic is about 84%.For situation 4, be appreciated that to loading at itself in the closely knit relatively car, loading should be identical or similar thing, the fluctuation of gray-scale value should be smaller, excessive then possibly the existing of fluctuating has been mingled with other goods, thinks defective.Judgement through technique scheme be about 86% for the green correct judgment rate that is open to traffic, but not the green correct judgment rate that is open to traffic is about 86%.
More than be described with reference to the accompanying drawings technical scheme of the present invention, considered the algorithm in the correlation technique, low to the utilization ratio of scan-data, and in data handling procedure, also have many mistakes or improper, caused the detection accuracy lower.Therefore, the present invention can increase detection efficiency through a kind of means of transport detection method and a kind of means of transport detection system are provided, and improves the accuracy that detects.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. method that detects means of transport is used to judge whether said means of transport is the green channel vehicle, it is characterized in that, comprising:
Step 102, the ray that said means of transport is scanned through the emission of at least one detector received radiation source according to received ray, obtains at least one grey scale curve corresponding to each said detector;
Step 104, the afterbody of confirming said means of transport corresponding position in said grey scale curve;
Step 106; Whether the horizontal width of judging said grey scale curve is less than preset width threshold value; If; Then in every said grey scale curve, with the average gray value of the point between the destination terminal of said afterbody corresponding position and said grey scale curve in said grey scale curve air average gray as said grey scale curve, otherwise the historical air average gray in the Preset Time threshold value of storing in the detector with said grey scale curve correspondence; As the air average gray of said grey scale curve, or utilize said detector that air is scanned and obtain the air average gray;
Step 108 judges whether the gray-scale value of being had a few on the said grey scale curve all belongs to the first preset ratio scope of said air average gray, if then said grey scale curve is the air curve, and other grey scale curve is an efficiency curve;
Step 110, the head of confirming said means of transport according to said air average gray corresponding position in said efficiency curve;
Step 112 is confirmed average tail position and average head position, for every said efficiency curve, utilizes the point between said average tail position and said average head position, constitutes the rough handling curve;
Step 114 will be mapped as preset value respectively in proportion corresponding to the said air gray-scale value of every said rough handling curve, and according to said ratio the gray-scale value of the point in the said rough handling curve carried out mapping treatment, obtain the mapping treatment curve;
Step 116; The gray-scale value and the predetermined threshold value of the point on the said mapping treatment curve are compared; The quantity that falls into the point of said predetermined threshold value according to gray-scale value accounts for the ratio of the total quantity of the point on the said mapping treatment curve, judges whether said means of transport is the green channel vehicle.
2. the method for detection means of transport according to claim 1 is characterized in that, in said step 104, confirms that the process of afterbody corresponding position on said grey scale curve of said means of transport comprises:
At the horizontal width of said grey scale curve during less than preset width threshold value; Handle according to first mode; Said first mode comprises: begin from the destination terminal of said grey scale curve, choose a plurality of points on the said grey scale curve in order with preset fixed numbers, and calculate the average gray value of said a plurality of points; Wherein
With the average gray value of a plurality of points of choosing first as the standard average; And the average gray value that will after this obtain and said standard average compare; When said average gray value belonged to the second preset ratio scope of said standard average, the residing position of point that gray-scale value in said a plurality of points is minimum was as the afterbody of said means of transport;
When the horizontal width of said grey scale curve equals said preset width threshold value; Judge whether every said grey scale curve satisfies the condition that truncates; The said condition of truncating comprises: choose from a plurality of points of the said destination terminal of said grey scale curve with said fixed numbers; Judge whether the average gray value of said a plurality of points belongs to the 3rd preset ratio scope of said air average gray; If all said grey scale curve all satisfy the said condition that truncates; Said grey scale curve figure is handled according to said first mode, otherwise said grey scale curve figure is handled according to second mode, said second mode comprises: with the residing position of said destination terminal of every the said grey scale curve afterbody as said means of transport.
3. the method for detection means of transport according to claim 1 and 2 is characterized in that, in said step 110, confirms that the process of head corresponding position on said efficiency curve of said means of transport comprises:
With the predeterminated position on the said efficiency curve as initiating terminal; With the horizontal direction away from said afterbody is selected directions; Judge whether every said efficiency curve satisfies the condition of decaptitating; The said condition of decaptitating comprises: choose a plurality of points on the said efficiency curve from said initiating terminal in order with said fixed numbers, and calculate the average gray value of said a plurality of points, if said average gray value belongs to the 4th preset ratio scope of the corresponding air average gray of said efficiency curve; Then satisfy the said condition of decaptitating, otherwise continue to get a little and judge;
If said efficiency curve satisfies the said condition of decaptitating, with in said a plurality of points near the residing position of point of said initiating terminal head as said means of transport.
4. the method for detection means of transport according to claim 1 is characterized in that, said step 114 comprises: said preset value is s, and wherein s is a positive integer; And
In said step 116; Said predetermined threshold value comprises: first threshold, second threshold value, the 3rd threshold value and the 4th threshold value; Wherein, first threshold is for being not less than 0 and be not more than s/16, and second threshold value is for greater than s/16 and be not more than 3s/10; The 3rd threshold value is greater than 3s/10 and is not more than s/2, and the 4th threshold value is greater than s/2 and is not more than s;
Check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If the quantity of the point on all mapping treatment curves is X; The quantity that gray-scale value falls into the point of said the 4th threshold value is Y, and Y/X>50%, and then said means of transport is non-green channel vehicle; Wherein, X, Y are positive integer.
5. the method for detection means of transport according to claim 4 is characterized in that, in said step 116, also comprises:
Check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If all mapping treatment curve all satisfies: the quantity that gray-scale value falls into the point of said first threshold and said second threshold value be not less than the point on the mapping treatment curve at said some place quantity 60%, then said means of transport is the green channel vehicle.
6. the method for detection means of transport according to claim 4 is characterized in that, in said step 116, also comprises:
Confirm the coefficient of variation of the gray-scale value of the point on the n bar mapping treatment curve, choose m bar mapping treatment curve from small to large according to coefficient of variation, wherein n, m are positive integer;
In said m bar mapping treatment curve, the bar number of 70% mapping treatment curve that the quantity that gray-scale value falls into the point of said second threshold value and said the 3rd threshold value is not less than the quantity of the point on the mapping treatment curve at said some place is a, and
The bar number of 70% mapping treatment curve that the quantity that gray-scale value falls into the point of said the 4th threshold value is not less than the quantity of the point on the mapping treatment curve at said some place is b,
If a/m>1/3 or b/m>1/3, then said means of transport is non-green channel vehicle, a<m wherein, and b<m, and a, b are positive integer.
7. the method for detection means of transport according to claim 4 is characterized in that, in said step 116, also comprises:
Choose 80% at least one mapping treatment curve of the quantity of the point on the mapping treatment curve that quantity that gray-scale value falls into the point of said the 4th threshold value is not less than said some place; Confirm the coefficient of variation of the gray-scale value of the point on the said at least one mapping treatment curve; And at least one said coefficient of variation calculating mean difference coefficient to obtaining; If said mean difference coefficient is greater than 4.0, then said means of transport is non-green channel vehicle.
8. system that detects means of transport is used to judge whether said means of transport is the green channel vehicle, it is characterized in that, comprising:
Radiation appliance, emission is used to scan at least one ray of said means of transport;
Sniffer comprises at least one detector, and said detector is used to receive said at least one ray of said radiation appliance emission;
Treating apparatus comprises:
Generation module, the said ray according to said sniffer receives generates at least one grey scale curve corresponding to each said detector;
Locating module is confirmed the position of afterbody correspondence in said grey scale curve of said means of transport, or confirms the position of head correspondence in said grey scale curve of said means of transport;
Whether judge module, the horizontal width of judging said grey scale curve less than preset width threshold value, or judges whether said grey scale curve is efficiency curve;
Acquisition module; Judge at said judge module under the situation of horizontal width less than preset width threshold value of said grey scale curve; In every said grey scale curve; Obtain the average gray value of the point between the destination terminal of said afterbody corresponding position and said grey scale curve in said grey scale curve; And with the air average gray of said average gray value as said grey scale curve; Otherwise obtain the historical air average gray in the Preset Time threshold value of storing in the corresponding detector of said grey scale curve, and with the air average gray of said historical air average gray as said grey scale curve, or utilize said detector that air is scanned to obtain the air average gray;
Processing module comprises:
The rough handling unit; According to the afterbody of the definite said means of transport of said locating module or the position of head correspondence in said grey scale curve; Confirm average tail position and average head position; And, utilize the point between said average tail position and said average head position for every said efficiency curve, constitute the rough handling curve;
The mapping treatment unit will be mapped as preset value respectively in proportion corresponding to the said air gray-scale value of every said rough handling curve, and according to said ratio the gray-scale value of the point in the said rough handling curve carried out mapping treatment, obtain the mapping treatment curve;
Comparison module; The gray-scale value and the predetermined threshold value of the point on the said mapping treatment curve are compared; The quantity that falls into the point of said predetermined threshold value according to gray-scale value accounts for the ratio of the total quantity of the point on the said mapping treatment curve, judges whether said means of transport is the green channel vehicle.
9. the system of detection means of transport according to claim 8 is characterized in that, said locating module comprises the process that the afterbody of said means of transport positions:
Judge at said judge module under the situation of horizontal width less than preset width threshold value of said grey scale curve; Said locating module positions according to first mode; Said first mode comprises: begin from the destination terminal of said grey scale curve, choose a plurality of points on the said grey scale curve in order with preset fixed numbers, and calculate the average gray value of said a plurality of points; Wherein
With the average gray value of a plurality of points of choosing first as the standard average; And the average gray value that will after this obtain and said standard average compare; When said average gray value belonged to the second preset ratio scope of said standard average, the residing position of point that gray-scale value in said a plurality of points is minimum was as the afterbody of said means of transport;
Said judge module equals under the situation of said preset width threshold value at the horizontal width of judging said grey scale curve; Judge whether every said grey scale curve satisfies the condition that truncates; The said condition of truncating comprises: choose from a plurality of points of the said destination terminal of said grey scale curve with said fixed numbers; Judge whether the average gray value of said a plurality of points belongs to the 3rd preset ratio scope of said air average gray; If all said grey scale curve all satisfy the said condition that truncates; Said locating module is handled said grey scale curve figure according to said first mode, otherwise said grey scale curve figure is handled according to second mode, and said second mode comprises: with the residing position of said destination terminal of every the said grey scale curve afterbody as said means of transport; And
Said locating module comprises the process that the head of said means of transport positions:
With the predeterminated position on the said efficiency curve as initiating terminal; With the horizontal direction away from said afterbody is selected directions; Judge whether every said efficiency curve satisfies the condition of decaptitating; The said condition of decaptitating comprises: choose a plurality of points on the said efficiency curve from said initiating terminal in order with said fixed numbers, and calculate the average gray value of said a plurality of points, if said average gray value belongs to the 4th preset ratio scope of the corresponding air average gray of said efficiency curve; Then satisfy the said condition of decaptitating, otherwise continue to get a little and judge;
If said efficiency curve satisfies the said condition of decaptitating, with in said a plurality of points near the residing position of point of said initiating terminal head as said means of transport.
10. according to Claim 8 or the system of 9 described detection means of transports, it is characterized in that, also comprise:
Said preset value is s; Said predetermined threshold value comprises: first threshold, second threshold value, the 3rd threshold value and the 4th threshold value, and wherein, first threshold is for being not less than 0 and be not more than s/16; Second threshold value is greater than s/16 and is not more than 3s/10; The 3rd threshold value is for greater than 3s/10 and be not more than s/2, and the 4th threshold value is for greater than s/2 and be not more than s, and s is a positive integer; And
Said comparison module judges that whether said means of transport is that the process of green channel vehicle one of specifically comprises in the following multiple situation at least or its combination:
1, checks the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If the quantity of the point on all mapping treatment curves is X; The quantity that gray-scale value falls into the point of said the 4th threshold value is Y, and Y/X>50%, and then said means of transport is non-green channel vehicle; Wherein, X, Y are positive integer;
2, check the predetermined threshold value that the gray-scale value of the point on every mapping treatment curve falls into; If all mapping treatment curve all satisfies: the quantity that gray-scale value falls into the point of said first threshold and said second threshold value be not less than the point on the mapping treatment curve at said some place quantity 60%, then said means of transport is the green channel vehicle;
3, confirm the coefficient of variation of the gray-scale value of the point on the n bar mapping treatment curve, choose m bar mapping treatment curve from small to large according to coefficient of variation, wherein n, m are positive integer;
In said m bar mapping treatment curve, the bar number of 70% mapping treatment curve that the quantity that gray-scale value falls into the point of said second threshold value and said the 3rd threshold value is not less than the quantity of the point on the mapping treatment curve at said some place is a, and
The bar number of 70% mapping treatment curve that the quantity that gray-scale value falls into the point of said the 4th threshold value is not less than the quantity of the point on the mapping treatment curve at said some place is b,
If a/m>1/3 or b/m>1/3, then said means of transport is non-green channel vehicle, a<m wherein, and b<m, and a, b are positive integer;
4, choose 80% at least one mapping treatment curve of the quantity of the point on the mapping treatment curve that quantity that gray-scale value falls into the point of said the 4th threshold value is not less than said some place; Confirm the coefficient of variation of the gray-scale value of the point on the said at least one mapping treatment curve; And at least one said coefficient of variation calculating mean difference coefficient to obtaining; If said mean difference coefficient is greater than 4.0, then said means of transport is non-green channel vehicle.
CN 201110317156 2011-10-18 2011-10-18 Method and system for detecting transport tool Active CN102508313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110317156 CN102508313B (en) 2011-10-18 2011-10-18 Method and system for detecting transport tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110317156 CN102508313B (en) 2011-10-18 2011-10-18 Method and system for detecting transport tool

Publications (2)

Publication Number Publication Date
CN102508313A true CN102508313A (en) 2012-06-20
CN102508313B CN102508313B (en) 2013-08-21

Family

ID=46220418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110317156 Active CN102508313B (en) 2011-10-18 2011-10-18 Method and system for detecting transport tool

Country Status (1)

Country Link
CN (1) CN102508313B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150774A (en) * 2013-03-07 2013-06-12 吉林省高速公路管理局 System and method for identifying vehicles of highway green channel
CN108458878A (en) * 2018-01-11 2018-08-28 北京万集科技股份有限公司 The detection method and device of green channel vehicle
CN110261923A (en) * 2018-08-02 2019-09-20 浙江大华技术股份有限公司 A kind of contraband detecting method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4325552A1 (en) * 1993-07-29 1995-02-02 Computer Ges Konstanz Process for finding alphanumeric characters in an image
DE19632478A1 (en) * 1996-08-12 1998-02-19 Fraunhofer Ges Forschung Real time detection of foreign objects in object to be tested
FR2923016A1 (en) * 2007-10-31 2009-05-01 Valeo Vision Sa METHOD FOR DETECTING A VISIBILITY DISRUPTION PHENOMENON FOR A VEHICLE.
CN101532968A (en) * 2009-04-22 2009-09-16 北京华力兴科技发展有限责任公司 Vehicle check system for green channel
CN102096114A (en) * 2009-12-14 2011-06-15 北京中星微电子有限公司 Method and device for detecting bottom area of automobile
CN102110366A (en) * 2011-03-28 2011-06-29 长安大学 Block-based accumulated expressway vehicle parking event detecting method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4325552A1 (en) * 1993-07-29 1995-02-02 Computer Ges Konstanz Process for finding alphanumeric characters in an image
DE19632478A1 (en) * 1996-08-12 1998-02-19 Fraunhofer Ges Forschung Real time detection of foreign objects in object to be tested
FR2923016A1 (en) * 2007-10-31 2009-05-01 Valeo Vision Sa METHOD FOR DETECTING A VISIBILITY DISRUPTION PHENOMENON FOR A VEHICLE.
CN101532968A (en) * 2009-04-22 2009-09-16 北京华力兴科技发展有限责任公司 Vehicle check system for green channel
CN102096114A (en) * 2009-12-14 2011-06-15 北京中星微电子有限公司 Method and device for detecting bottom area of automobile
CN102110366A (en) * 2011-03-28 2011-06-29 长安大学 Block-based accumulated expressway vehicle parking event detecting method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150774A (en) * 2013-03-07 2013-06-12 吉林省高速公路管理局 System and method for identifying vehicles of highway green channel
CN103150774B (en) * 2013-03-07 2015-10-21 吉林省高速公路管理局 A kind of highway green channel vehicle identification system and method
CN108458878A (en) * 2018-01-11 2018-08-28 北京万集科技股份有限公司 The detection method and device of green channel vehicle
CN110261923A (en) * 2018-08-02 2019-09-20 浙江大华技术股份有限公司 A kind of contraband detecting method and device
CN110261923B (en) * 2018-08-02 2024-04-26 浙江大华技术股份有限公司 Contraband detection method and device

Also Published As

Publication number Publication date
CN102508313B (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN103149599B (en) A kind of highway green test passage vehicle cab avoidance system and method
CN105652332A (en) Radiation source control method and rapid pass type security check system
CN102508313B (en) Method and system for detecting transport tool
US11745987B2 (en) Detection of locking devices
CN107843186A (en) A kind of compartment loading condition detecting system and method
US20190077600A1 (en) Systems and Methods for Yard Management at Distribution Centers
CN110411530A (en) A kind of intelligent identification Method of container residual volume
CN114022537B (en) Method for analyzing loading rate and unbalanced loading rate of vehicle in dynamic weighing area
CN104340803A (en) Elevator space overload detection device and method based on infrared dot matrix detection
CN110125044A (en) A kind of apple sorting equipment based on binocular vision
CN112926903A (en) Material transmission and scheduling control method and system based on multi-source heterogeneous data
CN110415221B (en) Automatic detection method for preventing container truck from being lifted based on image feature point matching
CN109107903A (en) Automatic sorting method and system
KR101156617B1 (en) Method and system for deciding a loading location with wireless-tag
CN111784718B (en) Intelligent online prediction device and prediction method for discrete material accumulation state
CN112945323A (en) Coaling flow detection method
CN117622757A (en) Grid type logistics bin sorting information processing method, system and storage medium
CN106325272A (en) Transport pallet control system cooperating with AGV small vehicle and method thereof
JP7376149B2 (en) Adjustment device and lidar measurement device
CN105548223A (en) A scanning method, a scanning system and a ray scanning controller
CN115631329A (en) Loading control method and system for open type carriage and storage medium
CN111861324A (en) Big data cloud analysis-based feeding system of material grading system
CN116273917A (en) Data tracking control method
CN109214752A (en) Unmanned plane landing point and community's logistics sorting equipment docking system and its operation method
CN205365645U (en) Train safety check system

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