CN104715488A - Method for detecting damage degree of outdoor electric energy meter - Google Patents

Method for detecting damage degree of outdoor electric energy meter Download PDF

Info

Publication number
CN104715488A
CN104715488A CN201510153570.9A CN201510153570A CN104715488A CN 104715488 A CN104715488 A CN 104715488A CN 201510153570 A CN201510153570 A CN 201510153570A CN 104715488 A CN104715488 A CN 104715488A
Authority
CN
China
Prior art keywords
electric energy
energy meter
image
value
subset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510153570.9A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Sani Pacifies Science And Technology Ltd
Original Assignee
Wuxi Sani Pacifies Science And Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Sani Pacifies Science And Technology Ltd filed Critical Wuxi Sani Pacifies Science And Technology Ltd
Priority to CN201510570736.7A priority Critical patent/CN105067636A/en
Priority to CN201510153570.9A priority patent/CN104715488A/en
Priority to CN201510572477.1A priority patent/CN105118064A/en
Publication of CN104715488A publication Critical patent/CN104715488A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20204Removing film grain; Adding simulated film grain
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention relates to a method for detecting the damage degree of an outdoor electric energy meter. The method comprises the steps of (1) shooting the electric energy meter by a high-definition camera to obtain the image of the electric energy meter; (2) processing the image of the electric energy meter by an image processor to extract a table frame image in the image of the electric energy meter; (3) determining the damage degree of the electric energy meter based on the matching result of a table frame pattern of a reference electric energy meter and the table frame image of the detected electric energy meter by using a main controller according to the table frame pattern of the reference electric energy meter which is stored in a static memory in advance, wherein the table frame pattern of the reference electric energy meter is the image obtained by shooting the electric energy meter with good quality in advance; the image processor is connected with the high-definition camera, and the main controller is respectively connected with the image processor and the static memory. The method can be used for automatically and accurately detecting the appearance of the outdoor electric energy meter, thus providing important reference data for the management of electric energy meters of power supply department.

Description

