CN110062168A - Shooting parameter adjustment method, device, equipment and the medium of eye movement tracing equipment - Google Patents
Shooting parameter adjustment method, device, equipment and the medium of eye movement tracing equipment Download PDFInfo
- Publication number
- CN110062168A CN110062168A CN201910368780.8A CN201910368780A CN110062168A CN 110062168 A CN110062168 A CN 110062168A CN 201910368780 A CN201910368780 A CN 201910368780A CN 110062168 A CN110062168 A CN 110062168A
- Authority
- CN
- China
- Prior art keywords
- gray
- average
- eyes image
- parameter
- preset range
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Eye Examination Apparatus (AREA)
Abstract
The embodiment of the invention discloses a kind of shooting parameter adjustment method of eye movement tracing equipment, device, eye movement tracing equipment and storage mediums, this method comprises: obtaining at least partly eyes image of the eyeball tracking equipment under current operation mode, current operation mode is set as the operating mode executed under current shooting parameter;Determine that the gray-scale statistical characteristics value of eyes image, gray-scale statistical value are corresponding with current operation mode according at least partly eyes image;If the gray-scale statistical characteristics value of eyes image within a preset range, does not respond current shooting parameter adjustment instruction, the gray-scale statistical characteristics value of eyes image is adjusted to preset range.The embodiment of the present invention obtains the gray-scale statistical characteristics value of eyes image according to current operation mode, the strategy that corresponding adjustment current shooting parameter is determined according to the gray-scale statistical characteristics value of eyes image, realizes being adjusted flexibly to the current shooting parameter under different current operation modes.
Description
Technical field
The present embodiments relate to a kind of adjustment of the acquisition parameters of wearable device technology more particularly to eye movement tracing equipment
Method, apparatus, eye movement tracing equipment and storage medium.
Background technique
Eye movement tracing equipment (such as eye tracker) is that one kind is tracked and recorded eyeball by machine vision and camera technology
The equipment of track is widely used in the fields such as psychology, advertisement and Industrial Engineering.Eye movement tracing equipment may include different work
Operation mode, illustratively, if eye movement tracks mode and iris recognition mode, requirement of the different working modes to acquisition parameters is not
Together.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery: cannot achieve flexibly
Acquisition parameters are adjusted, and then affect the quality of shooting image.
Summary of the invention
The embodiment of the present invention provides the shooting parameter adjustment method, device, eye movement tracing equipment of a kind of eye movement tracing equipment
And storage medium, acquisition parameters are adjusted flexibly to realize.
In a first aspect, the embodiment of the invention provides a kind of shooting parameter adjustment method of eye movement tracing equipment, this method
Include:
At least partly eyes image of the eyeball tracking equipment under current operation mode is obtained, the current operation mode is set
It is set to the operating mode executed under current shooting parameter;
Determine the gray-scale statistical characteristics value of eyes image according at least partly eyes image, the gray-scale statistical value with
The current operation mode is corresponding;
If the gray-scale statistical characteristics value of the eyes image within a preset range, does not respond current shooting parameter adjustment
Instruction, the gray-scale statistical characteristics value of the eyes image is adjusted to the preset range.
Second aspect, the embodiment of the invention also provides a kind of acquisition parameters of eye movement tracing equipment to adjust device, the dress
It sets and includes:
Eyes image obtains module, for obtaining at least partly eye figure of the eyeball tracking equipment under current operation mode
Picture, the current operation mode are set as the operating mode executed under current shooting parameter;
Gray-scale statistical characteristics value determining module, for determining the gray scale of eyes image according at least partly eyes image
Statistical characteristics, the gray-scale statistical value are corresponding with the current operation mode;
Current shooting parameter adjusts module, if the gray-scale statistical characteristics value for the eyes image is not in preset range
It is interior, then current shooting parameter adjustment instruction is responded, the gray-scale statistical characteristics value of the eyes image is adjusted to the default model
In enclosing.
The third aspect, the embodiment of the invention also provides a kind of eye movement tracing equipment, which includes processing
The acquisition parameters of eye movement tracing equipment as claimed in claim 9 are arranged in device, camera and light source adjusting module, the processor
Device is adjusted, the processor is communicated to connect with the camera and the light source adjusting module respectively;
The camera shoots at least partly eyes image under current operation mode, and will at least partly eye figure
As being sent to the processor, the processor sends current shooting parameter tune to the light source adjusting module and the camera
Whole instruction, the light source adjusting module and the camera adjust the current bat according to the current shooting parameter adjustment instruction
Take the photograph parameter.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the method as described in first aspect of the embodiment of the present invention when program is executed by processor.
At least partly eyes image of the embodiment of the present invention by acquisition eyeball tracking equipment under current operation mode, when
Preceding operating mode is set as the operating mode executed under current shooting parameter, determines eye figure according at least partly eyes image
The gray-scale statistical characteristics value of picture, gray-scale statistical value is corresponding with current operation mode, if the gray-scale statistical characteristics of eyes image
Value not within a preset range, then responds current shooting parameter adjustment instruction, by the gray-scale statistical characteristics value of eyes image adjust to
In preset range, above by the gray-scale statistical characteristics value for obtaining eyes image according to current operation mode, according to eyes image
Gray-scale statistical characteristics value determine the strategy of corresponding adjustment current shooting parameter, realize under different current operation modes
Current shooting parameter is adjusted flexibly.
Detailed description of the invention
Fig. 1 is the flow chart of the shooting parameter adjustment method of one of embodiment of the present invention eye movement tracing equipment;
Fig. 2 is the schematic diagram of one of embodiment of the present invention infrared light supply setting parameter;
Fig. 3 is the structural schematic diagram of the acquisition parameters adjustment device of one of embodiment of the present invention eye movement tracing equipment;
Fig. 4 is the structural schematic diagram of one of embodiment of the present invention eye movement tracing equipment;
Fig. 5 is the schematic diagram of the structure of one of embodiment of the present invention light source adjusting module;
Fig. 6 is the application schematic diagram of the shooting parameter adjustment method of one of embodiment of the present invention eye movement tracing equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment
In order to enable acquisition parameters can satisfy the requirement of corresponding operating mode, it can be used and image is carried out to eyes image
Aforesaid way can be used according to image quality evaluation as a result, determining to the mode of the adjustable strategies of acquisition parameters in quality evaluation
Reason is: the purpose for adjusting acquisition parameters be so that at least partly eyes image that shooting obtains meets corresponding requirement, after
It is continuous can be carried out according to satisfactory at least partly eyes image eye movement tracking perhaps iris recognition improve eye movement tracking or
The accuracy rate of iris recognition.It, can be according to image quality evaluation as a result, determining the adjustable strategies to acquisition parameters based on above-mentioned.
Above content is further described below in conjunction with specific embodiment.
Fig. 1 is a kind of flow chart of the shooting parameter adjustment method for eye movement tracing equipment that the embodiment of the present invention one provides,
The present embodiment is applicable to the case where acquisition parameters of eye movement tracing equipment are adjusted flexibly, and this method can be by eye movement tracing equipment
Acquisition parameters adjustment device execute, which can be realized by the way of software and/or hardware, which can configure
In equipment, such as eye movement tracing equipment etc..As shown in Figure 1, this method specifically comprises the following steps:
Step 110 obtains at least partly eyes image of the eye movement tracing equipment under current operation mode, work at present mould
Formula is set as the operating mode executed under current shooting parameter.
In an embodiment of the present invention, at least partly eyes image is eye movement tracing equipment set by the current operation mode
Current shooting parameter under, the eyes image that shoots.At least partly eyes image can refer to complete eyes image, can also be with
Refer to topical ophthalmic image.The current operation mode of eye movement tracing equipment is that eye movement tracks mode or iris recognition mode, current to clap
Taking the photograph parameter may include infrared light supply setting parameter and camera setting parameter, wherein infrared light supply is arranged parameter and may include
At least one of infrared light supply number parameter, infrared light supply luminance parameter and infrared light supply wavelength parameter;Camera setting ginseng
Number may include shooting gain parameter and/or shooting exposure parameter.
Step 120, the gray-scale statistical characteristics value that eyes image is determined according at least partly eyes image, gray-scale statistical characteristics
It is worth corresponding with operating mode.
In an embodiment of the present invention, gray-scale statistical characteristics value can be used as the foundation of evaluation eyes image quality.Gray scale system
Counting characteristic value may include at least one of average gray, grey scale difference and gray scale average gradient value.Wherein, gray scale
Average value refers to that the average value of grey scale pixel value in image, average gray can reflect the average brightness of image;Grey scale
Difference refers to that dispersion degree of the grey scale pixel value relative to average gray in image, grey scale difference can reflect in image
The dispersion degree of gray level;Gray scale average gradient value can reflect details contrast and texture transformation in image, and details in image
Contrast and texture transformation can embody the readability of image namely gray scale average gradient value can reflect the clear journey of image
Degree.
Usually, average gray is bigger, may indicate that the average brightness of image is bigger, picture quality is higher;Gray scale
Standard deviation is bigger, then may indicate that gray level is more dispersed respectively in image, picture quality is higher;Gray scale average gradient value is got over
Greatly, then it may indicate that image clearly degree is higher, i.e., picture quality is higher.
It should be noted that can be different according to the requirement degree to picture quality, it determines and selects gray-scale statistical characteristics value
In foundation as evaluation picture quality of which kind of or which seed type.Now the requirement degree to picture quality is divided into three etc.
Grade, respectively the first image quality level, the second image quality level and third image quality level, wherein the first image matter
Measuring grade indicates lower to image quality requirements, and the second image quality level indicates higher to image quality requirements, is higher than the
One image quality level is to image quality requirements degree and lower than third image quality level to image quality requirements degree, third
Image quality level is indicated to image quality requirements highest, such as more demanding to image clearly degree.
If the requirement degree to picture quality is the first image quality level, can usually average gray be selected to make
For the foundation for evaluating eyes image, current shooting parameter is adjusted based on the foundation, so that under current operation mode, root
It can meet the requirements according at least partly eyes image obtained captured by the determining current shooting parameter of adjustment;If to image
The requirement degree of quality is the second image quality level, then can usually select average gray in gray-scale statistical characteristics value and
Foundation of the grey scale difference as evaluation eyes image, alternatively, selecting the average gray and ash in gray-scale statistical characteristics value
Foundation of the average gradient value as evaluation eyes image is spent, current shooting parameter is adjusted based on the foundation, so that working as
Under preceding operating mode, at least partly eyes image obtained according to captured by the determining current shooting parameter of adjustment can meet
It is required that;If the requirement degree to picture quality is third image quality level, gray-scale statistical characteristics value can be usually selected
In average gray, grey scale difference and gray scale average gradient value as evaluation eyes image foundation.
It should also be noted that, gray-scale statistical characteristics value is corresponding with current operation mode, in other words, gray-scale statistical is special
Value indicative is determined by current operation mode.Illustratively, if current operation mode is iris recognition mode, by iris
Recognition mode determines corresponding gray-scale statistical characteristics value;If current operation mode is that eye movement tracks mode, tracked by eye movement
Mode determines corresponding gray-scale statistical characteristics value.Correspondingly, determining that the gray scale of eyes image is united according at least partly eyes image
Characteristic value is counted, can be understood as follows: obtaining the gray-scale statistical characteristics value of eyes image according to current operation mode.Wherein it is possible to
The gray-scale statistical characteristics value of eyes image is determined according to complete eyes image, and eye figure can also be determined according to topical ophthalmic image
The gray-scale statistical characteristics value of picture.In other words, the gray-scale statistical characteristics value of eyes image can be true by complete eyes image institute
Fixed, it can be for determined by topical ophthalmic image.The gray-scale statistical of eyes image is determined with specific reference to complete eyes image
Characteristic value determines that the gray-scale statistical characteristics value of eyes image can be set according to the actual situation according further to topical ophthalmic image
It is fixed, it is not specifically limited herein.
For eye movement tracks mode and iris recognition mode, it is typically due to iris recognition mode and is tracked compared to eye movement
For mode, the requirement to picture quality is relatively higher, such as its requirement degree to picture quality is third picture quality
Grade, it is the first image quality level or the second image quality level that eye movement, which tracks mode, therefore, if eye movement tracing equipment is worked as
Preceding operating mode be iris recognition mode, it is determined that gray-scale statistical characteristics value include with average gray, grey scale difference and
Gray-scale statistical characteristics value.If the current operation mode of eye movement tracing equipment is that eye movement tracks mode, it is determined that gray-scale statistical is special
Value indicative includes any one of following: gray-scale statistical characteristics value includes average gray;Gray-scale statistical characteristics value includes average gray
With grey scale difference;Gray-scale statistical characteristics value includes average gray and gray scale average gradient value.
It will be understood, if the current operation mode of eye movement tracing equipment is eye movement tracking mode, and to image
Readability has higher requirements, and such as the requirement degree to picture quality is third image quality level, then can determine gray-scale statistical
Characteristic value includes average gray, grey scale difference and gray scale average gradient value.If the work at present of eye movement tracing equipment
Mode is iris recognition mode, and lower to the requirement of image clearly degree, and the requirement degree such as to picture quality is the second image
Credit rating, it is determined that gray-scale statistical characteristics value includes average gray and grey scale difference, alternatively, gray-scale statistical characteristics value
Including average gray and gray scale average gradient value.
Based on above-mentioned, under different current operation modes, the type of the gray-scale statistical characteristics value of selection can be identical, can also be with
Difference can specifically be set according to the actual situation, is not specifically limited herein.
Above by the gray-scale statistical characteristics value for obtaining eyes image according to current operation mode, so that subsequent can root again
According to the gray-scale statistical characteristics value of eyes image, determines the strategy of corresponding adjustment current shooting parameter, realize to different current
Current shooting parameter under operating mode is adjusted flexibly.
Within a preset range whether step 130, the gray-scale statistical characteristics value of eyes image;If so, thening follow the steps 140;
If it is not, thening follow the steps 150.
Step 140 terminates adjustment current shooting parameter.
Step 150, response current shooting parameter adjustment instruction, the gray-scale statistical characteristics value of eyes image is adjusted to default
In range.
In an embodiment of the present invention, whether preset range is used to conform to as the gray-scale statistical characteristics value of eyes image
The foundation asked.According to described previously, gray-scale statistical characteristics value may include that average gray, grey scale difference and gray scale are average
Gradient value, correspondingly, preset range may include that average gray preset range, grey scale difference preset range and gray scale are flat
Equal gradient preset range.Preset range is to be formed by range by minimum value and maximum value.Current shooting parameter adjustment instruction is
The instruction that current shooting parameter is adjusted.
It should be noted that same gray-scale statistical characteristics Value Types are directed to, the corresponding default model of different current operation modes
Enclosing may be the same or different, and can specifically be set according to the actual situation.Illustratively, working as such as eye movement tracing equipment
Preceding operating mode is that eye movement tracks mode, then gray-scale statistical characteristics value may include average gray and gray scale average gradient value,
The corresponding average gray preset range of average gray is to be formed by the first gray scale average threshold and the second gray scale average threshold
Range, the first gray scale average threshold is less than the second gray scale average threshold;Grey scale difference corresponding grey scale standard deviation presets model
The range to be formed by the first gray standard deviation threshold value and the second gray standard deviation threshold value is enclosed, the first gray standard deviation threshold value is less than
Second gray standard deviation threshold value;The current operation mode of eye movement tracing equipment is iris recognition mode, due to iris recognition mode
Then gray-scale statistical characteristics value may include average gray, grey scale difference and gray scale average gradient value, average gray pair
The average gray preset range answered is the range formed by third gray scale average threshold and the 4th gray scale average threshold, third ash
Average threshold is spent less than the 4th gray scale average threshold;Grey scale difference corresponding grey scale standard deviation preset range is by third gray scale
The range that standard deviation threshold method and the 4th gray standard deviation threshold value are formed, third gray standard deviation threshold value is less than the 4th gray standard deviation
Threshold value;The corresponding gray scale average gradient value preset range of gray scale average gradient value is by the first gray scale average gradient threshold value and second
The range that gray scale average gradient threshold value is formed, the first gray scale average gradient threshold value is less than the second gray scale average gradient threshold value.
If the first gray scale average threshold is identical as third gray scale average threshold and the second gray scale average threshold and the 4th ash
It is identical to spend average threshold, it can be said that bright under different current operation modes, the corresponding average gray of average gray is default
Range is identical;If the first gray standard deviation threshold value and third grey scale difference is identical and the second gray standard deviation threshold value and the
Four gray standard deviation threshold values are identical, it can be said that bright under different current operation modes, the corresponding gray scale of grey scale difference
Quasi- difference preset range is identical.It should be noted that preset range can be arranged not according to the difference to image processing algorithm
Co-extensive.Illustratively, as using having hot spot algorithm and when without hot spot algorithm, different preset ranges can be set.
After determining the gray-scale statistical characteristics value of eyes image, the gray-scale statistical characteristics value of eyes image can be determined
Whether within a preset range, if the gray-scale statistical characteristics value of eyes image not within a preset range, it can be said that bright current bat
It is undesirable to take the photograph parameter, needs to be adjusted it, that is, adjusts the current shooting parameter of eye movement tracing equipment, it is current in adjustment
After acquisition parameters obtain new current shooting parameter, then under new current shooting parameter, reacquires eye movement tracing equipment and clap
The new at least partly eyes image taken the photograph determines that the gray-scale statistical of new eyes image is special according to new at least partly eyes image
Value indicative, until determining the gray-scale statistical characteristics value of new eyes image within a preset range.If the gray scale of new eyes image
Statistical characteristics within a preset range, it can be said that bright current shooting parameter meets the requirements, no longer needs to be adjusted it
Terminate the adjustment to eye movement tracing equipment, terminates that the adjustment of eye movement tracing equipment is referred to terminate here to eye movement tracing equipment
Acquisition parameters adjustment.
In the case where getting current shooting parameter set by current operation mode, at least partly eyes image that shoots
Later, whether within a preset range the gray-scale statistical characteristics value of eyes image can be determined, if the gray scale of eyes image is united
Meter characteristic value within a preset range, it can be said that bright current shooting parameter is undesirable, does not need to be adjusted it, that is, rings
Current shooting parameter adjustment instruction is answered, the current shooting parameter of eye movement tracing equipment is adjusted, obtains new current shooting parameter, and
Under new current shooting parameter, new at least partly eye figure of the eyeball tracking equipment under current operation mode is reacquired
Picture determines the gray-scale statistical characteristics value of new eyes image according to new at least partly eyes image, until determining new eye
The gray-scale statistical characteristics value of image is within a preset range.If the gray-scale statistical characteristics value of eyes image is within a preset range,
It can illustrate that current shooting parameter meets the requirements, no longer need to be adjusted it, the current bat of eye movement tracing equipment can be terminated
Take the photograph parameter adjustment operation.
The acquisition parameters of eye movement tracing equipment can be adjusted in the following way: since average gray reflects eye figure
The average brightness degree of picture, the size of average gray are mainly influenced by infrared light supply brightness, therefore, if average gray is not
In average gray preset range, then the mode of parameter can be set by adjusting infrared light supply to adjust current shooting ginseng
Number, it may include infrared light supply number parameter and/or infrared light supply luminance parameter that parameter, which is arranged, in infrared light supply, and the purpose of adjustment is
Realize adjustment infrared light supply brightness.In addition, if grey scale difference can then pass through not in gray standard deviation preset range
The mode of parameter is arranged to adjust current shooting parameter in adjustment camera, and camera setting parameter may include shooting gain parameter
With shooting exposure parameter.If gray scale average gradient value, can be by adjusting not in gray scale average gradient value preset range
The mode of parameter is arranged to adjust current shooting parameter in infrared light supply, and it may include infrared light supply wavelength that parameter, which is arranged, in infrared light supply
Parameter.If grey scale difference is not in grey scale difference preset range and gray scale average gradient value is not in the average ladder of gray scale
In angle value preset range, then the mode of parameter can be set by adjusting infrared light supply to adjust current shooting parameter, infrared light
It may include infrared light supply wavelength parameter that parameter, which is arranged, in source.
The technical solution of the present embodiment, by obtaining at least partly eye of the eyeball tracking equipment under current operation mode
Image, current operation mode are set as the operating mode executed under current shooting parameter, true according at least partly eyes image
Determine the gray-scale statistical characteristics value of eyes image, gray-scale statistical value is corresponding with current operation mode, if the gray scale of eyes image
Statistical characteristics within a preset range, does not then respond current shooting parameter adjustment instruction, by the gray-scale statistical characteristics of eyes image
Value is adjusted to preset range, above by according to current operation mode obtain eyes image gray-scale statistical characteristics value, according to
The gray-scale statistical characteristics value of eyes image determines the strategy of corresponding adjustment current shooting parameter, realizes to different works at present
Current shooting parameter under mode is adjusted flexibly.
Optionally, based on the above technical solution, eye of the eyeball tracking equipment under current operation mode is obtained
Image, current operation mode are set as before the operating mode executed under current shooting parameter, can also specifically be comprised determining that
The current operation mode of eyeball tracking equipment, current operation mode include eyeball tracking mode or iris recognition mode.
In an embodiment of the present invention, eyeball tracking equipment is being obtained before the eyes image under current operation mode,
It can also determine the current operation mode of eyeball tracking equipment, that is, determine the current operation mode of eyeball tracking equipment, obtain eye
Eyes image of the ball tracing equipment under current operation mode.Wherein, current operation mode may include eyeball tracking mode or
Iris recognition mode.The purpose of above-mentioned determining current operation mode is: due to gray-scale statistical characteristics value and current operation mode
It is corresponding, in other words, if it is determined that go out the current operation mode of eye movement tracing equipment, then also determine that out that gray scale is united accordingly
Count characteristic value.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes average gray, gray standard deviation
At least one of value and shade of gray value.
In an embodiment of the present invention, gray-scale statistical characteristics value can be used as the foundation of evaluation eyes image quality.Gray scale system
Counting characteristic value may include at least one of average gray, grey scale difference and gray scale average gradient value.Wherein, gray scale
Average value refers to that the average value of grey scale pixel value in image, average gray can reflect the average brightness of image;Grey scale
Difference refers to that dispersion degree of the grey scale pixel value relative to average gray in image, grey scale difference can reflect in image
The dispersion degree of gray level;Gray scale average gradient value can reflect details contrast and texture transformation in image, and details in image
Contrast and texture transformation can embody the readability of image namely gray scale average gradient value can reflect the clear journey of image
Degree.Usually, average gray is bigger, may indicate that the average brightness of image is bigger, picture quality is higher;Gray standard deviation
Value is bigger, then may indicate that gray level is more dispersed respectively in image, picture quality is higher;Gray scale average gradient value is bigger, then may be used
To show that image clearly degree is higher, i.e., picture quality is higher.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes average gray, preset range packet
Average gray preset range is included, current shooting parameter includes infrared light supply number parameter and infrared light supply luminance parameter.If
The gray-scale statistical characteristics value of eyes image within a preset range, does not then respond current shooting parameter adjustment instruction, by eyes image
Gray-scale statistical characteristics value adjust to preset range, can specifically include: if the average gray of eyes image is not in ash
It spends in average value preset range, then adjusts infrared light supply number parameter and/or infrared light supply luminance parameter, until eyes image
Average gray is adjusted to average gray preset range.
In an embodiment of the present invention, the average gray of eyes image is got according to current operation mode, i.e.,
The average gray of eyes image is obtained according to current operation mode.Average gray refers to being averaged for grey scale pixel value in image
Value.Average gray can reflect the average brightness of image.Gray-scale statistical characteristics value may include average gray, correspondingly,
Preset range may include average gray preset range.Since average gray can reflect the average brightness of image,
If the gray-scale statistical characteristics value of eyes image is not in average gray preset range, it can be said that bright at least partly eye figure
The average brightness of picture is excessive lightness or darkness, and the reason for causing the average brightness of at least partly eyes image excessive lightness or darkness be it is red
Outer light source brightness is excessive lightness or darkness, and infrared light supply brightness described here is excessive lightness or darkness to refer to that whole infrared light supply shows
Brightness it is excessive lightness or darkness, correspondingly, in order to enable the gray-scale statistical characteristics value of eyes image is in average gray preset range
It is interior, it just needs to overcome the problems, such as that infrared light supply is excessive lightness or darkness, based on above-mentioned, also current shooting parameter is just needed to may be implemented to adjust
Whole infrared light supply brightness.It is understood that the infrared light supply quantity and each infrared light supply brightness due to using can be to whole red
Outer light source brightness has an impact, in other words, the infrared light supply quantity and each infrared light that whole infrared light supply brightness is used
Source brightness influences, and therefore, can set current shooting parameter to infrared light supply number parameter and infrared light supply luminance parameter.
Based on above-mentioned, if the average gray of eyes image can adjust red not in average gray preset range
Outer light source number parameter and/or infrared light supply luminance parameter, until the average gray of eyes image is adjusted to average gray
In preset range.Wherein, it since average gray preset range is a numberical range, that is, can be regarded as flat in the presence of maximum gray scale
Mean value and minimal gray average value, average gray preset range are by maximum average gray and minimal gray average value institute shape
At range, therefore, if the average gray of eyes image is not in average gray preset range, just there may be as follows
Two kinds of situations: one, eyes image average gray be more than or equal to maximum average gray;Secondly, the gray scale of eyes image
Average value is less than or equal to minimal gray average value.
If the average gray of eyes image is more than or equal to maximum average gray, it can be said that bright eyes image is flat
Equal brightness is excessively bright, it is above-mentioned be as whole infrared light supply brightness it is excessively bright caused by, in order to reduce whole infrared light supply brightness, can be used
Any one following mode, it is specific: to reduce infrared light supply number parameter;Reduce infrared light supply luminance parameter;Reduce infrared light
Source number parameter and reduction infrared light supply luminance parameter;Increase infrared light supply number parameter and reduces infrared light supply luminance parameter;
Reduce infrared light supply number parameter and increases infrared light supply luminance parameter.It can be achieved to subtract by sampling any one of the above mode
Small entirety infrared light supply brightness, due to reducing whole infrared light supply brightness, above-mentioned be embodied on eye head portrait is to subtract
The small average brightness of eyes image, and then the reduction of the average brightness due to eyes image, it is thereby achieved that reducing eye
The average gray of image.
Likewise, if the average gray of eyes image is less than or equal to minimal gray average value, it can be said that bright eye
The average brightness of image is excessively dark, it is above-mentioned be as caused by whole infrared light supply too dark brightness, it is bright in order to increase whole infrared light supply
Any one following mode can be used in degree, specific: to increase infrared light supply number parameter;Increase infrared light supply luminance parameter;Increase
Big infrared light supply number parameter and increase infrared light supply luminance parameter;Increase infrared light supply number parameter and reduction infrared light supply is bright
Spend parameter;Reduce infrared light supply number parameter and increases infrared light supply luminance parameter.It is equal by sampling any one of the above mode
It can be achieved to increase whole infrared light supply brightness, due to increasing whole infrared light supply brightness, above-mentioned to be embodied at least partly
It is to increase the average brightness of at least partly eyes image on eyes image, and then being averaged due at least partly eyes image
The increase of brightness, it is thereby achieved that increasing the average gray of at least partly eyes image.In addition, if eyes image
Gray-scale statistical characteristics value includes average gray, then at least partly can will be divided at least two eyes image areas by eyes image
Domain determines the average gray in each eyes image region whether in average gray preset range, if eyes image area
The average gray in domain is not in average gray preset range, then adjustable infrared light supply number parameter and/or adjustment are red
Outer light source luminance parameter, the corresponding infrared light source region in adjustment eyes image region can be referred to by adjusting infrared light supply luminance parameter here
Each infrared light supply luminance parameter in domain.
Optionally, based on the above technical solution, the average gray preset range of eyes image be set as by with
The range that the corresponding first gray scale average threshold of current operation mode and the second gray scale average threshold are formed, the first gray scale are averaged threshold
Value is less than the second gray scale average threshold.If the average gray of the eyes image not in average gray preset range,
Infrared light supply number parameter and/or infrared light supply luminance parameter are then adjusted, can specifically include: if the gray scale of eyes image is flat
Mean value is less than or equal to the first gray scale average threshold, then increases infrared light supply luminance parameter and/or increase infrared light supply number parameter.
If the average gray of eyes image be more than or equal to the second gray scale average threshold, reduce infrared light supply luminance parameter and/or
Reduce infrared light supply number parameter.
In an embodiment of the present invention, the average gray preset range of eyes image is by corresponding with current operation mode
The first gray scale average threshold and the second gray scale average threshold formed range, wherein the first gray scale average threshold is less than second
Gray scale average threshold, current operation mode may include eye movement tracing equipment and iris recognition mode, i.e. every kind of work at present mould
Formula has the corresponding average gray preset range formed by the first gray scale average threshold and the second gray scale average threshold.Specifically
: the setting gray scale formed by the first gray scale average threshold and the second gray scale average threshold corresponding with eye movement tracking mode is put down
Mean value preset range, and, setting is corresponding with iris recognition mode to be averaged by the first gray scale average threshold and the second gray scale
The average gray preset range that threshold value is formed.It should be noted that previously described maximum average gray can be regarded as
Second gray scale average threshold, minimal gray average value can be regarded as the first gray scale average threshold.It should also be noted that, difference
Average gray preset range corresponding to current operation mode may be the same or different, specifically can be according to practical feelings
Condition is set, and is not specifically limited herein.
If the average gray of eyes image is less than or equal to the first gray scale average threshold, it can be said that bright at least partly eye
The average brightness of portion's image is excessively dark, and above-mentioned is as caused by whole infrared light supply too dark brightness, in order to increase whole infrared light supply
Any one following mode can be used in brightness, specific: to increase infrared light supply number parameter;Increase infrared light supply luminance parameter;
Increase infrared light supply number parameter and increases infrared light supply luminance parameter.It can be achieved to increase by sampling any one of the above mode
Big entirety infrared light supply brightness, due to increasing whole infrared light supply brightness, above-mentioned to be embodied at least partly eyes image
On be to increase the average brightness of at least partly eyes image, and then due to the increasing of at least partly average brightness of eyes image
Greatly, it is thereby achieved that increasing the average gray of eyes image.
If the average gray of eyes image is more than or equal to the second gray scale average threshold, it can be said that bright at least partly eye
The average brightness of portion's image is excessively bright, it is above-mentioned be as whole infrared light supply brightness it is excessively bright caused by, in order to reduce whole infrared light supply
Any one following mode can be used in brightness, specific: to reduce infrared light supply number parameter;Reduce infrared light supply luminance parameter;
Reduce infrared light supply number parameter and reduces infrared light supply luminance parameter;Increase infrared light supply number parameter and reduces infrared light supply
Luminance parameter;Reduce infrared light supply number parameter and increases infrared light supply luminance parameter.By sampling any one of the above mode
It can be achieved to reduce whole infrared light supply brightness, due to reducing whole infrared light supply brightness, above-mentioned to be embodied at least portion
It is to reduce the average brightness of at least partly eyes image on point eyes image, and then it is flat due at least partly eyes image
The reduction of equal brightness, it is thereby achieved that reducing the average gray of eyes image.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes average gray and grey scale
Difference, preset range include average gray preset range and grey scale difference preset range, and current shooting parameter includes red
Outer light source number parameter, infrared light supply luminance parameter, shooting gain parameter and shooting exposure parameter.If the gray scale of eyes image
Statistical characteristics within a preset range, does not then respond current shooting parameter adjustment instruction, by the gray-scale statistical characteristics of eyes image
Value is adjusted to preset range, can specifically include: if the average gray of eyes image does not preset model in average gray
In enclosing, then infrared light supply number parameter and/or infrared light supply luminance parameter are adjusted, until the average gray of eyes image adjusts
To average gray preset range.If the grey scale difference of eyes image not in grey scale difference preset range,
Shooting gain parameter and/or shooting exposure parameter are then adjusted, until the grey scale difference of eyes image is in grey scale difference
In preset range.
In an embodiment of the present invention, the average gray of eyes image and grey scale difference are according to work at present mould
What formula was got, i.e., the average gray and grey scale difference of eyes image are obtained according to current operation mode.Wherein, gray scale
Standard deviation refers to that dispersion degree of the grey scale pixel value relative to average gray in image, grey scale difference can reflect figure
The dispersion degree of gray level as in, correspondingly, preset range may include grey scale difference preset range.Current shooting parameter
It may include shooting exposure parameter and shooting gain parameter.Adjustment eye may be implemented in shooting gain parameter and shooting exposure parameter
The grey scale difference of image.
If the grey scale difference of eyes image not in grey scale difference preset range, can adjust shooting gain
Parameter and/or shooting exposure parameter, until the grey scale difference of eyes image is adjusted to grey scale difference preset range.
Wherein, since grey scale difference preset range is a numberical range, that is, can be regarded as existing maximum grey scale difference and
Minimal gray standard deviation, grey scale difference preset range are by maximum grey scale difference and minimal gray standard deviation institute
The range of formation, therefore, if the grey scale difference of eyes image can deposit not in grey scale difference preset range
In the following two kinds situation: one, eyes image grey scale difference be more than or equal to maximum grey scale difference;Secondly, eye
The average gray of image is less than or equal to minimal gray standard deviation.
If the grey scale difference of eyes image is more than or equal to maximum grey scale difference, it can be said that bright eyes image
Grey scale difference it is excessive, need to reduce the grey scale difference of eyes image.In order to reduce the grey scale of eyes image
Any one following mode can be used in difference, specific: to reduce shooting gain parameter;Reduce shooting exposure parameter;Reduce shooting
Gain parameter and reduction shooting exposure parameter;Increase shooting gain parameter and reduces shooting exposure parameter;Reduce shooting gain ginseng
Number and increase shooting exposure parameter.
Likewise, if the grey scale difference of eyes image is less than or equal to minimal gray standard deviation, it can be said that bright
The grey scale difference of eyes image is too small, needs to increase the grey scale difference of eyes image.In order to increase eyes image
Any one following mode can be used in grey scale difference, specific: to increase shooting gain quantity parameter;Increase shooting exposure
Parameter;Increase shooting gain parameter and increases shooting exposure parameter;Increase shooting gain parameter and reduces shooting exposure parameter;Subtract
Small gain parameter and the increase shooting exposure parameter of taking pictures.
Below to the average gray and grey scale difference for determining eyes image whether in corresponding preset range
Judgement sequence and adjustment sequence are illustrated.It is specific: due to eyes image average gray and grey scale difference it
Between relationship, i.e., if average gray is in average gray preset range, can not determine grey scale difference whether
In grey scale difference preset range;If grey scale difference can not also determine in grey scale difference preset range
Whether average gray now needs to make average gray in average gray preset range in average gray preset range
Interior and grey scale difference is in grey scale difference preset range, therefore, to the average gray and ash for determining eyes image
Whether the judgement sequence in corresponding preset range is not specifically limited degree standard deviation with adjustment sequence.Correspondingly, in the presence of
The following two kinds situation:
Whether the average gray of situation one, first determining eyes image is in average gray preset range, if eye
The average gray of image can then respond current shooting parameter adjustment instruction not in average gray preset range, by eye
The average gray of image is adjusted to average gray preset range.Again determine eyes image grey scale difference whether
In grey scale difference preset range, if the grey scale difference of eyes image not in grey scale difference preset range,
Current shooting parameter adjustment instruction can be then responded, the grey scale difference of eyes image is adjusted to grey scale difference and presets model
In enclosing.
Situation two, first determine eyes image grey scale difference whether in grey scale difference preset range, if
The grey scale difference of eyes image can then respond current shooting parameter adjustment and refer to not in grey scale difference preset range
It enables, the grey scale difference of eyes image is adjusted to grey scale difference preset range.The gray scale of eyes image is determined again
Whether average value is in average gray preset range, if the average gray of eyes image does not preset model in average gray
In enclosing, then current shooting parameter adjustment instruction can be responded, the average gray of eyes image is adjusted to average gray and is preset
In range.
It should be noted that it is understood that after due to adjusting current shooting parameter every time, working as after the adjustment is just needed
Under preceding acquisition parameters, reacquire new at least partly eyes image, therefore, it is above-mentioned no matter first determine average gray whether
In average gray preset range, still first determine grey scale difference whether in grey scale difference preset range, if
First determining gray-scale statistical characteristics value is not due in corresponding preset range, then after adjusting current shooting parameter, so that first really
Fixed gray-scale statistical characteristics value is located in corresponding preset range, then whether the gray-scale statistical characteristics value determined afterwards is corresponding pre-
If in range, based at least partly eyes image, be that previously determined gray-scale statistical characteristics value is located at corresponding default model
At least partly eyes image being based in enclosing.
It should also be noted that, the mode of situation one is generallyd use, so that gray-scale statistical characteristics value is corresponding default
In range.
Separately it is to be appreciated that being directed to the average gray part of eyes image, reference can be made to be described above, it is no longer specific superfluous herein
It states.
Optionally, based on the above technical solution, the grey scale difference preset range of eyes image be by with work as
The range that the corresponding first gray standard deviation threshold value of preceding operating mode and the second gray standard deviation threshold value are formed, the first grey scale
Poor threshold value is less than the second gray standard deviation threshold value.If the grey scale difference of eyes image does not preset model in grey scale difference
In enclosing, then shooting gain parameter and/or shooting exposure parameter are adjusted, can specifically include: if the grey scale of eyes image
Difference is less than or equal to the first gray standard deviation threshold value, then reduces shooting gain parameter and/or reduce shooting exposure parameter.If eye
The grey scale difference of portion's image is more than or equal to the second gray standard deviation threshold value, then increases shooting gain parameter and/or increase institute
State shooting exposure parameter.
In an embodiment of the present invention, the grey scale difference preset range of eyes image be by with current operation mode pair
The range that the first gray standard deviation threshold value answered and the second gray standard deviation threshold value are formed, wherein the first gray standard deviation threshold value
Less than the second gray standard deviation threshold value, current operation mode may include eye movement tracing equipment and iris recognition mode, i.e., every kind
Current operation mode has the corresponding grey scale formed by the first gray standard deviation threshold value and the second gray standard deviation threshold value
Difference preset range.Specific: setting and eye movement tracking mode are corresponding by the first gray standard deviation threshold value and the second gray scale
The grey scale difference preset range that standard deviation threshold method is formed, and, it is arranged corresponding with iris recognition mode by the first ash
Spend the grey scale difference preset range of standard deviation threshold method and the formation of the second gray standard deviation threshold value.It should be noted that above
The maximum grey scale difference can be interpreted as the second gray standard deviation threshold value, and minimal gray standard deviation can be regarded as
First gray standard deviation threshold value.It should also be noted that, grey scale difference corresponding to different current operation modes presets model
Enclosing may be the same or different, and can specifically be set, is not specifically limited herein according to the actual situation.
If the grey scale difference of eyes image is less than or equal to the first gray standard deviation threshold value, it can be said that bright eye figure
The grey scale difference of picture is too small, needs to increase the grey scale difference of eyes image.In order to increase the gray scale of eyes image
Any one following mode can be used in quasi- difference, specific: to increase shooting gain quantity parameter;Increase shooting exposure parameter;Increase
Big shooting gain parameter and increase shooting exposure parameter;Increase shooting gain parameter and reduces shooting exposure parameter;Reduction is taken pictures
Gain parameter and increase shooting exposure parameter.
If the grey scale difference of eyes image is more than or equal to the second gray standard deviation threshold value, it can be said that bright eye figure
The grey scale difference of picture is excessive, needs to reduce the grey scale difference of eyes image.In order to reduce the gray scale of eyes image
Any one following mode can be used in quasi- difference, specific: to reduce shooting gain parameter;Reduce shooting exposure parameter;Reduce and claps
It takes the photograph gain parameter and reduces shooting exposure parameter;Increase shooting gain parameter and reduces shooting exposure parameter;Reduce shooting gain
Parameter and increase shooting exposure parameter.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes that average gray and gray scale are average
Gradient value, preset range include average gray preset range and gray scale average gradient value preset range, current shooting parameter packet
Include infrared light supply number parameter, infrared light supply luminance parameter and infrared light supply wavelength parameter.If the gray-scale statistical of eyes image
Characteristic value within a preset range, does not then respond current shooting parameter adjustment instruction, by the gray-scale statistical characteristics value tune of eyes image
It is whole in preset range, can specifically include: if the average gray of eyes image not in average gray preset range,
Infrared light supply number parameter and/or infrared light supply luminance parameter are then adjusted, until the average gray of eyes image is adjusted to ash
It spends in average value preset range.If the gray scale average gradient value of eyes image not in gray scale average gradient value preset range,
Infrared light supply wavelength parameter is then adjusted, until the gray scale average gradient value of eyes image, which is adjusted to gray scale average gradient value, presets model
In enclosing.
In an embodiment of the present invention, the average gray of eyes image and gray scale average gradient value are according to work at present
What pattern acquiring arrived, i.e., the average gray and gray scale average gradient value of eyes image are obtained according to current operation mode.Wherein,
Gray scale average gradient value can reflect details contrast and texture transformation in image, and details contrast and texture transformation can be in image
The readability namely gray scale average gradient value that embody image can reflect the readability of image, correspondingly, preset range can
To include gray scale average gradient value preset range.Current shooting parameter may include infrared light supply wavelength parameter.Infrared light supply wave
The gray scale average gradient value of adjustment eyes image may be implemented in long parameter.
If the gray scale average gradient value of eyes image in gray scale average gradient value preset range, not can adjust infrared
Light source parameters, until the gray scale average gradient value of eyes image is adjusted to gray scale average gradient value preset range.Wherein, due to
Gray scale average gradient value preset range is a numberical range, that is, can be regarded as the presence of maximum gray scale average gradient value and minimum ash
Average gradient value is spent, gray scale average gradient value preset range is by maximum gray scale average gradient value and minimal gray average gradient value
Be formed by range, therefore, if the gray scale average gradient value of eyes image not in gray scale average gradient value preset range, just
There may be the following two kinds situations: one, eyes image gray scale average gradient value be more than or equal to maximum gray scale average gradient value;
Secondly, the average gray of eyes image be less than or equal to minimal gray average gradient value.
If the gray scale average gradient value of eyes image is more than or equal to maximum gray scale average gradient value, it can be said that bright eye
The gray scale average gradient value of image is excessive, needs to reduce the gray scale average gradient value of eyes image.In order to reduce eyes image
Gray scale average gradient value can be used such as under type, specific: adjustment infrared light supply wavelength parameter.
Likewise, if the gray scale average gradient value of eyes image is less than or equal to minimal gray average gradient value, it can be with
Illustrate that the gray scale average gradient value of eyes image is too small, needs to increase the gray scale average gradient value of eyes image.In order to increase eye
The gray scale average gradient value of portion's image can be used such as mode, specific: adjustment infrared light supply wavelength parameter.
For infrared light supply wavelength parameter, can understand as follows: infrared light supply wavelength parameter may include that wavelength is respectively
The infrared light supply of 810nm, 830nm, 850nm, 910nm and 940nm, usual eye movement tracing equipment operating mode are iris recognition mould
When formula, the infrared light supply that wavelength is 850nm or so can be selected can when eye movement tracing equipment operating mode is that eye movement tracks mode
Selecting wavelength is the infrared light supply of 810nm or so, and in general infrared light supply wavelength selected by iris recognition mode is greater than
Infrared light supply wavelength selected by eye movement tracking mode.
It for adjustment infrared light supply wavelength parameter, can understand as follows: include at least two infrared in eye movement tracing equipment
Light source, each infrared light supply can be located on same circumference, for each position on circumference, can place at least two infrared lights
Source, above-mentioned each infrared light supply wavelength are different.Due between the gray scale average gradient value and infrared light supply wavelength parameter of eyes image
And specific function relationship is not present, i.e., as and there is no infrared light supply wavelength is bigger, then the gray scale average gradient value of eyes image
Smaller, alternatively, the gray scale average gradient value of eyes image is bigger, therefore, adjustment infrared light supply wavelength parameter can be by as follows
Mode is realized, specific: since the quantity of the selectable infrared light supply wavelength of usual eye movement tracing equipment is limited,
If the gray scale average gradient value of eyes image is not in gray scale average gradient value preset range under current infrared light supply wavelength
It is interior, then it can be using the other infrared light supply wavelength different from current infrared light supply wavelength as new current infrared light supply wavelength, new
New at least partly eyes image is reacquired under current infrared light supply wavelength, and is determined according to new at least partly eyes image
Whether the gray scale average gradient value of new eyes image is in gray scale average gradient value preset range, up to new eyes image
Gray scale average gradient value is in gray scale average gradient value preset range.Illustratively, as infrared light supply wavelength parameter may include
Wavelength is respectively the infrared light supply of 810nm, 830nm, 850nm, 910nm and 940nm, and current infrared light supply is that wavelength is 810nm
The infrared light supply of wavelength, under current infrared light supply, the gray scale average gradient value of eyes image is not pre- in gray scale average gradient value
If in range, then can be respectively from infrared light supply wavelength 830nm, 850nm, 910nm and 940nm infrared light supply in select newly to work as
Preceding infrared light supply.
Below to the average gray and gray scale average gradient value for determining eyes image whether in corresponding preset range
Judgement sequence and adjustment sequence be illustrated.It is specific: due to the average gray and gray scale average gradient of eyes image
Relationship between value can not determine gray scale average gradient value that is, if average gray is in average gray preset range
Whether in gray scale average gradient value preset range;If gray scale average gradient value in gray scale average gradient value preset range,
It then can not also determine that average gray whether in average gray preset range, and now needs to make average gray flat in gray scale
In mean value preset range and gray scale average gradient value is in gray scale average gradient value preset range, therefore, to determining eyes image
Average gray and gray scale average gradient value whether in corresponding preset range judgement sequence and adjustment sequence do not make to have
Body limitation.Correspondingly, there are the following two kinds situations:
Whether the average gray of situation one, first determining eyes image is in average gray preset range, if eye
The average gray of image can then respond current shooting parameter adjustment instruction not in average gray preset range, by eye
The average gray of image is adjusted to average gray preset range.Whether the gray scale average gradient value of determining eyes image again
In gray scale average gradient value preset range, if the gray scale average gradient value of eyes image is not default in gray scale average gradient value
In range, then current shooting parameter adjustment instruction can be responded, the gray scale average gradient value of eyes image is adjusted to gray scale and is averaged
In gradient value preset range.
Situation two, first determine eyes image gray scale average gradient value whether in gray scale average gradient value preset range,
If the gray scale average gradient value of eyes image in gray scale average gradient value preset range, can not respond current shooting parameter
Adjustment instruction adjusts the gray scale average gradient value of eyes image to gray scale average gradient value preset range.Eye is determined again
Whether the average gray of image is in average gray preset range, if the average gray of eyes image is not flat in gray scale
In mean value preset range, then current shooting parameter adjustment instruction can be responded, the average gray of eyes image is adjusted to gray scale
In average value preset range.
It should be noted that it is understood that after due to adjusting current shooting parameter every time, working as after the adjustment is just needed
Under preceding acquisition parameters, reacquire new at least partly eyes image, therefore, it is above-mentioned no matter first determine average gray whether
In average gray preset range, still first determine gray scale average gradient value whether in gray scale average gradient value preset range,
If first determining gray-scale statistical characteristics value is not due in corresponding preset range, after adjusting current shooting parameter, so that
First determining gray-scale statistical characteristics value is located in corresponding preset range, then whether the gray-scale statistical characteristics value determined afterwards is in correspondence
Preset range in, based at least partly eyes image, be previously determined gray-scale statistical characteristics value be located at it is corresponding pre-
If at least partly eyes image being based in range.
It should also be noted that, the mode of situation one is generallyd use, so that gray-scale statistical characteristics value is corresponding default
In range.
Separately it is to be appreciated that being directed to the average gray part of eyes image, reference can be made to be described above, it is no longer specific superfluous herein
It states.
In addition, the gray scale average gradient value preset range of eyes image is by the first gray scale corresponding with current operation mode
The range that average gradient threshold value and the second gray scale average gradient threshold value are formed, wherein the first gray scale average gradient threshold value is less than the
Two gray scale average gradient threshold values, current operation mode may include eye movement tracing equipment and iris recognition mode, i.e., every kind current
Operating mode has the corresponding gray scale formed by the first gray scale average gradient threshold value and the second gray scale average gradient threshold value to be averaged
Gradient value preset range.Specific: setting and eye movement tracking mode are corresponding by the first gray scale average gradient threshold value and second
The gray scale average gradient value preset range that gray scale average gradient threshold value is formed, and, it is arranged corresponding with iris recognition mode
The gray scale average gradient value preset range formed by the first gray scale average gradient threshold value and the second gray scale average gradient threshold value.It needs
Illustrate, previously described maximum gray scale average gradient value can be regarded as the second gray scale average gradient threshold value, minimal gray
Average gradient value can be regarded as the first gray scale average gradient threshold value.It should also be noted that, different current operation modes are right
The grey scale difference preset range answered may be the same or different, and can specifically be set according to the actual situation, herein
It is not especially limited.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes average gray, gray standard deviation
Value and gray scale average gradient value, preset range includes average gray preset range, grey scale difference preset range and gray scale
Average gradient value preset range, current shooting parameter include infrared light supply number parameter, infrared light supply luminance parameter, infrared light supply
Wavelength parameter, shooting gain parameter and shooting glistening light of waves parameter.If the gray-scale statistical characteristics value of eyes image is not in preset range
It is interior, then current shooting parameter adjustment instruction is responded, the gray-scale statistical characteristics value of eyes image is adjusted to preset range, specifically
If may include: eyes image average gray not in average gray preset range, adjust infrared light supply quantity
Parameter and/or infrared light supply luminance parameter, until the average gray of eyes image is adjusted to average gray preset range.
If the grey scale difference of eyes image not in grey scale difference preset range, adjust shooting gain parameter and/or
Exposure parameter is shot, until the grey scale difference of eyes image is in grey scale difference preset range.If eyes image
Gray scale average gradient value not in gray scale average gradient value preset range, then infrared light supply wavelength parameter is adjusted, until eye
The gray scale average gradient value of image is in gray scale average gradient value preset range.
In an embodiment of the present invention, the average gray of eyes image, gray scale average gradient value and gray scale average gradient
Value is got according to current operation mode, i.e., average gray, the gray scale of eyes image are obtained according to current operation mode
Average gradient value and gray scale average gradient value.
Below to average gray, grey scale difference and the gray scale average gradient value of determining eyes image whether in correspondence
Preset range in judgement sequence and adjustment sequence be illustrated.It is specific: due to the average gray of eyes image, ash
Spend the relationship between standard deviation and gray scale average gradient value, i.e., if average gray is in average gray preset range,
It then can not also determine grey scale difference and gray scale average gradient value whether in corresponding grey scale difference preset range and ash
It spends within average gradient value preset range;If grey scale difference can not determine ash in grey scale difference preset range
Whether average value and gray scale average gradient value are spent in corresponding average gray preset range and the default model of gray scale average gradient value
Within enclosing;If gray scale average gradient value can not equally determine average gray in gray scale average gradient value preset range
With grey scale difference whether within corresponding average gray preset range and grey scale difference preset range, and now need
Make average gray in average gray preset range, grey scale difference is in grey scale difference preset range, with
And gray scale average gradient value is in gray scale average gradient value preset range, therefore, to determine eyes image average gray,
Whether the judgement sequence in corresponding preset range is not made to have with adjustment sequence for grey scale difference and gray scale average gradient value
Body limitation.Correspondingly, there are following six kinds of situations:
Whether the average gray of situation one, first determining eyes image is in average gray preset range, then determines eye
The grey scale difference of portion's image finally determines the average ladder of the gray scale of eyes image whether in grey scale difference preset range
Whether angle value is in gray scale average gradient value preset range.
Whether the average gray of situation two, first determining eyes image is in average gray preset range, then determines eye
The gray scale average gradient value of portion's image finally determines the gray scale of eyes image whether in gray scale average gradient value preset range
Whether quasi- difference is in gray scale average gradient value preset range.
Situation three, first determine eyes image grey scale difference whether in gray scale average gradient value preset range, then
The average gray of eyes image is determined whether in average gray preset range, finally, determining that the gray scale of eyes image is flat
Whether equal gradient value is in gray scale average gradient value preset range.
Situation four, first determine eyes image grey scale difference whether in gray scale average gradient value preset range, then
The gray scale average gradient value of eyes image is determined whether in gray scale average gradient value preset range, finally, determining eyes image
Average gray whether in average gray preset range.
Situation five, first determine eyes image gray scale average gradient value whether in gray scale average gradient value preset range,
The average gray of eyes image is determined again whether in average gray preset range, finally, determining the gray scale of eyes image
Whether standard deviation is in gray scale average gradient value preset range.
Situation six, first determine eyes image gray scale average gradient value whether in gray scale average gradient value preset range,
The grey scale difference of eyes image is determined again whether in gray scale average gradient value preset range, finally, determining eyes image
Average gray whether in average gray preset range.
It should be noted that it is understood that after due to adjusting current shooting parameter every time, working as after the adjustment is just needed
Under preceding acquisition parameters, new at least partly eyes image is reacquired, it is therefore, above-mentioned no matter which kind of method of determination to be used, if
First determining gray-scale statistical characteristics value is not due in corresponding preset range, then after adjusting current shooting parameter, so that first really
Fixed gray-scale statistical characteristics value is located in corresponding preset range, then whether the gray-scale statistical characteristics value determined afterwards is corresponding pre-
If in range, based at least partly eyes image, be that previously determined gray-scale statistical characteristics value is located at corresponding default model
At least partly eyes image being based in enclosing.
It should also be noted that, the mode of situation one is generallyd use, so that gray-scale statistical characteristics value is corresponding default
In range.
Separately it is to be appreciated that being directed to average gray, grey scale difference and the gray scale average gradient value part of eyes image,
Reference can be made to being described above, no longer specifically repeat herein.
In addition, it should be noted that, adjustment infrared light supply number parameter can be realized by control infrared light supply on-off.Such as
Shown in Fig. 2, a kind of schematic diagram of infrared light supply setting parameter is given.Black circles indicate that infrared light supply disconnects in Fig. 2, white
Circle and gray circles indicate that infrared light supply is connected, and infrared light supply brightness is different when being only connected, and white circle indicates infrared
Light-source brightness is maximum, with the increase of color depth in gray circles, indicates that infrared light supply brightness increases accordingly.Furthermore, it is possible to
It is understood that one of them can be only used alone at least two infrared light supplies that position each on circumference is placed
Infrared light supply can also be applied in combination, i.e., use at least two infrared light supplies simultaneously, can specifically be selected according to the actual situation
It selects, is not specifically limited herein.
It, can be with it should be noted that above by adjustment infrared light supply number parameter and/or infrared light supply luminance parameter
Realizing keeps the gray-scale statistical characteristics value of eyes image outer within a preset range, i.e., so that eyes image meet the requirements it is outer, can be with
Realize the power consumption for reducing eye movement tracing equipment.Power consumption for may be implemented to reduce eye movement tracing equipment can understand as follows: pass
In system technology, infrared light supply is usually set and is connected, i.e., no matter in the case of which kind of, infrared light supply holding is always on, above-mentioned set-up mode
So that the power consumption of eye movement tracing equipment is larger.And use technical solution provided by the embodiment of the present invention can be according to the actual situation
Infrared light supply brightness is adjusted, and then can realize the power consumption for reducing eye movement tracing equipment.
Fig. 3 is that a kind of acquisition parameters for eye movement tracing equipment that the embodiment of the present invention three provides adjust the structural representation of device
Figure, the present embodiment is applicable to the case where acquisition parameters of eye movement tracing equipment are adjusted flexibly, the device can using software and/
Or the mode of hardware is realized, which can be configured in equipment, such as eye movement tracing equipment etc..As shown in figure 3, the device has
Body includes:
Eyes image obtains module 210, for obtaining at least partly eye of the eyeball tracking equipment under current operation mode
Portion's image, current operation mode are set as the operating mode executed under current shooting parameter.
Gray-scale statistical characteristics value determining module 220, for determining the gray scale of eyes image according at least partly eyes image
Statistical characteristics, gray-scale statistical value are corresponding with current operation mode.
Current shooting parameter adjusts module 230, if the gray-scale statistical characteristics value for eyes image is not in preset range
It is interior, then current shooting parameter adjustment instruction is responded, the gray-scale statistical characteristics value of eyes image is adjusted to preset range.
The technical solution of the present embodiment, by obtaining at least partly eye of the eyeball tracking equipment under current operation mode
Image, current operation mode are set as the operating mode executed under current shooting parameter, true according at least partly eyes image
Determine the gray-scale statistical characteristics value of eyes image, gray-scale statistical value is corresponding with current operation mode, if the gray scale of eyes image
Statistical characteristics within a preset range, does not then respond current shooting parameter adjustment instruction, by the gray-scale statistical characteristics of eyes image
Value is adjusted to preset range, above by according to current operation mode obtain eyes image gray-scale statistical characteristics value, according to
The gray-scale statistical characteristics value of eyes image determines the strategy of corresponding adjustment current shooting parameter, realizes to different works at present
Current shooting parameter under mode is adjusted flexibly.
Optionally, based on the above technical solution, which specifically can also include:
Current operation mode determining module, for determining the current operation mode of eyeball tracking equipment, current operation mode
Including eyeball tracking mode or iris recognition mode.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes average gray, gray standard deviation
At least one of value and gray scale average gradient value.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes average gray, preset range packet
Average gray preset range is included, current shooting parameter includes infrared light supply number parameter and infrared light supply luminance parameter.
Current shooting parameter adjusts module 230, can specifically include:
First acquisition parameters adjusting submodule, if the average gray for eyes image is not default in average gray
In range, then infrared light supply number parameter and/or infrared light supply luminance parameter are adjusted, until the average gray tune of eyes image
It is whole in average gray preset range.
Optionally, based on the above technical solution, the average gray preset range of eyes image be set as by with
The range that the corresponding first gray scale average threshold of current operation mode and the second gray scale average threshold are formed, the first gray scale are averaged threshold
Value is less than the second gray scale average threshold.
First acquisition parameters adjusting submodule, can specifically include:
First shooting parameter adjustment unit, if the average gray for eyes image is average less than or equal to the first gray scale
Threshold value then increases infrared light supply luminance parameter and/or increases infrared light supply number parameter.
Second shooting parameter adjustment unit, if the average gray for eyes image is average more than or equal to the second gray scale
Threshold value then reduces infrared light supply luminance parameter and/or reduces infrared light supply number parameter.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes average gray and grey scale
Difference, preset range include average gray preset range and grey scale difference preset range, and current shooting parameter includes red
Outer light source number parameter, infrared light supply luminance parameter, shooting gain parameter and shooting exposure parameter.
Current shooting parameter adjusts module 230, can specifically include:
Second acquisition parameters adjusting submodule, if the average gray for eyes image is not default in average gray
In range, then infrared light supply number parameter and/or infrared light supply luminance parameter are adjusted, until the average gray tune of eyes image
It is whole in average gray preset range.
Third acquisition parameters adjusting submodule, if the grey scale difference for eyes image is not in grey scale difference
In preset range, then shooting gain parameter and/or shooting exposure parameter are adjusted, until the grey scale difference of eyes image is in ash
It spends in standard deviation preset range.
Optionally, based on the above technical solution, the grey scale difference preset range of eyes image be by with work as
The range that the corresponding first gray standard deviation threshold value of preceding operating mode and the second gray standard deviation threshold value are formed, the first grey scale
Poor threshold value is less than the second gray standard deviation threshold value.
Third acquisition parameters adjusting submodule, can specifically include:
Third shoots parameter adjustment unit, if the grey scale difference for eyes image is less than or equal to the first gray scale
Quasi- difference threshold value then reduces shooting gain parameter and/or reduces shooting exposure parameter.
4th acquisition parameters adjustment unit, if the grey scale difference for eyes image is more than or equal to the second gray scale
Quasi- difference threshold value then increases shooting gain parameter and/or increases shooting exposure parameter.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes that average gray and gray scale are average
Gradient value, preset range include average gray preset range and gray scale average gradient value preset range, current shooting parameter packet
Include infrared light supply number parameter, infrared light supply luminance parameter and infrared light supply wavelength parameter.
Current shooting parameter adjusts module 230, can specifically include:
4th acquisition parameters adjusting submodule, if the average gray for eyes image is not default in average gray
In range, then infrared light supply number parameter and/or infrared light supply luminance parameter are adjusted, until the average gray tune of eyes image
It is whole in average gray preset range.
5th acquisition parameters adjusting submodule, if the gray scale average gradient value for eyes image is not in the average ladder of gray scale
In angle value preset range, then infrared light supply wavelength parameter is adjusted, until the gray scale average gradient value of eyes image is adjusted to gray scale
In average gradient value preset range.
Optionally, based on the above technical solution, gray-scale statistical characteristics value includes average gray, gray standard deviation
Value and gray scale average gradient value, preset range includes average gray preset range, grey scale difference preset range and gray scale
Average gradient value preset range, current shooting parameter include infrared light supply number parameter, infrared light supply luminance parameter, infrared light supply
Wavelength parameter, shooting gain parameter and shooting glistening light of waves parameter.
Current shooting parameter adjusts module 230, can specifically include:
6th acquisition parameters adjusting submodule, if the average gray for eyes image is not default in average gray
In range, then infrared light supply number parameter and/or infrared light supply luminance parameter are adjusted, until the average gray tune of eyes image
It is whole in average gray preset range.
7th acquisition parameters adjusting submodule, if the grey scale difference for eyes image is not in grey scale difference
In preset range, then shooting gain parameter and/or shooting exposure parameter are adjusted, until the grey scale difference of eyes image is in ash
It spends in standard deviation preset range.
8th acquisition parameters adjusting submodule, if adjusting infrared light in gray scale average gradient value preset range
Source wavelength parameter, until the gray scale average gradient value of eyes image is in gray scale average gradient value preset range.
The acquisition parameters adjustment dress of the eye movement tracing equipment of eye movement tracing equipment is configured at provided by the embodiment of the present invention
Set the acquisition parameters tune that the eye movement tracing equipment provided by any embodiment of the invention applied to eye movement tracing equipment can be performed
Adjusting method has the corresponding functional module of execution method and beneficial effect.
Fig. 4 is a kind of structural schematic diagram of eye movement tracing equipment provided in an embodiment of the present invention, and the present embodiment is applicable to
The case where acquisition parameters of eye movement tracing equipment are adjusted flexibly, as shown in figure 4, the eye movement tracing equipment can specifically include: place
Eye movement tracing equipment as described in the embodiments of the present invention is arranged in reason device 31, camera 32 and light source adjusting module 33, processor 31
Acquisition parameters adjust device, processor 31 is communicated to connect with camera 32 and light source adjusting module 33 respectively.
Camera 32 shoots at least partly eyes image under current operation mode, and will at least partly eyes image send
To processor 31, processor 31 sends current shooting parameter adjustment instruction, light source tune to light source adjusting module 33 and camera 32
Mould preparation block 33 and camera 32 are according to current shooting parameter adjustment instruction adjustment acquisition parameters.
In an embodiment of the present invention, eye movement tracing equipment may include processor 31, camera 32 and light source adjustment mould
Block 33, wherein the acquisition parameters adjustment device of eye movement tracing equipment as described in the embodiments of the present invention, camera is arranged in processor 31
32 can shoot at least partly eyes image under work at present model, and at least partly will be sent to processor by eyes image
31, processor 31 can calculate the gray-scale statistical characteristics value of eyes image according at least partly eyes image, and determine gray scale system
Whether within a preset range characteristic value is counted, if gray-scale statistical characteristics value, illustrates to need to join shooting not within a preset range
Number is adjusted, at this point, generating current shooting parameter adjustment instruction, and current shooting parameter adjustment instruction is sent to light source tune
Mould preparation block 33 and camera 32, so that light source adjusting module 33 and camera 32 can be according to current shooting parameter adjustment instruction tune
Whole current shooting parameter.Wherein, camera 32 may include imaging sensor.Current operation mode may include eye movement tracking mould
Formula and iris recognition mode.
It should be noted that current shooting parameter may include that parameter is arranged in infrared light supply setting parameter and camera,
In, infrared light supply setting parameter may include infrared light supply number parameter, infrared light supply luminance parameter and infrared light supply wavelength ginseng
At least one of number.Camera setting parameter may include shooting gain parameter and/or shooting exposure parameter.Light source adjusts mould
Block 33 and camera 32 can adjust current shooting parameter according to current shooting parameter adjustment instruction, can understand as follows: light source
It adjusts module 33 and can adjust infrared light supply according to current shooting parameter adjustment instruction and parameter is set, camera 32 can be according to working as
Parameter is arranged in preceding acquisition parameters adjustment instruction adjustment camera.It should also be noted that, processor 31 only can adjust mould to light source
Block 33 sends current shooting parameter adjustment instruction, only can also send current shooting parameter adjustment instruction to camera 32.
The technical solution of the present embodiment shoots at least partly eyes image by camera under current operation mode, and
At least partly processor will be sent to by eyes image, processor determines that the gray-scale statistical of eyes image is special according at least eyes image
Value indicative, if it is determined that the gray-scale statistical characteristics value of eyes image within a preset range, does not then generate current shooting parameter adjustment and refers to
It enables, sends current shooting parameter adjustment instruction, light source adjusting module and camera according to working as to light source adjusting module and camera
Preceding acquisition parameters adjustment instruction adjusts current shooting parameter, determines phase above by according to the gray-scale statistical characteristics value of eyes image
The strategy for the adjustment acquisition parameters answered, realizes being adjusted flexibly to the current shooting parameter of different current operation modes.
Optionally, as shown in figure 5, based on the above technical solution, light source adjusting module 33 includes at least two light
Source adjusting submodule 331, each light source adjusting submodule 331 include pwm unit 3311, constant-current source driving unit
3312 and infrared light supply 3313, pwm unit 3311, constant-current source driving unit 3312 and infrared light supply 3313 are sequentially
It connects, it is in parallel between each light source adjusting submodule 331.
Pwm unit 3311 is according to current shooting parameter adjustment instruction output pulse width modulated signal, pulse
Bandwidth modulation signals control the size that constant-current source driving unit 3312 exports electric current, to adjust 3313 brightness of infrared light supply or control
3313 on-off of infrared light supply.
In an embodiment of the present invention, as shown in figure 5, light source adjusting module 33 includes at least two light source adjusting submodules
331, it is in parallel between each light source adjusting submodule 331, i.e., the input terminal of each light source adjusting submodule 331 with processor 31
Output end connection, the output end of each light source adjusting submodule 331 connect to power supply.Each light source adjusting submodule 331 has
Body may include pwm unit 3311, constant-current source driving unit 3312 and infrared light supply 3313, pulse width modulation
Unit 3311, constant-current source driving unit 3312 and infrared light supply 3313 are sequentially connected with, i.e., pwm unit 3311 is defeated
Enter end to connect with the output end of processor 31, output end and the constant-current source driving unit 3312 of pwm unit 3311
Input terminal connection, the output end of constant-current source driving unit 3312 are connect with one end of infrared light supply 3313, infrared light supply 3313
The other end connects to power supply, and infrared light supply 3313 can be LED light.
Pwm unit 3311 is according to current shooting parameter adjustment instruction output pulse width modulated signal, pulse
Bandwidth modulation signals control the size that constant-current source driving unit 3312 exports electric current, to adjust 3313 brightness of infrared light supply or control
3313 on-off of infrared light supply.Wherein, pulse width modulation is that a kind of pair of analog signal level carries out digitally coded method, is passed through
The use of high-resolution counter, the duty ratio of square wave is modulated to be encoded for the level to a physical simulation signal,
Pulse width modulating signal is still number, because expiring the direct current supply of amplitude at given any moment or having completely
(ON) or entirely without (OFF).Constant-current source driving unit 3312 is added to a kind of repetition pulse sequence being turned on or off
What fictitious load got on, conducting is that direct current supply is added in load, and disconnection is that direct current supply is disconnected.Pulse width
The ratio of (or bright) time and disconnection (or dark) time is connected by adjusting infrared lamp source 3313 to realize tune in modulation unit
3313 brightness of infrared light supply is saved, and the signal period is constant.Illustratively, if infrared light supply 3313 is with 25% turn-on time
25% brightness can be generated.In addition, making its electric current be by constant-current source driving unit 3312 when infrared light supply 3313 is connected
Constant.
It should be noted that adjustment 3313 quantity of infrared light supply and adjustment may be implemented in control 3313 on-off of infrared light supply
3313 wavelength of infrared light supply.
Optionally, as shown in figure 4, based on the above technical solution, which specifically can also include
Proximity sensor 34, proximity sensor 34 and processor 31 communicate to connect.
Proximity sensor 34 is detected to be greater than away from current proximity values and be preset close to threshold value, then generates open command, and will open
It opens instruction and camera 32 and light source adjusting module 33 is sent to by processor 31, so that camera 32 and light source adjusting module 33
Into working condition.
In an embodiment of the present invention, eye movement tracing equipment specifically can also include proximity sensor 34, proximity sensor
34 be a kind of instead of contact measurements modes such as limit switches, without contacting the sensor for the purpose of test object is detected
General name.Proximity sensor 34 can will test the mobile message of object and there are information to be converted to electric signal.Close to sensing
The light that light source emits can be irradiated in test object by device 34, according to the close acceptance part for being reflected into proximity sensor 34
Light quantity determine the proximity values between test object (i.e. distance value) that light source described here refers to infrared light supply, detection
Object can refer to user face, including user's eye.Proximity sensor 34 is detected to be greater than away from current proximity values and be preset close to threshold
Value it is default close to threshold value to detect that the distance between user's eye value is greater than, it can be said that bright user has currently used eye
Open command at this point, generating open command, and is sent to camera 32 and light source adjustment by processor 31 by dynamic tracing equipment
Module 33, so that camera 32 and light source adjusting module 33 enter working condition.
Optionally, as shown in figure 4, based on the above technical solution, which specifically can also include
Ambient light sensor 35, ambient light sensor 35 and processor 31 communicate to connect, and ambient light sensor 35 can be used for acquiring ring
Border light intensity signal, and ambient light intensity signal is sent to processor 35, so that processor 35 adjusts eye movement tracing equipment
Backlight illumination.
Technical solution provided by embodiment for a better understanding of the present invention will be carried out further with specific example below
Illustrate, it is specific: as shown in fig. 6, giving a kind of application schematic diagram of the shooting parameter adjustment method of eye movement tracing equipment.Figure
The eyes image that eye movement tracing equipment is shot under current shooting parameter is obtained in 6, the gray-scale statistical value of eyes image is not pre-
If in range, then adjusting the current shooting parameter of eye movement tracing equipment, wherein by adjusting the infrared light supply of eye movement tracing equipment
Parameter mid-infrared light source number parameter and infrared light supply luminance parameter are set, current shooting parameter is adjusted.Black circles in Fig. 6
Indicate that infrared light supply disconnects, white circle and gray circles indicate that infrared light supply is connected, and white circle indicates infrared light
Source brightness is maximum, with the increase of color depth in gray circles, indicates that infrared light supply brightness increases accordingly.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey
A kind of shooting parameter adjustment method of eye movement tracing equipment as provided by the embodiment of the present invention is realized when sequence is executed by processor,
This method comprises:
At least partly eyes image of the eyeball tracking equipment under current operation mode is obtained, current operation mode is set as
The operating mode executed under current shooting parameter.
The gray-scale statistical characteristics value of eyes image, gray-scale statistical value and work at present are determined according at least partly eyes image
Mode is corresponding.
If the gray-scale statistical characteristics value of eyes image within a preset range, does not respond current shooting parameter adjustment and refers to
It enables, the gray-scale statistical characteristics value of eyes image is adjusted to preset range.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (Random Access of one or more conducting wires
Memory, RAM), read-only memory (Read-Only Memory, ROM), erasable programmable read only memory (Erasable
Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable compact disc read-only memory
(Computer Disc Read-Only Memory, CD-ROM), light storage device, magnetic memory device or above-mentioned any
Suitable combination.In this document, computer readable storage medium can be any tangible medium for including or store program, should
Program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to without
Line, electric wire, optical cable, radio frequency etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
It is related in the situation of remote computer, remote computer can pass through the network of any kind --- local area network (Local Area
Network, LAN) or wide area network (Wide Area Network, WAN)-be connected to subscriber computer, or, it may be connected to
Outer computer (such as being connected using ISP by internet).
Certainly, a kind of computer readable storage medium provided by the embodiment of the present invention, computer executable instructions are not
It is limited to method operation as described above, the shooting ginseng of eye movement tracing equipment provided by any embodiment of the invention can also be performed
Relevant operation in number adjusting method.It can be found in the content in embodiment to the introduction of storage medium to explain.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (14)
1. a kind of shooting parameter adjustment method of eyeball tracking equipment characterized by comprising
At least partly eyes image of the eyeball tracking equipment under current operation mode is obtained, the current operation mode is set as
The operating mode executed under current shooting parameter;
Determine the gray-scale statistical characteristics value of eyes image according at least partly eyes image, the gray-scale statistical value with it is described
Current operation mode is corresponding;
If the gray-scale statistical characteristics value of the eyes image within a preset range, does not respond current shooting parameter adjustment and refers to
It enables, the gray-scale statistical characteristics value of the eyes image is adjusted to the preset range.
2. the method according to claim 1, wherein the acquisition eyeball tracking equipment is under current operation mode
At least partly eyes image, the current operation mode is set as before the operating mode executed under current shooting parameter,
Further include:
Determine that the current operation mode of eyeball tracking equipment, the current operation mode include eyeball tracking mode or iris recognition
Mode.
3. the method according to claim 1, wherein the gray-scale statistical characteristics value includes average gray, ash
Spend at least one of standard deviation and gray scale average gradient value.
4. method according to claim 1 to 3, which is characterized in that the gray-scale statistical characteristics value includes that gray scale is average
Value, the preset range include average gray preset range, the current shooting parameter include infrared light supply number parameter and
Infrared light supply luminance parameter;
If the gray-scale statistical characteristics value of the eyes image within a preset range, does not respond current shooting parameter adjustment
Instruction, the gray-scale statistical characteristics value of the eyes image is adjusted to the preset range, comprising:
If the average gray of the eyes image in the average gray preset range, does not adjust the infrared light
Source number parameter and/or the infrared light supply luminance parameter, until the average gray of the eyes image is adjusted to the ash
It spends in average value preset range.
5. according to the method described in claim 4, it is characterized in that, the average gray preset range of the eyes image is arranged
For the range formed by the first gray scale average threshold corresponding with current operation mode and the second gray scale average threshold, described first
Gray scale average threshold is less than the second gray scale average threshold;
If the average gray of the eyes image adjusts described red not in the average gray preset range
Outer light source number parameter and/or the infrared light supply luminance parameter, comprising:
If the average gray of the eyes image is less than or equal to the first gray scale average threshold, increase the infrared light
Source luminance parameter and/or the increase infrared light supply number parameter;
If the average gray of the eyes image is more than or equal to the second gray scale average threshold, reduce the infrared light
Source luminance parameter and/or the reduction infrared light supply number parameter.
6. method according to claim 1 to 3, which is characterized in that the gray-scale statistical characteristics value includes that gray scale is average
Value and grey scale difference, the preset range includes average gray preset range and grey scale difference preset range, institute
Stating current shooting parameter includes infrared light supply number parameter, infrared light supply luminance parameter, shooting gain parameter and shooting exposure ginseng
Number;
If the gray-scale statistical characteristics value of the eyes image within a preset range, does not respond current shooting parameter adjustment
Instruction, the gray-scale statistical characteristics value of the eyes image is adjusted to the preset range, comprising:
If the average gray of the eyes image in the average gray preset range, does not adjust the infrared light
Source number parameter and/or the infrared light supply luminance parameter, until the average gray of the eyes image is adjusted to the ash
It spends in average value preset range;
If the grey scale difference of the eyes image in the grey scale difference preset range, does not adjust the bat
Gain parameter and/or the shooting exposure parameter are taken the photograph, until the grey scale difference of the eyes image is in the grey scale
In difference preset range.
7. according to the method described in claim 6, it is characterized in that, the grey scale difference preset range of the eyes image is
The range formed by the first gray standard deviation threshold value corresponding with current operation mode and the second gray standard deviation threshold value, described
One gray standard deviation threshold value is less than the second gray standard deviation threshold value;
If the grey scale difference of the eyes image in grey scale difference preset range, does not adjust the bat
Take the photograph gain parameter and/or the shooting exposure parameter, comprising:
If the grey scale difference of the eyes image is less than or equal to the first gray standard deviation threshold value, reduce the bat
It takes the photograph gain parameter and/or reduces the shooting exposure parameter;
If the grey scale difference of the eyes image is more than or equal to the second gray standard deviation threshold value, increase the bat
It takes the photograph gain parameter and/or increases the shooting exposure parameter.
8. method according to claim 1 to 3, which is characterized in that the gray-scale statistical characteristics value includes that gray scale is average
Value and gray scale average gradient value, the preset range include that average gray preset range and gray scale average gradient value preset model
It encloses, the current shooting parameter includes infrared light supply number parameter, infrared light supply luminance parameter and infrared light supply wavelength parameter;
If the gray-scale statistical characteristics value of the eyes image within a preset range, does not respond current shooting parameter adjustment
Instruction, the gray-scale statistical characteristics value of the eyes image is adjusted to the preset range, comprising:
If the average gray of the eyes image in the average gray preset range, does not adjust the infrared light
Source number parameter and/or the infrared light supply luminance parameter, until the average gray of the eyes image is adjusted to the ash
It spends in average value preset range;
If the gray scale average gradient value of the eyes image in the gray scale average gradient value preset range, does not adjust institute
State infrared light supply wavelength parameter, until the eyes image gray scale average gradient value adjust it is pre- to the gray scale average gradient value
If in range.
9. method according to claim 1 to 3, which is characterized in that the gray-scale statistical characteristics value includes that gray scale is average
Value, grey scale difference and gray scale average gradient value, the preset range include average gray preset range, gray standard deviation
It is worth preset range and gray scale average gradient value preset range, the current shooting parameter includes infrared light supply number parameter, infrared
Light-source brightness parameter, infrared light supply wavelength parameter, shooting gain parameter and shooting glistening light of waves parameter;
If the gray-scale statistical characteristics value of the eyes image within a preset range, does not respond current shooting parameter adjustment
Instruction, the gray-scale statistical characteristics value of the eyes image is adjusted to the preset range, comprising:
If the average gray of the eyes image in the average gray preset range, does not adjust the infrared light
Source number parameter and/or the infrared light supply luminance parameter, until the average gray of the eyes image is adjusted to the ash
It spends in average value preset range;
If the grey scale difference of the eyes image in the grey scale difference preset range, does not adjust the bat
Gain parameter and/or the shooting exposure parameter are taken the photograph, until the grey scale difference of the eyes image is in the grey scale
In difference preset range;
If in the gray scale average gradient value preset range, adjusting the infrared light supply wavelength parameter, until the eye
The gray scale average gradient value of image is in the gray scale average gradient value preset range.
10. a kind of acquisition parameters of eye movement tracing equipment adjust device characterized by comprising
Eyes image obtains module, for obtaining at least partly eyes image of the eyeball tracking equipment under current operation mode,
The current operation mode is set as the operating mode executed under current shooting parameter;
Gray-scale statistical characteristics value determining module, for determining the gray-scale statistical of eyes image according at least partly eyes image
Characteristic value, the gray-scale statistical value are corresponding with the current operation mode;
Current shooting parameter adjusts module, if gray-scale statistical characteristics value for the eyes image is not within a preset range,
Current shooting parameter adjustment instruction is then responded, the gray-scale statistical characteristics value of the eyes image is adjusted to the preset range
It is interior.
11. a kind of eye movement tracing equipment characterized by comprising processor, camera and light source adjusting module, the processing
The acquisition parameters adjustment device of eye movement tracing equipment as claimed in claim 10 is arranged in device, and the processor is taken the photograph with described respectively
As head and the light source adjusting module communicate to connect;
The camera shoots at least partly eyes image under work at present mould, and at least partly eyes image is sent
To the processor, the processor sends current shooting parameter adjustment to the light source adjusting module and the camera and refers to
It enables, the light source adjusting module and the camera adjust the current shooting according to the current shooting parameter adjustment instruction and join
Number.
12. eye movement tracing equipment according to claim 11, which is characterized in that the light source adjusting module includes at least two
A light source adjusting submodule, each light source adjusting submodule include pwm unit, constant-current source driving unit and
Infrared light supply, the pwm unit, the constant-current source driving unit and the infrared light supply are sequentially connected with, each light source
It is in parallel between adjusting submodule;
The pwm unit is described according to the current shooting parameter adjustment instruction output pulse width modulated signal
Pulse width modulating signal controls the size of constant-current source driving unit output electric current, with adjust the infrared light supply brightness or
Control the infrared light supply on-off.
13. eye movement tracing equipment according to claim 12, which is characterized in that it further include proximity sensor, it is described close
Sensor is connected with the processor communication;
It is default close to threshold value that the proximity sensor detects that current proximity values are greater than, then generates open command, and open described
It opens instruction and the camera and the light source adjusting module is sent to by the processor, so that the camera and the light
Source adjustment module enters working condition.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The method as described in claim 1-9 is any is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910368780.8A CN110062168B (en) | 2019-05-05 | 2019-05-05 | Shooting parameter adjusting method, device, equipment and medium for eye movement tracking equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910368780.8A CN110062168B (en) | 2019-05-05 | 2019-05-05 | Shooting parameter adjusting method, device, equipment and medium for eye movement tracking equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110062168A true CN110062168A (en) | 2019-07-26 |
CN110062168B CN110062168B (en) | 2021-04-27 |
Family
ID=67322173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910368780.8A Active CN110062168B (en) | 2019-05-05 | 2019-05-05 | Shooting parameter adjusting method, device, equipment and medium for eye movement tracking equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110062168B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112528713A (en) * | 2019-09-19 | 2021-03-19 | 北京七鑫易维信息技术有限公司 | Method, system, processor and equipment for estimating fixation point |
CN112989964A (en) * | 2021-02-24 | 2021-06-18 | 歌尔股份有限公司 | Detection device, detection system and detection method for eyeball tracking module performance |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1623506A (en) * | 2003-12-07 | 2005-06-08 | 倪蔚民 | Bioassay system based on iris texture analysis |
EP1768390A2 (en) * | 2005-09-26 | 2007-03-28 | Canon Kabushiki Kaisha | Wavelength component proportion detection apparatus and image-pickup apparatus |
EP2133837A1 (en) * | 2007-03-30 | 2009-12-16 | Mitsubishi Electric Corporation | Image processing apparatus and program storage medium |
CN102223486A (en) * | 2011-04-13 | 2011-10-19 | 北京瑞澜联合通信技术有限公司 | Low-illumination camera imaging control method and device, camera system |
CN102622586A (en) * | 2012-03-08 | 2012-08-01 | 湖南创远智能科技有限公司 | Iris-acquisition optical system for assisting focusing by utilizing visible light |
CN103731649A (en) * | 2013-12-13 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Image color temperature adjusting device and method and smart television |
CN206594689U (en) * | 2017-03-31 | 2017-10-27 | 北京七鑫易维信息技术有限公司 | A kind of Eye-controlling focus device and head-mounted display apparatus |
CN108574804A (en) * | 2018-07-04 | 2018-09-25 | 珠海市微半导体有限公司 | A kind of Light Source Compensation system and method for vision robot |
CN109598209A (en) * | 2018-11-15 | 2019-04-09 | 北京无线电计量测试研究所 | A kind of detection method of definition of iris image |
-
2019
- 2019-05-05 CN CN201910368780.8A patent/CN110062168B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1623506A (en) * | 2003-12-07 | 2005-06-08 | 倪蔚民 | Bioassay system based on iris texture analysis |
EP1768390A2 (en) * | 2005-09-26 | 2007-03-28 | Canon Kabushiki Kaisha | Wavelength component proportion detection apparatus and image-pickup apparatus |
EP2133837A1 (en) * | 2007-03-30 | 2009-12-16 | Mitsubishi Electric Corporation | Image processing apparatus and program storage medium |
CN102223486A (en) * | 2011-04-13 | 2011-10-19 | 北京瑞澜联合通信技术有限公司 | Low-illumination camera imaging control method and device, camera system |
CN102622586A (en) * | 2012-03-08 | 2012-08-01 | 湖南创远智能科技有限公司 | Iris-acquisition optical system for assisting focusing by utilizing visible light |
CN103731649A (en) * | 2013-12-13 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Image color temperature adjusting device and method and smart television |
CN206594689U (en) * | 2017-03-31 | 2017-10-27 | 北京七鑫易维信息技术有限公司 | A kind of Eye-controlling focus device and head-mounted display apparatus |
CN108574804A (en) * | 2018-07-04 | 2018-09-25 | 珠海市微半导体有限公司 | A kind of Light Source Compensation system and method for vision robot |
CN109598209A (en) * | 2018-11-15 | 2019-04-09 | 北京无线电计量测试研究所 | A kind of detection method of definition of iris image |
Non-Patent Citations (1)
Title |
---|
赵彦涛,聂向荣等: "基于选择性阈值取反和径向对称的瞳孔中心定位", 《光电子·激光》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112528713A (en) * | 2019-09-19 | 2021-03-19 | 北京七鑫易维信息技术有限公司 | Method, system, processor and equipment for estimating fixation point |
CN112989964A (en) * | 2021-02-24 | 2021-06-18 | 歌尔股份有限公司 | Detection device, detection system and detection method for eyeball tracking module performance |
CN112989964B (en) * | 2021-02-24 | 2023-03-28 | 歌尔股份有限公司 | Detection device, detection system and detection method for performance of eyeball tracking module |
Also Published As
Publication number | Publication date |
---|---|
CN110062168B (en) | 2021-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106874895B (en) | A kind of Eye-controlling focus device and head-mounted display apparatus | |
CN108876708B (en) | Image processing method, image processing device, electronic equipment and storage medium | |
US8295559B2 (en) | Face image pickup device and method | |
US8855371B2 (en) | Color image processing method, color image processing device, and color image processing program | |
US10722113B2 (en) | Gaze detection apparatus and gaze detection method | |
CN105744174B (en) | A kind of self-timer method, device and mobile terminal | |
US9427174B2 (en) | Endoscope apparatus and control method for adjusting light beam based on geometry of body | |
CN110062168A (en) | Shooting parameter adjustment method, device, equipment and the medium of eye movement tracing equipment | |
WO2020052555A1 (en) | Method for modulating brightness-grayscale curve of display device, and electronic device | |
CN106707674A (en) | Automatic focusing method of projection equipment and the projection equipment | |
CN105636501B (en) | Endoscopic system | |
CN109842763A (en) | A kind of automatic light-supplementing method, system and video camera | |
CN108600649B (en) | Intelligent household illumination brightness acquisition and control method | |
CN106210334A (en) | A kind of smart flash lamp control method, system and mobile terminal | |
JP7401013B2 (en) | Information processing device, control device, information processing method and program | |
CN107742510A (en) | A kind of eyeshield intensity adjustment method, apparatus, electric terminal and storage medium | |
KR102266453B1 (en) | Apparatus and method for Object tracking in welding process | |
CN107222685B (en) | Image acquisition device and operation method thereof | |
CN208656905U (en) | A kind of light compensating lamp control equipment | |
CN108391356B (en) | Intelligent household lighting control system | |
JP2016028669A (en) | Pupil detection device and pupil detection method | |
JP6501868B2 (en) | Imaging device, signal processing device, and skin diagnosis system | |
CN109115333A (en) | The detection method and detection system of laser projecting apparatus | |
CN106875920B (en) | A kind of parameter regulation means and device | |
JP7318793B2 (en) | Biometric authentication device, biometric authentication method, and its program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |