A kind of light measuring method of imageing sensor and device
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of photometry light method and device of imageing sensor.
Background technology
At present, the security protection industry enters high-definition video monitoring period, adopts the COMS transducer of 1,000,000 grades to become more and more popular.But the light simultaneous measurement aspect of transducer, technology rests on the metering mode that adopts camera or CCD.Take landscape and select face photometry etc.Because security monitoring video camera adopts cmos sensor, continuously shooting environmental and target is unpredictable, simultaneously in order to guarantee good sensitive time, adopt the exposure mode of set time usually, makes photometry become problem.If process the bad local overexposure that just there will be, and the local phenomenon such as under-exposure, thereby can't obtain the video image of optimum visual.
Summary of the invention
For the problems referred to above, the invention provides light measuring method and the device of the imageing sensor that a kind of photometry precision is high.
For achieving the above object, the light measuring method of imageing sensor of the present invention comprises:
Viewfinder image is divided into to some photometry subregions;
Respectively single photometry subregion is carried out to photometry;
Photometry result based on single photometry subregion, the exposure value of the whole viewfinder image of conformity calculation.
Further, the reflecting rate of described photometry subregion is 18%.
Further, on described viewfinder image laterally or vertically respectively interval choose the photometry subregion and carry out photometry.
To achieve the above object of the invention, the light measurer of imageing sensor of the present invention comprises: division unit, for viewfinder image being divided into to some photometry subregions;
The parallel computation unit, for carrying out photometry to single photometry subregion respectively;
The exposure value computing unit, for the photometry result based on single photometry subregion, the exposure value of the whole viewfinder image of conformity calculation.
Further, described parallel computation unit also comprises the chooser unit, on described viewfinder image laterally or vertically respectively interval choose the photometry subregion and carry out photometry.
The present invention, adopt the hardware designs thinking, the brightness value of parallel measurement and statistics regional unit, and then glad lifting the precision of photometry, for follow-up exposure provides good parameter.
The accompanying drawing explanation
Fig. 1 be the photometry light method of imageing sensor of the present invention and device viewfinder image photometry subregion distribution map.
Embodiment
Below in conjunction with Figure of description, the present invention will be further described.
The improvement HD video photometry scheme of the property of the present invention is directed to, the method for employing parallel computation, dynamically, detect shooting environmental on a large scale, for exposure scheme provides high performance photometry technology.
The prerequisite of carrying out the adjustment of exposure parameter according to scene changes is to want the light intensity of perception environment, both photometry.The reflecting rate of photometry technology hypothesis institute photometry region is 18% and provides exposure parameter.Photometry generally be divided into incident light measuring and reflective photometry, incident light measuring is incident light, general external light meter is taked this mode usually; Reflective photometry measurement is reverberation, and light is mapped to reflect on object wide, and general video camera adopts reflective photometry mostly.
As shown in Figure 1, the embodiment of the present invention provides a kind of matrix photometry, and it claims again domain test, is that the picture segmentation of finding a view becomes some photometry regions, and the light measuring method of the described imageing sensor of the present embodiment comprises:
Viewfinder image is divided into to some photometry subregions;
Respectively single photometry subregion is carried out to photometry;
Photometry result based on single photometry subregion, the exposure value of the whole viewfinder image of conformity calculation.
In the present embodiment, whole viewfinder image is divided into to the zone that 112 pixel resolutions are the 128*128 size, on described viewfinder image laterally or vertically respectively interval choose the photometry subregion and carry out photometry.The reflecting rate of the subregion of photometry described in the present embodiment is 18%.
The method of corresponding this enforcement, the light measurer of the present embodiment imageing sensor comprises:
Division unit, for being divided into viewfinder image some photometry subregions;
The parallel computation unit, for carrying out photometry to single photometry subregion respectively;
The exposure value computing unit, for the photometry result based on single photometry subregion, the exposure value of the whole viewfinder image of conformity calculation.
Further, described parallel computation unit also comprises the chooser unit, on described viewfinder image laterally or vertically respectively interval choose the photometry subregion and carry out photometry.
The present invention, adopt the hardware designs thinking, the brightness value of parallel measurement and statistics regional unit, and then glad lifting the precision of photometry, for follow-up exposure provides good parameter.
Above; be only preferred embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range that claim was defined.