Outdoor electric energy meter damaged degree detection method
Technical field
The present invention relates to electric energy meter area of maintenance, particularly relate to a kind of outdoor electric energy meter damaged degree detection method.
Background technology
Electric energy can convert various energy to.As: convert heat energy to by electric furnace, convert mechanical energy to by motor, convert luminous energy etc. to by electric light.And the ammeter recording this electric energy is electric energy meter.
Being widely used of electric energy meter, it is the important referential data of power supply department charge and allotment electric power resource, each needs the electric energy meter of installation one oneself to monitor the use power consumption of oneself with electric unit or individual, as can be seen here, the setting of electric energy meter has One's name is legion and widely distributed feature, and it is constant greatly that such set-up mode is that the later maintenance of electric energy meter brings.
Electric energy meter damage testing pattern of the prior art generally adopts manual type to carry out naked eyes detection, such detecting pattern needs a large amount of manpower and materials on the one hand, and take time and effort, on the other hand because testing result relies on the individual subjective judgement of testing staff completely, testing result is objective not, accurate; Also the detection means of some electronics is there is in prior art, camera is used to carry out the detection of electric energy meter outward appearance, power supply department is uploaded to by wireless for testing result, although this detection mode to a certain degree ensure that efficiency and the objectivity of detection, but in inclement weather, such as, under haze weather, because the image of shooting inevitably brings error largely by weather effect.
Therefore, need a kind of new electric energy meter damage testing pattern, substituting original manually visiting on the basis of detecting pattern, efficiency and the precision of detection can be taken into account, even if in the bad weather circumstances that haze is serious, also can weaken the impact of haze on detected image, detect data accurately for electric energy meter administrative authority provides.
Summary of the invention
In order to solve the problem, according to an aspect of the present invention, the invention provides a kind of outdoor electric energy meter damaged degree detection method, it comprises:
(1) high-definition camera is utilized to take to obtain electric energy meter image to electric energy meter;
(2) image processor is utilized to carry out image procossing to described electric energy meter image, to extract the bezel, cluster image in described electric energy meter image;
(3) according to the benchmark electric energy meter block diagram case prestored in static memory, utilize master controller based on the matching result of described benchmark electric energy meter block diagram case and described bezel, cluster image, determine the damaged degree of described electric energy meter, described benchmark electric energy meter block diagram case is for taking obtained image to the electric energy meter that quality is intact in advance;
Wherein said image processor is connected with described high-definition camera, and described master controller is connected respectively with described image processor and described static memory.
According to another aspect of the present invention, the invention provides a kind of outdoor electric energy meter damaged degree detection method, it comprises:
(1) high-definition camera is utilized to take to obtain electric energy meter image to electric energy meter;
(2) utilize sharpening treatment facility to receive described electric energy meter image, mist elimination process is carried out to obtain mist elimination electric energy meter image to described electric energy meter image;
(3) image processor is utilized to carry out image procossing to described mist elimination electric energy meter image, to extract the bezel, cluster image in described mist elimination electric energy meter image;
(4) according to the benchmark electric energy meter block diagram case prestored in static memory, utilize master controller based on the matching result of the bezel, cluster image in described benchmark electric energy meter block diagram case and described mist elimination electric energy meter image, determine the damaged degree of described electric energy meter, described benchmark electric energy meter block diagram case is for taking obtained image to the electric energy meter that quality is intact in advance;
Wherein said sharpening treatment facility is between described high-definition camera and described image processor, and described master controller is connected respectively with described image processor and described static memory.
More specifically, described image processor is after receiving described mist elimination electric energy meter image, described mist elimination electric energy meter image is converted to HSV image, extract the H channel value of each pixel in HSV image, obtain the multiple pixels of H channel value in described bezel, cluster H passage threshold range based on bezel, cluster H passage threshold range, described multiple pixel is formed the bezel, cluster image in described mist elimination electric energy meter image.
More specifically, described master controller, after receiving the bezel, cluster image in described mist elimination electric energy meter image, carries out image sharpening, self-adaptation recursive filtering and OCR identifying processing, to obtain electric energy meter reading successively to the bezel, cluster image in described mist elimination electric energy meter image
More specifically, outdoor electric energy meter damaged degree detection method of the present invention comprises further: utilize GPS locator receive the current GPS location of the electric energy meter of gps satellite feedback and send to described master controller; Utilize GPRS communication interface that the damaged degree of electric energy meter and current GPS location are packaged as GPRS data bag and send to the power supply management platform of far-end.
Preferably, outdoor electric energy meter damaged degree detection method of the present invention utilizes outdoor electric energy meter damaged degree detection platform to detect.Therefore, according to another aspect of the present invention, present invention also offers a kind of outdoor electric energy meter damaged degree detection platform, described platform comprises high-definition camera, image processor, static memory and master controller, and wherein said high-definition camera is used for taking to obtain electric energy meter image to electric energy meter; Described image processor is connected with described high-definition camera, for carrying out image procossing to described electric energy meter image, to extract the bezel, cluster image in described electric energy meter image; Described static memory has prestored benchmark electric energy meter block diagram case; Described master controller is connected respectively with described image processor and described static memory, based on the matching result of described benchmark electric energy meter block diagram case and described bezel, cluster image, determines the damaged degree of described electric energy meter.
Further, described outdoor electric energy meter damaged degree detection platform also comprises:
With described master controller, GPS locator, for receiving the current GPS location of the electric energy meter of gps satellite feedback, and is connected that described current GPS location is sent to described master controller;
GPRS communication interface, is connected with described master controller, for the damaged degree of described electric energy meter and described current GPS location are packaged as GPRS data bag, and described GPRS data bag is wirelessly sent to the power supply management platform of far-end;
Power supply, comprise solar powered device, accumulator, change-over switch and electric pressure converter, described change-over switch is connected respectively with described solar powered device and described accumulator, determine whether be switched to described solar powered device to be powered by described solar powered device according to accumulator dump energy, described electric pressure converter is connected with described change-over switch, with the 5V voltage transitions will inputted by change-over switch for 3.3V voltage;
Sharpening treatment facility, between described high-definition camera and described image processor, for receiving described electric energy meter image, mist elimination process is carried out to obtain mist elimination electric energy meter image to described electric energy meter image, described mist elimination electric energy meter image is inputted described image processor to replace described electric energy meter image by image procossing to extract the bezel, cluster image in described mist elimination electric energy meter image.
More specifically, described sharpening treatment facility also comprises:
Store subset, for prestoring sky upper limit gray threshold and sky lower limit gray threshold, described sky upper limit gray threshold and described sky lower limit gray threshold are for separating of the sky areas of publishing picture in picture, also for prestoring presetted pixel value threshold value, described presetted pixel value threshold value value is between 0 to 255;
Haze Concentration Testing subset, is arranged in air, for detecting the haze concentration of electric energy meter position in real time, and removes intensity according to haze concentration determination haze, and described haze removes intensity value between 0 to 1;
Region dividing subset, connect described high-definition camera to receive described electric energy meter image, gray processing process is carried out to obtain gray processing electric energy meter image to described electric energy meter image, also be connected with storage subset, the pixel identification of gray-scale value in described gray processing electric energy meter image between described sky upper limit gray threshold and described sky lower limit gray threshold is formed gray processing sky sub pattern, described gray processing sky sub pattern is gone out to obtain the non-sky subimage of gray processing from described gray processing electric energy meter Iamge Segmentation, the colour non-sky subimage corresponding with described gray processing non-sky subimage is obtained based on the position of described gray processing non-sky subimage in described electric energy meter image,
Black channel obtains subset, be connected with described Region dividing subset to obtain the non-sky subimage of described colour, for each pixel in the non-sky subimage of described colour, calculate its R, G, B tri-Color Channel pixel value, the R of all pixels in described colour non-sky subimage, G, B tri-extracts the Color Channel at the minimum Color Channel pixel value place of numerical value in Color Channel pixel value as black channel;
Overall air light value obtains subset, be connected to obtain described presetted pixel value threshold value with storage subset, also obtain subset to be connected respectively to obtain described electric energy meter image and described black channel with described Region dividing subset and described black channel, multiple pixels that black channel pixel value in described electric energy meter image is more than or equal to presetted pixel value threshold value are formed set of pixels to be tested, the gray-scale value air light value as a whole of the pixel of maximum gradation value will be had in described set of pixels to be tested;
Atmospheric scattering light value obtains subset, be connected respectively with described Region dividing subset and described haze Concentration Testing subset, to each pixel of described electric energy meter image, extract its R, G, in B tri-Color Channel pixel value, minimum value is as target pixel value, use and keep the Gaussian filter EPGF (edge-preserving gaussian filter) at edge to carry out filtering process to obtain filtered target pixel value to described target pixel value, target pixel value is deducted filtered target pixel value to obtain object pixel difference, EPGF is used to carry out filtering process to obtain filtered target pixel value difference to object pixel difference, filtered target pixel value is deducted filtered target pixel value difference and remove reference value to obtain haze, haze is removed intensity and be multiplied by haze removal reference value to obtain haze removal threshold value, get haze and remove minimum value in threshold value and target pixel value as comparison reference, get the atmospheric scattering light value of the maximal value in comparison reference and 0 as each pixel,
Medium transmission rate obtains subset, obtain subset and described atmospheric scattering light value with described overall air light value to obtain subset and be connected respectively, the atmospheric scattering light value of each pixel is removed value divided by overall air light value to obtain, deducts 1 described except value is to obtain the medium transmission rate of each pixel;
Sharpening Image Acquisition subset, with described Region dividing subset, described overall air light value obtains subset and is connected respectively with described medium transmission rate acquisition subset, the medium transmission rate of each pixel is deducted to obtain the first difference by 1, described first difference is multiplied by overall air light value to obtain product value, the pixel value of each pixel in described electric energy meter image is deducted described product value to obtain the second difference, by described second difference divided by the medium transmission rate of each pixel to obtain the sharpening pixel value of each pixel, in described electric energy meter image, the pixel value of each pixel comprises the R of each pixel in described electric energy meter image, G, B tri-Color Channel pixel value, correspondingly, the sharpening pixel value of each pixel obtained comprises the R of each pixel, G, B tri-Color Channel sharpening pixel value, the sharpening pixel value composition mist elimination electric energy meter image of all pixels.
More specifically, described image processor also comprises built-in storage unit, and for storing described bezel, cluster H passage threshold range, described bezel, cluster H passage threshold range is made up of bezel, cluster H passage upper limit threshold and bezel, cluster H passage lower threshold.Described image processor is after receiving described mist elimination electric energy meter image, described mist elimination electric energy meter image is converted to HSV image, extract the H channel value of each pixel in HSV image, obtain the multiple pixels of H channel value in described bezel, cluster H passage threshold range based on bezel, cluster H passage threshold range, described multiple pixel is formed the bezel, cluster image in described mist elimination electric energy meter image.
More specifically, described master controller is connected respectively with described image processor and described static memory, based on the matching result of the bezel, cluster image in described benchmark electric energy meter block diagram case and described mist elimination electric energy meter image, determine the damaged degree of described electric energy meter, described benchmark electric energy meter block diagram case is for taking obtained image to the electric energy meter that quality is intact in advance.More specifically, described master controller, after receiving the bezel, cluster image in described mist elimination electric energy meter image, carries out image sharpening, self-adaptation recursive filtering and OCR identifying processing, to obtain electric energy meter reading successively to the bezel, cluster image in described mist elimination electric energy meter image.
More specifically, described high-definition camera is the OV7640 sensor of Omnivision company.
More specifically, described master controller is AT89C51 system.
More specifically, described storage subset, described haze Concentration Testing subset, described Region dividing subset, described black channel obtain subset, described overall air light value acquisition subset, described atmospheric scattering light value acquisition subset, described medium transmission rate acquisition subset and described sharpening Image Acquisition subset and are integrated on one piece of circuit board.
Outdoor electric energy meter damaged degree detection method of the present invention, the mode of electronic meter reading is adopted to substitute original manual metering mode, the high-level efficiency of data acquisition that utilized high-precision acquisition technology and image processing techniques to ensure, simultaneously according to atmospheric attenuation model determination haze to the influence factor of image, and the process of mist elimination haze is carried out to the electric energy meter image gathered under foggy days, obtain electric energy meter image clearly, thus ensure the accuracy that outdoor electric energy meter damaged degree detects.
Accompanying drawing explanation
Below with reference to accompanying drawing, embodiment of the present invention are described, wherein:
Fig. 1 implements the block diagram according to the outdoor electric energy meter damaged degree detection platform of outdoor electric energy meter damaged degree detection method of the present invention.
Embodiment
Below with reference to accompanying drawings the embodiment of the outdoor electric energy meter damaged degree detection platform implementing outdoor electric energy meter damaged degree detection method of the present invention is described in detail.
The principle of work of electric energy meter is as follows: when electric energy meter access circuit-under-test, just have exchange current to flow through in current coil and potential winding, these two exchange current produce the magnetic flux of alternation respectively in their iron core; Alternating flux, through aluminium dish, induces eddy current in aluminium dish; Eddy current is subject to again the effect of power in magnetic field, thus makes aluminium dish obtain torque (initiatively moment) and rotate.The power of load consumption is larger, larger by the electric current of current coil, and the eddy current induced in aluminium dish is also larger, and the moment that aluminium dish is rotated is larger.Namely the size of torque follows the power of load consumption to be directly proportional.Power is larger, and torque is also larger, and aluminium dish rotates also faster.When aluminium dish rotates, be subject to again the effect of the braking moment that permanent magnet produces, braking moment is with initiatively moment direction is contrary; The size of braking moment is directly proportional to the rotating speed of aluminium dish, and aluminium dish rotates faster, and braking moment is also larger.When active moment and braking moment reach transient equilibrium, aluminium dish is by uniform rotation.The electric energy that load consumes is directly proportional to the revolution of aluminium dish.When aluminium dish rotates, drive counter, consumed electric energy is indicated.The simple procedure of electric energy meter work that Here it is.
Because electric energy meter has One's name is legion, distribution dispersion, electric energy meter outward appearance damage testing needs to meet high-level efficiency, high-precision requirement simultaneously.But all there is intrinsic defect in electric energy meter outward appearance damage testing scheme of the prior art: (1), although artificial detection mode can ensure the precision of testing result, needs the cost of labor of at substantial, and efficiency is not high, and real-time is not strong; (2) more existing detection of electrons schemes can only ensure the reading collection under home; because much electricity table is placed in open air; under the weather that visibility is lower; such as, under foggy days environment; often cause the electric energy meter of shooting image blurring unclear; correspondingly, testing result error is very large.
For this reason, the present invention has built a kind of outdoor electric energy meter damaged degree detection platform, efficient requirement is met by image acquisition and processing technology targetedly, also can carry out the detection of high-precision electric energy meter damaged degree under realizing inclement weather by the process of mist elimination haze, thus meet above-mentioned two kinds of requirements simultaneously.
Fig. 1 is the block diagram of the outdoor electric energy meter damaged degree detection platform illustrated according to an embodiment of the present invention, described platform comprises high-definition camera 1, image processor 2, static memory 3 and master controller 4, described high-definition camera 1 obtains electric energy meter image for taking electric energy meter, described image processor 2 is connected with described high-definition camera 1, for carrying out image procossing to described electric energy meter image, to extract the bezel, cluster image in described electric energy meter image, described static memory 3 has prestored benchmark electric energy meter block diagram case, described master controller 4 is connected respectively with described image processor 2 and described static memory 3, based on the matching result of described benchmark electric energy meter block diagram case and described bezel, cluster image, determine the damaged degree of described electric energy meter.
Then, continue to be further detailed the concrete structure of outdoor electric energy meter damaged degree detection platform of the present invention.
Described platform also comprises: GPS locator, for receiving the current GPS location of the electric energy meter of gps satellite feedback, and is connected that described current GPS location is sent to described master controller with described master controller 4.
Described platform also comprises: GPRS communication interface, is connected with described master controller 4, for the damaged degree of described electric energy meter and described current GPS location are packaged as GPRS data bag, and described GPRS data bag is wirelessly sent to the power supply management platform of far-end.
Described platform also comprises: power supply, comprise solar powered device, accumulator, change-over switch and electric pressure converter, described change-over switch is connected respectively with described solar powered device and described accumulator, determine whether be switched to described solar powered device to be powered by described solar powered device according to accumulator dump energy, described electric pressure converter is connected with described change-over switch, with the 5V voltage transitions will inputted by change-over switch for 3.3V voltage.
Described platform also comprises: sharpening treatment facility, between described high-definition camera 1 and described image processor 2, for receiving described electric energy meter image, mist elimination process is carried out to obtain mist elimination electric energy meter image to described electric energy meter image, described mist elimination electric energy meter image is inputted described image processor 2 to replace described electric energy meter image by image procossing to extract the bezel, cluster image in described mist elimination electric energy meter image.
Further, described sharpening treatment facility comprises with lower component:
Store subset, for prestoring sky upper limit gray threshold and sky lower limit gray threshold, described sky upper limit gray threshold and described sky lower limit gray threshold are for separating of the sky areas of publishing picture in picture, also for prestoring presetted pixel value threshold value, described presetted pixel value threshold value value is between 0 to 255;
Haze Concentration Testing subset, is arranged in air, for detecting the haze concentration of electric energy meter position in real time, and removes intensity according to haze concentration determination haze, and described haze removes intensity value between 0 to 1;
Region dividing subset, connect described high-definition camera 1 to receive described electric energy meter image, gray processing process is carried out to obtain gray processing electric energy meter image to described electric energy meter image, also be connected with storage subset, the pixel identification of gray-scale value in described gray processing electric energy meter image between described sky upper limit gray threshold and described sky lower limit gray threshold is formed gray processing sky sub pattern, described gray processing sky sub pattern is gone out to obtain the non-sky subimage of gray processing from described gray processing electric energy meter Iamge Segmentation, the colour non-sky subimage corresponding with described gray processing non-sky subimage is obtained based on the position of described gray processing non-sky subimage in described electric energy meter image,
Black channel obtains subset, be connected with described Region dividing subset to obtain the non-sky subimage of described colour, for each pixel in the non-sky subimage of described colour, calculate its R, G, B tri-Color Channel pixel value, the R of all pixels in described colour non-sky subimage, G, B tri-extracts the Color Channel at the minimum Color Channel pixel value place of numerical value in Color Channel pixel value as black channel;
Overall air light value obtains subset, be connected to obtain described presetted pixel value threshold value with storage subset, also obtain subset to be connected respectively to obtain described electric energy meter image and described black channel with described Region dividing subset and described black channel, multiple pixels that black channel pixel value in described electric energy meter image is more than or equal to presetted pixel value threshold value are formed set of pixels to be tested, the gray-scale value air light value as a whole of the pixel of maximum gradation value will be had in described set of pixels to be tested;
Atmospheric scattering light value obtains subset, be connected respectively with described Region dividing subset and described haze Concentration Testing subset, to each pixel of described electric energy meter image, extract its R, G, in B tri-Color Channel pixel value, minimum value is as target pixel value, use and keep the Gaussian filter EPGF (edge-preserving gaussian filter) at edge to carry out filtering process to obtain filtered target pixel value to described target pixel value, target pixel value is deducted filtered target pixel value to obtain object pixel difference, EPGF is used to carry out filtering process to obtain filtered target pixel value difference to object pixel difference, filtered target pixel value is deducted filtered target pixel value difference and remove reference value to obtain haze, haze is removed intensity and be multiplied by haze removal reference value to obtain haze removal threshold value, get haze and remove minimum value in threshold value and target pixel value as comparison reference, get the atmospheric scattering light value of the maximal value in comparison reference and 0 as each pixel,
Medium transmission rate obtains subset, obtain subset and described atmospheric scattering light value with described overall air light value to obtain subset and be connected respectively, the atmospheric scattering light value of each pixel is removed value divided by overall air light value to obtain, deducts 1 described except value is to obtain the medium transmission rate of each pixel;
Sharpening Image Acquisition subset, with described Region dividing subset, described overall air light value obtains subset and is connected respectively with described medium transmission rate acquisition subset, the medium transmission rate of each pixel is deducted to obtain the first difference by 1, described first difference is multiplied by overall air light value to obtain product value, the pixel value of each pixel in described electric energy meter image is deducted described product value to obtain the second difference, by described second difference divided by the medium transmission rate of each pixel to obtain the sharpening pixel value of each pixel, in described electric energy meter image, the pixel value of each pixel comprises the R of each pixel in described electric energy meter image, G, B tri-Color Channel pixel value, correspondingly, the sharpening pixel value of each pixel obtained comprises the R of each pixel, G, B tri-Color Channel sharpening pixel value, the sharpening pixel value composition mist elimination electric energy meter image of all pixels.
Described image processor 2 is after receiving described mist elimination electric energy meter image, described mist elimination electric energy meter image is converted to HSV image, extract the H channel value of each pixel in HSV image, obtain the multiple pixels of H channel value in described bezel, cluster H passage threshold range based on bezel, cluster H passage threshold range, described multiple pixel is formed the bezel, cluster image in described mist elimination electric energy meter image.
Described master controller 4 is connected respectively with described image processor 2 and described static memory 3, based on the matching result of the bezel, cluster image in described benchmark electric energy meter block diagram case and described mist elimination electric energy meter image, determine the damaged degree of described electric energy meter, described benchmark electric energy meter block diagram case is for taking obtained image to the electric energy meter that quality is intact in advance.
Wherein, described image processor 2 also comprises built-in storage unit, and for storing described bezel, cluster H passage threshold range, described bezel, cluster H passage threshold range is made up of bezel, cluster H passage upper limit threshold and bezel, cluster H passage lower threshold.
Wherein, in described platform, alternatively, described master controller 4 is after receiving the bezel, cluster image in described mist elimination electric energy meter image, successively image sharpening is carried out to the bezel, cluster image in described mist elimination electric energy meter image, self-adaptation recursive filtering and OCR identifying processing, to obtain electric energy meter reading, described high-definition camera 1 is the OV7640 sensor of Omnivision company, described master controller 4 is AT89C51 system, and can by described storage subset, described haze Concentration Testing subset, described Region dividing subset, described black channel obtains subset, described overall air light value obtains subset, described atmospheric scattering light value obtains subset, described medium transmission rate obtains subset and described sharpening Image Acquisition subset is integrated on one piece of circuit board.
In addition, haze image can realize the mist elimination haze of image by a series of images treatment facility, to obtain the image of sharpening, improves the visibility of image.These image processing equipments perform different image processing functions respectively, based on the principle that haze is formed, reach the effect removing haze.The sharpening process of haze image all has great using value for dual-use field, and military domain comprises military and national defense, remote sensing navigation etc., and civil area comprises road monitoring, target following and automatic Pilot etc.
The process that haze image is formed can be described by atmospheric attenuation process, relation between haze image and real image and sharpening image can be stated by the medium transmission rate of overall air light value and each pixel, namely when known haze image, according to the medium transmission rate of overall air light value with each pixel, sharpening image can be solved.
There are some effective and through verifying means in the solving of medium transmission rate for overall air light value and each pixel, such as, for the medium transmission rate of each pixel, need the atmospheric scattering light value obtaining overall air light value and each pixel, and the atmospheric scattering light value of each pixel can obtain carrying out the Gaussian smoothing filter at twice maintenance edge to the pixel value of each pixel in haze image, therebetween, the intensity of haze removal is adjustable; And the acquisition pattern of overall air light value has two kinds, a kind of mode is, black channel by obtaining haze image (namely makes the black channel value of some pixels very low in haze image, black channel is R, G, one in B tri-Color Channel), in haze image, obtain by finding the maximum pixel of gray-scale value in multiple pixels that searching black channel pixel value is bigger than normal, be about to the gray-scale value air light value as a whole of that search out, that gray-scale value is maximum pixel, participate in the sharpening process of each pixel in haze image; In addition, overall air light value is also by obtaining with under type: the gray-scale value calculating each pixel in haze image, by the gray-scale value of pixel maximum for gray-scale value air light value as a whole.
Relation between concrete haze image and real image and sharpening image, and the relation between parameters can see above content.
By the discussion to haze image formation basic theory, build the relation between haze image and sharpening image, by this relation of multiple Parametric Representation, subsequently by the multiple parameter values that obtain and haze image and the higher image of reducible acquisition sharpness, some statistical means and empirical means have been used in acquisition due to parameter, therefore the image that described sharpness is higher can not be equal to real image completely, but there is the mist elimination haze effect of certain degree, for the every field operation under haze weather provides effective guarantee.
Adopt outdoor electric energy meter damaged degree detection method of the present invention, low and the not high technical matters of precision may be there is at inclement weather for existing electric energy meter outward appearance damaged degree detection scheme detection efficiency, by adopting image acquisition and image processing techniques targetedly, substitute manual detection mode, improve detection efficiency, simultaneously, the sharpening treatment facility added based on atmospheric attenuation model realizes the process of mist elimination haze, overcome the impact of haze weather on damaged degree testing result, ensure the accuracy being supplied to the reference data of power supply department.
Be understandable that, although the present invention with preferred embodiment disclose as above, but above-described embodiment and be not used to limit the present invention.For any those of ordinary skill in the art, do not departing under technical solution of the present invention ambit, the technology contents of above-mentioned announcement all can be utilized to make many possible variations and modification to technical solution of the present invention, or be revised as the Equivalent embodiments of equivalent variations.Therefore, every content not departing from technical solution of the present invention, according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all still belongs in the scope of technical solution of the present invention protection.

