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
Detect that the display screen of electric energy meter is shot to export test image;Image is carried out to the test image using image processor
Treatment, to recognize the character string in the test image and be exported as identification string;Using ARM11 processors by the knowledge
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 also are 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 includes to carry 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 checks terminal to implement automatically using outdoor electrical energy meter fault.Therefore, it is of the invention another
On one side, terminal is checked automatically present invention also offers a kind of outdoor electrical energy meter fault, the inspection terminal includes infrared receipts
Hair device, CCD high-definition cameras, image processor and ARM11 processors, the infrared transceiver are used to be sent out to detected electric energy meter
Test signal is sent, controls its display screen to show the test character that the test signal includes in order to the detected electric energy meter
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 checks terminal automatically, it is right that the CCD high-definition cameras are additionally operable to
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 is powered with by the solar powered device, and the electric pressure converter is connected with the switching switch, with
To be 3.3V voltages by switching the 5V voltage conversions of switch input;
Reset unit, for each electronic unit in the inspection terminal to be returned into default conditions, described each electricity
The default conditions of subassembly are the state that the inspection terminal manufacturer sets 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 to shoot obtained pattern, the static storage in advance to the benchmark electric energy meter of each species
Device has also prestored electric energy meter information table, and the electric energy meter information table is index with electric energy meter species, saves each electricity
Can table infrared communication address, test character string, character upper limit gray threshold and character lower limit gray threshold, the character upper limit
Gray threshold and the character lower limit gray threshold are used for the character on the display screen of correspondence species electric energy meter in image and figure
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 fault-free cue is received;
Haze processing equipment is gone, it is described for receiving between the CCD high-definition cameras and described image processor
The test image and the contour images are carried out defogging treatment to obtain defogging by test image and the contour images respectively
Test image and defogging contour images, substitute the test image and the contour images, the defogging test image and will go
Mist contour images are input into described image processor.
Specifically, it is described to go the haze processing equipment to include:
The sub- equipment of haze Concentration Testing, in air, the haze of electric energy meter position is detected for real-time detection
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, using 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 its R, minimum value is used as target in the Color Channel pixel value of G, B tri-
Pixel value, using the Gaussian filter EPGF (edge-preserving gaussian filter) at holding edge to institute
State target pixel value be filtered treatment to obtain filtered target pixel value, by target pixel value subtract filtered target pixel value with
Object pixel difference is obtained, treatment is filtered to object pixel difference using EPGF obtains filtered target pixel value difference, will
Filtered target pixel value subtracts filtered target pixel value difference to obtain haze removal a reference value, and haze removal intensity is multiplied by into haze
Removal a reference value takes the minimum value in haze removal threshold value and target pixel value as comparison reference to obtain haze removal threshold value
Value, takes atmospheric scattering light value of the maximum in comparison reference and 0 as 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 is subtracted with obtaining except value divided by overall air light value by 1
It is described except value is obtaining 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 connects 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, second difference is every to obtain divided by the medium transfer rate of each pixel
One sharpening pixel value of pixel, the pixel value of each pixel is including each in the test image in 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 includes 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, it is described go the defogging processing mode that haze processing equipment is carried out to the contour images with to the survey
Attempt as the defogging processing mode for carrying out is identical.
More specifically, described image processor goes haze processing equipment to be connected with described, including electric energy meter type identification list
Unit, 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 the output of electric energy meter type has been determined to being preserved in the static memory, the contrast enhancing is single
First connection with the CCD high-definition cameras carries out contrast enhancement processing with to the defogging test image, to obtain enhancing figure
Picture, the median filter unit is connected with the contrast enhancement unit carries out median filter process with 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 treatment, 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, unit, the static memory, the 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 the haze processing equipment contour images are carried out with defogging treatment, 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, tested character string, character to obtain
Upper limit gray threshold and character lower limit gray threshold and respectively as having determined infrared communication address, the character string of location survey examination, determined
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 that the location survey tries the test signal of 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 process described in control
Equipment carries out defogging treatment to the test image, and starts the contrast enhancement unit, median filter unit, described
Gray processing processing unit, the Character segmentation unit and the character recognition unit to obtain the identification string, and by institute
State identification string to match with the examination of the location survey character string of preservation in the static memory, 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 the test signal including the location survey examination character string is received,
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 checks 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 checks 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 checks terminal automatically, the inspection terminal also includes channel radio
Letter interface, is connected with the ARM11 processors and the bar code resolver, is incited somebody to action with when the failure alarm signal is received
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 checks terminal automatically, the inspection terminal also includes that shooting is auxiliary
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.
Outdoor electrical energy meter fault self-verifying method of the invention, the type of electric energy meter is determined using image processing techniques,
Type according to electric energy meter determine electric energy meter display defect detection parameters, using Infrared Transmission mode realize electric energy meter and
Inspection 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 electric energy meter test image to being gathered under foggy days is gone
Hazeization treatment, obtains clearly electric energy meter test image, so as to ensure the accuracy of outdoor electrical energy meter fault inspection.
Specific embodiment
The embodiment to outdoor electrical energy meter fault self-verifying method of the 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) by purposes:Industrial and utility meters,
Electronic standard table, maximum demand meter, multi tariff table;(2) by structure and operation principle:Induction type (mechanical), state type (electronics
Formula), electromechanical (hybrid);(3) by access power supply natures:Alternating-current meter, direct current table;(4) by class of accuracy: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.
Reported for repairment when user has query to the reading of electric energy meter display screen, 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 electric energy meter enormous amount, therefore the detection efficiency of electric energy meter fault detection terminal, the degree of accuracy and cost performance require it is severe
Carve, the especially detection of the outdoor electric energy meter of some close high-tension lines is limited by installation environment, and 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
Dynamic inspection terminal, is primarily based on image recognition technology and judges electric energy meter type, and difference has been taken with 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, bad weather is overcome to room
The adverse effect of outer electric energy meter test image.
Fig. 1 is that the outdoor electrical energy meter fault for implementing outdoor electrical energy meter fault self-verifying method of the invention checks end automatically
One block diagram of 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, described image processor 3 and the 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.
Found out by Fig. 2, compared to Figure 1, haze processing equipment 5 is increased than Fig. 1, go haze processing equipment 5 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 carries out defogging treatment to obtain defogging test image and defogging contour images respectively, substitutes
The test image and the contour images, by the defogging test image and defogging contour images input described image processor
3。
Then, reference picture 2, the outdoor electrical energy meter fault to implementing outdoor electrical energy meter fault self-verifying method of the 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 that be switched to the solar powered device powers with by the solar powered device, the electric pressure converter with
The switching switch connection, that will be 3.3V voltages by switching the 5V voltage conversions of switch input.
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 are the inspection terminal manufacturer when the inspection terminal is dispatched from the factory
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 shoots and is obtained in advance by the benchmark electric energy meter to each species
Pattern, the static memory also prestored electric energy meter information table, and the electric energy meter information table is with electric energy meter species
Index, saves infrared communication address, test character string, character upper limit gray threshold and the character lower limit ash of each electric energy meter
Degree threshold value, 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
In red is shown when the failure alarm signal is received, green is shown when fault-free cue is received.
The CCD high-definition cameras 2 are used to that the display screen of the detected electric energy meter to be shot to export test chart
Picture, is additionally operable to shoot the profile of the detected electric energy meter 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
Between reason device 3, for receiving the test image and the contour images, the test image and the contour images are distinguished
Carry out defogging treatment 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 the haze processing equipment 5 to include:The sub- equipment 51 of haze Concentration Testing, in air, for real-time detection
The haze concentration of electric energy meter position is detected, and determines that haze removes intensity according to haze concentration, the haze removal is strong
Degree value is between 0 to 1.
It is described to go the 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 as overall air light value.
It is described to go the 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, the face of G, 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) treatment 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 is filtered using EPGF
Filtered target pixel value is subtracted filtered target pixel value difference and is gone with obtaining haze by ripple treatment to obtain filtered target pixel value difference
Except a reference value, haze removal intensity is multiplied by into haze removal a reference value to obtain haze removal threshold value, take haze removal 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 the 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 connect respectively, by the atmospheric scattering light value of each pixel divided by
Overall air light value subtracts 1 and described removes value to obtain the medium transfer rate of each pixel to obtain except value.
It is described to go the 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 connects 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 to obtain the sharpening pixel value of each pixel, in the test image each
R of the pixel value of pixel including each pixel in the test image, the Color Channel pixel value of G, B tri-, correspondingly, acquisition
The sharpening pixel value of each pixel includes the R of each pixel, the Color Channel sharpening pixel value of G, B tri-, all pixels
Sharpening pixel value composition defogging test image.
The defogging processing mode removed 5 pairs of contour images of haze processing equipment and carry out is entered with 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
Degree 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 used as having determined the output of electric energy meter type to being preserved in the static memory.
The contrast enhancement unit is connected with the CCD high-definition cameras and is contrasted with to the defogging test image
Degree enhancing treatment, to obtain enhancing image.
The median filter unit is connected with the contrast enhancement unit carries out medium filtering with to the enhancing image
Treatment, 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
Pixel of the gray value between having determined character upper limit gray threshold and having determined character lower limit gray threshold is recognized simultaneously in degreeization image
The multiple character subgraphs of composition.
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 for going out are combined, to obtain the identification string.
The unit of the ARM11 processors 4 and described image processor 3, the static memory, the CCD 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 contour images of haze processing equipment to carry out defogging treatment, the control electric energy meter type identification list
Unit has determined electric energy meter type described in identifying, then, 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, has tested on character string, character to obtain
Limit gray threshold and character lower limit gray threshold and respectively as determined infrared communication address, location survey try 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 that the location survey tries the test signal of 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
Stating 5 pairs of test images of haze processing equipment carries out defogging treatment, and starts the contrast enhancement unit, the intermediate value
Filter unit, the gray processing processing unit, the Character segmentation unit and the character recognition unit are obtaining the identification
Character string, and the identification string is matched with the examination of the location survey character string of preservation in the static memory, 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 the test signal including the location survey examination character string is received
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 the 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, the address name and user ground of corresponding detected electric energy meter ownership is obtained
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;Shooting fill-in light
Source, including luminance sensor and lighting source, the luminance sensor is 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 image can be realized 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 of removal haze.The sharpening treatment 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 that haze image is formed 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.
Solution for overall air light value and the medium transfer rate of each pixel is tested in the presence of some effective and processes
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 in the pixel value to each pixel in haze image
The Gaussian smoothing filter at edge being kept twice and being obtained, therebetween, the intensity of haze removal is adjustable;And the acquisition of overall air light value
Mode has two kinds, and a kind of mode is (some pixels can be caused i.e. in haze image by obtaining the black channel of haze image
Black channel value it is very low, black channel is R, the one kind in the Color Channel of G, 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 treatment 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 is built, used
Multiple parameters represent this relation, and then the multiple parameter values and haze image by obtaining are that reducible acquisition definition is higher
Image, because the acquisition of parameter has borrowed some statistical means and empirical means, therefore definition image higher 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, can be used to transmit 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.Influence of the air to infrared radiation transmission mainly absorbs and scatters.
Infrared communication be by the use of 950nm near infrared bands infrared ray as transmission information media, i.e. communication channel.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
The light arteries and veins that end will receive is converted into electric signal, then is demodulated by giving demodulator circuit after the treatment such as amplification, filtering, reduces
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 checked using outdoor electrical energy meter fault of the invention automatically, for existing outdoor electric energy meter defect detecting technique
Detection efficiency is low, detection difficulty is big and cannot 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 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.