Bias light regulating system based on pupil radium detection
Technical field
Field is adjusted the present invention relates to bias light more particularly to a kind of bias light based on pupil radium detection adjusts system
System.
Background technology
Tablet computer is also portable computer (English:Tablet Personal Computer, abbreviation Tablet PC,
Flat Pc, Tablet, Slates), it is a kind of small-sized, PC for being convenient for carrying, is set using touch screen as basic input
It is standby.Touch screen that he possesses (also referred to as numerical digit plate technique) allow user operation is carried out by stylus or digital pen rather than
Traditional keyboard or mouse.User can be true by soft keyboard on built-in handwriting recognition, screen, speech recognition or one
Positive keyboard realizes input (if the type is equipped with).
Due to the advantages that tablet computer is abundant in content and screen is larger, user's frequency of use is more, and usage time is longer, but
The background light level of the display screen of tablet computer is fixed, and is not adjusted in time with user's service condition, does not only result in background list
Solely, and the bias light of constant brightness is easier harm users eyes.
Invention content
To solve the above-mentioned problems, the present invention provides a kind of bias light regulating system based on pupil radium detection, energy
Enough background light levels that display screen that the bias light adjustment equipment of tablet computer is adjusted is determined based on the real-time pupil radium of user.
More specifically, the present invention at least has following important inventive point:
(1) be judge the factor with image resolution ratio, the selection image enhancement processing pattern adaptable with image resolution ratio with
Ensure the image enhancement effects of various resolution ratio;
(2) in high-resolution image enhancement processing pattern, piecemeal tupe is used to improve enhancing arithmetic speed;
(3) the bias light regulation mechanism based on spectators' pupil radium measurement result has been built, has ensured the background of tablet computer
Light reaches the demand for adapting to spectators' pupil.
According to an aspect of the present invention, a kind of bias light regulating system detected based on pupil radium, the system are provided
System includes:
Bias light adjustment equipment is arranged on the integrated circuit board of tablet computer, the display screen for adjusting tablet computer
Background light level;
Data acquisition equipment is arranged in the front baffle of tablet computer, under the operation of user, shooting tablet computer
Forward image is additionally operable under the operation of no user, the face-image of timed shooting user;
Resolution ratio analyzing device is connect with the data acquisition equipment, for receiving face-image, obtains the face figure
As current resolution ratio as image resolution ratio to export;
Mode control device is connect with the resolution ratio analyzing device, pre- for being less than or equal in described image resolution ratio
If when resolution threshold, the roughcast formula enhancing equipment is selected to carry out corresponding image enhancement processing to the face-image to obtain
Targets improvement image is obtained, is additionally operable to, when described image resolution ratio is more than the default resolution threshold, select the thin pattern
Enhance equipment and corresponding image enhancement processing is carried out to obtain targets improvement image to the face-image.
Description of the drawings
Embodiment of the present invention is described below with reference to attached drawing, wherein:
Fig. 1 is at the DSP according to the bias light regulating system based on pupil radium detection shown in embodiment of the present invention
Manage the interface diagram of chip.
Fig. 2 is the structure side according to the bias light regulating system based on pupil radium detection shown in embodiment of the present invention
Block diagram.
Specific implementation mode
Below with reference to accompanying drawings to the implementation of the bias light regulating system and method based on pupil radium detection of the present invention
Scheme is described in detail.
The background light level of tablet personal computer display screen is fixed in the prior art, can not adaptively be adjusted.It is above-mentioned in order to overcome
Deficiency, the present invention has built a kind of bias light regulating system detected based on pupil radium and method, specific embodiment are as follows.
Fig. 1 is at the DSP according to the bias light regulating system based on pupil radium detection shown in embodiment of the present invention
Manage the interface diagram of chip.As shown in Figure 1, DSP processing chips are located at the positions MCU.
Fig. 2 is the structure side according to the bias light regulating system based on pupil radium detection shown in embodiment of the present invention
Block diagram, the system comprises:
Bias light adjustment equipment is arranged on the integrated circuit board of tablet computer, the display screen for adjusting tablet computer
Background light level;
Data acquisition equipment is arranged in the front baffle of tablet computer, under the operation of user, shooting tablet computer
Forward image is additionally operable under the operation of no user, the face-image of timed shooting user;
Resolution ratio analyzing device is connect with the data acquisition equipment, for receiving face-image, obtains the face figure
As current resolution ratio as image resolution ratio to export;
Mode control device is connect with the resolution ratio analyzing device, pre- for being less than or equal in described image resolution ratio
If when resolution threshold, roughcast formula enhancing equipment is selected to carry out corresponding image enhancement processing to the face-image to obtain mesh
Mark enhancing image is additionally operable to when described image resolution ratio is more than the default resolution threshold, selects thin pattern enhancing equipment
Corresponding image enhancement processing is carried out to obtain targets improvement image to the face-image;
Thin pattern enhances equipment, is connect respectively with the resolution ratio analyzing device and the mode control device, including right
Than degree enhancer equipment and edge enhancer equipment, the contrast enhancer equipment is based on for receiving the face-image
The face-image is averagely divided into relevant block size by distance of the described image resolution ratio apart from the default resolution threshold
Each piecemeal, to each piecemeal, the pixel value variance based on the piecemeal selects the contrast of corresponding varying strength to enhance
Processing is spliced each enhancing piecemeal of acquisition with obtaining enhancing piecemeal to obtain splicing enhancing image, the edge enhancer
Equipment is connect with the contrast enhancer equipment, is enhanced image for receiving the splicing, is enhanced image based on the splicing
Resolution ratio the splicing enhanced into image averaging be divided into corresponding block size apart from the far and near of the default resolution threshold
Each piecemeal, to each piecemeal, the pixel value variance based on the piecemeal selects the edge enhancing processing of corresponding varying strength
Enhance piecemeal to obtain, each enhancing piecemeal of acquisition is spliced to obtain targets improvement image;
Roughcast formula enhances equipment, is connect respectively with the resolution ratio analyzing device and the mode control device, for connecing
The face-image is received, and to the face-image overall execution contrast enhancement processing to obtain targets improvement image;
Pupil detection equipment is connect respectively with the thin pattern enhancing equipment and roughcast formula enhancing equipment, for connecing
The targets improvement image is received, is increased from the target based on default pupil upper limit gray threshold and default pupil lower limit gray threshold
It is partitioned into pupil subgraph in strong image, and real-time pupil radium is determined based on the pupil subgraph;
DSP processing chips, be tablet computer core processor, also respectively with the pupil detection equipment and the background
Light adjustment equipment connects, and the bias light is determined for receiving the real-time pupil radium, and based on the real-time pupil radium
The background light level for the display screen that adjustment equipment is adjusted;
Wherein, the DSP processing chips determine that the bias light adjustment equipment is adjusted based on the real-time pupil radium
The background light level of display screen include:The real-time pupil radium is smaller, the display that the bias light adjustment equipment is adjusted
The background light level of screen is darker;
Wherein, the DSP processing chips type selecting is the TMS320C8X models of TI companies, and is built-in with memory and timing
Device.
Then, continue to the present invention bias light regulating system detect based on pupil radium concrete structure into traveling one
The explanation of step.
In the bias light regulating system based on pupil radium detection:
The DSP processing chips determine the display that the bias light adjustment equipment is adjusted based on the real-time pupil radium
The background light level of screen includes:The real-time pupil radium is bigger, the back of the body for the display screen that the bias light adjustment equipment is adjusted
Scape brightness is brighter.
In the bias light regulating system based on pupil radium detection:
In the contrast enhancer equipment, described image resolution ratio is closer apart from the default resolution threshold, will
The relevant block that the face-image is averagely divided into is bigger.
In the bias light regulating system based on pupil radium detection:
In the contrast enhancer equipment, to each piecemeal, the pixel value variance of the piecemeal is bigger, the side of selection
The intensity of edge enhancing processing is smaller.
In the bias light regulating system based on pupil radium detection:
In the edge enhancer equipment, the resolution ratio of the splicing enhancing image is apart from the default resolution threshold
It is closer, it is bigger that the splicing is enhanced into the relevant block that image averaging is divided into.
And in the bias light regulating system based on pupil radium detection:
In the edge enhancer equipment, to each piecemeal, the pixel value variance of the piecemeal is bigger, the comparison of selection
The intensity of degree enhancing processing is smaller.
It is described meanwhile below for according to background light regulation method of the embodiment of the present invention based on pupil radium detection
Method includes:
Using bias light adjustment equipment, it is arranged on the integrated circuit board of tablet computer, for adjusting the aobvious of tablet computer
The background light level of display screen;
Usage data collection equipment is arranged in the front baffle of tablet computer, under the operation of user, shooting tablet
Computer forward image is additionally operable under the operation of no user, the face-image of timed shooting user;
It using resolution ratio analyzing device, is connect with the data acquisition equipment, for receiving face-image, obtains the face
Image current resolution ratio in portion's as image resolution ratio to export;
Use pattern control device is connect with the resolution ratio analyzing device, be used to be less than in described image resolution ratio etc.
When default resolution threshold, roughcast formula enhancing equipment is selected to carry out corresponding image enhancement processing to the face-image to obtain
Targets improvement image is obtained, is additionally operable to, when described image resolution ratio is more than the default resolution threshold, thin pattern be selected to enhance
Equipment carries out corresponding image enhancement processing to obtain targets improvement image to the face-image;
Enhance equipment using thin pattern, connect respectively with the resolution ratio analyzing device and the mode control device, is wrapped
Contrast enhancer equipment and edge enhancer equipment are included, the contrast enhancer equipment is used to receive the face-image,
The face-image is averagely divided into relevant block by the distance based on described image resolution ratio apart from the default resolution threshold
Each piecemeal of size, to each piecemeal, the pixel value variance based on the piecemeal selects the contrast of corresponding varying strength
Enhancing processing is spliced each enhancing piecemeal of acquisition to obtain splicing enhancing image, the edge increases with obtaining enhancing piecemeal
Hadron equipment is connect with the contrast enhancer equipment, is enhanced image for receiving the splicing, is enhanced based on the splicing
Splicing enhancing image averaging is divided into relevant block big by the resolution ratio of image apart from the far and near of the default resolution threshold
Small each piecemeal, to each piecemeal, the pixel value variance based on the piecemeal selects the edge of corresponding varying strength to enhance
Processing is spliced each enhancing piecemeal of acquisition to obtain targets improvement image with obtaining enhancing piecemeal;
Enhance equipment using roughcast formula, connect respectively with the resolution ratio analyzing device and the mode control device, is used
In the reception face-image, and to the face-image overall execution contrast enhancement processing to obtain targets improvement image;
Using pupil detection equipment, it connect, uses with the thin pattern enhancing equipment and roughcast formula enhancing equipment respectively
In receiving the targets improvement image, default pupil upper limit gray threshold and default pupil lower limit gray threshold are based on from the mesh
It is partitioned into pupil subgraph in mark enhancing image, and real-time pupil radium is determined based on the pupil subgraph;
Be the core processor of tablet computer using DSP processing chips, also respectively with the pupil detection equipment and described
Bias light adjustment equipment connects, and the back of the body is determined for receiving the real-time pupil radium, and based on the real-time pupil radium
The background light level for the display screen that scape light adjustment equipment is adjusted;
Wherein, the DSP processing chips determine that the bias light adjustment equipment is adjusted based on the real-time pupil radium
The background light level of display screen include:The real-time pupil radium is smaller, the display that the bias light adjustment equipment is adjusted
The background light level of screen is darker;
Wherein, the DSP processing chips type selecting is the TMS320C8X models of TI companies, and is built-in with memory and timing
Device.
Then, continue to the present invention background light regulation method detect based on pupil radium specific steps into traveling one
The explanation of step.
In the background light regulation method based on pupil radium detection:
The DSP processing chips determine the display that the bias light adjustment equipment is adjusted based on the real-time pupil radium
The background light level of screen includes:The real-time pupil radium is bigger, the back of the body for the display screen that the bias light adjustment equipment is adjusted
Scape brightness is brighter.
In the background light regulation method based on pupil radium detection:
In the contrast enhancer equipment, described image resolution ratio is closer apart from the default resolution threshold, will
The relevant block that the face-image is averagely divided into is bigger.
In the background light regulation method based on pupil radium detection:
In the contrast enhancer equipment, to each piecemeal, the pixel value variance of the piecemeal is bigger, the side of selection
The intensity of edge enhancing processing is smaller.
In the background light regulation method based on pupil radium detection:
In the edge enhancer equipment, the resolution ratio of the splicing enhancing image is apart from the default resolution threshold
It is closer, it is bigger that the splicing is enhanced into the relevant block that image averaging is divided into.
And in the background light regulation method based on pupil radium detection:
In the edge enhancer equipment, to each piecemeal, the pixel value variance of the piecemeal is bigger, the comparison of selection
The intensity of degree enhancing processing is smaller.
In addition, the inside of dsp chip has special hardware multiplier using the separated Harvard structure of program and data,
Widely used pile line operation provides special DSP instructions, can be used for quickly realizing various digital signal processing algorithms.
According to the requirement of Digital Signal Processing, dsp chip generally has some following main features:(1) refer at one
A multiplication and a sub-addition can be completed by enabling in the period.(2) program and data space is separated, can simultaneously access instruction sum number
According to.(3) there is quick RAM in piece, usually can simultaneously be accessed in two pieces by independent data/address bus.(4) there is low overhead
Or without overhead loop and the hardware supported redirected.(5) quickly interrupt processing and Hardware I/O are supported.(6) have within the monocycle
Multiple hardware address generators of operation.(7) multiple operations can be executed parallel.(8) it supports pile line operation, makes fetching, translates
The operations such as code and execution can be with Overlapped Execution.
Classified according to the data format of dsp chip work.Data are known as pinpointing with the dsp chip that fixed point format works
Dsp chip, TMS320C1X/C2X, TMS320C2XX/C5X, TMS320C54X/C62XX such as TI companies are serial, AD companies
ADSP21XX series, AT&The MC56000 etc. of the DSP16/16A of T companies, Motolora company.What is worked in a floating-point format is known as
Float-point DSP, such as the TMS320C3X/C4X/C8X of TI companies, the ADSP21XXX series of AD companies, AT&T companies
The MC96002 etc. of DSP32/32C, Motolora company.
Bias light regulating system and method using the present invention based on pupil radium detection, for prior art middle plateform
The technical issues of computer bias light can not be adjusted flexibly, by introducing pupil detection equipment, for receiving treated image, base
In default pupil upper limit gray threshold and default pupil lower limit gray threshold pupil is partitioned into from treated the image
Image, and real-time pupil radium is determined based on the pupil subgraph, DSP processing chips are also introduced, are the core of tablet computer
Heart processor determines that the bias light adjusting is set for receiving the real-time pupil radium, and based on the real-time pupil radium
The background light level of the standby display screen adjusted.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of variation.Therefore, every content without departing from technical solution of the present invention is right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.