CN1245018C - Method for eliminating scintilltion of moving picture - Google Patents

Method for eliminating scintilltion of moving picture Download PDF

Info

Publication number
CN1245018C
CN1245018C CN02156598.8A CN02156598A CN1245018C CN 1245018 C CN1245018 C CN 1245018C CN 02156598 A CN02156598 A CN 02156598A CN 1245018 C CN1245018 C CN 1245018C
Authority
CN
China
Prior art keywords
light source
image
dark fringe
pixel
displaying
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.)
Expired - Fee Related
Application number
CN02156598.8A
Other languages
Chinese (zh)
Other versions
CN1509069A (en
Inventor
俞青
赵原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vimicro Corp
Original Assignee
Vimicro Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vimicro Corp filed Critical Vimicro Corp
Priority to CN02156598.8A priority Critical patent/CN1245018C/en
Publication of CN1509069A publication Critical patent/CN1509069A/en
Application granted granted Critical
Publication of CN1245018C publication Critical patent/CN1245018C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The present invention provides a method for eliminating flicker in a move picture, particularly the method for eliminating rolling dark fringes which appear because the parameter setting of an image device is unaccommodated with an outer light source in the course of displaying digital images. Purposes provided by the present invention are realized through the following proposals that the method for eliminating picture flicker in the course of displaying the digital images is used for that firstly, different parameter setting states are switched in sequence for the image device, and whether the dark fringes appear on the images or not is judged; then, according to conditions of the rolling dark fringes appearing under the different parameter settings of the image device, light source types at this time, are judged; then, according to the condition of the rolling dark fringes generated by the image device under different parameter settings, light source types at this time, are judged; finally, a camera parameter is modified to make the camera parameter be suitable for environmental light sources, and further, the rolling dark fringes on the images are eliminated. The method of the present invention is mainly completed by a microcomputer without too much manual operation, judgment precision is high, and calculation amounts are small.

Description

The removing method that glimmers in the motion picture
Technical field
The present invention relates to the removing method that glimmers in a kind of motion picture, particularly a kind of method that the rolling dark fringe that occurs when incompatible because of the parameter setting of camera head and external light source in the digital picture procedure for displaying is eliminated.
Background technology
When digital camera device carries out work, for artificial light sources and the outdoor natural light that adapts to different frequencies, all to carry out corresponding setting to some parameters of camera head, one of them important parameter is the automatic exposure time of camera head.The time for exposure is constantly adjusted in digital camera device light and shade variation according to surrounding environment always in work, and for no environment light source, time for exposure initial value and the step-length of adjusting each time all can be different.But in the process that reality is used, the parameter setting of camera head and actual environment light source often have unmatched situation to take place, and the flicker of picture just can take place thereupon.
Such as: exchange under electrically driven (operated) light source at 50Hz, the camera head time for exposure is 0.01 second integral multiple always.The parameter setting of camera head may be in the state that is provided with under 60Hz or the outdoor natural light situation, time for exposure this moment is not 0.01 second a integral multiple, so will occur the vertical dark fringe that rolls on the image that camera head is caught, can have a strong impact on picture quality like this.In like manner, under the 60Hz light source, the flicker cycle of light source should be 1/120 second, so the automatic exposure time of camera head ought to be 1/120 second integral multiple.If but the setting of camera head parameter is under 50Hz light source or the outdoor natural light situation at this moment, so Shi Ji time for exposure is not 1/120 second a integral multiple yet, and is same, can occur the vertical dark fringe that rolls on the image that shows yet.
In addition, sometimes, this dark fringe is very faint, and the user is difficult to judge that under the demanding operation standard to image quality, this situation is very disagreeable by naked eyes.
Purpose of the present invention is exactly to propose a kind of method of avoiding above-mentioned situation to occur, and the external light source during to shooting is judged detection and then selected suitable camera parameter setting, with the flicker of effective elimination picture.
Summary of the invention
When the environment light source of parameters of pick-up head setting and reality is unmatched, can go out the dark fringe that picture rolls on the image that camera is caught, this moment is for certain delegation's pixel, have tangible light and shade in two continuous interframe and change, so just can change to judge whether have dark fringe to occur on the image in the light and shade of two interframe according to one-row pixels.If judge but only get one-row pixels, noise on the image so, all can have a strong impact on the judgement precision with the shake of camera, and might certain delegation just in time be in first frame in the dark fringe, this delegation by chance also is in the dark fringe again in the time of second frame.So the purpose of judging just can't reach.So under the situation that resource allows, recommend to get as far as possible more row and judge to improve the judgement precision.
The purpose that the present invention proposes realizes the removing method of film flicker in a kind of digital picture procedure for displaying by following scheme:
At first, camera head being switched different parameters successively is provided with state and judges whether the dark fringe appearance is arranged on the image;
Then, in different parameters the light source kind that the situation that occurs the rolling dark fringe is down judged this moment is set according to camera head;
At last, revise parameters of pick-up head and make the dark fringe that rolls on its conform light source and then removal of images.
Be to finish to the judgement that whether has dark fringe to occur on the image in a first step wherein according to following method:
At first, from one group of consecutive image, intercept a frame still image, and calculate the brightness value of each pixel, then the brightness value of each pixel in each row is added up, obtain a corresponding array one;
Secondly, get second two field picture and, obtain another corresponding array two according to the mode identical with said process;
Then, capable pixel intensity accumulated value corresponding in array one and the array two is subtracted each other one by one, and take absolute value;
At last, above-mentioned absolute value is added up, if this quantity greater than pre-set threshold, can judge then that under this environment light source the dark fringe that does not have on the image that camera head is caught to roll occurs, otherwise, the dark fringe of rolling is then arranged on the key diagram picture.
In addition, the method of the invention must not add up to contrast and calculate each provisional capital of a two field picture, also can not reduce under the prerequisite of judging precision, the capable pixel that extracts some from image is carried out the contrast judgement of said method, to reduce amount of calculation.
Compared with prior art, the invention has the advantages that:
The method of the invention is mainly finished by microcomputer, does not need too many manual operation and judges the precision height, and amount of calculation is little.Above and other objects of the present invention, feature and advantage are from below in conjunction with accompanying drawing be not will become more obvious the specific descriptions of certain embodiments.
Description of drawings
Fig. 1 is the storage organization that 24bits does not compress the RGB image;
The period of change of electric current when Fig. 2 is the 50Hz alternating current;
Light source flicker cycle when Fig. 3 is the 50Hz alternating current;
Fig. 4 is the simple schematic block diagram of flow process that carries out the method for the invention;
Fig. 5 is the add up flow chart of operation of the capable pixel to image;
Fig. 6 is the flow chart that compares step block;
Specific embodiment
In the following description, known function or structure will no longer describe in detail, to avoid there be unnecessary obscuring with content of the present invention.
The present invention is that example is analyzed with the continuous number image that camera was captured.
The video flowing that captures from camera is made up of the still image of a frame one frame, the 24bits RGB image that every frame still image in the method is a uncompressed.The storage organization of image pixel as shown in Figure 1 (establishing picture size is M*N, unit: pixel):
The storage of pixel is deferred to from left to right, principle from the bottom to top.For the RGB image of a 24bits, there is the foremost in file data district in the pixel in the lower left corner, and the pixel in the upper right corner exists file backmost.Each pixel occupies 3 bytes, deposits its B, G, R channel value successively, from 0 to 255.On behalf of indigo plant, green, ruddiness, these three passages learn three primary colors respectively, its light light intensity separately of their value representation, wherein 0 be unglazed, 255 be the light intensity maximum.Therefore (0,0,0) represents ater, and (255,255,255) represent pure white.Be the convenience file storage, each row pixel of RGB image occupies an integral multiple byte of 4.Insufficient section needs to mend 0 at the end.It is 6 pixels that a 24bits RGB picture traverse is for example arranged, and then should mend two 0 (20-3*6=2) in the R value back of the 6th pixel of its each row.
In the method, make need use when moving image is judged the brightness value of a pixel, this value is created by the RGB input signal, and method is that the specific part with rgb signal is superimposed together, and concrete formula is as follows:
Y=0.299R+0.587G+0.114B (1)
Use different alternating currents, can produce the artificial light sources of different frequency.In practical operation, it is commonplace that these two kinds of artificial light sourcess of 50Hz and 60Hz use, and therefore we are that example comes described method is elaborated with these two kinds of light sources and outdoor natural light source in the present invention.
Under the situation of using the 50Hz alternating current, the period of change of electric current is 0.02 second, as shown in Figure 2;
The light source scintillation cycle when then driving with the 50Hz alternating current is 0.01 second, as shown in Figure 3.For the outdoor natural light source and since the flicker cycle of natural daylight we can think infinitesimal, do not have flash period, so when the automatic exposure time is arbitrary value, dark fringe can not occur on the image.
Fig. 4 is the simple schematic block diagram of flow process that carries out the method for the invention, here for convenience of description, we are divided into the several steps module with said method and express:
A. switch module is set
The function of this part module is that camera is switched under the parameter under the Different Light is provided with.Under different light sources, picture all will be provided with different values to the Several Parameters of camera in order to obtain clearly, for example we judge residing environment light source according to the dark fringe that rolls on the image in the method, and the generation of this dark fringe is mainly caused by the time for exposure, so we here will describe the difference of time for exposure is set under Different Light:
The camera setting of 50Hz light source: the time for exposure should be 1/100 second integral multiple
The camera setting of 60Hz light source: the time for exposure should be 1/120 second integral multiple
The camera setting of natural daylight: though the time for exposure can be any, can not produce dark fringe on the image, be beneficial to judgement for convenience, time for exposure under the natural daylight is provided with and can not be the integral multiple of 1/100 second or 1/120 second.This be because: the light source that is in 50Hz, the placement of camera is under the outdoor natural light condition, but time for exposure this moment is 1/100 second integral multiple just, though the setting of camera is wrong so, still do not have dark fringe on its image of catching, so just can't judge.
When judging, the order that can adopt different switchings to be provided with, such as: camera setting under camera setting → 60Hz light source under camera setting → 50Hz light source under the outdoor natural light.That is to say,, all earlier parameters of pick-up head is set under the natural daylight condition, carry out B (adding up) and C (comparison) module then, image is handled no matter which type of light source the residing environment of camera is; Afterwards, successively parameters of pick-up head is set under 50Hz and the 6 0Hz light source natural daylight conditions again, carries out B (adding up) and C (comparison) module equally, image is handled.
B. accumulator module
After the setting with camera switched to a certain light source, the capable pixel to image of being about to begin added up and has operated.Detailed process is as shown in Figure 5:
A. intercept the image of a frame, calculate the brightness value of each pixel, then the brightness value of each row pixel is added up, and the value of paying gives array ulPrj1 according to formula (1)
line1:Y1+Y2+……+Ym →ulPrj1[0]
line2:Y1+Y2+……+Ym →ulPrj1[1]
line?n:Y1+Y2+……+Ym →ulPrj1[n]
B. getting second two field picture and process a is similar, also be the brightness accumulated value of each row, and the value of paying gives array ulPrj2.
In Practical Calculation, the brightness accumulated value of contained each image line pixel of array ulPrj may be bigger, shared bit number is also corresponding more, can carry out the processing of dwindling of geometric ratioization to those accumulated values according to this situation, and then threshold value T1 also need be correspondingly processed.
Certainly, according to the present invention as can be known, must not add up to contrast yet and calculate the N provisional capital of this two field picture, also can not reduce under the prerequisite of judging precision, the capable pixel that extracts some from image adds up, for example, take out one or take out one or the like every two every one, to reduce amount of calculation.
C. comparison module
After carried out the image line pixel intensity added up (B module), compare (C module) to resulting array ulPrj1 and ulPrj2, Fig. 6 is the flow chart that compares step block:
A. the corresponding element value of array ulPrj1 and ulPrj2 is subtracted each other one by one, and takes absolute value:
V1=|ulPrj1[1]-ulPrj2[1]|
V2=|ulPrj1[2]-ulPrj2[2]|
Vn=|ulPrj1[n]-ulPrj2[n]|
B. more resulting V value is added up
nSum=V1+V2+…+Vn
If c. nSum is greater than pre-set threshold T then illustrating under this environment light source, there is not the dark fringe that rolls on the image that camera is caught, otherwise, the dark fringe of rolling is arranged on the key diagram picture.
After relatively (C module) finished, just the operation of replicated blocks B and C can be switched to the setting of camera parameter under other the light source condition.The camera parameter is separately positioned under the outdoor natural light up to having finished, the 50Hz light source down and the adding up (B module) and relatively (C comparison) of 60Hz light source following time.
D. judge module
The result of comprehensive prior process judges, drawing the environment that this moment, camera was positioned at last is the sort of artificial light sources or outdoor natural light source on earth.For example: if when parameters of pick-up head placement during at 50Hz, 60Hz and outdoor natural light, through judging, all occur the dark fringe that rolls on the image, so just can draw light source at this moment is outdoor natural light; Dark fringe do not occur if the camera parameter is arranged under the 50Hz light source condition, and when all dark fringe being arranged under 60Hz and outdoor natural light condition, that light source that so just can draw this moment is the 50Hz artificial light sources; Dark fringe do not occur if the camera parameter is arranged under the 60Hz light source condition, and when all dark fringe being arranged under 50Hz and outdoor natural light condition, the light source that so just can draw this moment is the 60Hz artificial light sources.
Then, according to judged result, use modules A switching under the environment light source that camera is positioned again the camera parameter.
Always the above has so just avoided the dark fringe that appearance is rolled on the image that causes because setting of camera parameter and actual light source do not match.Obviously, also can be suitable for fully under other types of light sources of the method for the invention, based on the thinking of the method, can realize the content that some are more complicated in addition in other field.
So removing method to glimmering in the motion picture of the present invention, be not limited only to listed utilization in specification and the execution mode, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.

Claims (5)

1. the removing method of film flicker in the digital picture procedure for displaying comprises the steps:
Step 1 is switched different parameters successively to camera head and state is set and judges whether the dark fringe appearance is arranged on the image;
Step 2 is provided with the light source kind that the situation that occurs the rolling dark fringe is down judged this moment according to camera head in different parameters;
Step 3 is revised parameters of pick-up head and is made the dark fringe that rolls on its conform light source and then removal of images;
Wherein, be to finish to the judgement that whether has dark fringe to occur in the step 1 according to following step:
At first, from one group of consecutive image, intercept a frame still image, and calculate the brightness value of each pixel, then the brightness value of each pixel in each row is added up, obtain a corresponding array one;
Secondly, get second two field picture and, obtain another corresponding array two according to the mode identical with said process;
Then, capable pixel intensity accumulated value corresponding in array one and the array two is subtracted each other one by one, and take absolute value;
At last, above-mentioned absolute value is added up, if this quantity greater than pre-set threshold, can judge then that under this environment light source the dark fringe that does not have on the image that camera head is caught to roll occurs, otherwise, the dark fringe of rolling is then arranged on the key diagram picture.
2. the removing method of film flicker in the digital picture procedure for displaying according to claim 1, it is characterized in that, can carry out geometric ratio to the brightness accumulated value of contained each image line pixel in the array and threshold value and dwindle processing, and then compare, to reduce amount of calculation.
3. the removing method of film flicker in the digital picture procedure for displaying according to claim 1, it is characterized in that, must not add up to contrast and calculate each provisional capital of a two field picture, also can not reduce under the prerequisite of judging precision, the capable pixel that extracts some from image is carried out the contrast judgement of said method, to reduce amount of calculation.
4. according to the removing method of film flicker in arbitrary described digital picture procedure for displaying the claim from 1 to 3, it is characterized in that the image file that this method is used is the RGB file.
5. according to the removing method of film flicker in arbitrary described digital picture procedure for displaying the claim from 1 to 3, it is characterized in that this method light source kind applicatory comprises 50Hz light source, 60Hz light source and outdoor natural light source.
CN02156598.8A 2002-12-17 2002-12-17 Method for eliminating scintilltion of moving picture Expired - Fee Related CN1245018C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN02156598.8A CN1245018C (en) 2002-12-17 2002-12-17 Method for eliminating scintilltion of moving picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN02156598.8A CN1245018C (en) 2002-12-17 2002-12-17 Method for eliminating scintilltion of moving picture

Publications (2)

Publication Number Publication Date
CN1509069A CN1509069A (en) 2004-06-30
CN1245018C true CN1245018C (en) 2006-03-08

Family

ID=34236305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN02156598.8A Expired - Fee Related CN1245018C (en) 2002-12-17 2002-12-17 Method for eliminating scintilltion of moving picture

Country Status (1)

Country Link
CN (1) CN1245018C (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8040392B2 (en) * 2004-11-15 2011-10-18 Sony Corporation Flicker correcting method, flicker correcting circuit, and imaging device using them
CN101500076B (en) * 2008-02-03 2013-09-18 深圳艾科创新微电子有限公司 Method and apparatus for eliminating scrolling stripe of image
CN101600045B (en) * 2008-06-03 2010-12-29 联咏科技股份有限公司 Signal regulating circuit and video device thereof
CN101414357B (en) * 2008-11-12 2013-07-24 北京中星微电子有限公司 Method and apparatus for detecting film flicker
CN102006423B (en) * 2010-11-15 2012-07-04 无锡中星微电子有限公司 Camera and method and device for eliminating flicker phenomenon of same
CN102572504A (en) * 2011-03-29 2012-07-11 广州市浩云安防科技股份有限公司 Method for detecting scrolling based on fast Fourier transformation
JP5775732B2 (en) * 2011-04-22 2015-09-09 オリンパス株式会社 Camera and camera control method
CN104125401B (en) * 2014-07-22 2017-08-25 广州三星通信技术研究有限公司 Control the method and filming apparatus of image working sensor
CN105721874B (en) * 2016-02-05 2019-05-17 南京云岩信息科技有限公司 Flicker reduction method in a kind of frame of parallel efficient video coding
CN110248110B (en) * 2019-06-28 2021-03-26 Oppo广东移动通信有限公司 Shooting parameter setting method, setting device, terminal equipment and readable storage medium
CN110445952B (en) * 2019-07-15 2021-12-21 浙江大华技术股份有限公司 Picture flicker processing method, device, equipment and storage medium of camera
CN112532888B (en) * 2019-09-19 2022-10-04 杭州海康慧影科技有限公司 Method and device for inhibiting image striation phenomenon
CN110930372B (en) * 2019-11-06 2023-04-25 维沃移动通信有限公司 Image processing method, electronic equipment and computer readable storage medium
CN112235505B (en) * 2020-09-24 2022-08-09 浙江大华技术股份有限公司 Method and device for removing image flicker and storage medium

Also Published As

Publication number Publication date
CN1509069A (en) 2004-06-30

Similar Documents

Publication Publication Date Title
CN1245018C (en) Method for eliminating scintilltion of moving picture
CN1086534C (en) Image pickup device
CN1288616C (en) Liquid-crystal display with self-adaptive brightness intensifying device function and its driving method
CN1254086C (en) Image processor, image processing method and processing program
CN1093669C (en) A histogram equalization apparatus for contrast enhancement of moving image and method therefor
CN1232103C (en) Signal processing unit and liquid crystal display device
CN1991560A (en) Apparatus and method for adjusting display-related setting of an electronic device
CN1258281C (en) Display changeable digital camera
CN1637826A (en) Method and apparatus for driving liquid crystal display
CN1992842A (en) Luminance compensation apparatus and method
CN1320324A (en) Method and apparatus for edge enhancement in digital images
CN1975855A (en) Image display device, driving circuit and driving method used in same
CN1260949C (en) Method and apparatus for improving picture sharpness
CN1674643A (en) Apparatus for digital video processing and method thereof
CN1440205A (en) Colour inhomogeneous correction for LCOS
CN1168289C (en) Contour correction device
CN101035300A (en) Image enhancing method and device
CN1731451A (en) Method of image color enhancement
CN1878247A (en) Image frame handling method for digital pick-up device and its system
CN1717003A (en) Has the more sub sampling of high display quality in the image sensing device
CN1577431A (en) Display device, method of manufacturing display device, information processing apparatus, correction value determining method, and correction value determining device
CN1731820A (en) Structure method for enhancing image
CN1649395A (en) Image processing apparatus and method
CN1213600C (en) N-dimensional filter and method for N-dimensionally filtering an original image
CN1152581C (en) Method for intensifying colour signal detail and circuit applied in colour video apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060308

Termination date: 20111217