Claims (10)

1. an outdoor electric energy meter damaged degree detection method, it comprises:
(1) high-definition camera is utilized to take to obtain electric energy meter image to electric energy meter;
(2) image processor is utilized to carry out image procossing to described electric energy meter image, to extract the bezel, cluster image in described electric energy meter image;
(3) according to the benchmark electric energy meter block diagram case prestored in static memory, utilize master controller based on the matching result of described benchmark electric energy meter block diagram case and described bezel, cluster image, determine the damaged degree of described electric energy meter, described benchmark electric energy meter block diagram case is for taking obtained image to the electric energy meter that quality is intact in advance;
Wherein said image processor is connected with described high-definition camera, and described master controller is connected respectively with described image processor and described static memory.
2. an outdoor electric energy meter damaged degree detection method, it comprises:
(1) high-definition camera is utilized to take to obtain electric energy meter image to electric energy meter;
(2) utilize sharpening treatment facility to receive described electric energy meter image, mist elimination process is carried out to obtain mist elimination electric energy meter image to described electric energy meter image;
(3) image processor is utilized to carry out image procossing to described mist elimination electric energy meter image, to extract the bezel, cluster image in described mist elimination electric energy meter image;
(4) according to the benchmark electric energy meter block diagram case prestored in static memory, utilize master controller based on the matching result of the bezel, cluster image in described benchmark electric energy meter block diagram case and described mist elimination electric energy meter image, determine the damaged degree of described electric energy meter, described benchmark electric energy meter block diagram case is for taking obtained image to the electric energy meter that quality is intact in advance;
Wherein said sharpening treatment facility is between described high-definition camera and described image processor, and described master controller is connected respectively with described image processor and described static memory.
3. detection method as claimed in claim 2, wherein said image processor is after receiving described mist elimination electric energy meter image, described mist elimination electric energy meter image is converted to HSV image, extract the H channel value of each pixel in HSV image, obtain the multiple pixels of H channel value in described bezel, cluster H passage threshold range based on bezel, cluster H passage threshold range, described multiple pixel is formed the bezel, cluster image in described mist elimination electric energy meter image.
4. detection method as claimed in claim 2, wherein said master controller is after receiving the bezel, cluster image in described mist elimination electric energy meter image, image sharpening, self-adaptation recursive filtering and OCR identifying processing are carried out successively, to obtain electric energy meter reading to the bezel, cluster image in described mist elimination electric energy meter image.
5. detection method as claimed in claim 1 or 2, comprises further: utilize GPS locator receive the current GPS location of the electric energy meter of gps satellite feedback and send to described master controller; Utilize GPRS communication interface that the damaged degree of electric energy meter and current GPS location are packaged as GPRS data bag and send to the power supply management platform of far-end.
6. detection method as claimed in claim 1, wherein said method utilizes outdoor electric energy meter damaged degree detection platform to detect, described platform comprises high-definition camera, image processor, static memory and master controller, and wherein said high-definition camera is used for taking to obtain electric energy meter image to electric energy meter; Described image processor is connected with described high-definition camera, for carrying out image procossing to described electric energy meter image, to extract the bezel, cluster image in described electric energy meter image; Described static memory has prestored benchmark electric energy meter block diagram case; Described master controller is connected respectively with described image processor and described static memory, based on the matching result of described benchmark electric energy meter block diagram case and described bezel, cluster image, determines the damaged degree of described electric energy meter.
7. detection method as claimed in claim 6, wherein said image processor also comprises built-in storage unit, for storing described bezel, cluster H passage threshold range, described bezel, cluster H passage threshold range is made up of bezel, cluster H passage upper limit threshold and bezel, cluster H passage lower threshold.
8. detection method as claimed in claim 6, wherein said platform also comprises:
With described master controller, GPS locator, for receiving the current GPS location of the electric energy meter of gps satellite feedback, and is connected that described current GPS location is sent to described master controller;
GPRS communication interface, is connected with described master controller, for the damaged degree of described electric energy meter and described current GPS location are packaged as GPRS data bag, and described GPRS data bag is wirelessly sent to the power supply management platform of far-end;
Power supply, comprise solar powered device, accumulator, change-over switch and electric pressure converter, described change-over switch is connected respectively with described solar powered device and described accumulator, determine whether be switched to described solar powered device to be powered by described solar powered device according to accumulator dump energy, described electric pressure converter is connected with described change-over switch, with the 5V voltage transitions will inputted by change-over switch for 3.3V voltage;
Sharpening treatment facility, between described high-definition camera and described image processor, for receiving described electric energy meter image, mist elimination process is carried out to obtain mist elimination electric energy meter image to described electric energy meter image, described mist elimination electric energy meter image is inputted described image processor to replace described electric energy meter image by image procossing to extract the bezel, cluster image in described mist elimination electric energy meter image.
9. detection method as claimed in claim 7, wherein said sharpening treatment facility also comprises:
Store subset, for prestoring sky upper limit gray threshold and sky lower limit gray threshold, described sky upper limit gray threshold and described sky lower limit gray threshold are for separating of the sky areas of publishing picture in picture, also for prestoring presetted pixel value threshold value, described presetted pixel value threshold value value is between 0 to 255;
Haze Concentration Testing subset, is arranged in air, for detecting the haze concentration of electric energy meter position in real time, and removes intensity according to haze concentration determination haze, and described haze removes intensity value between 0 to 1;
Region dividing subset, connect described high-definition camera to receive described electric energy meter image, gray processing process is carried out to obtain gray processing electric energy meter image to described electric energy meter image, also be connected with storage subset, the pixel identification of gray-scale value in described gray processing electric energy meter image between described sky upper limit gray threshold and described sky lower limit gray threshold is formed gray processing sky sub pattern, described gray processing sky sub pattern is gone out to obtain the non-sky subimage of gray processing from described gray processing electric energy meter Iamge Segmentation, the colour non-sky subimage corresponding with described gray processing non-sky subimage is obtained based on the position of described gray processing non-sky subimage in described electric energy meter image,
Black channel obtains subset, be connected with described Region dividing subset to obtain the non-sky subimage of described colour, for each pixel in the non-sky subimage of described colour, calculate its R, G, B tri-Color Channel pixel value, the R of all pixels in described colour non-sky subimage, G, B tri-extracts the Color Channel at the minimum Color Channel pixel value place of numerical value in Color Channel pixel value as black channel;
Overall air light value obtains subset, be connected to obtain described presetted pixel value threshold value with storage subset, also obtain subset to be connected respectively to obtain described electric energy meter image and described black channel with described Region dividing subset and described black channel, multiple pixels that black channel pixel value in described electric energy meter image is more than or equal to presetted pixel value threshold value are formed set of pixels to be tested, the gray-scale value air light value as a whole of the pixel of maximum gradation value will be had in described set of pixels to be tested;
Atmospheric scattering light value obtains subset, be connected respectively with described Region dividing subset and described haze Concentration Testing subset, to each pixel of described electric energy meter image, extract its R, G, in B tri-Color Channel pixel value, minimum value is as target pixel value, use and keep the Gaussian filter EPGF at edge to carry out filtering process to obtain filtered target pixel value to described target pixel value, target pixel value is deducted filtered target pixel value to obtain object pixel difference, EPGF is used to carry out filtering process to obtain filtered target pixel value difference to object pixel difference, filtered target pixel value is deducted filtered target pixel value difference and remove reference value to obtain haze, haze is removed intensity and be multiplied by haze removal reference value to obtain haze removal threshold value, get haze and remove minimum value in threshold value and target pixel value as comparison reference, get the atmospheric scattering light value of the maximal value in comparison reference and 0 as each pixel,
Medium transmission rate obtains subset, obtain subset and described atmospheric scattering light value with described overall air light value to obtain subset and be connected respectively, the atmospheric scattering light value of each pixel is removed value divided by overall air light value to obtain, deducts 1 described except value is to obtain the medium transmission rate of each pixel;
Sharpening Image Acquisition subset, with described Region dividing subset, described overall air light value obtains subset and is connected respectively with described medium transmission rate acquisition subset, the medium transmission rate of each pixel is deducted to obtain the first difference by 1, described first difference is multiplied by overall air light value to obtain product value, the pixel value of each pixel in described electric energy meter image is deducted described product value to obtain the second difference, by described second difference divided by the medium transmission rate of each pixel to obtain the sharpening pixel value of each pixel, in described electric energy meter image, the pixel value of each pixel comprises the R of each pixel in described electric energy meter image, G, B tri-Color Channel pixel value, correspondingly, the sharpening pixel value of each pixel obtained comprises the R of each pixel, G, B tri-Color Channel sharpening pixel value, the sharpening pixel value composition mist elimination electric energy meter image of all pixels.
10. detection method as claimed in claim 9, wherein said storage subset, described haze Concentration Testing subset, described Region dividing subset, described black channel obtain subset, described overall air light value obtains subset, described atmospheric scattering light value obtains subset, described medium transmission rate obtains subset and described sharpening Image Acquisition subset is integrated on one piece of circuit board.
CN201510153570.9A 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter Pending CN104715488A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201510570736.7A CN105067636A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter
CN201510153570.9A CN104715488A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter
CN201510572477.1A CN105118064A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510153570.9A CN104715488A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN201510572477.1A Division CN105118064A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter
CN201510570736.7A Division CN105067636A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter

