The content of the invention
In order to solve the above problems, the invention provides a kind of big data car steering area image analysis system, pass through
The specific sunlight radiation situation of real-time detection steering position, introduce multiple images processing equipment is carried out to specific sunlight radiation situation
Quantitative analysis, while the travel direction of the vehicles is judged, so as to according to travel direction, the corresponding position of sunlight subgraph
Put and corresponding area ratio determines steering position sunshade nearby or the driving control signal except hot equipment.
According to an aspect of the present invention, there is provided a kind of big data car steering area image analysis system, the system
Including CMOS sensing equipments, big data processing platform and MSP430 single-chip microcomputers, CMOS sensing equipments are used to gather the driving of automobile
Area image, big data processing platform is connected with CMOS sensing equipments and MSP430 single-chip microcomputers respectively by network, for being based on
Driver area image determines the relevant information of each sunlight subgraph in the image of driver area, and by the image of driver area each
The relevant information of sunlight subgraph is sent to MSP430 single-chip microcomputers.
More specifically, in the big data car steering area image analysis system, including:CMOS sensing equipments, if
Put in automobile, in front of steering position, for carrying out IMAQ to export driver area image to steering position scene;Big number
According to processing platform, it is connected with CMOS sensing equipments by network, for receiving driver area image and driver area image being entered
Row treatment, big data processing platform includes:Gray processing processing equipment, is connected by network with CMOS sensing equipments, including passage
Parameter extraction unit, weighted value memory cell and gray value computing unit, channel parameters extraction unit are used to receive driver area
Image, extracts R passages pixel value, G passages pixel value and the channel B pixel value of each pixel in the image of driver area,
Weighted value memory cell is used to prestore R channel weightings value, G channel weightings value and channel B weighted value, and gray value calculates single
Unit is connected with channel parameters extraction unit and weighted value memory cell respectively, for each pixel in the image of driver area,
By R passages pixel value and the product and channel B pixel of the product, G passages pixel value and G channel weighting values of R channel weighting values
The product addition of value and channel B weighted value to obtain the gray value of the pixel being directed to, and based in the image of driver area each
The gray value of pixel obtains the corresponding gray level image of driver area image;Wherein, R channel weightings value value is
0.298839, G channel weighting value value is 0.586811, and channel B weighted value value is 0.114350;Histogram distribution detection sets
It is standby, be connected with gray processing processing equipment, for receiving gray level image, and gray level image is carried out grey level histogram treatment with
Corresponding histogram image is obtained, when histogram image is presented bimodal distribution, global threshold selection signal is sent, otherwise, hair
Go out non-global threshold selection signal;Threshold value selects equipment, is connected with histogram distribution testing equipment, for receiving global threshold
During value selection signal, exported global threshold 128 as threshold data, when non-global threshold selection signal is received, by phase
Adjacent pixel gray level difference limen value 40 is exported as threshold data;Binary conversion treatment equipment, selects equipment and Nogata with threshold value respectively
Figure distribution detection device is connected, for when global threshold selection signal is received, for each picture in gray level image
Vegetarian refreshments, when gray value is more than or equal to threshold data, the pixel that will be directed to is set to white level pixel, when gray value is less than
During threshold data, the pixel that will be directed to is set to black level pixel, and the corresponding binary image of output gray level image;
Binary conversion treatment equipment is additionally operable to when non-global threshold selection signal is received, for each pixel in gray level image
Point, calculates vertical direction upwards apart from its 3 gray values of the pixel of pixel as upper grey scale pixel value, calculates Vertical Square
To downwards apart from its 3 gray values of the pixel of pixel as lower grey scale pixel value, calculated level direction to the left apart from its 3
, used as left grey scale pixel value, calculated level direction is to the right apart from its 3 pictures of pixel for the gray value of the pixel of individual pixel
The gray value of vegetarian refreshments as right grey scale pixel value, when the absolute value of upper grey scale pixel value and the difference of lower grey scale pixel value is less than or equal to
When the absolute value of the difference of threshold data and left grey scale pixel value and right grey scale pixel value is less than or equal to threshold data, the picture that will be directed to
Vegetarian refreshments is set to white level pixel, when upper grey scale pixel value and the difference of lower grey scale pixel value absolute value more than threshold data or
When the absolute value of the difference of left grey scale pixel value and right grey scale pixel value is more than threshold data, the pixel that will be directed to is set to black appliances
Flat pixel, and the corresponding binary image of output gray level image;Picture smooth treatment equipment, connects with binary conversion treatment equipment
Connect, for receiving binary image, for each pixel in binary image, exist when in adjacent all pixels point
During the trip point of more than half, then the gray value of the pixel that will be directed to retains, and otherwise, the gray value of the pixel that will be directed to sets
White level pixel is set to, and exports the corresponding smoothed image of binary image;Medium filtering equipment, sets with image balance treatment
Standby connection, for receiving smoothed image, the gray value to the pixel of smoothed image is analyzed to determine each noise point
The distribution radius in cloth region, the maximum in the distribution radius based on each noise profile region determines to carry out the filter of medium filtering
Ripple pixel block size, uses the filtered pixel block size for determining to carry out median filter process to smoothed image to obtain filtering figure
Picture;Sunlight parameter detection equipment, is connected to obtain filtering image with medium filtering equipment;For each picture in filtering image
Vegetarian refreshments, its gray value is matched with default sunlight tonal range, when its gray value is in default sunlight tonal range, really
It is sunlight pixel to determine it;By in filtering image all sunlight pixels composition region split from filtering image with
Obtain each sunlight subgraph;And determine its position in filtering image and calculate it based on each sunlight subgraph to account for
According to the area ratio of filtering image;Export each sunlight subgraph and distinguish corresponding position and respectively corresponding area ratio;
Solar energy testing equipment, for the current solar energy intensity of real-time detection;Power supply unit, including solar powered device, electric power storage
Pond, switching switch and electric pressure converter, switching switch connect with solar energy testing equipment, solar powered device and battery respectively
Connect, when the not enough and current solar energy intensity of the dump energy of battery is optionally greater than preset strength threshold value, be switched to the sun
Energy power supply device is powered with by solar powered device, and electric pressure converter is connected with switching switch, will be defeated by switching switch
The 5V voltage conversions for entering are 3.3V voltages, wherein solar powered device includes solar energy photovoltaic panel;Wireless charging device, respectively
It is connected with solar energy testing equipment and battery, when the not enough and current solar energy intensity of the dump energy of battery is less than default
During intensity, set up with neighbouring wireless charging terminal and be connected to start wireless charging operation, wireless charging device also turns with voltage
Parallel operation connects to realize voltage conversion;Digital compass, is arranged in the front end instrument board of automobile, for real-time detection and exports
Vehicle traveling direction;Digital compass includes two-dimensional magnetic field sensor, for being detected based on magnetic resistance and exports vehicle traveling direction,
Digital compass also includes electromagnetic feedback circuit, for eliminating the sensitive skew brought because of temperature change;MSP430 monolithics
Machine, is arranged in the front end instrument board of automobile, is connected with digital compass, is also connected by network and sunlight parameter detection equipment
Connect, corresponding position and respectively corresponding area ratio are distinguished for receiving vehicle traveling direction, each sunlight subgraph, and
Corresponding position is distinguished based on vehicle traveling direction, each sunlight subgraph and corresponding area ratio determines to drive control respectively
Signal processed;Multiple air outlets, are respectively provided with the different mount points near Driving Position;Multiple Boiler pressure control equipment, often
One Boiler pressure control equipment one air outlet of correspondence, the air force for controlling correspondence air outlet;Air-conditioning control equipment is and more
Individual Boiler pressure control equipment connection, is also connected with MSP430 single-chip microcomputers, for receiving driving control signal, and based on drive control letter
Number control is driven to multiple Boiler pressure control equipment.
More specifically, in the big data car steering area image analysis system, also including:Mobile hard disk, is used for
The default sunlight tonal range of storage.
More specifically, in the big data car steering area image analysis system:Mobile hard disk is arranged on automobile
In the instrument board of front end.
More specifically, in the big data car steering area image analysis system:MSP430 single-chip microcomputers are hard with mobile
Disk is integrated on one piece of surface-mounted integrated circuit.
More specifically, in the big data car steering area image analysis system, also including:Time division duplex communication connects
Mouthful, be connected with MSP430 single-chip microcomputers, for transmit wirelessly vehicle traveling direction, each sunlight subgraph corresponding position of difference with
And the corresponding area ratio of difference.
More specifically, in the big data car steering area image analysis system:Time division duplex communication interface is set
On body of a motor car.
Specific embodiment
The embodiment to big data car steering area image analysis system of the invention is carried out below with reference to accompanying drawings
Describe in detail.
It is typically in the front end of the vehicles due to the steering position where driver, and the seating at other passengers
Position is typically in the rear end of the vehicles, therefore, the sunlight irradiated area that driver is born is greater than general passenger and is held
The sunlight irradiated area received, and, the sunlight exposure intensity that driver is born is greater than the sunlight photograph that general passenger is born
Penetrate intensity.As can be seen here, in the decision-making blocked for sunlight, the selection of driver and the selection of general passenger are the presence of conflict
Possibility.
However, be generally only in the prior art to be simply to set a sunshading board for the sunlight mechanism of blocking of driver,
By driver in the case where sunlight strength is too high, manually select and push sunshading board and protected, this mode excessively falls behind.Together
When, electronics sunshade means of the prior art are fairly simple, do not account for the selection and the selection of general passenger of driver
Conflict part.
In order to overcome above-mentioned deficiency, the present invention to build a kind of big data car steering area image analysis system, can
In view of the conflict part of the selection of the selection and general passenger of driver, according to the specific sunlight radiation situation of steering position,
The sunshade mechanism of a set of self adaptation is set exclusively for driver, so as to solve driver selection and general passenger selection it
Between contradiction.
Fig. 1 is the structure square frame of the big data car steering area image analysis system according to embodiment of the present invention
Figure, the system includes CMOS sensing equipments, big data processing platform and MSP430 single-chip microcomputers, and CMOS sensing equipments are used to gather
The driver area image of automobile, big data processing platform is connected with CMOS sensing equipments and MSP430 single-chip microcomputers respectively by network
Connect, the relevant information for determining each sunlight subgraph in the image of driver area based on driver area image, and by driver's compartment
The relevant information of each sunlight subgraph is sent to MSP430 single-chip microcomputers in area image.
Then, continue to carry out further the concrete structure of big data car steering area image analysis system of the invention
Explanation.
The system includes:CMOS sensing equipments, are arranged in automobile, steering position front, for steering position
Scape carries out IMAQ to export driver area image;Big data processing platform, is connected by network with CMOS sensing equipments, is used
Processed in reception driver area image and to driver area image.
Big data processing platform includes:Gray processing processing equipment, is connected by network with CMOS sensing equipments, including passage
Parameter extraction unit, weighted value memory cell and gray value computing unit, channel parameters extraction unit are used to receive driver area
Image, extracts R passages pixel value, G passages pixel value and the channel B pixel value of each pixel in the image of driver area,
Weighted value memory cell is used to prestore R channel weightings value, G channel weightings value and channel B weighted value, and gray value calculates single
Unit is connected with channel parameters extraction unit and weighted value memory cell respectively, for each pixel in the image of driver area,
By R passages pixel value and the product and channel B pixel of the product, G passages pixel value and G channel weighting values of R channel weighting values
The product addition of value and channel B weighted value to obtain the gray value of the pixel being directed to, and based in the image of driver area each
The gray value of pixel obtains the corresponding gray level image of driver area image;Wherein, R channel weightings value value is
0.298839, G channel weighting value value is 0.586811, and channel B weighted value value is 0.114350;Histogram distribution detection sets
It is standby, be connected with gray processing processing equipment, for receiving gray level image, and gray level image is carried out grey level histogram treatment with
Corresponding histogram image is obtained, when histogram image is presented bimodal distribution, global threshold selection signal is sent, otherwise, hair
Go out non-global threshold selection signal;Threshold value selects equipment, is connected with histogram distribution testing equipment, for receiving global threshold
During value selection signal, exported global threshold 128 as threshold data, when non-global threshold selection signal is received, by phase
Adjacent pixel gray level difference limen value 40 is exported as threshold data.
Big data processing platform includes:Binary conversion treatment equipment, selects equipment and histogram distribution to detect with threshold value respectively
Equipment is connected, for when global threshold selection signal is received, for each pixel in gray level image, working as gray scale
When value is more than or equal to threshold data, the pixel that will be directed to is set to white level pixel, when gray value is less than threshold data,
The pixel that will be directed to is set to black level pixel, and the corresponding binary image of output gray level image;Binary conversion treatment
Equipment is additionally operable to when non-global threshold selection signal is received, and for each pixel in gray level image, is calculated and is hung down
Nogata to upwards apart from its 3 gray values of the pixel of pixel as upper grey scale pixel value, calculate vertical direction downwards away from
From its 3 gray values of the pixel of pixel as lower grey scale pixel value, calculated level direction is to the left apart from its 3 pixels
Pixel gray value as left grey scale pixel value, calculated level direction is to the right apart from its 3 ashes of the pixel of pixel
Angle value as right grey scale pixel value, when the absolute value of upper grey scale pixel value and the difference of lower grey scale pixel value is less than or equal to threshold data
And the absolute value of the difference of left grey scale pixel value and right grey scale pixel value, when being less than or equal to threshold data, the pixel that will be directed to is set
It is white level pixel, when the absolute value of upper grey scale pixel value and the difference of lower grey scale pixel value is more than threshold data or left pixel ash
When the absolute value of the difference of angle value and right grey scale pixel value is more than threshold data, the pixel that will be directed to is set to black level pixel
Point, and the corresponding binary image of output gray level image.
Big data processing platform includes:Picture smooth treatment equipment, is connected, with binary conversion treatment equipment for receiving two-value
Change image, for each pixel in binary image, when there is the saltus step of more than half in adjacent all pixels point
During point, then the gray value of the pixel that will be directed to retains, and otherwise, the gray value of the pixel that will be directed to is set to white level pixel
Point, and export the corresponding smoothed image of binary image;Medium filtering equipment, is connected, with image balance processing equipment for connecing
Smoothed image is received, the gray value to the pixel of smoothed image is analyzed to determine the distribution half in each noise profile region
Footpath, the maximum in the distribution radius based on each noise profile region determines to carry out the filtered pixel block size of medium filtering,
Use the filtered pixel block size for determining carries out median filter process to obtain filtering image to smoothed image.
Big data processing platform includes:Sunlight parameter detection equipment, is connected to obtain filtering image with medium filtering equipment;
For each pixel in filtering image, its gray value is matched with default sunlight tonal range, when its gray value
When in default sunlight tonal range, sunlight pixel is determined that it is;By all sunlight pixels composition in filtering image
Region splits to obtain each sunlight subgraph from filtering image;And determine it in filter based on each sunlight subgraph
Position in ripple image and calculate its area ratio for occupying filtering image;Export each sunlight subgraph and distinguish corresponding position
Put and the corresponding area ratio of difference.
The system includes:Solar energy testing equipment, for the current solar energy intensity of real-time detection;Power supply unit, bag
Include solar powered device, battery, switching switch and electric pressure converter, switching switch respectively with solar energy testing equipment, too
Positive energy power supply device and battery connection, when the not enough and current solar energy intensity of the dump energy of battery is optionally greater than default
During intensity threshold, it is switched to solar powered device and is powered with by solar powered device, electric pressure converter connects with switching switch
Connect, that will be 3.3V voltages by switching the 5V voltage conversions of switch input, wherein solar powered device includes solar energy
Volt plate.
The system includes:Wireless charging device, is connected, when battery with solar energy testing equipment and battery respectively
When dump energy is not enough and current solar energy intensity is less than preset strength, is set up with neighbouring wireless charging terminal and be connected to open
Dynamic wireless charging operation, wireless charging device also is connected to realize voltage conversion with electric pressure converter;Digital compass, is arranged on
In the front end instrument board of automobile, for real-time detection and vehicle traveling direction is exported;Digital compass is sensed including two-dimensional magnetic field
Device, for being detected based on magnetic resistance and exports vehicle traveling direction, and digital compass also includes electromagnetic feedback circuit, for eliminate because
The sensitive skew brought for temperature change.
The system includes:MSP430 single-chip microcomputers, are arranged in the front end instrument board of automobile, are connected with digital compass,
Also it is connected with sunlight parameter detection equipment by network, is corresponded to respectively for receiving vehicle traveling direction, each sunlight subgraph
Position and corresponding area ratio respectively, and corresponding position is distinguished based on vehicle traveling direction, each sunlight subgraph
And corresponding area ratio determines driving control signal respectively;Multiple air outlets, are respectively provided near Driving Position
In different mount points;Multiple Boiler pressure control equipment, each Boiler pressure control equipment one air outlet of correspondence, for controlling correspondence to go out
The air force in air port.
The system includes:Air-conditioning control equipment, is connected with multiple Boiler pressure control equipment, also connects with MSP430 single-chip microcomputers
Connect, for receiving driving control signal, and control is driven to multiple Boiler pressure control equipment based on driving control signal.
Alternatively, in the system, also include:Mobile hard disk, for storing default sunlight tonal range;Mobile hard disk
It is arranged in the front end instrument board of automobile;MSP430 single-chip microcomputers are integrated on one piece of surface-mounted integrated circuit with mobile hard disk;Also wrap
Include:Time division duplex communication interface, is connected with MSP430 single-chip microcomputers, for transmitting wirelessly vehicle traveling direction, each sunlight subgraph
As corresponding position and respectively corresponding area ratio respectively;Time division duplex communication interface is arranged on body of a motor car.
In addition, 4G LTE are a standards for global general-use, including two kinds of network modes FDD and TDD, it is respectively used in pairs
Frequency spectrum and non-paired frequency spectrum.Operator's choice initially between two patterns is purely for the consideration to spectrum availability.Greatly
Multi-operator will simultaneously dispose two kinds of networks, so as to all frequency spectrum resources for making full use of it to possess.FDD and TDD are in technology
Upper to distinguish very little in fact, the main distinction is that using different duplex modes, FDD (FDD) and time division duplex (TDD)
It is two kinds of different duplex modes.
FDD be separate two symmetrical frequency channels on be received and transmitted, separated with protection frequency range reception and
Send channel.FDD must use paired frequency, and differentiating uplink and downlink link is carried out by frequency, and its unidirectional resource is in the time
On be continuous.FDD can make full use of the frequency spectrum of up-downgoing when symmetrical service is supported, but when non-symmetrical service is supported, frequency
Spectrum utilization rate will be substantially reduced.
TDD separates reception with the time and sends channel.In the GSM of TDD modes, receive and transmission makes
With the different time-gap of same frequency carrier wave as channel carrying, its unidirectional resource is in time discontinuous, the time
Resource is distributed in the two directions.Certain time period sends a signal to mobile station by base station, and the time in addition is by moving
Platform sends a signal to base station, must harmonious ability work well between base station and mobile station.
Cannot be steering position for prior art using big data car steering area image analysis system of the invention
Driver provide customization sunshade strategy technical problem, IMAQ is carried out by the sunlight radiation situation to steering position,
Introduce a series of images processing equipment accurately to analyze the image for collecting, by analysis result combination vehicle travels side
To determine the visor mode at steering position, it is determined that visor mode be specific to driver rather than all passengers.
Although it is understood that the present invention is disclosed as above with preferred embodiment, but above-described embodiment and being not used to
Limit the present invention.For any those of ordinary skill in the art, in the case where technical solution of the present invention ambit is not departed from,
Many possible variations and modification are all made to technical solution of the present invention using the technology contents of the disclosure above, or is revised as
With the Equivalent embodiments of change.Therefore, every content without departing from technical solution of the present invention, according to technical spirit pair of the invention
Any simple modification, equivalent variation and modification made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.