CN104125401B - Control the method and filming apparatus of image working sensor - Google Patents
Control the method and filming apparatus of image working sensor Download PDFInfo
- Publication number
- CN104125401B CN104125401B CN201410350204.8A CN201410350204A CN104125401B CN 104125401 B CN104125401 B CN 104125401B CN 201410350204 A CN201410350204 A CN 201410350204A CN 104125401 B CN104125401 B CN 104125401B
- Authority
- CN
- China
- Prior art keywords
- image
- imaging sensor
- frequency
- noise
- shot
- 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.)
- Active
Links
Landscapes
- Studio Devices (AREA)
Abstract
Exemplary embodiment of the present provides the method and filming apparatus of a kind of control image working sensor, and methods described includes:Control the first imaging sensor shooting image;Detect that the image that the first imaging sensor is shot whether there is light and dark band;When there is light and dark band in the image that the first imaging sensor is shot, the second imaging sensor of detection under the set of frequency identical set of frequency for being used to eliminate Hz noise with the first imaging sensor the image that shoots with the presence or absence of light and dark band;Switch the set of frequency for being used to eliminate Hz noise of the first imaging sensor according to the testing result of the image shot to the second imaging sensor.Using the method and filming apparatus of the control image working sensor of exemplary embodiment of the present, the misrecognition of light and dark band can be effectively reduced, the frequency of occurrences of light and dark band is reduced.
Description
Technical field
This invention relates generally to automation field, more particularly, it is related to a kind of use for switching imaging sensor
In the method and filming apparatus of the set of frequency for eliminating Hz noise.
Background technology
When being powered using alternating current to interior lighting system, because the frequency and voltage strength of alternating current are carried out over time
Cyclically-varying, so that the brightness for causing room lighting is not constant, but flashes with the frequency of alternating current, but
General human eye is not aware of this flicker, it is believed that brightness is constant.
For complementary metal oxide semiconductor (CMOS) imaging sensor, because its Exposure mode is carried out line by line.
When being powered using alternating current to interior lighting system, if often the row time for exposure is not equal to alternating current frequency to cmos image sensor
During the integral multiple of rate half period (for example, 1/100 second or 1/120 second), the brightness that cmos image sensor is often gone can be caused not
Unanimously.Macroscopic view seems that the image frame of cmos image sensor output can have Flicker phenomenons (light and dark bar
Band).
At present, alternating current uses multi-frequency (for example, 50 Hz and 60 Hz) in the world, so in cmos image sensor
Portion also correspond to alternating current multi-frequency have multi-frequency elimination Flicker phenomenons setting.In order to improve the suitable of product
With property, current main stream of CMOS imaging sensor all has cutting for the setting of a variety of elimination Flicker phenomenons of built-in algorithms progress
Change.Conventional method is:The acquiescence of cmos image sensor can be set to eliminate the setting of Flicker phenomenons.If for example, set
The acquiescence put eliminates the setting of the elimination Flicker phenomenons for being set to 50Hz of Flicker phenomenons, then cmos image sensor is opened
When dynamic, the setting of 50Hz elimination Flicker phenomenons can be called;If cmos image sensor identifies the elimination in 50Hz
Under the setting of Flicker phenomenons, there is Flicker phenomenons in the image frame of output, can now be converted to 60Hz elimination
The setting of Flicker phenomenons, vice versa.The image frame of output discriminated whether Flicker phenomenons produce be by
Algorithm inside cmos image sensor judges, but this algorithm presently, there are defect, often cause in environment indoors
The generation of Flicker phenomenons misrecognition, so as to cause cmos image sensor to be converted to unmatched elimination Flicker phenomenons
Set to produce Flicker phenomenons.
Using the above method, the region fixed even in an ac frequency is indoor because room lighting light is uneven
Some places are brighter, some places are dark, camera in follow shot room during some scenery, cmos image sensor output
Image frame can be by cmos image sensor erroneous judgement to there is Flicker phenomenons, so as to not be transformed into another frequency not
The setting matched somebody with somebody, causes whole picture all to there is Flicker phenomenons, when judged again next time, can just correct.
When so user watches the image frame of cmos image sensor output indoors, it just can be appreciated that whole picture has light and shade phase once in a while
Between band movement, influence user usage experience.In the picture shot simultaneously, if there is similar frequency interferences,
The Flicker phenomenon erroneous judgements of cmos image sensor can be caused.
The content of the invention
The purpose of exemplary embodiment of the present is to provide a kind of method for controlling image working sensor and shooting dress
Put, when carrying out indoor shot using the electronic equipment with the first imaging sensor and the second imaging sensor, in control
When making the first imaging sensor shooting image, add and Flicker phenomenons whether there is to the image that the second imaging sensor is shot
Detection, further reduction Flicker phenomenons misrecognition generation.
The one side of exemplary embodiment of the present provides a kind of method for controlling image working sensor, methods described bag
Include:Control the first imaging sensor shooting image;Detect the image of the first imaging sensor shooting with the presence or absence of light and dark
Band;When the image that the first imaging sensor is shot has light and dark band, the second imaging sensor of detection is with the
The image shot under the set of frequency identical set of frequency for eliminating Hz noise of one imaging sensor is with the presence or absence of bright
Band between dark phase;Being used for for first imaging sensor is switched according to the testing result of the image shot to the second imaging sensor
Eliminate the set of frequency of Hz noise.
Alternatively, when the image that the second imaging sensor is shot has light and dark band, the first image can be passed
Being used for of sensor eliminate Hz noise set of frequency be switched to it is another be used to eliminating the set of frequency of Hz noise, and control the
One imaging sensor it is another for eliminate Hz noise set of frequency under shooting image.
Alternatively, when the image that the second imaging sensor is shot has light and dark band, the first image can be passed
The set of frequency for being used to eliminate Hz noise of sensor automatically switches to another set of frequency for being used to eliminate Hz noise, and controls
Make the first imaging sensor it is another for eliminate Hz noise set of frequency under shooting image.
Alternatively, when the image that the second imaging sensor is shot has light and dark band, it can show and cut to user
Use instead in the prompting for the set of frequency for eliminating Hz noise.
Alternatively, when light and dark band is not present in the image that the second imaging sensor is shot, first can not be switched
The set of frequency for being used to eliminate Hz noise of imaging sensor.
Alternatively, when light and dark band is not present in the image that the first imaging sensor is shot, first can not be switched
The set of frequency for being used to eliminate Hz noise of imaging sensor.
Alternatively, method of the present invention can also include:The image of the first imaging sensor shooting is exported, wherein, when
When light and dark band is not present in the image that first imaging sensor is shot, the first imaging sensor of output disappears being currently used in
Except the image shot under the set of frequency of Hz noise;When light and dark bar is not present in the image that the second imaging sensor is shot
During band, the image that the first imaging sensor of output is shot in the case where being currently used in the set of frequency for eliminating Hz noise;When the second figure
When there is light and dark band as the image of sensor shooting, the first imaging sensor of output is done another for eliminating power frequency
The image shot under the set of frequency disturbed.
Alternatively, the set of frequency for being used to eliminate Hz noise can be the frequency for eliminating 50 hertz of Hz noises
Set or for one kind in the set of frequency of 60 hertz of Hz noises of elimination.
Alternatively, the set of frequency for being used to eliminate Hz noise of described first image sensor can be in advance in the first figure
As the set of frequency for being used to eliminate Hz noise set in sensor.
Alternatively, the set of frequency for being used to eliminate Hz noise of described first image sensor can be the second image sensing
The currently stored set of frequency for being used to eliminate Hz noise of device.
Alternatively, when controlling the first imaging sensor shooting image, the second imaging sensor shooting figure can be controlled simultaneously
Picture.
Alternatively, when the image that the first imaging sensor is shot has light and dark band, it can control the second image
Sensor shooting image.
Alternatively, detecting the step of image that the first imaging sensor is shot whether there is light and dark band can be:
(1) image for shooting described first image sensor is divided into multiple regions;(2) detect that each region whether there is light and shade phase
Between band;(3) when the ratio that the region that there is light and dark band accounts for Zone Full reaches predetermined threshold, it is determined that institute
There is light and dark band in the image for stating the shooting of the first imaging sensor.
The another aspect of exemplary embodiment of the present provides a kind of filming apparatus, and the filming apparatus includes:Input is single
Member, receives the input of user;First imaging sensor, in response to the input shooting image;Second imaging sensor, in response to
The input with the first imaging sensor for eliminate Hz noise set of frequency identical set of frequency under shooting figure
Picture;First detection unit, the image that the first imaging sensor of detection is shot whether there is light and dark band;Second detection is single
Member, when there is light and dark band in the image that the first imaging sensor is shot, the figure that the second imaging sensor of detection is shot
As whether there is light and dark band;Switch unit, cuts according to the testing result of the image shot to the second imaging sensor
Change the set of frequency for being used to eliminate Hz noise of the first imaging sensor.
Alternatively, when the image that the second imaging sensor is shot has light and dark band, switch unit can be by the
The set of frequency for being used to eliminate Hz noise of one imaging sensor is switched to another set of frequency for being used to eliminate Hz noise,
And control the first imaging sensor it is another for eliminate Hz noise set of frequency under shooting image.
Alternatively, when the image that the second imaging sensor is shot has light and dark band, switch unit can be by the
The set of frequency for being used to eliminate Hz noise of one imaging sensor automatically switches to another frequency for being used to eliminate Hz noise
Set, and control the first imaging sensor it is another for eliminate Hz noise set of frequency under shooting image.
Alternatively, when the second imaging sensor shoot image there is light and dark band when, switch unit can to
Family display switching is used for the prompting for eliminating the set of frequency of Hz noise.
Alternatively, when light and dark band is not present in the image that the second imaging sensor is shot, switch unit can not
Switch the set of frequency for being used to eliminate Hz noise of the first imaging sensor.
Alternatively, when light and dark band is not present in the image that the first imaging sensor is shot, switch unit can not
Switch the set of frequency for being used to eliminate Hz noise of the first imaging sensor.
Alternatively, filming apparatus of the present invention can also include image output unit, for exporting the first image sensing
The image that device is shot, wherein, when light and dark band is not present in the image that the first imaging sensor is shot, image output is single
The image that member the first imaging sensor of output is shot in the case where being currently used in the set of frequency for eliminating Hz noise;When the second image is passed
When light and dark band is not present in the image that sensor is shot, image output unit exports the first imaging sensor and is being currently used in
The image shot under the set of frequency for eliminating Hz noise;When the image that the second imaging sensor is shot has light and dark bar
During band, image output unit export the first imaging sensor it is another for eliminate Hz noise set of frequency under the figure that shoots
Picture.
Alternatively, the set of frequency for being used to eliminate Hz noise can be the frequency for eliminating 50 hertz of Hz noises
Set or for one kind in the set of frequency of 60 hertz of Hz noises of elimination.
Alternatively, the set of frequency for being used to eliminate Hz noise of described first image sensor can be in advance in the first figure
As the set of frequency for being used to eliminate Hz noise set in sensor.
Alternatively, the set of frequency for being used to eliminate Hz noise of described first image sensor can be the second image sensing
The currently stored set of frequency for being used to eliminate Hz noise of device.
Alternatively, when controlling the first imaging sensor shooting image, the second imaging sensor can be controlled to clap simultaneously
Take the photograph image.
Alternatively, when the image that the first imaging sensor is shot has light and dark band, the second imaging sensor
It is controlled to shooting image.
Alternatively, the image that described first image sensor is shot can be divided into multiple regions by the first detection unit, inspection
Each region is surveyed with the presence or absence of light and dark band, when the ratio that the region that there is light and dark band accounts for Zone Full reaches
During to predetermined threshold, it is determined that the image that described first image sensor is shot has light and dark band.
Using the method and apparatus of the control image working sensor of exemplary embodiment of the present, by the first image
The detection twice for the image that the image and the second imaging sensor that sensor is shot are shot, effectively reduces Flicker phenomenons
Misrecognition.
Brief description of the drawings
Pass through the detailed description carried out below in conjunction with the accompanying drawings, above and other purpose of exemplary embodiment of the present, spy
Point and advantage will become apparent, wherein:
Fig. 1 is the flow chart for the method for showing control image working sensor according to an exemplary embodiment of the present invention;
Fig. 2 is the structured flowchart for showing filming apparatus according to an exemplary embodiment of the present invention.
Embodiment
Exemplary embodiment of the present is described in detail now, its example is illustrated in the accompanying drawings, wherein, identical
Label represents same parts all the time.Below with reference to the accompanying drawings embodiment is described to explain the present invention.
Fig. 1 is the flow chart for the method for showing control image working sensor according to an exemplary embodiment of the present invention.
As shown in figure 1, in step S101, controlling the first imaging sensor shooting image.
In step s 102, the image that the first imaging sensor of detection is shot whether there is light and dark band.
The image that first imaging sensor of detection according to an exemplary embodiment of the present invention is shot is with the presence or absence of light and dark
Band the step of can be:The image that described first image sensor is shot is divided into multiple regions;Detecting each region is
It is no to there is light and dark band;When the ratio that the region that there is light and dark band accounts for Zone Full reaches predetermined threshold
When, it is determined that there is light and dark band in the image that described first image sensor is shot.
For example, the size for the image that can be shot according to the first imaging sensor, the image that the first imaging sensor is shot
Multiple regions (for example, described image can be divided into 7 × 6 42 regions) are divided into, then detect whether each region deposits
In light and dark band, when the ratio that the region that there is light and dark band accounts for Zone Full reaches predetermined threshold, then
Determine that the image that the first imaging sensor is shot has light and dark band, at this moment just can further detect the second image sensing
The image that device is shot whether there is light and dark band.Here, the numerical value of predetermined threshold can be set by user.
When the image that the first imaging sensor is shot has light and dark band, step S103 is performed:Detection second
Imaging sensor with the first imaging sensor for eliminate Hz noise set of frequency identical set of frequency under shoot
Image whether there is light and dark band.
Alternatively, when light and dark band is not present in the image that the first imaging sensor is shot, step S104 is performed:
The set of frequency for being used to eliminate Hz noise of the first imaging sensor is not switched.
In one example, when can work as the first imaging sensor shooting image of control, while controlling the second imaging sensor
Shooting image.In this example, while controlling the first imaging sensor and the second imaging sensor shooting image, once the first figure
When there is light and dark band as the image of sensor shooting, the image that the second imaging sensor is shot can be examined at once
Survey, response speed during detection can be improved.
In another example, when there is light and dark band in the image that the first imaging sensor is shot, control the
Two imaging sensor shooting images.In this example, there is light and dark band in the image shot in the first imaging sensor,
When needing further to be detected by the image that the second imaging sensor is shot, the second imaging sensor is now controlled to shoot again
Image, can reduce the power consumption of the system when shooting.
Because alternating current uses multi-frequency (for example, 50 Hz and 60 Hz) in the world, then in imaging sensor
The multi-frequency of correspondence alternating current has a variety of set of frequency for being used to eliminate Hz noise (for example, for eliminating 50 hertz of works
The set of frequency of frequency interference and the set of frequency for eliminating 60 hertz of Hz noises).When being shot under illumination light indoors
When, the frequency for being used to eliminate the power supply of the set of frequency and interior lighting system of Hz noise of only imaging sensor keeps one
Cause, then the image exported does not just have light and dark band (Flicker phenomenons).Therefore, exemplary embodiment of the present
Control image working sensor method be exactly to imaging sensor be used for eliminate 50 hertz of Hz noises set of frequency and
Set of frequency for eliminating 60 hertz of Hz noises is switched over, so that light and dark band is not present in the image of output.
In one example, the set of frequency for being used to eliminate Hz noise of described first image sensor can exist to be advance
The set of frequency for being used to eliminate Hz noise set in first imaging sensor.For example, user will can be used to eliminate 50 hertz
The set of frequency of Hz noise eliminates the set of frequency of Hz noise as being used for of being set in advance in the first imaging sensor,
When controlling the first imaging sensor shooting image under the set of frequency for eliminating 50 hertz of Hz noises, first is detected
When the image that the image and the second imaging sensor that imaging sensor is shot are shot all has light and dark band, then by first
The set of frequency for being used to eliminate Hz noise of imaging sensor is switched to another set of frequency (example for being used to eliminate Hz noise
Such as, the setting of 60 hertz of Hz noise frequencies is eliminated), and control the first imaging sensor to be used to eliminate Hz noise another
Shooting image under set of frequency, then export is used to eliminate the first imaging sensor under the set of frequency of Hz noise another
The image of shooting.But the invention is not restricted to this, set in advance in the first imaging sensor be used for eliminate Hz noise
Set of frequency can also be the set of frequency for eliminating 60 hertz of Hz noises.
In another example, the set of frequency for being used to eliminate Hz noise of described first image sensor can be second
The currently stored set of frequency for being used to eliminate Hz noise of imaging sensor.Now, the first imaging sensor and the second image
Sensor may be arranged in same electronic equipment, and the first imaging sensor is master image sensor (for example, rearmounted image sensing
Device), the second imaging sensor is sub-picture sensor (for example, preposition imaging sensor).For example, the second figure can used every time
When being shot as sensor, what the second imaging sensor of storage was used is applied to eliminate the set of frequency of current Hz noise.
In every the first imaging sensor of secondary control shooting image, call the second imaging sensor is currently stored to be done for eliminating power frequency
The set of frequency disturbed, allows users to enter optimal shooting state faster.For example, entering pedestrian using the second imaging sensor
When outlook is other or recognizes the operations such as eyeball rolling, the second imaging sensor can photograph the environmental information of surrounding simultaneously, at this moment,
Second imaging sensor can be stored in the set of frequency for being applied to eliminate the Hz noise of current environment used during current shooting,
So, when needing the first imaging sensor shooting image of control, the first imaging sensor can directly invoke the second image sensing
The set of frequency for being used to eliminate Hz noise of device last time storage.Because the region at user is generally in a period of time
Do not have larger variation inside, therefore the frequency of the power supply of the interior lighting system used in the region will not also change,
Therefore it can be used family in the initial image with regard to that can obtain in the absence of light and dark band of shooting using the method for this example, make
User obtains optimal usage experience in the very first time.
The method of control image working sensor according to an exemplary embodiment of the present invention, according to the second imaging sensor
The testing result of the image of shooting switches the set of frequency for being used to eliminate Hz noise of the first imaging sensor.
Alternatively, when the image that the second imaging sensor is shot has light and dark band, step S105 is performed:Will
The set of frequency for eliminating Hz noise of first imaging sensor is switched to another frequency for being used to eliminate Hz noise and set
Put, and control the first imaging sensor it is another for eliminate Hz noise set of frequency under shooting image.When the second image
When light and dark band is not present in the image that sensor is shot, step S104 is performed:The use of the first imaging sensor is not switched
In the set of frequency for eliminating Hz noise.
Specifically, it is in the first imaging sensor and the second imaging sensor under identical lighting environment, when first
When the image that the image and the second imaging sensor that imaging sensor is shot are shot all has light and dark band, illustrate first
The frequency of the power supply for being currently used in the set of frequency and interior lighting system that eliminate Hz noise of imaging sensor is inconsistent, needs
The set of frequency for being used to eliminate Hz noise of first imaging sensor is switched to another frequency for being used to eliminate Hz noise
Set to eliminate band light and dark present in image.
In one example, when the image that the second imaging sensor is shot has light and dark band, by the first figure
As sensor be used for eliminate Hz noise set of frequency automatically switch to it is another be used to eliminate the set of frequency of Hz noise,
And control the first imaging sensor it is another for eliminate Hz noise set of frequency under shooting image.In this example, when
When all there is light and dark band in the image that the image and the second imaging sensor that the first imaging sensor is shot are shot, without
It is artificial to participate in, the set of frequency for eliminating Hz noise of the first imaging sensor can be switched to automatically another for eliminating
The set of frequency of Hz noise carrys out shooting image.For example, under the set of frequency for eliminating 50 hertz of Hz noises, when first
When all there is light and dark band in the image that the image and the second imaging sensor that imaging sensor is shot are shot, can automatically by
The set of frequency for being used to eliminate 50 hertz of Hz noises of first imaging sensor is switched to for eliminating 60 hertz of Hz noises
Set of frequency, and control the first imaging sensor for eliminate 60 hertz of Hz noises set of frequency under shooting image,
But the invention is not restricted to this.
In another example, when the image that the second imaging sensor is shot has light and dark band, to user
Display switching is used for the prompting for eliminating the set of frequency of Hz noise.In this example, when the figure that the first imaging sensor is shot
When the image that picture and the second imaging sensor are shot all has light and dark band, being shown to user now needs switching to be used for
The prompting of the set of frequency of Hz noise is eliminated, asks the user whether that switching is used for the set of frequency for eliminating Hz noise, user
It can be selected as needed.
The method of control image working sensor according to an exemplary embodiment of the present invention can also include step S106, export
The image that first imaging sensor is shot.Specifically, when the image of the first imaging sensor shooting is in the absence of light and dark
During band, the image that the first imaging sensor of output is shot in the case where being currently used in the set of frequency for eliminating Hz noise;When second
When light and dark band is not present in the image that imaging sensor is shot, the first imaging sensor of output is being currently used in elimination work
The image shot under the set of frequency of frequency interference;When there is light and dark band in the image that the second imaging sensor is shot,
Export the first imaging sensor it is another for eliminate Hz noise set of frequency under the image that shoots.
According to an exemplary embodiment of the present, the image of output is the image that the first imaging sensor is shot, second all the time
The image that imaging sensor is shot is only as entering when the image that the first imaging sensor is shot has light and dark band
The detection of one step is used.
Fig. 2 is the structured flowchart for showing filming apparatus according to an exemplary embodiment of the present invention.
Reference picture 2, filming apparatus according to an exemplary embodiment of the present invention includes:Input block 201, the first image sensing
Device 202, the second imaging sensor 203, the first detection unit 204, the second detection unit 205, switch unit 206 and image output
Unit 207.
Input block 201 receives the input of user.For example, for performing the input shot, for example, shutter is inputted.
The input shooting image for the user that first imaging sensor 202 is received in response to input block 201.
The input for the user that second imaging sensor 203 is received in response to input block 201 with the first imaging sensor
Be used for eliminate shooting image under the set of frequency identical set of frequency of Hz noise.
In one example, when the first 202 shooting image of imaging sensor, the second imaging sensor 203 can be while quilt
Control carrys out shooting image.In this example, while controlling the first imaging sensor 202 and the shooting figure of the second imaging sensor 203
Picture, can be at once to the second imaging sensor when the image that the first imaging sensor 202 is shot has light and dark band
203 images shot are detected, can improve response speed during detection.
In another example, when the image that the first imaging sensor 202 is shot has light and dark band, the second figure
As sensor 203 is controlled to shooting image.In this example, the image shot in the first imaging sensor 202 exists bright
Band between dark phase now controls the, it is necessary to when the image shot by the second imaging sensor 203 is further detected again
The shooting image of two imaging sensor 203, can reduce the power consumption of the system when shooting.
Due in the above-mentioned methods to the input of the user in response to reception in the use with the first imaging sensor 202
Carried out in the function of eliminating the second imaging sensor 203 of shooting image under the set of frequency identical set of frequency of Hz noise
Detailed description, will not be repeated here.
First detection unit 204 detects that the image that the first imaging sensor 202 is shot whether there is light and dark band.
Filming apparatus according to an exemplary embodiment of the present invention, the first detection unit 204 claps the first imaging sensor 202
The image taken the photograph is divided into multiple regions, detects that each region whether there is light and dark band, when there is light and dark bar
When the ratio that the region of band accounts for Zone Full reaches predetermined threshold, it is determined that the image that the first imaging sensor 202 is shot is present
Light and dark band.Here, the numerical value of predetermined threshold can be set by user.
Because the image shot in the above-mentioned methods to the first imaging sensor 202 of detection is with the presence or absence of light and dark
The function of the first detection unit 204 of band be described in detail, will not be repeated here.
When the image that the first imaging sensor 202 is shot has light and dark band, the second detection unit 205 is detected
The image that second imaging sensor 203 is shot whether there is light and dark band.
Clapped as shown in Fig. 2 the second detection unit 205 can detect the first imaging sensor 202 in the first detection unit 204
The image taken the photograph is detected to the image that the second imaging sensor 203 is shot again when there is light and dark band, can so be subtracted
The power consumption of few system when shooting.
But the invention is not restricted to this, for example, the second detection unit 205 can also be 204 pair first in the first detection unit
The image that the second imaging sensor 203 is shot is detected while the image that imaging sensor 202 is shot is detected, this
Sample can improve response speed during detection.
In addition, what the second detection unit 205 can also be shot in 204 pair of first imaging sensor 202 of the first detection unit
Image is detected to improve response speed during detection before being detected to the image that the second imaging sensor 203 is shot.
Switch unit 206 switches the first image according to the testing result of the image shot to the second imaging sensor 203 and passed
The set of frequency for being used to eliminate Hz noise of sensor 202.
Alternatively, the set of frequency for being used to eliminate Hz noise can be the frequency for eliminating 50 hertz of Hz noises
Set or for one kind in the set of frequency of 60 hertz of Hz noises of elimination.Here, filming apparatus of the present invention is exactly
The set of frequency for being used for 50 hertz of Hz noises of elimination to imaging sensor and the frequency for eliminating 60 hertz of Hz noises
Setting is switched over.
In one example, the set of frequency for being used to eliminate Hz noise of the first imaging sensor 202 can exist to be advance
The set of frequency for being used to eliminate Hz noise set in first imaging sensor 202.
In another example, the set of frequency for being used to eliminate Hz noise of the first imaging sensor 202 can be the second figure
As the currently stored set of frequency for being used to eliminate Hz noise of sensor 203.
Alternatively, when light and dark band is not present in the image that the first imaging sensor 202 is shot, switch unit
206 do not switch the set of frequency for being used to eliminate Hz noise of the first imaging sensor 202.
Filming apparatus according to an exemplary embodiment of the present invention, alternatively, the image shot when the second imaging sensor 203
When there is light and dark band, switch unit 206 sets the frequency for being used to eliminate Hz noise of the first imaging sensor 202
Put and be switched to another set of frequency for being used to eliminate Hz noise, and control the first imaging sensor 202 to be used to eliminate another
Shooting image under the set of frequency of Hz noise;When light and dark bar is not present in the image that the second imaging sensor 203 is shot
During band, switch unit 206 does not switch the set of frequency for being used to eliminate Hz noise of the first imaging sensor 202.
Specifically, it is in the first imaging sensor 202 and the second imaging sensor 203 under identical lighting environment,
When the image that the first imaging sensor 202 and the second imaging sensor 203 are shot all has light and dark band, illustrate the
The frequency of the power supply for being currently used in the set of frequency and interior lighting system that eliminate Hz noise of one imaging sensor 202 differs
Cause, need to be switched to another for eliminating the set of frequency of Hz noise to eliminate band light and dark present in image.
Alternatively, when the image that the second imaging sensor 203 is shot has light and dark band, switch unit 206
The set of frequency for being used to eliminate Hz noise of first imaging sensor 202 can be automatically switched to and another be used to eliminate power frequency and do
The set of frequency disturbed, and control the first imaging sensor 202 it is another for eliminate Hz noise set of frequency under shooting figure
Picture.
Alternatively, when the image that the second imaging sensor 203 is shot has light and dark band, switch unit 206
It can show that switching is used for the prompting for eliminating the set of frequency of Hz noise to user.
Due to switching in the above-mentioned methods to the testing result according to the image shot to the second imaging sensor 203
The function of being used to eliminate the switch unit 206 of the set of frequency of Hz noise of first imaging sensor has carried out detailed retouch
State, will not be repeated here.
Filming apparatus according to an exemplary embodiment of the present invention can also include image output unit 207, image output unit
The image that 207 the first imaging sensors 202 of output are shot.Specifically, when the image that the first imaging sensor 202 is shot is not deposited
In light and dark band, image output unit 207 exports the first imaging sensor 202 and is being currently used in elimination Hz noise
Set of frequency under the image that shoots;When light and dark band is not present in the image that the second imaging sensor 203 is shot, figure
As output unit 207 exports the figure that the first imaging sensor 202 is shot in the case where being currently used in the set of frequency for eliminating Hz noise
Picture;When there is light and dark band in the image that the second imaging sensor 203 is shot, the output of image output unit 207 first
Imaging sensor 202 it is another for eliminate Hz noise set of frequency under the image that shoots.
A kind of electronic equipment with above-mentioned filming apparatus can also be included according to the exemplary embodiment of the present invention.This
Sample, the electronic equipment can have the first imaging sensor (for example, rear camera) and the second imaging sensor (example simultaneously
Such as, front camera), and be all cmos image sensor.
The electronic equipment of filming apparatus with exemplary embodiment of the present detects first when the first detection unit 204
When the image that imaging sensor 202 is shot has light and dark band, passed using 205 pair of second image of the second detection unit
Sensor 203 with the first imaging sensor 202 for eliminate Hz noise set of frequency identical set of frequency under shoot
Image further detected that the image shot when the second imaging sensor 203 is there is also during light and dark band, then leads to
The set of frequency for being used to eliminate Hz noise for crossing 206 pair of first imaging sensor 202 of switch unit is switched over, and makes image defeated
Light and dark band is not present in the image for going out the first imaging sensor 202 shooting of the output of unit 207, and the electronic equipment can
The generation of Flicker phenomenons misrecognition is effectively reduced, strengthens the usage experience of user.
The method and filming apparatus of the control image working sensor of exemplary embodiment of the present are in the first image
Sensor and the second imaging sensor are under identical lighting environment (for example, with the first imaging sensor and the second figure
In the electronic equipment of picture sensor), when there is light and dark band in the image for detecting the shooting of the first imaging sensor, then
The image that second imaging sensor is shot is detected, the image shot when the first imaging sensor and the second imaging sensor
When all there is light and dark band, then show the first imaging sensor be currently used in eliminate Hz noise set of frequency with
The frequency that interior lighting system is powered is inconsistent, rather than uneven due to room lighting light, or the production of other frequency interferences
Raw Flicker phenomenons, therefore the switching of the set of frequency for eliminating Hz noise need to be carried out, by the first imaging sensor
Another set of frequency consistent with the frequency that interior lighting system is powered is switched to for eliminating the set of frequency of Hz noise, is increased
The usage experience of strong user.
For example, the first imaging sensor can be the rear camera of electronic equipment, the second imaging sensor can set for electronics
Standby front camera, what is shot due to front camera and rear camera is front and back two relative to electronic equipment
The image in individual direction, and front camera and rear camera be under identical lighting environment, therefore, when front camera and
When the image that rear camera is shot all has Flicker phenomenons, can be shown that the first imaging sensor is currently used in elimination work
The set of frequency of frequency interference and the frequency that interior lighting system is powered are inconsistent, need to carry out setting for eliminating the frequency of Hz noise
The switching put.But the invention is not restricted to this, exemplary embodiment of the present control image working sensor method and bat
The first imaging sensor and the second imaging sensor taken the photograph in device can also be not arranged in same electronic equipment, as long as first
Imaging sensor and the second imaging sensor are under identical lighting environment.Using the one of exemplary embodiment of the present
Plant and control the method and filming apparatus of image working sensor can be effective in the electronic equipment with two imaging sensors
The generation of Flicker phenomenons misrecognition is reduced, strengthens the usage experience of user.
Moreover, it should be understood that the unit in filming apparatus according to an exemplary embodiment of the present invention can be implemented firmly
Part component.Processing of the those skilled in the art according to performed by the unit of restriction, can be for example using field programmable gate
Array (FPGA) or application specific integrated circuit (ASIC) realize unit.
In addition, the method for control image working sensor according to an exemplary embodiment of the present invention may be implemented as calculating
Computer code in machine readable medium recording program performing.Described in those skilled in the art can realize according to the description to the above method
Computer code.The above method of the present invention is realized when the computer code is performed in a computer.
Although being particularly shown and describing the present invention, those skilled in the art with reference to its exemplary embodiment
It should be understood that in the case where not departing from the spirit and scope of the present invention that claim is limited, form can be carried out to it
With the various changes in details.
Claims (26)
1. a kind of method for controlling image working sensor, methods described includes:
Control the first imaging sensor shooting image;
Detect that the image that the first imaging sensor is shot whether there is light and dark band;
When the image that the first imaging sensor is shot has light and dark band, the second imaging sensor of detection is with first
The image shot under the set of frequency identical set of frequency for eliminating Hz noise of imaging sensor whether there is light and shade
Alternate band;
According to the testing result of the image shot to the second imaging sensor the first imaging sensor of switching for eliminating power frequency
The set of frequency of interference.
2. according to the method described in claim 1, wherein, when the second imaging sensor shoot image there is light and dark bar
During band, the set of frequency for eliminating Hz noise of the first imaging sensor is switched to another for eliminating Hz noise
Set of frequency, and control the first imaging sensor it is another for eliminate Hz noise set of frequency under shooting image.
3. method according to claim 2, wherein, when the image that the second imaging sensor is shot has light and dark bar
During band, the set of frequency for being used to eliminate Hz noise of the first imaging sensor is automatically switched to and another is used to eliminate power frequency and do
The set of frequency disturbed, and control the first imaging sensor it is another for eliminate Hz noise set of frequency under shooting image.
4. method according to claim 2, wherein, when the image that the second imaging sensor is shot has light and dark bar
During band, show that switching is used for the prompting for eliminating the set of frequency of Hz noise to user.
5. according to the method described in claim 1, wherein, when the second imaging sensor shoot image be not present it is light and dark
During band, the set of frequency for being used to eliminate Hz noise of the first imaging sensor is not switched.
6. according to the method described in claim 1, wherein, when the first imaging sensor shoot image be not present it is light and dark
During band, the set of frequency for being used to eliminate Hz noise of the first imaging sensor is not switched.
7. the method according to any one of claim 1-6, in addition to:The image of the first imaging sensor shooting is exported,
Wherein, when light and dark band is not present in the image that the first imaging sensor is shot, the first imaging sensor of output is being worked as
The image shot under the preceding set of frequency for eliminating Hz noise;When light and shade is not present in the image that the second imaging sensor is shot
During alternate band, the image that the first imaging sensor of output is shot in the case where being currently used in the set of frequency for eliminating Hz noise;
When the image that the second imaging sensor is shot has light and dark band, the first imaging sensor of output is used to disappear another
Except the image shot under the set of frequency of Hz noise.
8. according to the method described in claim 1, wherein, it is described be used for eliminate Hz noise set of frequency be for eliminate 50
One kind in the set of frequency of hertz Hz noise or the set of frequency for eliminating 60 hertz of Hz noises.
9. according to the method described in claim 1, wherein, being used for of described first image sensor eliminates the frequency of Hz noise
It is set to the set of frequency for being used to eliminate Hz noise set in advance in the first imaging sensor.
10. according to the method described in claim 1, wherein, being used for of described first image sensor eliminates the frequency of Hz noise
Rate is set to the currently stored set of frequency for being used to eliminate Hz noise of the second imaging sensor.
11. according to the method described in claim 1, wherein, when controlling the first imaging sensor shooting image, while control the
Two imaging sensor shooting images.
12. according to the method described in claim 1, wherein, when the first imaging sensor shoot image exist it is light and dark
During band, the second imaging sensor shooting image is controlled.
13. according to the method described in claim 1, wherein, detection the first imaging sensor shoot image whether there is light and shade
The step of alternate band is,
(1) image for shooting described first image sensor is divided into multiple regions;
(2) detect that each region whether there is light and dark band;
(3) when the ratio that the region that there is light and dark band accounts for Zone Full reaches predetermined threshold, it is determined that described
There is light and dark band in the image that one imaging sensor is shot.
14. a kind of filming apparatus, the filming apparatus includes:
Input block, receives the input of user;
First imaging sensor, in response to the input shooting image;
Second imaging sensor, sets in response to the input in the frequency for being used to eliminate Hz noise with the first imaging sensor
Put shooting image under identical set of frequency;
First detection unit, the image that the first imaging sensor of detection is shot whether there is light and dark band;
Second detection unit, when the image that the first imaging sensor is shot has light and dark band, detects the second image
The image that sensor is shot whether there is light and dark band;
Switch unit, being used for for the first imaging sensor is switched according to the testing result of the image shot to the second imaging sensor
Eliminate the set of frequency of Hz noise.
15. filming apparatus according to claim 14, wherein, when the image that the second imaging sensor is shot has light and shade phase
Between band when, switch unit by the first imaging sensor be used for eliminate the set of frequency of Hz noise and be switched to another be used for
The set of frequency of Hz noise is eliminated, and controls the first imaging sensor to be used to eliminate under the set of frequency of Hz noise another
Shooting image.
16. filming apparatus according to claim 15, wherein, when the image that the second imaging sensor is shot has light and shade phase
Between band when, switch unit by the first imaging sensor be used for eliminate Hz noise set of frequency automatically switch to it is another
Set of frequency for eliminating Hz noise, and control the first imaging sensor to be set in another frequency for being used to eliminate Hz noise
Put lower shooting image.
17. filming apparatus according to claim 15, wherein, when the image that the second imaging sensor is shot has light and shade phase
Between band when, switch unit to user show switching be used for eliminate Hz noise set of frequency prompting.
18. filming apparatus according to claim 14, wherein, when light and shade is not present in the image that the second imaging sensor is shot
During alternate band, switch unit does not switch the set of frequency for being used to eliminate Hz noise of the first imaging sensor.
19. filming apparatus according to claim 14, wherein, when light and shade is not present in the image that the first imaging sensor is shot
During alternate band, switch unit does not switch the set of frequency for being used to eliminate Hz noise of the first imaging sensor.
20. the filming apparatus according to any one of claim 14-19, in addition to image output unit, for exporting the
The image that one imaging sensor is shot, wherein, when light and dark band is not present in the image that the first imaging sensor is shot,
Image output unit exports the image that the first imaging sensor is shot in the case where being currently used in the set of frequency for eliminating Hz noise;When
When light and dark band is not present in the image that second imaging sensor is shot, image output unit exports the first imaging sensor
The image shot in the case where being currently used in the set of frequency for eliminating Hz noise;When the second imaging sensor shoot image exist it is bright
During band between dark phase, image output unit exports the first imaging sensor in another set of frequency for being used to eliminate Hz noise
The image of lower shooting.
21. filming apparatus according to claim 14, wherein, it is described be used to eliminating Hz noise set of frequency be for
One kind in the set of frequency of 50 hertz of Hz noises of elimination or the set of frequency for eliminating 60 hertz of Hz noises.
22. filming apparatus according to claim 14, wherein, being used for of described first image sensor eliminates Hz noise
Set of frequency eliminate the set of frequency of Hz noise for being used for of being set in advance in the first imaging sensor.
23. filming apparatus according to claim 14, wherein, being used for of described first image sensor eliminates Hz noise
Set of frequency for the second imaging sensor it is currently stored be used for eliminate the set of frequency of Hz noise.
24. filming apparatus according to claim 14, wherein, when the first imaging sensor shooting image, the second image
Sensor is controlled to shooting image simultaneously.
25. filming apparatus according to claim 14, wherein, when the image that the first imaging sensor is shot has light and shade phase
Between band when, the second imaging sensor is controlled to shooting image.
26. filming apparatus according to claim 14, wherein, the first detection unit shoots described first image sensor
Image be divided into multiple regions, detect that each region whether there is light and dark band, when there is light and dark band
Region when accounting for the ratio of Zone Full and reaching predetermined threshold, it is determined that the image that described first image sensor is shot exists bright
Band between dark phase.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410350204.8A CN104125401B (en) | 2014-07-22 | 2014-07-22 | Control the method and filming apparatus of image working sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410350204.8A CN104125401B (en) | 2014-07-22 | 2014-07-22 | Control the method and filming apparatus of image working sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104125401A CN104125401A (en) | 2014-10-29 |
CN104125401B true CN104125401B (en) | 2017-08-25 |
Family
ID=51770653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410350204.8A Active CN104125401B (en) | 2014-07-22 | 2014-07-22 | Control the method and filming apparatus of image working sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104125401B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109348134A (en) * | 2018-11-21 | 2019-02-15 | Tcl移动通信科技(宁波)有限公司 | A kind of camera control method, storage medium and mobile terminal |
CN110855901B (en) * | 2019-11-28 | 2021-06-18 | 维沃移动通信有限公司 | Camera exposure time control method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1509069A (en) * | 2002-12-17 | 2004-06-30 | Method for eliminating scintilltion of moving picture | |
CN1602050A (en) * | 2003-09-08 | 2005-03-30 | 索尼株式会社 | Method for determining photographic environment and imaging apparatus |
CN1700607A (en) * | 2004-05-18 | 2005-11-23 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal image signal flicker prevention device and method |
CN1882041A (en) * | 2005-06-13 | 2006-12-20 | 富士通株式会社 | Image capture device capable of flicker detection |
CN102564878A (en) * | 2010-10-06 | 2012-07-11 | 株式会社三丰 | Hardness tester |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100557660B1 (en) * | 2004-07-29 | 2006-03-10 | 매그나칩 반도체 유한회사 | Method for detection of flicker in image signal |
JP4483744B2 (en) * | 2005-08-26 | 2010-06-16 | ソニー株式会社 | Imaging apparatus and imaging control method |
-
2014
- 2014-07-22 CN CN201410350204.8A patent/CN104125401B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1509069A (en) * | 2002-12-17 | 2004-06-30 | Method for eliminating scintilltion of moving picture | |
CN1602050A (en) * | 2003-09-08 | 2005-03-30 | 索尼株式会社 | Method for determining photographic environment and imaging apparatus |
CN1700607A (en) * | 2004-05-18 | 2005-11-23 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal image signal flicker prevention device and method |
CN1882041A (en) * | 2005-06-13 | 2006-12-20 | 富士通株式会社 | Image capture device capable of flicker detection |
CN102564878A (en) * | 2010-10-06 | 2012-07-11 | 株式会社三丰 | Hardness tester |
Also Published As
Publication number | Publication date |
---|---|
CN104125401A (en) | 2014-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10725299B2 (en) | Control of mediated reality welding system based on lighting conditions | |
CN107810081B (en) | Bonding tool and method for controlling pixel data processing in bonding tool | |
CN104318912B (en) | Method and device for detecting environmental light brightness | |
US8970730B2 (en) | Imaging apparatus for controlling and displaying flicker amounts | |
JP5556098B2 (en) | Display method and display device | |
CN106454081B (en) | Photographic method and device | |
CN108022124A (en) | Interactive clothing fitting method and display system thereof | |
CN107431769A (en) | Camera device, flicker detection method and flicker detection program | |
CN106598257A (en) | Mobile terminal-based reading control method and apparatus | |
US20220400221A1 (en) | A system for performing ambient light image correction | |
CN104125401B (en) | Control the method and filming apparatus of image working sensor | |
CN102387321B (en) | Image pickup device | |
JP2004334269A (en) | Image processing device and method, record medium, and program | |
US9615031B2 (en) | Imaging device and scene determination method | |
US9962068B2 (en) | Image pickup system and control method of image pickup system | |
JP6138949B2 (en) | Video processing device using difference camera | |
CN104159102B (en) | Grey menu detection method and checkout gear | |
CN105959590B (en) | A kind of image pickup method, device and the intelligent terminal of anti-light interference | |
CN108153563B (en) | A kind of screen control method and device | |
KR20060041555A (en) | System and method for detecting and alarming a fire of thermal power plants | |
CN109243402A (en) | A kind of method and device adjusting brightness of display screen | |
CN105453533B (en) | A kind of method and electronic equipment saving shooting image | |
JP6529526B2 (en) | Background image generation device and object detection device | |
CN110831720B (en) | Head-mounted device with control of mediated reality welding system based on lighting conditions | |
CN115546837B (en) | Transformer substation business turn over integrated management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |