Multifunctional traffic crossing switch board
Technical field
The present invention relates to switch board field, particularly relate to a kind of multifunctional traffic crossing switch board.
Background technology
In order to avoid the generation of road traffic accident, first have to check break in traffic rules and regulations behavior severely, road traffic accident is stifled in the cradle.The detection of break in traffic rules and regulations behavior has several ways at present: 1, adopt photographic head violating the regulations that various break in traffic rules and regulations behaviors are investigated and prosecuted;2, carry out fixed point the position arrangement law enfrocement official that vehicle is many to investigate and prosecute;3, public's strength is utilized to carry out the report of various break in traffic rules and regulations behavior.Wherein, the mode detection efficiency of photographic head violating the regulations is the highest, can save cost of labor in a large number simultaneously, is the main investigation pattern of each city favor at present.
Owing to photographic head violating the regulations is generally arranged at the top of traffic intersection, the vehicle in each track is carried out the identification of act of violating regulations detection and vehicles peccancy, but the vehicle of traffic intersection position is numerous, detection the limited time to each car, the flash lamp persistent period of capture apparatus violating the regulations have to be maintained in a very short time interval and could complete the peccancy detection to each car rush hour at road.
In prior art, the flash lamp persistent period of the capture apparatus violating the regulations that city traffic control department uses is fixing, to adapt to the demand of road peak period, but, when non-rice habitats peak, when namely vehicle is considerably less, if also adopting the flash lamp persistent period fixing, very short, then there is capture apparatus violating the regulations to be for a long time likely to be at idle condition, and these times can be used to all assign on each vehicular traffic originally, to promote the definition of shooting image.
Therefore, need the flash lamp control program of a kind of new capture apparatus violating the regulations, real-time data acquisition platform can be set up at each traffic intersection, the vehicular traffic data of traffic intersection are carried out accurate acquisition, and the flash lamp persistent period being neighbouring capture apparatus violating the regulations based on the vehicular traffic number of traffic intersection provides reference.
Summary of the invention
In order to solve the problems referred to above, the invention provides a kind of multifunctional traffic crossing switch board, transform the existing switch board at each traffic intersection place, integrated multiple image processing equipment is to identify the vehicle fleet size at corresponding traffic intersection place, integrated wireless communications equipment is to be wirelessly transferred vehicle fleet size simultaneously, more crucially, it is additionally based upon vehicle fleet size and determines the flash lamp persistent period of capture apparatus violating the regulations near traffic intersection address, so that the capture apparatus violating the regulations of each near traffic intersection address is carried out controlled in wireless.
According to an aspect of the present invention, provide a kind of multifunctional traffic crossing switch board, described switch board includes cabinet, suspended structure, CMOS vision sensor, Freescale MC9S12 chip and switch board communication equipment, suspended structure is connected with cabinet, for hanging cabinet, CMOS vision sensor, Freescale MC9S12 chip and switch board communication equipment are all disposed within cabinet position, CMOS vision sensor and Freescale MC9S12 chip are for extracting the vehicle fleet size of traffic intersection, switch board communication equipment for controlling the flash lamp of the capture apparatus violating the regulations near traffic intersection based on the vehicle fleet size of traffic intersection.
More specifically, in the switch board of described multifunctional traffic crossing, including: switch board main body, including cabinet and suspended structure;Cabinet adopts thickness to be the cold-rolled steel sheet of 1.5 millimeters and have stiffened panel and floor;Suspended structure includes hanging installs supporting, hang channel-section steel, cushion block, pad and square head screw, hang and supporting is installed for groove section steel structure, tip upside down on cabinet roof, cushion block is hanging between installation supporting and cabinet roof, hanging channel-section steel is a U-shaped steel construction of side-stand type, it is positioned at suspension and supporting top is installed, by upper steel bar, lower strip and longitudinal steel bar composition, square head screw is installed supporting for connecting to hang and hangs the lower strip of channel-section steel, pad is hanging between the lower strip installing supporting and suspension channel-section steel, the upper steel bar hanging channel-section steel is fixed on suspension platform to realize the suspension type of cabinet is installed;Luminance sensor, is embedded on cabinet outer surface, is used for detecting ambient brightness, determines and export the ambient light levels of correspondence according to ambient brightness;CMOS vision sensor, is embedded on cabinet outer surface, and for traffic intersection is shot, to obtain high definition crossing image, the resolution of high definition crossing image is 3840 × 2160;Static memory, it is arranged in cabinet, for prestoring multiple Benchmark brightness crossings image, the corresponding ambient light levels of each Benchmark brightness crossing image, each Benchmark brightness crossing image is that traffic intersection is carried out shooting the image obtained in advance by CMOS vision sensor under without any vehicle-state under corresponding ambient light levels, static memory is additionally operable to prestore traffic intersection address, preset difference value threshold value, benchmark vehicle gray processing picture and preset matching degree threshold value, benchmark vehicle gray processing picture is the gray processing picture only including benchmark vehicle ' s contour, preset matching degree threshold value is the percentages less than 1;Foreground selection equipment, it is arranged in cabinet, being connected respectively with luminance sensor and static memory, the ambient light levels based on the output of current time luminance sensor is found the Benchmark brightness crossing image of correspondence in static memory and exports as target background image;Background complexity detection equipment, is arranged in cabinet, is connected with CMOS vision sensor, be used for receiving high definition crossing image, and calculates in the image of high definition crossing the severe degree of pixel color change with the output of complexity as a setting;nullMoving region detection equipment,It is arranged in cabinet,With CMOS vision sensor、Static memory、Foreground selection equipment and background complexity detection equipment connect respectively,The first weighted value and the second weighted value is determined based on background complexity,First weighted value and the second weighted value sum are 1,Background complexity is more big,First weighted value is more little,Second weighted value is more big,High definition crossing image and the high definition crossing image of next second of current time of current time is received by CMOS vision sensor,Respectively as the first high definition crossing image and the second high definition crossing image,The gray value of each pixel of the first high definition crossing image is deducted the gray value of the pixel of correspondence position in the second high definition crossing image and takes absolute value to obtain the first absolute value,The gray value of each pixel of the first high definition crossing image is deducted the gray value of the pixel of correspondence position in target background image and takes absolute value to obtain the second absolute value,First weighted value and the first absolute value are multiplied by acquisition the first product mutually,Second weighted value and the second absolute value are multiplied by acquisition the second product mutually,When the first product and the second product be all the absolute value of non-zero and the difference between the first product and the second product less than preset difference value threshold value time,The respective pixel of the first high definition crossing image is confirmed as motion pixel,Otherwise,The respective pixel of the first high definition crossing image is confirmed as static pixel,The image of all motion pixels composition in first high definition crossing image is exported as moving image,Moving image is made up of one or more moving regions;Morphological image processes equipment, it is arranged in cabinet, detect equipment with moving region to be connected, for receiving moving pictures, and each moving region is carried out denoising to obtain denoising subimage, fill up denoising subimage interior void and connect in denoising subimage breakpoint to obtain shaping subimage, export one or more shaping subimage;Smoothing processing equipment, is arranged in cabinet, processes equipment with morphological image and is connected, for each the shaping subimage received is smoothed, to obtain smooth subimage;Medium filtering equipment, is arranged in cabinet, is connected with smoothing processing equipment, processes for the smooth subimage received is performed medium filtering, to filter the scattering composition in smooth subimage, it is thus achieved that medium filtering subimage;Change of scale strengthens equipment, is arranged in cabinet, is connected with medium filtering equipment, for the medium filtering subimage received is performed change of scale enhancement process, to obtain enhancer image;Gray processing processes equipment, is arranged in cabinet, strengthens equipment with change of scale and is connected, for the enhancer image received is carried out gray processing process, to obtain gray processing subimage;Freescale MC9S12 chip, it is arranged in cabinet, process equipment with gray processing and static memory is connected respectively, each gray processing subimage is mated with benchmark vehicle gray processing picture, when matching degree is be more than or equal to preset matching degree threshold value, corresponding gray processing subimage is confirmed as vehicle subimage, calculates the number of vehicle subimage and exports as vehicle fleet size;Switch board communication equipment, it is embedded on cabinet outer surface, it is connected respectively with Freescale MC9S12 chip and static memory, receive vehicle fleet size and traffic intersection address, determine the flash lamp persistent period of capture apparatus violating the regulations near traffic intersection address based on vehicle fleet size, and based on traffic intersection address, the flash lamp persistent period determined is sent to the capture apparatus violating the regulations of each near traffic intersection address by wireless communication link;Wherein, vehicle fleet size is more many, and the flash lamp persistent period of capture apparatus violating the regulations is more short.
More specifically, in the switch board of described multifunctional traffic crossing, also include: display panels, it is connected with Freescale MC9S12 chip, for showing vehicle fleet size in real time.
More specifically, in the switch board of described multifunctional traffic crossing: display panels is embedded on cabinet outer surface.
More specifically, in the switch board of described multifunctional traffic crossing: wireless communication link is GPRS bidirectional communication link.
More specifically, in the switch board of described multifunctional traffic crossing, also include: remote manual control selects handle, for realizing the switching of manual operation on the spot and remote manipulation on the spot.
More specifically, in the switch board of described multifunctional traffic crossing: remote manual control selects handle to be arranged on outside cabinet.
Accompanying drawing explanation
Below with reference to accompanying drawing, embodiment of the present invention are described, wherein:
Fig. 1 is the block diagram of the multifunctional traffic crossing switch board illustrated according to an embodiment of the present invention.
Accompanying drawing labelling: 1 cabinet;2 suspended structures;3CMOS vision sensor;4 Freescale MC9S12 chips;5 switch board communication equipments
Detailed description of the invention
Below with reference to accompanying drawings the embodiment of the multifunctional traffic crossing switch board of the present invention is described in detail.
In order to the break in traffic rules and regulations behavior of driver is punished and guarded against, first have to effectively detect the break in traffic rules and regulations behavior of driver.
In prior art, a kind of commonly used detection mode is by disposing capture apparatus violating the regulations that vehicular traffic is carried out peccancy detection in traffic intersection position, in order to avoid vehicle leakage being clapped in road peak period, needing to arrange fixing, the shorter flash lamp persistent period shoots one by one to vehicular traffic, but this style of shooting easily causes when vehicle fleet size is few, the waste to shooting time.
In order to overcome above-mentioned deficiency, the present invention has built a kind of multifunctional traffic crossing switch board, utilize the switch board of existing traffic intersection, transform to increase on-site data gathering equipment and field data communication equipment to it, realized the intelligentized control method of the flash lamp persistent period to each capture apparatus violating the regulations neighbouring simultaneously by field data communication equipment.
Fig. 1 is the block diagram of the multifunctional traffic crossing switch board illustrated according to an embodiment of the present invention, described switch board includes cabinet, suspended structure, CMOS vision sensor, Freescale MC9S12 chip and switch board communication equipment, suspended structure is connected with cabinet, for hanging cabinet, CMOS vision sensor, Freescale MC9S12 chip and switch board communication equipment are all disposed within cabinet position, CMOS vision sensor and Freescale MC9S12 chip are for extracting the vehicle fleet size of traffic intersection, switch board communication equipment for controlling the flash lamp of the capture apparatus violating the regulations near traffic intersection based on the vehicle fleet size of traffic intersection.
Then, continue the concrete structure of the multifunctional traffic crossing switch board of the present invention is further detailed.
Described switch board includes: switch board main body, including cabinet and suspended structure;Cabinet adopts thickness to be the cold-rolled steel sheet of 1.5 millimeters and have stiffened panel and floor;Suspended structure includes hanging installs supporting, suspension channel-section steel, cushion block, pad and square head screw.
Hang and supporting is installed for groove section steel structure, tip upside down on cabinet roof, cushion block is hanging between installation supporting and cabinet roof, hanging channel-section steel is a U-shaped steel construction of side-stand type, it is positioned at suspension and supporting top is installed, it is made up of upper steel bar, lower strip and longitudinal steel bar, square head screw is installed supporting for connecting to hang and hangs the lower strip of channel-section steel, pad is hanging between the lower strip installing supporting and suspension channel-section steel, and the upper steel bar hanging channel-section steel is fixed on suspension platform to realize the suspension type of cabinet is installed.
Described switch board includes: luminance sensor, is embedded on cabinet outer surface, is used for detecting ambient brightness, determines and export the ambient light levels of correspondence according to ambient brightness;CMOS vision sensor, is embedded on cabinet outer surface, and for traffic intersection is shot, to obtain high definition crossing image, the resolution of high definition crossing image is 3840 × 2160.
Described switch board includes: static memory, it is arranged in cabinet, for prestoring multiple Benchmark brightness crossings image, the corresponding ambient light levels of each Benchmark brightness crossing image, each Benchmark brightness crossing image is that traffic intersection is carried out shooting the image obtained in advance by CMOS vision sensor under without any vehicle-state under corresponding ambient light levels, static memory is additionally operable to prestore traffic intersection address, preset difference value threshold value, benchmark vehicle gray processing picture and preset matching degree threshold value, benchmark vehicle gray processing picture is the gray processing picture only including benchmark vehicle ' s contour, preset matching degree threshold value is the percentages less than 1.
Described switch board includes: Foreground selection equipment, it is arranged in cabinet, being connected respectively with luminance sensor and static memory, the ambient light levels based on the output of current time luminance sensor is found the Benchmark brightness crossing image of correspondence in static memory and exports as target background image.
Described switch board includes: background complexity detection equipment, is arranged in cabinet, is connected with CMOS vision sensor, is used for receiving high definition crossing image, and calculates in the image of high definition crossing the severe degree of pixel color change with the output of complexity as a setting.
nullDescribed switch board includes: moving region detection equipment,It is arranged in cabinet,With CMOS vision sensor、Static memory、Foreground selection equipment and background complexity detection equipment connect respectively,The first weighted value and the second weighted value is determined based on background complexity,First weighted value and the second weighted value sum are 1,Background complexity is more big,First weighted value is more little,Second weighted value is more big,High definition crossing image and the high definition crossing image of next second of current time of current time is received by CMOS vision sensor,Respectively as the first high definition crossing image and the second high definition crossing image,The gray value of each pixel of the first high definition crossing image is deducted the gray value of the pixel of correspondence position in the second high definition crossing image and takes absolute value to obtain the first absolute value,The gray value of each pixel of the first high definition crossing image is deducted the gray value of the pixel of correspondence position in target background image and takes absolute value to obtain the second absolute value,First weighted value and the first absolute value are multiplied by acquisition the first product mutually,Second weighted value and the second absolute value are multiplied by acquisition the second product mutually,When the first product and the second product be all the absolute value of non-zero and the difference between the first product and the second product less than preset difference value threshold value time,The respective pixel of the first high definition crossing image is confirmed as motion pixel,Otherwise,The respective pixel of the first high definition crossing image is confirmed as static pixel,The image of all motion pixels composition in first high definition crossing image is exported as moving image,Moving image is made up of one or more moving regions.
Described switch board includes: morphological image processes equipment, it is arranged in cabinet, detect equipment with moving region to be connected, for receiving moving pictures, and each moving region is carried out denoising to obtain denoising subimage, fill up denoising subimage interior void and connect in denoising subimage breakpoint to obtain shaping subimage, export one or more shaping subimage.
Described switch board includes: smoothing processing equipment, is arranged in cabinet, processes equipment with morphological image and is connected, for each the shaping subimage received is smoothed, to obtain smooth subimage.
Described switch board includes: medium filtering equipment, is arranged in cabinet, is connected with smoothing processing equipment, processes for the smooth subimage received is performed medium filtering, to filter the scattering composition in smooth subimage, it is thus achieved that medium filtering subimage.
Described switch board includes: change of scale strengthens equipment, is arranged in cabinet, is connected with medium filtering equipment, for the medium filtering subimage received is performed change of scale enhancement process, to obtain enhancer image.
Described switch board includes: gray processing processes equipment, is arranged in cabinet, strengthens equipment with change of scale and is connected, for the enhancer image received is carried out gray processing process, to obtain gray processing subimage.
Described switch board includes: Freescale MC9S12 chip, it is arranged in cabinet, process equipment with gray processing and static memory is connected respectively, each gray processing subimage is mated with benchmark vehicle gray processing picture, when matching degree is be more than or equal to preset matching degree threshold value, corresponding gray processing subimage is confirmed as vehicle subimage, calculates the number of vehicle subimage and exports as vehicle fleet size.
Described switch board includes: switch board communication equipment, it is embedded on cabinet outer surface, it is connected respectively with Freescale MC9S12 chip and static memory, receive vehicle fleet size and traffic intersection address, determine the flash lamp persistent period of capture apparatus violating the regulations near traffic intersection address based on vehicle fleet size, and based on traffic intersection address, the flash lamp persistent period determined is sent to the capture apparatus violating the regulations of each near traffic intersection address by wireless communication link.
Wherein, vehicle fleet size is more many, and the flash lamp persistent period of capture apparatus violating the regulations is more short.
Alternatively, in described switch board, also include: display panels, be connected with Freescale MC9S12 chip, for showing vehicle fleet size in real time;Display panels is embedded on cabinet outer surface;Wireless communication link is GPRS bidirectional communication link;Described switch board also includes: remote manual control selects handle, for realizing the switching of manual operation on the spot and remote manipulation on the spot;And remote manual control selects handle to may be disposed at outside cabinet.
It addition, wave filter, as the term suggests, it is the device that ripple is filtered." ripple " is a physical concept widely, and at electronic technology field, " ripple " is narrowly confined to refer in particular to the process of the value fluctuations in time describing various physical quantitys.The effect by various kinds of sensors of this process, is converted into the time function of voltage or electric current, is referred to as the time waveform of various physical quantity, or is referred to as signal.Because the independent variable time is continuous value, it is referred to as continuous time signal, is referred to as again analogue signal habitually.
Along with the generation of digital electronic computer technology with develop rapidly, for the ease of computer, signal is processed, create under sampling theorem instructs, continuous time signal is transformed into discrete-time signal complete theory and method.That is, only can express primary signal by original analog signal sample value on series of discrete time coordinate point and not lose any information, since what these concepts of ripple, waveform, signal were expressed is the change of various physical quantitys in objective world, it is exactly the carrier of the various information that modern society depends on for existence naturally.Information needs to propagate, and what lean on is exactly the transmission of waveshape signal.Signal its generation, conversion, transmission each link be likely to be due to the existence of environment and interference and distort, or even in quite a number of cases, this distortion is also very serious, causes that signal and entrained information thereof are embedded in the middle of noise dearly.In order to filter these noises, recover signal originally, it is necessary to use various wave filter to be filtered processing.
Adopt the multifunctional traffic crossing switch board of the present invention, the technical problem of flash lamp persistent period control cannot be provided for capture apparatus violating the regulations for prior art, by transforming the switch board of existing traffic intersection, it can be used as data acquisition and data communication platform, to determine the flash lamp persistent period of capture apparatus violating the regulations based on the real-time vehicle quantity collected, and by wireless communication link, is sent to the capture apparatus violating the regulations near traffic intersection address the flash lamp persistent period.
Although it is understood that the present invention discloses as above with preferred embodiment, but above-described embodiment is not limited to the present invention.For any those of ordinary skill in the art, without departing under technical solution of the present invention ambit, all may utilize the technology contents of the disclosure above and technical solution of the present invention is made many possible variations and modification, or be revised as the Equivalent embodiments of equivalent variations.Therefore, every content without departing from technical solution of the present invention, the technical spirit of the foundation present invention, to any simple modification made for any of the above embodiments, equivalent variations and modification, all still falls within the scope of technical solution of the present invention protection.