The present invention is Application No. 201510152737.X, filing date April 1 in 2015 day,
The divisional application of the patent of bright entitled " outdoor electrical energy meter fault self-verifying method ".
Summary of the invention
In order to solve the problems referred to above, according to an aspect of the present invention, the invention provides a kind of outdoor
Electrical energy meter fault self-verifying method, comprising: utilize infrared transceiver to send to detected electric energy meter
Test signal, in order to described detected electric energy meter controls its display screen and shows that described test signal includes
Test character string;Utilize CCD high-definition camera that the display screen of described detected electric energy meter is carried out
Shoot with output test image;Utilize image processor that described test image is carried out image procossing, with
Identify the character string in described test image and export as identification string;Utilize ARM11 process
Described identification string is compared by device with described test character string, to determine whether to send fault report
Alert signal.
Preferably, the profile of described detected electric energy meter is also entered by wherein said CCD high-definition camera
Row shooting is to export contour images, and the resolution ratio of described test image and described contour images is all 1920
×1080。
More specifically, described method farther includes described test image and described contour images difference
Carry out mist elimination to process to obtain mist elimination test image and the step of mist elimination contour images.
Preferably, described method utilizes outdoor electrical energy meter fault automatically to check terminal to implement.Therefore, root
According to another aspect of the present invention, present invention also offers a kind of outdoor electrical energy meter fault and automatically check end
End, described inspection terminal include infrared transceiver, CCD high-definition camera, image processor and
ARM11 processor, described infrared transceiver is used for sending test signal to detected electric energy meter, with
It is easy to described detected electric energy meter and controls the test character that its display screen shows that described test signal includes
String, described CCD high-definition camera for the display screen of described detected electric energy meter is shot with
Output test image, described image processor is connected with described CCD high-definition camera, for institute
State test image and carry out image procossing, to identify the character string in described test image and as identifying word
Symbol string output, described ARM11 processor is connected with described image processor, for by described identification
Character string compares with described test character string, to determine whether to send failure alarm signal.
More specifically, automatically check in terminal at described outdoor electrical energy meter fault, described CCD high definition
Camera is additionally operable to shoot to export contour images to the profile of described detected electric energy meter, described
The resolution ratio of test image and described contour images is all 1920 × 1080;
Further, described terminal also includes:
Power supply, including solar powered device, battery, switching switch and electric pressure converter,
Described switching switch is connected, according to battery respectively with described solar powered device and described battery
Dump energy decides whether to be switched to described solar powered device with by described solar powered device
Power supply, described electric pressure converter is connected with described switching switch, with by the 5V by switching switch input
Voltage is converted to 3.3V voltage;
Reset unit, for each electronic unit in described inspection terminal is returned to default conditions,
The default conditions of each electronic unit described are that described inspection terminal manufacturer is in described inspection terminal
The state set when dispatching from the factory;
Static memory, for prestoring the benchmark image template of the electric energy meter of various species, each
The benchmark image template of the electric energy meter of individual kind is that the benchmark electric energy meter to each kind shoots in advance
The pattern obtained, described static memory has also prestored electric energy meter information table, described electric energy meter
Information table, with electric energy meter kind for index, saves the infrared communication address of each electric energy meter, test
Character string, character upper limit gray threshold and character lower limit gray threshold, described character upper limit gray threshold
With described character lower limit gray threshold for by the word on the display screen of kind electric energy meter corresponding in image
Symbol separates with image background;
Alarm appliance, is connected with described ARM11 processor, including loudspeaker and warning LED,
Described loudspeaker is for playing the language warning file corresponding with described failure alarm signal, described warning
LED, for showing redness when receiving described failure alarm signal, is receiving fault-free prompting
Green is shown during signal;
Go haze processing equipment, between described CCD high-definition camera and described image processor,
For receiving described test image and described contour images, to described test image and described contour images
Carry out mist elimination respectively to process to obtain mist elimination test image and mist elimination contour images, substitute described test figure
Picture and described contour images, input described mist elimination test image and mist elimination contour images at described image
Reason device.
Specifically, haze processing equipment is gone to include described in:
Haze Concentration Testing subset, is positioned in air, for the detected electric energy meter place of detection in real time
The haze concentration of position, and determine that intensity removed by haze according to haze concentration, intensity removed by described haze
Value is between 0 to 1;
Overall air light value obtains subset, is connected to obtain described with described CCD high-definition camera
Test image, calculates the gray value of each pixel in described test image, the pixel maximum by gray value
Gray value as overall air light value;
Atmospheric scattering light value obtains subset, with described CCD high-definition camera and described haze concentration
Detection subset connects respectively, and each pixel to described test image extracts its R, G, B
In three Color Channel pixel values, minimum of a value is as target pixel value, uses the Gaussian smoothing filter keeping edge
Ripple device EPGF (edge-preserving gaussian filter) is filtered place to described target pixel value
Target pixel value, to obtain filtered target pixel value, is deducted filtered target pixel value to obtain target by reason
Pixel value difference, uses EPGF to be filtered object pixel difference processing to obtain filtered target pixel
Difference, deducts filtered target pixel value filtered target pixel value difference to obtain haze and removes a reference value,
Haze is removed intensity be multiplied by haze remove a reference value with obtain haze remove threshold value, take haze remove threshold
Minimum of a value in value and target pixel value, as comparison reference, takes the maximum in comparison reference and 0
It is worth the atmospheric scattering light value as each pixel;
Medium transmission rate obtains subset, obtains subset and described air with described overall air light value
Scattering light value obtains subset and connects respectively, by big divided by entirety for the atmospheric scattering light value of each pixel
Gas light value, to obtain except value, deducts described except value is to obtain the medium transmission rate of each pixel by 1;
Sharpening Image Acquisition subset, with described CCD high-definition camera, described overall atmosphere light
Value obtains subset and described medium transmission rate obtains subset and connects respectively, deducts each picture by 1
Described first difference, to obtain the first difference, is multiplied by overall air light value to obtain by the medium transmission rate of element
Obtain product value, the pixel value of each pixel in described test image is deducted described product value to obtain
Second difference, by described second difference divided by the medium transmission rate of each pixel to obtain each picture
The sharpening pixel value of element, in described test image, the pixel value of each pixel includes described test figure
The R of each pixel in Xiang, G, B tri-Color Channel pixel value, correspondingly, it is thus achieved that each
The sharpening pixel value of pixel includes the R of each pixel, G, B tri-Color Channel sharpening pixel
Value, the sharpening pixel value composition mist elimination test image of all pixels.
The mist elimination processing mode that described contour images is carried out by haze processing equipment is gone described in more specifically,
Identical with the mist elimination processing mode that described test image is carried out.
More specifically, described image processor goes haze processing equipment to be connected, including electric energy meter with described
Type identification unit, contrast enhancement unit, median filter unit, gray processing processing unit, character
Cutting unit and character recognition unit, described electric energy meter type identification unit goes haze process to set with described
Standby and described static memory connects, respectively by the electricity of described mist elimination contour images Yu described various species
Can the benchmark image template of table mate one by one, by electric energy meter corresponding for the benchmark image template that the match is successful
Type exports in described static memory and preserves as determining electric energy meter type, described contrast
Enhancement unit is connected with described CCD high-definition camera described mist elimination test image is carried out contrast
Enhancing processes, and strengthens image to obtain, and described median filter unit is with described contrast enhancement unit even
Connect described enhancing image is carried out medium filtering process, to obtain filtering image, at described gray processing
Reason unit is connected with described median filter unit, described filtering image is carried out gray processing process, to obtain
Obtain gray level image, described Character segmentation unit and described gray processing processing unit and described static storage
Device connects respectively, and gray value in described gray level image is being determined character upper limit gray threshold and the most fixed
Pixel identification between character lower limit gray threshold also forms multiple character subgraph, described character recognition
Unit is connected with described Character segmentation unit, identifies each based on predetermined OCR recognizer
The character that character subgraph is corresponding, and according to each character subgraph in described gray level image
Multiple characters that position will identify that are combined, to obtain described identification string.
More specifically, it is described ARM11 processor and the unit of described image processor, described
Static memory, described CCD high-definition camera and described infrared transceiver connect respectively, first control
Make described CCD high-definition camera and shoot described contour images, described in control, go haze processing equipment pair
Described contour images carries out mist elimination process, control described electric energy meter type identification unit identify described in
Determine electric energy meter type;Subsequently, in described static memory, electric energy meter type search has been determined based on described
Described electric energy meter information table, has determined infrared communication address corresponding to electric energy meter type, survey described in obtaining
Examination character string, character upper limit gray threshold and character lower limit gray threshold are infrared the most logical respectively as determining
Letter address, location survey examination character string, determine character upper limit gray threshold and determined character lower limit gray scale threshold
Value is saved in static memory, controls described infrared transceiver to having and determines infrared communication address
Detected electric energy meter send include described in the test signal of location survey examination character string, in order to described tested
Survey electric energy meter and control the examination character string of location survey that its display screen shows that described test signal includes.More specifically
Ground, described ARM11 processor controls the shooting test of described CCD high-definition camera after Preset Time
Image, goes haze processing equipment that described test image is carried out mist elimination process described in control, and starts institute
State contrast enhancement unit, described median filter unit, described gray processing processing unit, described character
Cutting unit and described character recognition unit are to obtain described identification string, and by described identification character
The examination of the location survey character string with preservation in described static memory of going here and there matches, and the match is successful then sends nothing
Fault cues signal, it fails to match then sends failure alarm signal.
More specifically, described detected electric energy meter receive include described in location survey examination character string survey
During trial signal, its internal memory is used to preserve its current reading in real time, in order to after test ending
Its display screen recovers its current reading.
More specifically, automatically check in terminal at described outdoor electrical energy meter fault, described electric energy meter type
Recognition unit, described contrast enhancement unit, described median filter unit, described gray processing process single
Character segmentation unit first, described and described character recognition unit are respectively adopted different fpga chips
Realize.
More specifically, automatically check in terminal at described outdoor electrical energy meter fault, described inspection terminal is also
Including bar code resolver, with the bar code posted on the detected electric energy meter of detection, it is thus achieved that corresponding
The address name of detected electric energy meter ownership and station address.
More specifically, automatically check in terminal at described outdoor electrical energy meter fault, described inspection terminal is also
Including wireless communication interface, it is connected with described ARM11 processor and described bar code resolver, with
When receiving described failure alarm signal, described address name and described station address are transmitted wirelessly
Power supply management platform to far-end.
More specifically, automatically check in terminal at described outdoor electrical energy meter fault, described inspection terminal is also
Including shooting secondary light source, including luminance sensor and lighting source, described luminance sensor is used for examining
Surveying ambient brightness, described lighting source is connected with described luminance sensor, for bright based on described environment
It is that it provides, for the illumination light intensity assisting CCD high-definition camera to shoot that degree adjusts.
The outdoor electrical energy meter fault self-verifying method of the present invention, uses image processing techniques to determine electric energy
The type of table, determines, according to the type of electric energy meter, the parameters that electric energy meter display defect detects, and uses
The information that Infrared Transmission mode realizes between electric energy meter and inspection terminal is mutual, improves the inspection of electric energy meter defect
The versatility surveyed and intelligence degree, more it is essential that determine that haze is to figure according to atmospheric attenuation model
The influence factor of picture, and the electric energy meter test image gathered under foggy days is gone at haze
Reason, it is thus achieved that the image of electric energy meter test clearly, thus ensure the accuracy of outdoor electrical energy meter fault inspection.
Detailed description of the invention
Embodiment party to the outdoor electrical energy meter fault self-verifying method of the present invention below with reference to accompanying drawings
Case is described in detail.
Being widely used of electric energy meter, is that the most basic metering of power supply management division management user power utilization is whole
End, 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 big especially, and the market of electric energy meter is the most active.
Electric energy meter common on Vehicles Collected from Market can have following several mode classification: (1) is by purposes:
Industry and utility meters, electronic standard table, maximum demand meter, multi tariff table;(2) by structure and work
Make principle: induction type (mechanical type), state type (electronic type), electromechanical (hybrid);
(3) by accessing power supply natures: alternating-current meter, direct current table;(4) class of accuracy is pressed: conventional common table:
0.2S, 0.5S, 0.2,0.5,1.0,2.0 etc.;(5) by installing the mode of connection: direct access,
Access type indirectly;(6) by electrical equipment: single-phase, phase three-wire three, three-phase and four-line electric energy meter.
Be there is query in the reading of electric energy meter display screen as user and report for repairment, or power supply management department
When the personnel that arrange work carry out regular maintenance to its electric energy meter managed, it is required for using electric energy meter to lack
Fall into inspection terminal electric energy meter is checked, due to electric energy meter enormous amount, therefore electric energy meter defect inspection
Test the detection efficiency of terminal, the degree of accuracy and cost performance and be desirable that harshness, more especially near high-tension line
The detection of outdoor electric energy meter, be limited by installation environment, it is higher to the requirement of syndrome check.Existing
Manual detection mode or simple detection of electrons mode can not meet the current of power supply management department
Demand.
The present invention establishes a kind of outdoor electrical energy meter fault self-verifying method, has built a kind of outdoor electricity
Can table fault automatically check terminal, be primarily based on image recognition technology and judge electric energy meter type, with based on
Differentiated display defect identification technology taked by different types of electric energy meter, simultaneously infrared communication technique and
The introducing of various character recognition technologies targetedly, accurately, reliable completes electric energy meter display defect
Detection, finally, go the addition of haze processing equipment, overcome bad weather and outdoor electric energy meter is surveyed
Attempt the adverse effect of picture.
Fig. 1 is the outdoor electrical energy meter fault of the outdoor electrical energy meter fault self-verifying method implementing the present invention
Automatically the block diagram of an embodiment of inspection terminal, described inspection terminal includes infrared receiving/transmission
Device 1, CCD high-definition camera 2, image processor 3 and ARM11 processor 4, described infrared receipts
Send out device 1 for sending test signal to detected electric energy meter, in order to described detected electric energy meter controls
Its display screen shows the test character string that described test signal includes, described CCD high-definition camera 2
For the display screen of described detected electric energy meter being shot with output test image, at described image
Reason device 3 is connected with described CCD high-definition camera 2, for carrying out described test image at image
Reason, to identify the character string in described test image and to export as identification string, described ARM11
Processor 4 is connected with described image processor 3, for by described identification string and described tested word
Symbol string compares, to determine whether to send failure alarm signal.Described ARM11 processor 4 is also
It is connected respectively with infrared transceiver 1, CCD high-definition camera 2 to realize the control to them.
Found out by Fig. 2, compared to Figure 1, add haze processing equipment 5 than Fig. 1, remove haze
Processing equipment 5, between described CCD high-definition camera 2 and described image processor 3, is used for
Receive described test image and described contour images, to described test image and described contour images difference
Carry out mist elimination to process to obtain mist elimination test image and mist elimination contour images, substitute described test image and
Described contour images, inputs described image processor by described mist elimination test image and mist elimination contour images
3。
Then, with reference to Fig. 2, the room to the outdoor electrical energy meter fault self-verifying method implementing the present invention
Outer electrical energy meter fault checks the concrete structure of an embodiment of terminal to carry out further automatically
Bright.
Described inspection terminal also includes: power supply, including solar powered device, battery, cuts
Change switch and electric pressure converter, described switching switch and described solar powered device and described battery
Connect respectively, according to battery dump energy decide whether to be switched to described solar powered device with by
Described solar powered device is powered, and described electric pressure converter is connected with described switching switch, leading to
The 5V voltage crossing switching switch input is converted to 3.3V voltage.
Described inspection terminal also includes: reset unit, for by each electronics in described inspection terminal
Parts return to default conditions, and the default conditions of each electronic unit described are described inspection terminal manufacture
The state that manufacturer sets when described inspection terminal is dispatched from the factory.
Described inspection terminal also includes: static memory, for prestoring the electric energy meter of various species
Benchmark image template, the benchmark image template of the electric energy meter of each kind is to each kind
Benchmark electric energy meter shoots obtained pattern in advance, and described static memory has also prestored electric energy meter
Information table, described electric energy meter information table, with electric energy meter kind for index, saves each electric energy meter
Infrared communication address, test character string, character upper limit gray threshold and character lower limit gray threshold, institute
State character upper limit gray threshold and described character lower limit gray threshold for by kind electricity corresponding in image
Character on the display screen of energy table separates with image background.
Described inspection terminal also includes: alarm appliance, is connected with described ARM11 processor 4, bag
Including loudspeaker and warning LED, described loudspeaker is corresponding with described failure alarm signal for playing
Language warning file, described warning LED is red for showing when receiving described failure alarm signal
Look, shows green when receiving fault-free cue.
Described CCD high-definition camera 2 is for shooting the display screen of described detected electric energy meter
With output test image, it is additionally operable to shoot to export profile to the profile of described detected electric energy meter
Image, the resolution ratio of described test image and described contour images is all 1920 × 1080.
Described inspection terminal also includes: go haze processing equipment 5, is positioned at described CCD high-definition camera
Between 2 and described image processor 3, it is used for receiving described test image and described contour images, right
Described test image and described contour images carry out respectively mist elimination process with obtain mist elimination test image and
Mist elimination contour images, substitutes described test image and described contour images, and described mist elimination is tested image
Described image processor 3 is inputted with mist elimination contour images.
As it is shown on figure 3, the described parts going haze processing equipment 5 are illustrated.
Described go haze processing equipment 5 to include: haze Concentration Testing subset 51, be positioned in air,
For the haze concentration of the detected electric energy meter position of detection in real time, and determine mist according to haze concentration
Haze removes intensity, and described haze removes intensity value between 0 to 1.
Described haze processing equipment 5 is gone to include: overall air light value obtains subset 52, with described
CCD high-definition camera 2 connects to obtain described test image, calculates each picture in described test image
The gray value of element, using the gray value of pixel maximum for gray value as overall air light value.
Described haze processing equipment 5 is gone to include: atmospheric scattering light value obtains subset 53, with described
CCD high-definition camera 2 and described haze Concentration Testing subset 51 connect, respectively to described test
Each pixel of image, extracts its R, G, B tri-in Color Channel pixel value minimum of a value as mesh
Mark pixel value, uses Gaussian filter EPGF (the edge-preserving gaussian keeping edge
Filter) it is filtered described target pixel value processing to obtain filtered target pixel value, by target picture
Element value deducts filtered target pixel value to obtain object pixel difference, and EPGF is poor to object pixel in use
Value is filtered processing to obtain filtered target pixel value difference, and filtered target pixel value is deducted filtering mesh
Mark pixel value difference removes a reference value to obtain haze, haze is removed intensity and is multiplied by haze removal a reference value
To obtain haze removal threshold value, take haze and remove the minimum of a value in threshold value and target pixel value as comparing
Reference value, takes the atmospheric scattering light value as each pixel of the maximum in comparison reference and 0.
Described haze processing equipment 5 is gone to include: medium transmission rate obtains subset 54, with described entirety
Air light value obtains subset 52 and described atmospheric scattering light value obtains subset 53 and connects respectively, will
The atmospheric scattering light value of each pixel to obtain except value, deducts described divided by overall air light value by 1
Except value is to obtain the medium transmission rate of each pixel.
Described haze processing equipment 5 is gone to include: sharpening Image Acquisition subset 55, with described CCD
High-definition camera 2, described overall air light value obtain subset 52 and described medium transmission rate obtains sub
Equipment 54 connects respectively, deducts the medium transmission rate of each pixel by 1 to obtain the first difference,
Described first difference is multiplied by overall air light value to obtain product value, by each in described test image
The pixel value of individual pixel deducts described product value to obtain the second difference, by described second difference divided by often
The medium transmission rate of one pixel to obtain the sharpening pixel value of each pixel, described test image
In the pixel value of each pixel include the R of each pixel in described test image, G, B tri-face
Chrominance channel pixel value, correspondingly, it is thus achieved that the sharpening pixel value of each pixel include each picture
The R of element, G, B tri-Color Channel sharpening pixel value, the sharpening pixel value composition of all pixels
Mist elimination test image.
The described mist elimination processing mode going haze processing equipment 5 that described contour images is carried out with to described
The mist elimination processing mode that test image is carried out is identical.
Described image processor 3 goes haze processing equipment 5 to be connected with described, knows including electric energy meter type
Other unit, contrast enhancement unit, median filter unit, gray processing processing unit, Character segmentation list
Unit and character recognition unit.
Described electric energy meter type identification unit removes haze processing equipment 5 and described static memory with described
Connect respectively, by the benchmark image template of described mist elimination contour images Yu the electric energy meter of described various species
Mate one by one, using electric energy meter type corresponding for the benchmark image template that the match is successful as determining electric energy meter
Type exports in described static memory and preserves.
Described contrast enhancement unit is connected to test described mist elimination with described CCD high-definition camera
Image carries out contrast enhancement processing, strengthens image to obtain.
Described median filter unit is connected to enter described enhancing image with described contrast enhancement unit
Row medium filtering processes, to obtain filtering image.
Described gray processing processing unit is connected with described median filter unit, carries out described filtering image
Gray processing processes, to obtain gray level image.
Described Character segmentation unit connects respectively with described gray processing processing unit and described static memory
Connect, gray value in described gray level image is being determined character upper limit gray threshold and determined character lower limit
Pixel identification between gray threshold also forms multiple character subgraph.
Described character recognition unit is connected with described Character segmentation unit, identifies based on predetermined OCR
Algorithm identifies the character that each character subgraph is corresponding, and according to each character subgraph in institute
State multiple characters that the position in gray level image will identify that to be combined, to obtain described identification word
Symbol string.
Unit, the described static state of described ARM11 processor 4 and described image processor 3 are deposited
Reservoir, described CCD high-definition camera 2 and described infrared transceiver 1 connect respectively, first control
Described CCD high-definition camera 2 shoots described contour images, goes haze processing equipment 5 described in control
Described contour images is carried out mist elimination process, controls described electric energy meter type identification unit and identify described
Determine electric energy meter type, subsequently, determined electric energy meter type look into based on described in described static memory
Look for described electric energy meter information table, with obtain described in determined infrared communication address corresponding to electric energy meter type,
Test character string, character upper limit gray threshold and character lower limit gray threshold are the most infrared respectively as determining
Mailing address, location survey examination character string, determine character upper limit gray threshold and determined character lower limit gray scale
Threshold value is saved in static memory, controls described infrared transceiver 1 to having with determining infrared communication
The detected electric energy meter of location send include described in the test signal of location survey examination character string, in order to described
Detected electric energy meter controls the examination character string of location survey that its display screen shows that described test signal includes.
Described ARM11 processor 4 controls described CCD high-definition camera 2 after Preset Time and shoots
Test image, described in control, go haze processing equipment 5 that described test image is carried out mist elimination process, and
Start described contrast enhancement unit, described median filter unit, described gray processing processing unit, institute
State Character segmentation unit and described character recognition unit to obtain described identification string, and by described knowledge
Other character string matches with the examination of the location survey character string of preservation in described static memory, and the match is successful then
Sending fault-free cue, it fails to match then sends failure alarm signal.
Wherein, described detected electric energy meter receive include described in location survey examination character string test letter
Number time, use its internal memory to preserve its current reading in real time, in order at it after test ending
Its current reading is recovered on display screen.
Wherein, in described inspection terminal, alternatively, described electric energy meter type identification unit, described
Contrast enhancement unit, described median filter unit, described gray processing processing unit, described character divide
Cut unit and described character recognition unit is respectively adopted different fpga chips and realizes.
Wherein, in described inspection terminal, alternatively, described inspection terminal can also include: bar shaped
Code resolver, with the bar code posted on the detected electric energy meter of detection, it is thus achieved that corresponding detected electricity
The address name of energy table ownership and station address;Wireless communication interface, with described ARM11 processor
4 and described bar code resolver connect, with when receiving described failure alarm signal by described user
Name and described station address are wirelessly transmitted to the power supply management platform of far-end;Shooting secondary light source, bag
Including luminance sensor and lighting source, described luminance sensor is used for detecting ambient brightness, described illumination
Light source is connected with described luminance sensor, for based on described ambient brightness adjust its provide, be used for
The illumination light intensity of auxiliary CCD high-definition camera 2 shooting.
It addition, haze image can remove haze by what a series of images processing equipment realized image,
To obtain the image of sharpening, improve the visibility of image.These image processing equipments perform not respectively
Same image processing function, the principle formed based on haze, reach to remove the effect of haze.Haze figure
The sharpening of picture processes all has great using value, military domain bag for dual-use field
Including military and national defense, remote sensing navigation etc., civil area includes road monitoring, target following and automatic Pilot
Deng.
The process that haze image is formed can be described by atmospheric attenuation process, in haze image and reality
The medium of the available overall air light value of the relation between image i.e. sharpening image and each pixel passes
Defeated rate is stated, i.e. in the case of known haze image, according to overall air light value and each picture
The medium transmission rate of element, can solve sharpening image.
There are some and have in the solving of medium transmission rate for overall air light value and each pixel
Effect and through the means of checking, such as, for the medium transmission rate of each pixel, need to obtain whole
Body atmosphere light value and the atmospheric scattering light value of each pixel, and the atmospheric scattering light value of each pixel
Can be at the Gaussian smoothing that each pixel pixel value in haze image is carried out twice holding edge
Filtering and obtain, therebetween, the intensity that haze is removed is adjustable;And the acquisition pattern of entirety air light value has
Two kinds, a kind of mode is, (i.e. can make in haze image by obtaining the black channel of haze image
The black channel value of some pixels is the lowest, black channel is R, and G, B tri-is in Color Channel
A kind of), in haze image, the multiple pixels bigger than normal by finding black channel pixel value are found
The pixel of gray value maximum obtains, and gray value that will search out, gray value is maximum pixel is made
For overall air light value, participate in the sharpening of each pixel in haze image and process;It addition, it is overall
Air light value also can obtain in the following manner: calculates the gray value of each pixel in haze image, will
The gray value of the pixel that gray value is maximum is as overall air light value.
Relation between concrete haze image and real image i.e. sharpening image, and parameters
Between relation can be found in above content.
By the discussion to haze image formation basic theory, build between haze image and sharpening image
Relation, represent this relation by multiple parameters, subsequently by the multiple parameter values obtained and haze figure
The image that picture the most reducible acquisition definition is higher, owing to some statistical means have been used in the acquisition of parameter
And empirical means, the image that the most described definition is higher can not be fully equivalent to real image, but
Have and considerable degree of gone haze effect, provide effectively for the every field operation under haze weather
Ensure.
It addition, infrared communication is a kind of communication mode utilizing infrared transmission information, can be used for passing
The information such as defeated language, word, data, image.The angle of infrared transmission has certain limitations, infrared
Line wave-length coverage is 0.70 μm-1mm, and wherein the ripple in 300 μm-1mm regions is also referred to as submillimeter wave.
The impact that infrared radiation transmission is mainly is absorbed and scattering by air.
Infrared communication is the infrared ray the utilizing 950nm near infrared band media as transmission information, i.e.
Communication channel.Base band binary signal is modulated to a series of burst signal by transmitting terminal, by red
Infrared signal launched by emission pipe.The light arteries and veins received is converted into the signal of telecommunication by receiving terminal, then through putting
Greatly, filtering etc. give demodulator circuit after processing and be demodulated, export after being reduced to binary digital signal.
Conventional having realizes the pulsewidth modulation (PWM) of signal modulation by pulse width and passes through train of pulse
Between time interval realize signal modulation two kinds of methods of pulse time modulation (PPM).
Infrared-ray communication technology comprise following specification: IrPHY, IrLAP, IrLMP, IrCOMM,
TinyTP, IrOBEX, IrLAN and IrSimple.
The outdoor electrical energy meter fault using the present invention checks terminal automatically, lacks for existing outdoor electric energy meter
Sunken detection technique detection efficiency is low, detection difficulty big and cannot overcome the technology of adverse weather conditions
Problem, first identifies the type of detected electric energy meter, then determines different inspections according to electric energy meter type
Survey strategy, wherein use infrared communication technique to ensure the information between detected electric energy meter and inspection terminal
Alternately, finally remove the haze weather impact on electric energy meter test image, thus realize all kinds of outdoors
The non-broken string of electric energy meter display defect, high-precision quick inspection.
Although it is understood that the present invention discloses as above with preferred embodiment, but above-mentioned enforcement
Example is not limited to the present invention.For any those of ordinary skill in the art, without departing from
Under technical solution of the present invention ambit, all may utilize the technology contents of the disclosure above to the technology of the present invention
Scheme makes many possible variations and modification, or is revised as the Equivalent embodiments of equivalent variations.Therefore,
Every content without departing from technical solution of the present invention, the technical spirit of the foundation present invention is to above example
Any simple modification, equivalent variations and the modification done, all still falls within technical solution of the present invention protection
In the range of.