Publications (1)

Publication Number Publication Date
CN104715488A true CN104715488A (en) 2015-06-17

Family

ID=53414782

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201510153570.9A Pending CN104715488A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter
CN201510572477.1A Pending CN105118064A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter
CN201510570736.7A Pending CN105067636A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN201510572477.1A Pending CN105118064A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter
CN201510570736.7A Pending CN105067636A (en) 2015-04-01 2015-04-01 Method for detecting damage degree of outdoor electric energy meter

Country Status (1)

Country Link
CN (3) CN104715488A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112419228A (en) * 2020-10-14 2021-02-26 惠州高视科技有限公司 Method and device for detecting three-dimensional edge defect of cover plate

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107228976A (en) * 2016-03-25 2017-10-03 董岩岩 Automation kilowatt-hour meter based on image recognition
CN107228977A (en) * 2016-03-25 2017-10-03 董岩岩 A kind of automation kilowatt-hour meter based on image recognition
CN105842501A (en) * 2016-03-25 2016-08-10 宋健 Electric meter capable of automatically preventing electricity stealing
CN107229896A (en) * 2016-03-25 2017-10-03 李春 Intelligent type ammeter based on image detection
CN105842496A (en) * 2016-03-25 2016-08-10 李英 Use method of smart electric energy meter
CN105842503A (en) * 2016-03-25 2016-08-10 李萍 Ammeter capable of automatically detecting damage of outer frame
CN108663373A (en) * 2018-05-15 2018-10-16 国网重庆市电力公司电力科学研究院 A kind of electric energy meter surface structure and component information acquisition comparison method and system
CN111240583B (en) * 2019-03-19 2020-12-08 陈俊龙 Self-adaptive big data storage method
TW202247085A (en) * 2021-05-19 2022-12-01 神盾股份有限公司 Remote monitoring device and remote monitoring method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392432A (en) * 2014-11-03 2015-03-04 深圳市华星光电技术有限公司 Histogram of oriented gradient-based display panel defect detection method
CN104438128A (en) * 2014-12-16 2015-03-25 国家电网公司 Method for detecting and sorting integrally-disassembled electric energy meter

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007034755A (en) * 2005-07-27 2007-02-08 Tokyo Electric Power Co Inc:The Power energy meter reading assist device
CN102565747A (en) * 2012-01-10 2012-07-11 深圳市科陆电子科技股份有限公司 Automatic verification system and method for single-phase intelligent watt-hour meter
CN202815207U (en) * 2012-09-29 2013-03-20 郑州三晖电气股份有限公司 Intelligent electric energy meter appearance automatic detection device
CN103983940A (en) * 2014-05-15 2014-08-13 国家电网公司 Bar code scanning and appearance detecting mechanism and method of electric energy meter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392432A (en) * 2014-11-03 2015-03-04 深圳市华星光电技术有限公司 Histogram of oriented gradient-based display panel defect detection method
CN104438128A (en) * 2014-12-16 2015-03-25 国家电网公司 Method for detecting and sorting integrally-disassembled electric energy meter

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
凌振萍等: "《基于GPS与GPRS的智能电表的设计与实现》", 《现代科学仪器》 *
刘泉等: "《基于机器视觉的PCB缺陷检测系统设计与研究》", 《电子器件》 *
梁伟建等: "《基于机器视觉的智能电表外观缺陷检测系统设计》", 《电测与仪表》 *
瑚琦等: "《基于ARM9的摄像式无线抄表集中器的设计和实现》", 《电力系统通信》 *
陈剑鹏等: "《基于暗通道理论的快速单幅图像去雾算法》", 《计算机工程与设计》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112419228A (en) * 2020-10-14 2021-02-26 惠州高视科技有限公司 Method and device for detecting three-dimensional edge defect of cover plate
CN112419228B (en) * 2020-10-14 2022-04-05 高视科技(苏州)有限公司 Method and device for detecting three-dimensional edge defect of cover plate

