The present invention be Application No. 201510152737.X, the applying date be on April 1st, 2015, entitled " outdoor electricity
The divisional application of the patent of energy table failure self-verifying method ".
The content of the invention
In order to solve the above problems, according to an aspect of the present invention, the invention provides a kind of outdoor electrical energy meter fault
Self-verifying method, it includes:Test signal is sent to detected electric energy meter using infrared transceiver, is detected in order to described
Electric energy meter controls its display screen to show the test character string that the test signal includes;Using CCD high-definition cameras to the quilt
The display screen of detection electric energy meter is shot to export test image;Image is carried out to the test image using image processor
Processing, to recognize the character string in the test image and be exported as identification string;Known using ARM11 processors by described
Other character string is compared with the test character string, to determine whether to send failure alarm signal.
Preferably, wherein the CCD high-definition cameras are also shot to export to the profile of the detected electric energy meter
The resolution ratio of contour images, the test image and the contour images is all 1920 × 1080.
More specifically, methods described further comprises carrying out at defogging the test image and the contour images respectively
The step of reason is to obtain defogging test image and defogging contour images.
Preferably, methods described examines terminal to implement automatically using outdoor electrical energy meter fault.Therefore, according to the another of the present invention
On one side, terminal is examined automatically present invention also offers a kind of outdoor electrical energy meter fault, the inspection terminal includes infrared receipts
Device, CCD high-definition cameras, image processor and ARM11 processors are sent out, the infrared transceiver is used to send out to detected electric energy meter
Test signal is sent, in order to which the detected electric energy meter controls its display screen to show the test character that the test signal includes
String, the CCD high-definition cameras are used to shoot to export test image the display screen of the detected electric energy meter, described
Image processor is connected with the CCD high-definition cameras, for carrying out image procossing to the test image, to recognize the survey
Attempt the character string as in and exported as identification string, the ARM11 processors are connected with described image processor, are used for
The identification string is compared with the test character string, to determine whether to send failure alarm signal.
More specifically, in the outdoor electrical energy meter fault examines terminal automatically, the CCD high-definition cameras are additionally operable to pair
The profile of the detected electric energy meter is shot to export contour images, the resolution of the test image and the contour images
Rate is all 1920 × 1080;
Further, the terminal also includes:
Power supply, including solar powered device, battery, switching switch and electric pressure converter, the switching switch
It is connected respectively with the solar powered device and the battery, according to battery dump energy decides whether to be switched to
Solar powered device by the solar powered device to be powered, and the electric pressure converter is connected with the switching switch, with
It is 3.3V voltages by the 5V voltage conversions that input is switched by switching;
Reset unit, for each electronic unit in the inspection terminal to be returned into default conditions, each described electricity
The state that the default conditions of subassembly set for the inspection terminal manufacturer when the inspection terminal is dispatched from the factory;
Static memory, the benchmark image template of the electric energy meter for prestoring various species, the electricity of each species
The benchmark image template of energy table is that the benchmark electric energy meter to each species shoots obtained pattern, the static storage in advance
Device has also prestored electric energy meter information table, and the electric energy meter information table saves each electricity using electric energy meter species as index
Infrared communication address, test character string, character upper limit gray threshold and the character lower limit gray threshold of energy table, the character upper limit
Gray threshold and the character lower limit gray threshold are used for the character and figure in image on the display screen of correspondence species electric energy meter
As background separation;
Alarm appliance, is connected with the ARM11 processors, including loudspeaker and alarm LED, and the loudspeaker is used to broadcast
Language warning file corresponding with the failure alarm signal is put, the alarm LED is used to receive the fault alarm
Red is shown during signal, green is shown when receiving fault-free cue;
Haze processing equipment is gone, it is described for receiving between the CCD high-definition cameras and described image processor
Test image and the contour images, defogging processing is carried out to the test image and the contour images to obtain defogging respectively
Test image and defogging contour images, substitute the test image and the contour images, by the defogging test image and go
Mist contour images input described image processor.
Specifically, it is described to go haze processing equipment to include:
The sub- equipment of haze Concentration Testing, in air, the haze of electric energy meter position is detected for detecting in real time
Concentration, and determine that haze removes intensity according to haze concentration, the haze removes intensity value between 0 to 1;
Overall air light value obtains sub- equipment, is connected to obtain the test image with the CCD high-definition cameras, calculates
The gray value of each pixel in the test image, regard the gray value of the maximum pixel of gray value as overall air light value;
Atmospheric scattering light value obtains sub- equipment, with the CCD high-definition cameras and the sub- equipment of haze Concentration Testing point
Do not connect, to each pixel of the test image, extract minimum value in its R, G, the Color Channel pixel values of B tri- and be used as target
Pixel value, using the Gaussian filter EPGF (edge-preserving gaussian filter) at holding edge to institute
State target pixel value be filtered processing to obtain filtered target pixel value, by target pixel value subtract filtered target pixel value with
Object pixel difference is obtained, is filtered processing to object pixel difference to obtain filtered target pixel value difference using EPGF, will
Filtered target pixel value subtracts filtered target pixel value difference and removes a reference value to obtain haze, and haze removal intensity is multiplied by into haze
Remove a reference value and remove threshold value to obtain haze, take haze to remove the minimum value in threshold value and target pixel value as comparison reference
Value, takes the maximum in comparison reference and 0 as the atmospheric scattering light value of each pixel;
Medium transfer rate obtains sub- equipment, obtains sub- equipment with the overall air light value and the atmospheric scattering light value is obtained
Take sub- equipment to connect respectively, the atmospheric scattering light value of each pixel divided by overall air light value are removed into value to obtain, 1 is subtracted
It is described to remove value to obtain the medium transfer rate of each pixel;
Sharpening image obtains sub- equipment, with the CCD high-definition cameras, the overall air light value obtain sub- equipment and
The medium transfer rate obtains sub- equipment and connected respectively, and the medium transfer rate of each pixel is subtracted to obtain the first difference by 1,
First difference is multiplied by overall air light value to obtain product value, by the pixel value of each pixel in the test image
The product value is subtracted to obtain the second difference, the medium transfer rate of second difference divided by each pixel is every to obtain
The pixel value of each pixel includes each in the test image in the sharpening pixel value of one pixel, the test image
The Color Channel pixel value of the R of individual pixel, G, B tri-, correspondingly, the sharpening pixel value of each pixel of acquisition include each
The Color Channel sharpening pixel value of the R of pixel, G, B tri-, the sharpening pixel value composition defogging test image of all pixels.
More specifically, the defogging processing mode for going haze processing equipment to carry out the contour images to described with surveying
Attempt as the defogging processing mode carried out is identical.
More specifically, described image processor goes haze processing equipment to be connected with described, including electric energy meter type identification list
Member, contrast enhancement unit, median filter unit, gray processing processing unit, Character segmentation unit and character recognition unit, it is described
Electric energy meter type identification unit goes haze processing equipment and the static memory to be connected respectively with described, by the defogging profile
Image is matched one by one with the benchmark image template of the electric energy meter of the various species, by the benchmark image template correspondence that the match is successful
Electric energy meter type as having determined electric energy meter type and being output in the static memory to be preserved, the contrast enhancing is single
It is first to be connected with the CCD high-definition cameras to carry out contrast enhancement processing to the defogging test image, to obtain enhancing figure
Picture, the median filter unit is connected with the contrast enhancement unit to carry out median filter process to the enhancing image,
To obtain filtering image, the gray processing processing unit is connected with the median filter unit, and ash is carried out to the filtering image
Degreeization processing, to obtain gray level image, the Character segmentation unit and the gray processing processing unit and the static storage
Device is connected respectively, is determining character upper limit gray threshold and determining character lower limit gray scale threshold gray value in the gray level image
Pixel between value is recognized and constitutes multiple character subgraphs, and the character recognition unit is connected with the Character segmentation unit,
Each corresponding character of character subgraph is identified based on predetermined OCR recognizers, and according to each character subgraph
Multiple characters that position in the gray level image will identify that are combined, to obtain the identification string.
More specifically, the unit, the static memory, institute of the ARM11 processors and described image processor
State CCD high-definition cameras and the infrared transceiver is connected respectively, control the CCD high-definition cameras to shoot the profile first
Image, control is described to go haze processing equipment that the contour images are carried out with defogging processing, the control electric energy meter type identification
Unit has determined electric energy meter type described in identifying;Then, determined electric energy meter type based on described in the static memory to look into
The electric energy meter information table is looked for, described determined the corresponding infrared communication address of electric energy meter type to obtain, test character string, character
Upper limit gray threshold and character lower limit gray threshold and respectively as determined infrared communication address, location survey try character string, it is fixed
Character upper limit gray threshold and determined character lower limit gray threshold and be saved in static memory, control the infrared transceiver to
Being sent with the detected electric energy meter for having determined infrared communication address includes the test signal that the location survey tries character string, in order to
The detected electric energy meter controls its display screen to show the examination character string of location survey that the test signal includes.More specifically, institute
State ARM11 processors controls the CCD high-definition cameras to shoot test image after preset time, goes haze to handle described in control
Equipment carries out defogging processing to the test image, and start the contrast enhancement unit, it is the median filter unit, described
Gray processing processing unit, the Character segmentation unit and the character recognition unit are to obtain the identification string, and by institute
State location survey examination character string of the identification string with preserving in the static memory to match, the match is successful then sends fault-free
Cue, it fails to match then sends failure alarm signal.
More specifically, the detected electric energy meter is when receiving the test signal including the location survey examination character string,
Its current reading is preserved in real time using its internal memory, in order to recover its current reading on its display screen after test ending
Number.
More specifically, in the outdoor electrical energy meter fault examines terminal automatically, the electric energy meter type identification unit, institute
State contrast enhancement unit, the median filter unit, the gray processing processing unit, the Character segmentation unit and the word
Symbol recognition unit is respectively adopted different fpga chips to realize.
More specifically, in the outdoor electrical energy meter fault examines terminal automatically, the inspection terminal also includes bar code
Resolver, to detect the bar code posted on detected electric energy meter, obtains user's surname of corresponding detected electric energy meter ownership
Name and station address.
More specifically, in the outdoor electrical energy meter fault examines terminal automatically, the inspection terminal also includes channel radio
Believe interface, be connected with the ARM11 processors and the bar code resolver, to be incited somebody to action when receiving the failure alarm signal
The address name and the station address are wirelessly transmitted to the power supply management platform of distal end.
More specifically, in the outdoor electrical energy meter fault examines terminal automatically, it is auxiliary that the inspection terminal also includes shooting
Help light source, including luminance sensor and lighting source, the luminance sensor is used to detecting ambient brightness, the lighting source with
Luminance sensor connection, for based on the ambient brightness adjust its offer, for aiding in CCD high-definition cameras to shoot
Illumination light intensity.
The outdoor electrical energy meter fault self-verifying method of the present invention, the type of electric energy meter is determined using image processing techniques,
According to the type of electric energy meter determine electric energy meter display defect detect parameters, using Infrared Transmission mode realize electric energy meter and
Examine terminal between information exchange, improve electric energy meter defects detection versatility and intelligence degree, more it is essential that according to
Atmospheric attenuation model determines influence factor of the haze to image, and the electric energy meter test image gathered under foggy days is gone
Hazeization processing, obtains clearly electric energy meter test image, so as to ensure the accuracy that outdoor electrical energy meter fault is examined.
Embodiment
The embodiment to the outdoor electrical energy meter fault self-verifying method of the present invention is carried out in detail below with reference to accompanying drawings
Explanation.
Being widely used for electric energy meter, is the most basic measuring terminal of power supply management division management user power utilization, each
Electricity consumption user is required for installing an electric energy meter with its electricity consumption amount of real time measure, thus, the demand of electric energy meter is especially big, electricity
The market of energy table is also very active.
Common electric energy meter can have following several mode classifications on Vehicles Collected from Market:(1) purposes is pressed:Industrial and utility meters,
Electronic standard table, maximum demand meter, multi tariff table;(2) structure and operation principle are pressed:Induction type (mechanical), state type (electronics
Formula), electromechanical (hybrid);(3) by access power supply natures:Alternating-current meter, direct current table;(4) class of accuracy is pressed:It is conventional common
Table:0.2S, 0.5S, 0.2,0.5,1.0,2.0 etc.;(5) by the installation mode of connection:Direct access, indirect access type;(6) press
Electrical equipment:Single-phase, phase three-wire three, three-phase and four-line electric energy meter.
When user has query to the reading of electric energy meter display screen and report for repairment, or power supply management department arranges work people
When the electric energy meter that member manages it carries out regular maintenance, it is required for being examined using electric energy meter fault detection terminal-pair electric energy meter
Look into, due to detection efficiency, the degree of accuracy and the cost performance of electric energy meter enormous amount, therefore electric energy meter fault detection terminal require it is severe
Carve, more especially close to high-tension line outdoor electric energy meter detection, be limited by installation environment, its requirement to syndrome check is more
It is high.Existing manual detection mode or simple detection of electrons mode can not meet the current demand of power supply management department.
The present invention establishes a kind of outdoor electrical energy meter fault self-verifying method, has built a kind of outdoor electrical energy meter fault certainly
It is dynamic to examine terminal, it is primarily based on image recognition technology and judges electric energy meter type, has taken difference based on different types of electric energy meter
Other display defect identification technology, while the introducing of infrared communication technique and various targetedly character recognition technologies, accurately
The detection to electric energy meter display defect is reliably completed, finally, the addition of haze processing equipment is gone, overcomes bad weather to room
The adverse effect of outer electric energy meter test image.
Fig. 1 examines end automatically to implement the outdoor electrical energy meter fault of the outdoor electrical energy meter fault self-verifying method of the present invention
The block diagram of one embodiment at end, the inspection terminal includes infrared transceiver 1, CCD high-definition cameras 2, image
Processor 3 and ARM11 processors 4, the infrared transceiver 1 are used to send test signal to detected electric energy meter, in order to institute
Stating detected electric energy meter controls its display screen to show the test character string that the test signal includes, the CCD high-definition cameras 2
Shot to export test image, the described image processor 3 and CCD for the display screen to the detected electric energy meter
High-definition camera 2 is connected, for carrying out image procossing to the test image, to recognize the character string in the test image simultaneously
Exported as identification string, the ARM11 processors 4 are connected with described image processor 3, for by the identification string
It is compared with the test character string, to determine whether to send failure alarm signal.The ARM11 processors 4 also with it is infrared
Transceiver 1, CCD high-definition cameras 2 connect to realize the control to them respectively.
It can be seen from Fig. 2 that compared to Figure 1, haze processing equipment 5 is added than Fig. 1, haze processing equipment 5 is gone to be located at institute
State between CCD high-definition cameras 2 and described image processor 3, for receiving the test image and the contour images, to institute
State test image and the contour images to carry out defogging processing respectively to obtain defogging test image and defogging contour images, substitute
The test image and the contour images, described image processor is inputted by the defogging test image and defogging contour images
3。
Then, reference picture 2, the outdoor electrical energy meter fault of the outdoor electrical energy meter fault self-verifying method to implementing the present invention
The concrete structure of one embodiment of automatic inspection terminal is further detailed.
The inspection terminal also includes:Power supply, including solar powered device, battery, switching switch and voltage
Converter, the switching switch is connected respectively with the solar powered device and the battery, according to the remaining electricity of battery
Amount decide whether to be switched to the solar powered device to be powered by the solar powered device, the electric pressure converter with
The switching switch connection, so that the 5V voltage conversions of input will be switched by switching as 3.3V voltages.
The inspection terminal also includes:Reset unit, for each electronic unit in the inspection terminal to be returned to
Default conditions, the default conditions of each electronic unit examine terminal manufacturer when the inspection terminal is dispatched from the factory to be described
The state of setting.
The inspection terminal also includes:Static memory, the benchmark image of the electric energy meter for prestoring various species
Template, the benchmark image template of the electric energy meter of each species is shot in advance by the benchmark electric energy meter to each species to be obtained
Pattern, the static memory also prestored electric energy meter information table, the electric energy meter information table using electric energy meter species as
Index, saves infrared communication address, test character string, character upper limit gray threshold and the character lower limit ash of each electric energy meter
Threshold value is spent, the character upper limit gray threshold and the character lower limit gray threshold are used for correspondence species electric energy meter in image
Character on display screen is separated with image background.
The inspection terminal also includes:Alarm appliance, is connected with the ARM11 processors 4, including loudspeaker and alarm
LED, the loudspeaker is used to play language warning file corresponding with the failure alarm signal, and the alarm LED is used
Red is shown when the failure alarm signal is being received, green is shown when receiving fault-free cue.
The CCD high-definition cameras 2 are used to shoot to export test chart the display screen of the detected electric energy meter
Picture, is additionally operable to shoot the profile of the detected electric energy meter to export contour images, the test image and the wheel
The resolution ratio of wide image is all 1920 × 1080.
The inspection terminal also includes:Haze processing equipment 5 is gone, at the CCD high-definition cameras 2 and described image
Manage between device 3, for receiving the test image and the contour images, the test image and the contour images are distinguished
Carry out defogging processing to obtain defogging test image and defogging contour images, substitute the test image and the contour images,
By the defogging test image and defogging contour images input described image processor 3.
As shown in figure 3, being illustrated to the part for going haze processing equipment 5.
It is described to go haze processing equipment 5 to include:The sub- equipment 51 of haze Concentration Testing, in air, for detecting in real time
The haze concentration of electric energy meter position is detected, and determines that haze removes intensity according to haze concentration, the haze removes strong
Value is spent between 0 to 1.
It is described to go haze processing equipment 5 to include:Overall air light value obtains sub- equipment 52, with the CCD high-definition cameras 2
Connection calculates the gray value of each pixel in the test image to obtain the test image, by the pixel that gray value is maximum
Gray value be used as overall air light value.
It is described to go haze processing equipment 5 to include:Atmospheric scattering light value obtains sub- equipment 53, with the CCD high-definition cameras 2
Connected respectively with the sub- equipment 51 of the haze Concentration Testing, to each pixel of the test image, extract its R, G, the face of B tri-
Minimum value uses the Gaussian filter EPGF (edge- for keeping edge as target pixel value in the pixel value of chrominance channel
Preserving gaussian filter) processing is filtered to the target pixel value to obtain filtered target pixel value,
Target pixel value is subtracted into filtered target pixel value to obtain object pixel difference, object pixel difference filtered using EPGF
Filtered target pixel value is subtracted filtered target pixel value difference and gone with obtaining haze by ripple processing to obtain filtered target pixel value difference
Except a reference value, haze removal intensity be multiplied by haze remove a reference value to obtain haze and remove threshold value, take haze remove threshold value and
Minimum value in target pixel value takes the maximum in comparison reference and 0 as each pixel as comparison reference
Atmospheric scattering light value.
It is described to go haze processing equipment 5 to include:Medium transfer rate obtains sub- equipment 54, is obtained with the overall air light value
Sub- equipment 52 and the atmospheric scattering light value obtain sub- equipment 53 and connected respectively, by the atmospheric scattering light value of each pixel divided by
Overall air light value removes value to obtain, and 1 is subtracted and described removes value to obtain the medium transfer rate of each pixel.
It is described to go haze processing equipment 5 to include:Sharpening image obtains sub- equipment 55, with the CCD high-definition cameras 2,
The overall air light value obtains sub- equipment 52 and the medium transfer rate obtains sub- equipment 54 and connected respectively, 1 is subtracted each
First difference is multiplied by overall air light value to obtain product value by the medium transfer rate of individual pixel to obtain the first difference,
The pixel value of each pixel in the test image is subtracted into the product value to obtain the second difference, by second difference
Divided by the medium transfer rate of each pixel is to obtain each in the sharpening pixel value of each pixel, the test image
The pixel value of pixel include the test image in each pixel R, G, the Color Channel pixel values of B tri-, correspondingly, acquisition
The sharpening pixel value of each pixel includes the R of each pixel, G, the Color Channel sharpening pixel values of B tri-, all pixels
Sharpening pixel value composition defogging test image.
It is described to go the defogging processing mode that 5 pairs of the haze processing equipment contour images are carried out with entering to the test image
Capable defogging processing mode is identical.
Described image processor 3 goes haze processing equipment 5 to be connected with described, including electric energy meter type identification unit, contrast
Spend enhancement unit, median filter unit, gray processing processing unit, Character segmentation unit and character recognition unit.
The electric energy meter type identification unit goes haze processing equipment 5 and the static memory to be connected respectively with described,
The defogging contour images are matched one by one with the benchmark image template of the electric energy meter of the various species, by the base that the match is successful
The corresponding electric energy meter type of quasi- image template is as having determined electric energy meter type and be output in the static memory to be preserved.
The contrast enhancement unit is connected to contrast the defogging test image with the CCD high-definition cameras
Enhancing processing is spent, to obtain enhancing image.
The median filter unit is connected to carry out medium filtering to the enhancing image with the contrast enhancement unit
Processing, to obtain filtering image.
The gray processing processing unit is connected with the median filter unit, and the filtering image is carried out at gray processing
Reason, to obtain gray level image.
The Character segmentation unit is connected respectively with the gray processing processing unit and the static memory, by the ash
In degreeization image gray value determined character upper limit gray threshold and determined between character lower limit gray threshold pixel identification simultaneously
Constitute multiple character subgraphs.
The character recognition unit is connected with the Character segmentation unit, is identified often based on predetermined OCR recognizers
The corresponding character of one character subgraph, and will be recognized according to each position of character subgraph in the gray level image
The multiple characters gone out are combined, to obtain the identification string.
Unit, the static memory, the CCD of the ARM11 processors 4 and described image processor 3 are high
Clear camera 2 and the infrared transceiver 1 are connected respectively, control the CCD high-definition cameras 2 to shoot the profile diagram first
Picture, control is described to go 5 pairs of the haze processing equipment contour images to carry out defogging processing, the control electric energy meter type identification list
Member has determined electric energy meter type described in identifying, then, and electric energy meter type search has been determined based on described in the static memory
The electric energy meter information table, described determined the corresponding infrared communication address of electric energy meter type, tests character string, on character to obtain
Limit gray threshold and character lower limit gray threshold and respectively as determined infrared communication address, location survey examination character string, determined word
Symbol upper limit gray threshold and determined character lower limit gray threshold and be saved in static memory, the control infrared transceiver 1 to
Being sent with the detected electric energy meter for having determined infrared communication address includes the test signal that the location survey tries character string, in order to
The detected electric energy meter controls its display screen to show the examination character string of location survey that the test signal includes.
The ARM11 processors 4 control the CCD high-definition cameras 2 to shoot test image after preset time, control institute
State 5 pairs of the haze processing equipment test image and carry out defogging processing, and start the contrast enhancement unit, the intermediate value
Filter unit, the gray processing processing unit, the Character segmentation unit and the character recognition unit are to obtain the identification
Character string, and by the identification string with preserved in the static memory location survey examination character string match, match into
Work(then sends fault-free cue, and it fails to match then sends failure alarm signal.
Wherein, the detected electric energy meter is used when receiving the test signal including the location survey examination character string
Its internal memory preserves its current reading in real time, in order to recover its current reading on its display screen after test ending.
Wherein, in the inspection terminal, alternatively, the electric energy meter type identification unit, contrast enhancing are single
First, described median filter unit, the gray processing processing unit, the Character segmentation unit and character recognition unit difference
Realized using different fpga chips.
Wherein, in the inspection terminal, alternatively, the inspection terminal can also include:Bar code resolver, to examine
The bar code for being detected and being posted on electric energy meter is surveyed, with obtaining address name and the user of corresponding detected electric energy meter ownership
Location;Wireless communication interface, is connected with the ARM11 processors 4 and the bar code resolver, to receive the failure report
The address name and the station address are wirelessly transmitted to the power supply management platform of distal end during alert signal;Image fill-in light
Source, including luminance sensor and lighting source, the luminance sensor are used to detect ambient brightness, the lighting source with it is described
Luminance sensor connect, for based on the ambient brightness adjust its offer, for aid in CCD high-definition cameras 2 shoot
Illumination light intensity.
In addition, haze image can realize image by a series of images processing equipment remove haze, it is clear to obtain
The image of change, improves the visibility of image.These image processing equipments perform different image processing functions respectively, based on haze
The principle of formation, reaches the effect for removing haze.The sharpening processing of haze image all has pole for dual-use field
Big application value, military domain include military and national defense, remote sensing navigate etc., civil area include road monitoring, target following and
Automatic Pilot etc..
The process of haze image formation can be described with atmospheric attenuation process, be clear in haze image and real image
Changing the relation between image can be stated with the medium transfer rate of overall air light value and each pixel, i.e., in known haze figure
As in the case of, according to overall air light value and the medium transfer rate of each pixel, sharpening image can be solved.
There are some effectively and by testing for the solution of overall air light value and the medium transfer rate of each pixel
The means of card, for example, medium transfer rate for each pixel is, it is necessary to obtain the big of overall air light value and each pixel
Gas scatters light value, and the atmospheric scattering light value of each pixel can be carried out to pixel value of each pixel in haze image
The Gaussian smoothing filter at edge is kept twice and is obtained, and therebetween, the intensity that haze is removed is adjustable;And the acquisition of overall air light value
Mode has two kinds, and a kind of mode is (can to cause some pixels i.e. in haze image by obtaining the black channel of haze image
Black channel value it is very low, black channel is R, G, one kind in the Color Channels of B tri-), it is black by finding in haze image
Find the maximum pixel of gray value in chrominance channel pixel value multiple pixels bigger than normal to obtain, will search out, gray value is most
The gray value of big pixel participates in the sharpening processing of each pixel in haze image as overall air light value;In addition, whole
Body atmosphere light value can also be obtained in the following manner:The gray value of each pixel in haze image is calculated, gray value is maximum
The gray value of pixel is used as overall air light value.
Specific haze image and real image are the relation between sharpening image, and the relation between parameters
Reference can be made to above content.
By the discussion to haze image formation basic theory, the relation between haze image and sharpening image has been built, has been used
Multiple parameters represent this relation, are then that reducible acquisition definition is higher by the multiple parameter values and haze image of acquisition
Image, because the acquisition of parameter has borrowed some statistical means and empirical means, therefore the higher image of the definition is not
Real image may be fully equivalent to, but there is the considerable degree of every field gone haze effect, be under haze weather
Operation provides effective guarantee.
In addition, infrared communication is a kind of communication mode of utilization infrared transmission information, available for transmission language, text
The information such as word, data, image.The angle of infrared transmission has certain limitations, and infrared wavelength range is 0.70 μm of -1mm, wherein
The ripple in 300 μm of -1mm regions is also referred to as submillimeter wave.Air transmits influence mainly to infrared radiation and absorbs and scatter.
Infrared communication is to be used as the media of transmission information, i.e. communication channel by the use of the infrared ray of 950nm near infrared bands.Hair
Base band binary signal is modulated to a series of burst signal by sending end, and infrared signal is launched by infrared transmitting tube.Receive
Hold and the light arteries and veins received is converted into electric signal, then demodulator circuit is given after the processing such as amplification, filtering and be demodulated, reduce
To be exported after binary digital signal.Conventional has by pulse width to realize the pulsewidth modulation of signal modulation (PWM) and lead to
Time interval between extra pulse string realizes pulse time modulation (PPM) two methods of signal modulation.
Infrared-ray communication technology includes following specification:IrPHY、IrLAP、IrLMP、IrCOMM、TinyTP、IrOBEX、
IrLAN and IrSimple.
Terminal is examined using the outdoor electrical energy meter fault of the present invention automatically, for existing outdoor electric energy meter defect detecting technique
Detection efficiency is low, detection difficulty is big and can not overcome the technical problem of adverse weather conditions, recognizes be detected electric energy first
The type of table, then determines different inspection policies according to electric energy meter type, wherein ensureing to be detected using infrared communication technique
Information exchange between electric energy meter and inspection terminal, finally removes influence of the haze weather to electric energy meter test image, so that real
Non- broken string now to all kinds of outdoor electric energy meter display defects, high-precision quick inspection.
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 skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible variations and modification are all made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.