CN105791778A - CMOS image acquisition-based watt-hour meter automatic meter reading platform - Google Patents
CMOS image acquisition-based watt-hour meter automatic meter reading platform Download PDFInfo
- Publication number
- CN105791778A CN105791778A CN201610259712.4A CN201610259712A CN105791778A CN 105791778 A CN105791778 A CN 105791778A CN 201610259712 A CN201610259712 A CN 201610259712A CN 105791778 A CN105791778 A CN 105791778A
- Authority
- CN
- China
- Prior art keywords
- value
- image
- subset
- bezel
- pixel
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims description 29
- 238000003379 elimination reaction Methods 0.000 claims description 23
- 239000003595 mist Substances 0.000 claims description 23
- 230000008030 elimination Effects 0.000 claims description 20
- 238000007781 pre-processing Methods 0.000 claims description 19
- 238000000034 method Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 10
- 238000012360 testing method Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 6
- 230000006978 adaptation Effects 0.000 claims description 3
- 238000001914 filtration Methods 0.000 claims description 3
- 238000003707 image sharpening Methods 0.000 claims description 3
- 239000000203 mixture Substances 0.000 claims description 3
- 230000003068 static effect Effects 0.000 claims description 3
- 210000000352 storage cell Anatomy 0.000 claims description 3
- XAGFODPZIPBFFR-UHFFFAOYSA-N aluminium Chemical compound [Al] XAGFODPZIPBFFR-UHFFFAOYSA-N 0.000 description 12
- 229910052782 aluminium Inorganic materials 0.000 description 12
- 230000000694 effects Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004907 flux Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical group [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/183—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/73—Deblurring; Sharpening
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention relates to a CMOS image acquisition-based watt-hour meter automatic meter reading platform, which comprises a digital signal processor, an LCD display screen, a FLASH memory and a CMOS image sensor, wherein the CMOS image sensor is used for photographing the frame of the watt-hour meter to acquire a frame image; the digital signal processor is connected with the CMOS image sensor for carrying out image processing on the frame image to acquire the reading of the watt-hour meter; the FLASH memory is connected with the digital signal processor for storing the reading of the watt-hour meter; and the LCD display screen is connected with the digital signal processor for displaying the reading of the watt-hour meter. Thus, the original tedious manual meter reading operation can be replaced, influences on meter reading by the haze weather can be overcome, and the meter reading efficiency and the meter reading precision are improved.
Description
The present invention is application number is 201510152726.1, the applying date be April 1, denomination of invention in 2015 is the divisional application of the patent of " based on the automatic copying electric meter platform that cmos image gathers ".
Technical field
The present invention relates to electric energy meter field, particularly relate to a kind of automatic copying electric meter platform gathered based on cmos image.
Background technology
Electric energy meter is measurement electric unit or the instrument of personal electric reading, it is power supply department charge and the important referential data of allotment electric power resource, electric energy meter is large number of simultaneously, and substantially each needs to arrange an electric energy meter by electric unit, and each family resident is also required to be separately provided an electric energy meter.Thus, from the value of electric energy meter and characteristic distributions it can be seen that the reading collection of electric energy meter needs to meet efficient and high-precision requirement simultaneously.
But, all there is intrinsic defect in electric energy meter reading scheme of the prior art: (1), although manual meter reading method can guarantee that the precision gathering reading, however it is necessary that the substantial amounts of cost of labor of consuming, and collecting efficiency is not high, and real-time is not strong;(2) more existing electronic meter reading schemes can only ensure the reading collection under home; owing to much electricity table is placed in open air; under the weather that visibility is relatively low; such as, under foggy days environment; the electric energy meter often causing shooting is image blurring unclear; correspondingly, the error in reading of identification is very big.
Therefore, need a kind of new automatic copying electric meter scheme, the mode adopting electronic meter reading substitutes original manual metering mode, simultaneously, electronic meter reading mode is carried out upgrading, increase Sharp processing of image function, overcome the foggy days adverse effect to electric energy meter Recognition of Reading such that it is able to meet the efficient and high-precision requirement that electric energy meter reading gathers.
Summary of the invention
In order to solve the problems referred to above, the invention provides a kind of automatic copying electric meter platform gathered based on cmos image, high-precision acquisition technology and image processing techniques is utilized to build a set of automatic copying electric meter platform, ensure the high efficiency of data acquisition, meanwhile, determine the haze influence factor to image according to atmospheric attenuation model, and the electric energy meter image gathered under foggy days is carried out the process of mist elimination hazeization, obtain electric energy meter image clearly, thus ensureing the accuracy that reading gathers.
According to an aspect of the present invention, provide a kind of automatic copying electric meter platform gathered based on cmos image, described platform includes digital signal processor, LCD display, FLASH memory and cmos image sensor, described cmos image sensor is for shooting to obtain bezel, cluster image to the bezel, cluster of electric energy meter, described digital signal processor is connected with described cmos image sensor, for described bezel, cluster image is carried out image procossing, to obtain electric energy meter reading, described FLASH memory is connected with described digital signal processor, for storing described electric energy meter reading, described LCD display is connected with described digital signal processor, for showing described electric energy meter reading.
More specifically, in the described automatic copying electric meter platform gathered based on cmos image, also include: CSI interface, between cmos image sensor and image-preprocessing device, send image-preprocessing device to for the bezel, cluster image shot by described cmos image sensor;First parallel port, between described digital signal processor and described LCD display, sends described LCD display to display for the electric energy meter reading obtained by described digital signal processor;Second parallel port, between described digital signal processor and described FLASH memory, sends described FLASH memory to store for the electric energy meter reading obtained by described digital signal processor;Power supply, including solar powered device, accumulator, switching switch and electric pressure converter, described switching switch is connected respectively with described solar powered device and described accumulator, decide whether to 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 switching switch, so that the 5V voltage inputted by switching switch is converted to 3.3V voltage;Image-preprocessing device, between described CSI interface and described digital signal processor, for receiving described bezel, cluster image, described bezel, cluster image carries out mist elimination process to obtain mist elimination bezel, cluster image, described mist elimination bezel, cluster image is inputted described digital signal processor to carry out image procossing to obtain electric energy meter reading;Described image-preprocessing device also includes: storage 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 isolating the sky areas in image, being additionally operable to prestore 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 determines that intensity removed by haze according to haze concentration, and described haze removes intensity value between 0 to 1;Region divides subset, connect described CSI interface to receive described bezel, cluster image, described bezel, cluster image carries out gray processing process to obtain gray processing bezel, cluster image, also it is connected with storage subset, by the pixel identification between described sky upper limit gray threshold and described sky lower limit gray threshold of the gray value in described gray processing bezel, cluster image and form gray processing sky sub pattern, it is partitioned into described gray processing sky sub pattern to obtain the non-sky subimage of gray processing from described gray processing bezel, cluster image, the colour non-sky subimage corresponding with described gray processing non-sky subimage is obtained based on described gray processing non-sky subimage position in described bezel, cluster image;Black channel obtains subset, divide subset with described region to be connected 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 a minimum Color Channel pixel value place of numerical value in Color Channel pixel value as black channel;Overall air light value obtains subset, it is connected to obtain presetted pixel value threshold value with described storage subset, divide subset with described region and described black channel obtains subset and is connected respectively to obtain described bezel, cluster image and described black channel, black channel pixel value in described bezel, cluster image is formed set of pixels to be tested be more than or equal to multiple pixels of presetted pixel value threshold value, using the gray value of the pixel in described set of pixels to be tested with maximum gradation value as overall air light value;nullAtmospheric scattering light value obtains subset,Divide subset with described region and described haze Concentration Testing subset is connected respectively,Each pixel to described bezel, cluster image,Extract its R,G,In B tri-Color Channel pixel value, minima is as target pixel value,Use and keep the Gaussian filter EPGF (edge-preservinggaussianfilter) at edge to be filtered described target pixel value processing to obtain filtered target pixel value,Target pixel value is deducted filtered target pixel value to obtain object pixel difference,EPGF is used to be filtered object pixel difference processing to obtain filtered target pixel value difference,Filtered target pixel value is deducted filtered target pixel value difference and removes reference value to obtain haze,Haze is removed intensity and is multiplied by haze removal reference value to obtain haze removal threshold value,Take haze and remove the minima in threshold value and target pixel value as comparison reference,Take the atmospheric scattering light value as each pixel of the maximum in comparison reference and 0;Medium transmission rate obtains subset, obtain subset with described overall air light value and described atmospheric scattering light value obtains subset and is connected respectively, by the atmospheric scattering light value of each pixel divided by overall air light value to obtain except value, deduct described except value is to obtain the medium transmission rate of each pixel by 1;nullSharpening Image Acquisition subset,Subset is divided with described region、Described overall air light value obtains subset and described medium transmission rate obtains subset and connects respectively,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 bezel, cluster 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 bezel, cluster image, the pixel value of each pixel includes the R of each pixel in described bezel, cluster image,G,B tri-Color Channel pixel value,Correspondingly,The sharpening pixel value of each pixel obtained includes the R of each pixel,G,B tri-Color Channel sharpening pixel value,The sharpening pixel value composition mist elimination bezel, cluster image of all pixels;Described mist elimination bezel, cluster image, after receiving described mist elimination bezel, cluster image, is sequentially carried out image sharpening, self adaptation recursive filtering and OCR identifying processing, to obtain electric energy meter reading by described digital signal processor;Wherein, described haze Concentration Testing subset is also built-in with static storage cell, is used for prestoring comparison table, and described comparison table saves haze concentration and the corresponding relation between intensity removed by haze.
More specifically, in the described automatic copying electric meter platform gathered based on cmos image, described cmos image sensor is the OV7640 sensor of Omnivision company.
More specifically, in the described automatic copying electric meter platform gathered based on cmos image, described region divides 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 respectively adopted different fpga chips and realizes.
More specifically, in the described automatic copying electric meter platform gathered based on cmos image, described region divides 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.
More specifically, in the described automatic copying electric meter platform gathered based on cmos image, described region divides 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 in one piece of fpga chip.
Accompanying drawing explanation
Below with reference to accompanying drawing, embodiment of the present invention are described, wherein:
Fig. 1 is the block diagram of the automatic copying electric meter platform gathered based on cmos image illustrated according to an embodiment of the present invention.
Detailed description of the invention
Below with reference to accompanying drawings the embodiment based on the automatic copying electric meter platform of cmos image collection of the present invention is described in detail.
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.
The operation principle of electric energy meter is as follows: when electric energy meter is accessed circuit-under-test, and current coil and just have alternating current to flow through in potential winding, the two alternating current produces the magnetic flux of alternation respectively in their iron core;Alternating flux, through aluminum dish, induces eddy current in aluminum dish;Eddy current is subject to again the effect of power in magnetic field, so that aluminum dish obtains torque (actively moment) and rotates.The power of load consumption is more big, more big by the electric current of current coil, and the eddy current induced in aluminum dish is also more big, makes the moment that aluminum dish rotates more big.Namely the size of torque is directly proportional with the power of load consumption.Power is more big, and torque is also more big, and aluminum dish rotates also more fast.When aluminum dish rotates, being subject to again the effect of the braking moment that permanent magnet produces, braking moment is with actively moment is in opposite direction;The size of braking moment is directly proportional to the rotating speed of aluminum dish, and aluminum dish rotates more fast, and braking moment is also more big.When active moment reaches temporary equilibrium with braking moment, aluminum dish is by uniform rotation.The electric energy that load consumes is directly proportional to the revolution of aluminum dish.When aluminum dish rotates, drive enumerator, the electric energy consumed is indicated.Here it is the simple procedure of electric energy meter work.
Owing to electric energy meter has widely distributed, and the correctness of electric energy meter reading is extremely important.Therefore, the collection of electric energy meter reading should be quickly accurate again.But electric energy meter reading acquisition platform of the prior art cannot meet this 2 requirements simultaneously.For this, the present invention has built a kind of automatic copying electric meter platform gathered based on cmos image, efficient requirement is met by image acquisition and processing technology targetedly, processed by mist elimination hazeization and realize also carrying out under vile weather the collection of high-precision electric energy meter reading, thus meeting the setting requirement of power supply department.
Fig. 1 is the block diagram of the automatic copying electric meter platform gathered based on cmos image illustrated according to an embodiment of the present invention, described platform includes digital signal processor 1, LCD display 4, FLASH memory 3 and cmos image sensor 2, described cmos image sensor 2 is for shooting to obtain bezel, cluster image to the bezel, cluster of electric energy meter, described digital signal processor 1 is connected with described cmos image sensor 2, for described bezel, cluster image is carried out image procossing, to obtain electric energy meter reading, described FLASH memory 3 is connected with described digital signal processor 1, for storing described electric energy meter reading, described LCD display 4 is connected with described digital signal processor 1, for showing described electric energy meter reading.
Then, continue the concrete structure based on the automatic copying electric meter platform of cmos image collection of the present invention is further detailed.
Described platform also includes: CSI interface, between cmos image sensor 2 and image-preprocessing device, for sending the bezel, cluster image that described cmos image sensor 2 shoots to image-preprocessing device.
Described platform also includes: the first parallel port, between described digital signal processor 1 and described LCD display 4, for sending the electric energy meter reading that described digital signal processor 1 obtains to described LCD display 4 to display.
Described platform also includes: the second parallel port, between described digital signal processor 1 and described FLASH memory 3, for sending the electric energy meter reading that described digital signal processor 1 obtains to described FLASH memory 3 to store.
Described platform also includes: power supply, including solar powered device, accumulator, switching switch and electric pressure converter, described switching switch is connected respectively with described solar powered device and described accumulator, decide whether to 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 switching switch, so that the 5V voltage inputted by switching switch is converted to 3.3V voltage.
Described platform also includes: image-preprocessing device, between described CSI interface and described digital signal processor 1, for receiving described bezel, cluster image, described bezel, cluster image carries out mist elimination process to obtain mist elimination bezel, cluster image, described mist elimination bezel, cluster image is inputted described digital signal processor 1 to carry out image procossing to obtain electric energy meter reading.
Described image-preprocessing device also includes: storage 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 isolating the sky areas in image, being additionally operable to prestore presetted pixel value threshold value, described presetted pixel value threshold value value is between 0 to 255.
Described image-preprocessing device also includes: haze Concentration Testing subset, is arranged in air, for detecting the haze concentration of electric energy meter position in real time, and determines that intensity removed by haze according to haze concentration, and described haze removes intensity value between 0 to 1.
Described image-preprocessing device also includes: region divides subset, connect described CSI interface to receive described bezel, cluster image, described bezel, cluster image carries out gray processing process to obtain gray processing bezel, cluster image, also it is connected with storage subset, by the pixel identification between described sky upper limit gray threshold and described sky lower limit gray threshold of the gray value in described gray processing bezel, cluster image and form gray processing sky sub pattern, it is partitioned into described gray processing sky sub pattern to obtain the non-sky subimage of gray processing from described gray processing bezel, cluster image, the colour non-sky subimage corresponding with described gray processing non-sky subimage is obtained based on described gray processing non-sky subimage position in described bezel, cluster image.
Described image-preprocessing device also includes: black channel obtains subset, divide subset with described region to be connected 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 a minimum Color Channel pixel value place of numerical value in Color Channel pixel value as black channel.
Described image-preprocessing device also includes: overall air light value obtains subset, it is connected to obtain presetted pixel value threshold value with described storage subset, divide subset with described region and described black channel obtains subset and is connected respectively to obtain described bezel, cluster image and described black channel, black channel pixel value in described bezel, cluster image is formed set of pixels to be tested be more than or equal to multiple pixels of presetted pixel value threshold value, using the gray value of the pixel in described set of pixels to be tested with maximum gradation value as overall air light value.
nullDescribed image-preprocessing device also includes: atmospheric scattering light value obtains subset,Divide subset with described region and described haze Concentration Testing subset is connected respectively,Each pixel to described bezel, cluster image,Extract its R,G,In B tri-Color Channel pixel value, minima is as target pixel value,Use and keep the Gaussian filter EPGF (edge-preservinggaussianfilter) at edge to be filtered described target pixel value processing to obtain filtered target pixel value,Target pixel value is deducted filtered target pixel value to obtain object pixel difference,EPGF is used to be filtered object pixel difference processing to obtain filtered target pixel value difference,Filtered target pixel value is deducted filtered target pixel value difference and removes reference value to obtain haze,Haze is removed intensity and is multiplied by haze removal reference value to obtain haze removal threshold value,Take haze and remove the minima in threshold value and target pixel value as comparison reference,Take the atmospheric scattering light value as each pixel of the maximum in comparison reference and 0.
Described image-preprocessing device also includes: medium transmission rate obtains subset, obtain subset with described overall air light value and described atmospheric scattering light value obtains subset and is connected respectively, by the atmospheric scattering light value of each pixel divided by overall air light value to obtain except value, deduct described except value is to obtain the medium transmission rate of each pixel by 1.
nullDescribed image-preprocessing device also includes: sharpening Image Acquisition subset,Subset is divided with described region、Described overall air light value obtains subset and described medium transmission rate obtains subset and connects respectively,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 bezel, cluster 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 bezel, cluster image, the pixel value of each pixel includes the R of each pixel in described bezel, cluster image,G,B tri-Color Channel pixel value,Correspondingly,The sharpening pixel value of each pixel obtained includes the R of each pixel,G,B tri-Color Channel sharpening pixel value,The sharpening pixel value composition mist elimination bezel, cluster image of all pixels.
Described mist elimination bezel, cluster image, after receiving described mist elimination bezel, cluster image, is sequentially carried out image sharpening, self adaptation recursive filtering and OCR identifying processing, to obtain electric energy meter reading by described digital signal processor 1.
Wherein, described haze Concentration Testing subset is also built-in with static storage cell, is used for prestoring comparison table, and described comparison table saves haze concentration and the corresponding relation between intensity removed by haze.More specifically, in the described automatic copying electric meter platform gathered based on cmos image, described cmos image sensor is the OV7640 sensor of Omnivision company.
nullWherein,In described platform,Described region divides 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 can be respectively adopted different fpga chips and realize,Described region divides 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 can be integrated on one piece of circuit board,Alternatively,Described region divides 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 can be integrated in one piece of fpga chip.
It addition, haze image can process equipment by a series of images realizes the mist elimination haze of image, to obtain the image of sharpening, improve the visibility of image.These image processing equipments perform different image processing functions respectively, based on the principle that haze is formed, reach to remove the effect of haze.The sharpening of haze image processes all has great using value for dual-use field, and military domain includes military and national defense, remote sensing navigation etc., and civil area includes 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, medium transmission rate according to overall air light value and each pixel, it is possible to solve sharpening image.
nullThere are some means effectively and through verifying in the solving of medium transmission rate for overall air light value and each pixel,Such as,Medium transmission rate for each pixel,Need to obtain the atmospheric scattering light value of overall air light value and each pixel,And the atmospheric scattering light value of each pixel can obtain each pixel pixel value in haze image is performed twice at the Gaussian smoothing filter keeping edge,Therebetween,The intensity that haze is removed is adjustable,And entirety air light value can (the black channel value namely making some pixels in haze image be non-normally low by obtaining the black channel of haze image,Black channel is R,G,One in B tri-Color Channel),In haze image,The pixel finding gray value maximum in multiple pixels bigger than normal by finding black channel pixel value obtains,It is about to search out、The gray value of the pixel that gray value is maximum is as overall air light value,Participate in the sharpening of each pixel in haze image to process.Relation between concrete haze image and real image and sharpening image, and the relation between parameters can referring to above content.
By the discussion to haze image formation basic theory, build the relation between haze image and sharpening image, this relation is represented by multiple parameters, subsequently by the multiple parameter values obtained and haze image and the higher image of reducible acquisition definition, some statistical means and empirical means has been used due to the acquisition of parameter, therefore the image that described definition is higher can not be fully equivalent to real image, but there is considerable degree of mist elimination haze effect, provide effective guarantee for the every field operation under haze weather.
It addition, parallel port and parallel interface, refer to adopt parallel transmission mode to transmit the interface standard of data.From a simplest parallel data register or special purpose interface IC chip such as 8255,6820 etc., to more complicated SCSI or IDE parallel interface, kind has tens of kinds.
The interface features of one parallel interface can be been described by from two aspects: the width of the data channel 1, transmitted in a parallel fashion, also referred to as the figure place of interface transmission;2, for coordinating the additional interface control line of parallel data transmission or claiming the characteristic of interactive signal.The width of data from 1-128 position or wider, can be most commonly used that 8, can pass through interface and once transmit 8 data bit.At the LPT interface that the parallel interface that computer realm is the most frequently used is known as.
Adopt the automatic copying electric meter platform gathered based on cmos image of the present invention, for existing electric energy meter reading ineffective systems and would be likely to occur, at vile weather, the technical problem that precision is not high, by adopting image acquisition and image processing techniques targetedly, substitute manual metering mode, improve meter reading efficiency, simultaneously, add the image preprocess apparatus based on atmospheric attenuation model and realize the process of mist elimination hazeization, reduce haze on the impact of quality of image of checking meter, it is to avoid it is disturbed that electric energy meter reading gathers data.
Although it is understood that the present invention discloses as above with preferred embodiment, but above-described embodiment is not limited to the present invention.For any those of ordinary skill in the art, without departing under technical solution of the present invention ambit, all may utilize the technology contents of the disclosure above and technical solution of the present invention is made many possible variations and modification, or be 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, to any simple modification made for any of the above embodiments, equivalent variations and modification, all still falls within the scope of technical solution of the present invention protection.
Claims (2)
1. the automatic copying electric meter platform gathered based on cmos image, it is characterized in that, described platform includes digital signal processor, LCD display, FLASH memory and cmos image sensor, described cmos image sensor is for shooting to obtain bezel, cluster image to the bezel, cluster of electric energy meter, described digital signal processor is connected with described cmos image sensor, for described bezel, cluster image is carried out image procossing, to obtain electric energy meter reading, described FLASH memory is connected with described digital signal processor, for storing described electric energy meter reading, described LCD display is connected with described digital signal processor, for showing described electric energy meter reading.
2. the automatic copying electric meter platform gathered based on cmos image as claimed in claim 1, it is characterised in that described platform also includes:
CSI interface, between cmos image sensor and image-preprocessing device, sends image-preprocessing device to for the bezel, cluster image shot by described cmos image sensor;
First parallel port, between described digital signal processor and described LCD display, sends described LCD display to display for the electric energy meter reading obtained by described digital signal processor;
Second parallel port, between described digital signal processor and described FLASH memory, sends described FLASH memory to store for the electric energy meter reading obtained by described digital signal processor;
Power supply, including solar powered device, accumulator, switching switch and electric pressure converter, described switching switch is connected respectively with described solar powered device and described accumulator, decide whether to 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 switching switch, so that the 5V voltage inputted by switching switch is converted to 3.3V voltage;
Image-preprocessing device, between described CSI interface and described digital signal processor, for receiving described bezel, cluster image, described bezel, cluster image carries out mist elimination process to obtain mist elimination bezel, cluster image, described mist elimination bezel, cluster image is inputted described digital signal processor to carry out image procossing to obtain electric energy meter reading;
Described image-preprocessing device also includes:
Storage 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 isolating the sky areas in image, being additionally operable to prestore 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 determines that intensity removed by haze according to haze concentration, and described haze removes intensity value between 0 to 1;
Region divides subset, connect described CSI interface to receive described bezel, cluster image, described bezel, cluster image carries out gray processing process to obtain gray processing bezel, cluster image, also it is connected with storage subset, by the pixel identification between described sky upper limit gray threshold and described sky lower limit gray threshold of the gray value in described gray processing bezel, cluster image and form gray processing sky sub pattern, it is partitioned into described gray processing sky sub pattern to obtain the non-sky subimage of gray processing from described gray processing bezel, cluster image, the colour non-sky subimage corresponding with described gray processing non-sky subimage is obtained based on described gray processing non-sky subimage position in described bezel, cluster image;
Black channel obtains subset, divide subset with described region to be connected 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 a minimum Color Channel pixel value place of numerical value in Color Channel pixel value as black channel;
Overall air light value obtains subset, it is connected to obtain presetted pixel value threshold value with described storage subset, divide subset with described region and described black channel obtains subset and is connected respectively to obtain described bezel, cluster image and described black channel, black channel pixel value in described bezel, cluster image is formed set of pixels to be tested be more than or equal to multiple pixels of presetted pixel value threshold value, using the gray value of the pixel in described set of pixels to be tested with maximum gradation value as overall air light value;
nullAtmospheric scattering light value obtains subset,Divide subset with described region and described haze Concentration Testing subset is connected respectively,Each pixel to described bezel, cluster image,Extract its R,G,In B tri-Color Channel pixel value, minima is as target pixel value,Use and keep the Gaussian filter EPGF at edge to be filtered described target pixel value processing to obtain filtered target pixel value,Target pixel value is deducted filtered target pixel value to obtain object pixel difference,EPGF is used to be filtered object pixel difference processing to obtain filtered target pixel value difference,Filtered target pixel value is deducted filtered target pixel value difference and removes reference value to obtain haze,Haze is removed intensity and is multiplied by haze removal reference value to obtain haze removal threshold value,Take haze and remove the minima in threshold value and target pixel value as comparison reference,Take the atmospheric scattering light value as each pixel of the maximum in comparison reference and 0;
Medium transmission rate obtains subset, obtain subset with described overall air light value and described atmospheric scattering light value obtains subset and is connected respectively, by the atmospheric scattering light value of each pixel divided by overall air light value to obtain except value, deduct described except value is to obtain the medium transmission rate of each pixel by 1;
nullSharpening Image Acquisition subset,Subset is divided with described region、Described overall air light value obtains subset and described medium transmission rate obtains subset and connects respectively,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 bezel, cluster 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 bezel, cluster image, the pixel value of each pixel includes the R of each pixel in described bezel, cluster image,G,B tri-Color Channel pixel value,Correspondingly,The sharpening pixel value of each pixel obtained includes the R of each pixel,G,B tri-Color Channel sharpening pixel value,The sharpening pixel value composition mist elimination bezel, cluster image of all pixels;
Described mist elimination bezel, cluster image, after receiving described mist elimination bezel, cluster image, is sequentially carried out image sharpening, self adaptation recursive filtering and OCR identifying processing, to obtain electric energy meter reading by described digital signal processor;
Wherein, described haze Concentration Testing subset is also built-in with static storage cell, is used for prestoring comparison table, and described comparison table saves haze concentration and the corresponding relation between intensity removed by haze;
Described cmos image sensor is the OV7640 sensor of Omnivision company;
Described region divides 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 respectively adopted different fpga chips and realizes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610259712.4A CN105791778A (en) | 2015-04-01 | 2015-04-01 | CMOS image acquisition-based watt-hour meter automatic meter reading platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610259712.4A CN105791778A (en) | 2015-04-01 | 2015-04-01 | CMOS image acquisition-based watt-hour meter automatic meter reading platform |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510152726.1A Division CN104735420B (en) | 2015-04-01 | 2015-04-01 | Based on the automatic copying electric meter platform that cmos image gathers |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105791778A true CN105791778A (en) | 2016-07-20 |
Family
ID=56398398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610259712.4A Pending CN105791778A (en) | 2015-04-01 | 2015-04-01 | CMOS image acquisition-based watt-hour meter automatic meter reading platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105791778A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109948756A (en) * | 2019-03-14 | 2019-06-28 | 重庆中陆承大科技有限公司 | Meter register method and kilowatt meter reading-out system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201955891U (en) * | 2011-01-20 | 2011-08-31 | 浙江海洋学院 | Intelligent direct-reading automatic meter reading system based on image recognition technology |
CN102170574A (en) * | 2011-05-23 | 2011-08-31 | 北京工业大学 | Real-time video defogging system |
CN103067512A (en) * | 2012-12-31 | 2013-04-24 | 邢台县供电有限责任公司 | Intelligent meter reading system |
CN103077478A (en) * | 2012-12-31 | 2013-05-01 | 邢台县供电有限责任公司 | Meter reading management method |
-
2015
- 2015-04-01 CN CN201610259712.4A patent/CN105791778A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201955891U (en) * | 2011-01-20 | 2011-08-31 | 浙江海洋学院 | Intelligent direct-reading automatic meter reading system based on image recognition technology |
CN102170574A (en) * | 2011-05-23 | 2011-08-31 | 北京工业大学 | Real-time video defogging system |
CN103067512A (en) * | 2012-12-31 | 2013-04-24 | 邢台县供电有限责任公司 | Intelligent meter reading system |
CN103077478A (en) * | 2012-12-31 | 2013-05-01 | 邢台县供电有限责任公司 | Meter reading management method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109948756A (en) * | 2019-03-14 | 2019-06-28 | 重庆中陆承大科技有限公司 | Meter register method and kilowatt meter reading-out system |
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 | |
CN105120244B (en) | Based on the method that electric energy meter is carried out automatic data logging by cmos image collection | |
CN106996751B (en) | A kind of grain-transporting vehicle cereal loading condition detection method and device of view-based access control model image | |
CN109872309A (en) | Detection system, method, apparatus and computer readable storage medium | |
CN106530271A (en) | Infrared image significance detection method | |
CN105118264B (en) | Electric energy meter wireless kilowatt meter reading-out system | |
CN105791778A (en) | CMOS image acquisition-based watt-hour meter automatic meter reading platform | |
CN104735420B (en) | Based on the automatic copying electric meter platform that cmos image gathers | |
CN105791755A (en) | Method for automatically reading power meter by using automatic meter reading platform based on image collection | |
CN104700425B (en) | Outdoor electric energy meter damaged degree detection platform | |
CN105657230A (en) | Method for automatically reading electric energy meter through automatic meter reading platform | |
CN105791779A (en) | CMOS image acquisition-based watt-hour meter automatic meter reading platform | |
CN105791757A (en) | Power meter automatic reading platform and automatic meter reading method thereof | |
CN105791756A (en) | Power meter automatic reading platform based on image collection and automatic meter reading method | |
CN105791758A (en) | Method for automatically reading power meter | |
CN105791759A (en) | Method for automatically reading power meter based on image collection | |
CN105828042A (en) | CMOS image collection-based electric energy meter automatic meter reading platform | |
CN105740849A (en) | Method for performing automatic data logging on electric energy meter based on image collection | |
CN116883893A (en) | Tunnel face underground water intelligent identification method and system based on infrared thermal imaging | |
CN104714068A (en) | Robot for outdoor electric energy meter to read meter | |
CN112508891B (en) | AI intelligent defect identification magnetic powder flaw detection system based on mobile phone and method thereof | |
CN104700107A (en) | Electric energy meter reading recognition apparatus based on image processing | |
CN109345511A (en) | A kind of highway unmanned plane self-checking system | |
CN220491342U (en) | In-situ image acquisition device for grading small red bean seeds |
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 |
Application publication date: 20160720 |