Also Published As

Publication number Publication date
CN105067636A (en) 2015-11-18
CN105118064A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN104715488A (en) Method for detecting damage degree of outdoor electric energy meter
CN104700101B (en) Electric energy meter model detection method based on visual recognition
CN110910341B (en) Method and device for detecting defects of rusted areas of power transmission line
CN104702920B (en) Based on cmos image collection, electric energy meter is carried out to the method for automatic data logging
CN105137387A (en) Automatic checking method for faults of outdoor electric energy meter
CN105139391A (en) Edge detecting method for traffic image in fog-and-haze weather
CN104700425A (en) Detecting platform for damaged degrees of outdoor electric energy meter
CN105118264B (en) Electric energy meter wireless kilowatt meter reading-out system
CN107767366A (en) A kind of transmission line of electricity approximating method and device
CN104714068B (en) Robot to outdoor electric energy meter meter reading
CN105791755A (en) Method for automatically reading power meter by using automatic meter reading platform based on image collection
CN105791778A (en) CMOS image acquisition-based watt-hour meter automatic meter reading platform
CN105657230A (en) Method for automatically reading electric energy meter through automatic meter reading platform
CN104735420B (en) Based on the automatic copying electric meter platform that cmos image gathers
CN104700107A (en) Electric energy meter reading recognition apparatus based on image processing
CN105791758A (en) Method for automatically reading power meter
CN105791759A (en) Method for automatically reading power meter based on image collection
CN105791756A (en) Power meter automatic reading platform based on image collection and automatic meter reading method
CN105791757A (en) Power meter automatic reading platform and automatic meter reading method thereof
CN105740849A (en) Method for performing automatic data logging on electric energy meter based on image collection
CN105791779A (en) CMOS image acquisition-based watt-hour meter automatic meter reading platform
CN109345511A (en) A kind of highway unmanned plane self-checking system
CN105828042A (en) CMOS image collection-based electric energy meter automatic meter reading platform
CN104777836B (en) Outdoor electric energy meter meter reading method
CN105785088B (en) Robot to outdoor electric energy meter meter reading

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150617