CN105430290B - A kind of pre- removing method and photographing device of water ripples - Google Patents

A kind of pre- removing method and photographing device of water ripples Download PDF

Info

Publication number
CN105430290B
CN105430290B CN201510829258.7A CN201510829258A CN105430290B CN 105430290 B CN105430290 B CN 105430290B CN 201510829258 A CN201510829258 A CN 201510829258A CN 105430290 B CN105430290 B CN 105430290B
Authority
CN
China
Prior art keywords
exposure
photographing device
time
less
light source
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
Application number
CN201510829258.7A
Other languages
Chinese (zh)
Other versions
CN105430290A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510829258.7A priority Critical patent/CN105430290B/en
Publication of CN105430290A publication Critical patent/CN105430290A/en
Application granted granted Critical
Publication of CN105430290B publication Critical patent/CN105430290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

The embodiment of the present invention provides the pre- removing method and photographing device of a kind of water ripples, is related to field of camera technology, the water ripples generated when can effectively eliminate the time for exposure in advance less than photosensitive cycle.The specific scheme is that when the time for exposure of photographing device being less than photosensitive cycle, photographing device determines the need for eliminating water ripples in advance, photosensitive cycle is the half in alternating current period, if desired eliminates water ripples in advance, then the time for exposure of photographing device is adjusted to the positive integer times of photosensitive cycle.The embodiment of the present invention for eliminating water ripples in advance.

Description

A kind of pre- removing method and photographing device of water ripples
Technical field
It is set the present embodiments relate to the pre- removing method of field of camera technology more particularly to a kind of water ripples and taking pictures It is standby.
Background technique
In daily life, upon exposure between be less than the alternating current period half when, the image that photographing device is shot is usual It will appear the water ripples flashed, and the water ripple phenomenon that big pixel sensitive chip occurs is even more serious.Wherein, mains frequency It usually may include 50Hz and two kinds of 60Hz, the corresponding alternating current period is respectively 0.02s and 0.016666s, and the one of the alternating current period Half i.e. 0.01s and 0.008333s is properly termed as photosensitive cycle.
The water ripples generated when being less than photosensitive cycle for the time for exposure, the prior art are fixed by the method for phasing exposure Sensitive chip is to the starting point of the time for exposure of each frame image, so that the time for exposure of each frame image is homogeneous under same environment Together, it so as to eliminate the Flickering Phenomenon of water ripples in the image according to time for exposure acquisition, but is difficult to eliminate bright in image Striped between dark phase, thus be difficult to effectively eliminate water ripples in advance.
Summary of the invention
The embodiment of the present invention provides the pre- removing method and photographing device of a kind of water ripples, can effectively eliminate exposure in advance The water ripples generated when being less than photosensitive cycle between the light time.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of pre- removing method of water ripples, comprising:
When the time for exposure of photographing device being less than photosensitive cycle, it is determined whether need to eliminate water ripples, the sense in advance Photoperiod is the half in alternating current period;
If desired water ripples are eliminated in advance, then the time for exposure of the photographing device is adjusted to the positive integer of photosensitive cycle Times.
Second aspect provides a kind of photographing device, comprising:
Determination unit, when being less than photosensitive cycle for the time for exposure in photographing device, it is determined whether need to eliminate in advance Water ripples, the photosensitive cycle are the half in alternating current period;
Adjustment unit needs to eliminate water ripples in advance, by the photographing device if determining for the determination unit Time for exposure is adjusted to the positive integer times of photosensitive cycle.
The embodiment of the present invention provides the pre- removing method and photographing device of a kind of water ripples, if the time for exposure of photographing device Less than photosensitive cycle, then when photographing device determines that needs eliminate water ripples in advance, just the time for exposure of photographing device is adjusted For the positive integer times of photosensitive cycle, to effectively eliminate water ripples in advance;And when not needing to eliminate water ripples in advance, even if Time for exposure is less than photosensitive cycle, and the time for exposure of photographing device will not be adjusted to the positive integer times of photosensitive cycle, thus Reduce a possibility that overexposure occurs for image.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of structural schematic diagram of photographing device;
Fig. 2 is a kind of method flow schematic diagram provided in an embodiment of the present invention;
Fig. 3 is another method flow schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of photographing device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another photographing device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Photographing device in following embodiment of the present invention can be camera, video camera, the electronic equipment including camera Deng.Referring to Fig. 1, photographing device 100 may include: camera lens, sensitive chip, A/D converter, microprocessor, storage chip, display Screen etc..Wherein, camera lens be usually be the lens group made of optical glass, for finding a view.Sensitive chip, i.e. imaging sensor Sensor may include charge coupled cell (Charge Coupled Device, CCD), metal oxide semiconductor device (Complementary Metal-Oxide Semiconductor, CMOS) etc., is the important component of photographing device, can To be used to convert optical signals to electric signal, and then it is converted into pixel data.A/D converter, i.e. A/D converter, being used for will Analog signal is converted into digital signal.Microprocessor, may include data processor (Digital Signal Processing, DSP), Memory Controller Hub, display controller, image compression encoder, universal serial bus (Universal Serial Bus, USB) interface, imaging sensor clock generator etc. can be used for analyzing the photosensitive intensity of imaging sensor, control and Above-mentioned component is managed, time for exposure, brightness, aperture, shutter, focus control etc. are adjusted.Equipment is stored, may include built-in storage Device and mobile memory, can be used to save image data.Display screen, such as double twisted-nematics (Super Twisted Nematic, DSTN) liquid crystal display, thin film transistor (TFT) (Thin Film Transistor, TFT) liquid crystal display etc., it can be with For showing image.
Photographing device in following embodiment of the present invention is less than photosensitive cycle by the time for exposure in sensitive chip and needs When eliminating water ripples in advance, be adjusted to the positive integer times of photosensitive cycle the time for exposure, to effectively eliminate water ripples, had Body is described in detail by following example 1-embodiment 3.
Embodiment 1
The pre- removing method that the embodiment of the present invention provides a kind of water ripples may include: referring to fig. 2
201, when the time for exposure of photographing device being less than photosensitive cycle, photographing device determines the need for eliminating water in advance Ripple, photosensitive cycle are the half in alternating current period.
If the time for exposure of photographing device is less than photosensitive cycle, since the time for exposure is not photosensitive cycle (the alternating current period Half) positive integer times, mismatched with the alternating current period, thus can in the image that is taken according to the time for exposure of photographing device Water ripples can be will appear.Specifically, including alternating current in environment light source if the time for exposure of photographing device is less than photosensitive cycle When the light of energy supply, photographing device usually will appear water ripples according to the image that the time for exposure for being less than photosensitive cycle takes, It thus needs to carry out water ripples Processing for removing in advance;When not including the light of alternating current energy supply in environment light source, photographing device root It is generally not in water ripples according to the image that the time for exposure for being less than photosensitive cycle takes, because without carrying out ripples in advance Line Processing for removing.Therefore, when the time for exposure being less than photosensitive cycle, photographing device can be determined the need for by microprocessor Water ripples are eliminated in advance, and eliminate issuable water in advance when needing to eliminate water ripples in advance by adjusting the time for exposure Ripple.
Again due to being typically required for light when shooting image indoors, thus in the time for exposure of photographing device less than photosensitive When the period, photographing device, which determines to need to eliminate water ripples in advance, may include:
When the time for exposure of photographing device being less than photosensitive cycle, if photographing device determines that current environment is indoor environment, It then needs to eliminate water ripples in advance.
In addition, outdoor natural light is sufficient for shooting demand, and does not have lamp generally if current environment is outdoor environment Light, thus even if the time for exposure of photographing device is less than photosensitive cycle, also usually will not according to the image that the time for exposure shoots There are water ripples, because without eliminating water ripples in advance.
Optionally, photographing device determines that current environment may include: for indoor environment
If the average color temperature of light source is less than the first preset value in current environment, photographing device determines current environment for interior Environment.
Under normal conditions, the colour temperature of outdoor natural light is typically larger than the colour temperature of indoor light, thus can be by working as front ring The relationship of the average color temperature of light source and the first preset value distinguishes indoor light and outdoor natural light in border.If light in current environment The average color temperature in source is less than the first preset value, then photographing device can consider that the light source in current environment is light, so as to Determine that current environment is indoor environment;If the average color temperature of light source is more than or equal to the first preset value in current environment, clap It can determine that the light source in current environment is natural light according to equipment, may thereby determine that current environment is outdoor environment.Wherein, it puts down Equal colour temperature is the average value of the colour temperature of all light sources in current environment.Here the first preset value can carry out according to the actual situation Specific setting, illustratively, the first preset value can be 5000k (Kelvin).
In addition, the light source in current environment be also possible to be light and natural light mixing.For example, when photographing device is located at room When beside interior window, the light source in current environment may be the mixing of indoor light and outdoor natural light, and due to the color of light Temperature is less than the first preset value, and the colour temperature of natural light is more than or equal to the first preset value, thus the average color temperature for mixing light source can It can be less than and be lower than preset value, it is also possible to it is more than or equal to the first preset value, thus it is whether small according only to the average color temperature of light source In the first preset value come determine current environment whether be indoor environment probability of miscarriage of justice it is larger.
Therefore, photographing device determines that current environment is that indoor environment can also include:
If the average color temperature of light source is greater than the second preset value and is less than third preset value in current environment, according to color school Direct ratio determines whether current environment light source neutral color temperature less than the light source portion of the first preset value is 0, and the first preset value is greater than Second preset value and be less than third preset value, colour correction is than the light source for current environment light source neutral color temperature less than the first preset value Portion and colour temperature are more than or equal to the proportionate relationship of the light source portion of the first preset value;
If the light source neutral color temperature of current environment is not 0 less than the light source portion of the first preset value, it is determined that work as front ring Border is indoor environment;
If the average color temperature of current environment is less than or equal to the second preset value, photographing device determines that current environment is room Interior environment.
Specifically, lesser second preset value and biggish can be arranged in photographing device near the first preset value Three preset values, so that it is determined that the average color temperature of light source is fallen within the scope of which in current environment, if light source is flat in current environment Equal colour temperature is less than the second preset value, it may be considered that current environment light source is light, may thereby determine that current environment for interior Environment;If the average color temperature of current environment light source is more than or equal to third predetermined threshold value, it may be considered that current environment light source For natural light, it may thereby determine that current environment is not indoor environment;If the average color temperature of current environment light source is fallen in greater than Two preset values and be less than third preset value in the range of, then need further according to colour correction than in determining current environment light source Whether colour temperature is 0 less than the light source portion of the first preset value, so that it is determined that whether current environment is indoor environment, to reduce Probability of miscarriage of justice.Wherein, colour correction is than the light source portion and color for current environment light source neutral color temperature less than the first preset value Temperature is more than or equal to the proportionate relationship of the light source portion of the first preset value.
If the light source neutral color temperature of current environment is not 0 less than the light source portion of the first preset value, it may be considered that working as It include light in preceding environment light source, if the average color temperature of current environment light source is greater than the second preset value and presets less than third simultaneously Value can then determine that current environment is indoor environment.Illustratively, colour correction ratio can be 0.8:0.2, indicate current environment Light source neutral color temperature is 0.8 less than the light source portion of the first preset value, and current environment light source neutral color temperature is more than or equal to The light source portion of first preset value is 0.2, it can think that light portion is 0.8 in current environment light source, it is natural Light portion is 0.2, can be with if the average color temperature of current environment light source is greater than the second preset value and is less than third preset value Determine that current environment is indoor environment.
202, water ripples are if desired eliminated in advance, then the time for exposure is adjusted to the positive integer of photosensitive cycle by photographing device Times.
When the time for exposure of photographing device being less than photosensitive cycle and needing to eliminate water ripples, photographing device can be by micro- Time for exposure is adjusted to the positive integer times of photosensitive cycle by processor, to eliminate photographing device in advance according to the exposure before adjustment Time shoots the water ripples being likely to occur when next frame image.The time for exposure of photographing device is being adjusted to photosensitive cycle just After integral multiple, when photographing device shoots image according to the time for exposure adjusted, will not substantially occur the ripples flashed again Line.That is, the time for exposure of photographing device to be adjusted to the positive integer times of photosensitive cycle, the sudden strain of a muscle of water ripples can be both eliminated Dynamic phenomenon, can also eliminate light and dark striped, so as to more effectively eliminate water ripples.
It should be noted that it is several times of zero point of photosensitive cycle that photographing device, which is less than the time for exposure of photosensitive cycle, will clap It is adjusted to the positive integer times of photosensitive cycle according to the time for exposure that equipment is less than photosensitive cycle, the time for exposure is increased, to increase A possibility that image overexposure.Thus, it is no matter equal in any case when being less than photosensitive cycle with the time for exposure in photographing device The positive integer times that time for exposure is adjusted to photosensitive cycle are compared, water ripples removing method provided in an embodiment of the present invention is being taken pictures When the time for exposure of equipment is less than photosensitive cycle and needs to eliminate water ripples in advance, the time for exposure is just adjusted to photosensitive cycle Positive integer times, and when the time for exposure being less than photosensitive cycle without eliminating water ripples in advance, it will not will adjust the time for exposure For the positive integer times of photosensitive cycle, to reduce the possibility that overexposure occurs according to the image that the time for exposure adjusted takes Property.
In a kind of more preferred embodiment, when needing to eliminate water ripples, photographing device can be by the time for exposure It is adjusted to 1 times of photosensitive cycle.With the time for exposure is adjusted to k times of photosensitive cycle, k is that the positive integer greater than 1 is compared, and is taken pictures Time for exposure is adjusted to 1 times of photosensitive cycle by equipment, can be further decreased and be taken according to the time for exposure adjusted A possibility that overexposure, occurs for image, to guarantee the quality of image as far as possible.
The embodiment of the present invention provides a kind of pre- removing method of water ripples, if the time for exposure of photographing device is less than photosensitive week The time for exposure of photographing device is just adjusted to photosensitive cycle then when photographing device determines that needs eliminate water ripples in advance by the phase Positive integer times, thus effectively in advance eliminate water ripples;And when not needing to eliminate water ripples in advance, even if the time for exposure is small In photosensitive cycle, will not be adjusted to the positive integer times of photosensitive cycle the time for exposure of photographing device, to reduce image A possibility that overexposure occurs.
Embodiment 2
On the basis of embodiment 1, the embodiment of the present invention provides the pre- removing method of another water ripples, mainly to difference It is described in the part of embodiment 1, part same as Example 1 will not be described in great detail.
Referring to Fig. 3, before step 201, method provided in an embodiment of the present invention can also include step 200:
200, photographing device uses the time for exposure less than photosensitive cycle to shoot a frame test image.
Photographing device can shoot a frame test image by sensitive chip according to the time for exposure for being less than photosensitive cycle.
After step 200, step 201 can specifically include:
When the time for exposure of photographing device being less than photosensitive cycle, if there are water ripples in the test image of shooting, really It is fixed to need to eliminate water ripples in advance.
Specifically, photographing device can pass through the test of shooting when the time for exposure of photographing device being less than photosensitive cycle There are water ripples greater than default fringe number to determine in light and dark fringe number in image in test image;It is set alternatively, taking pictures It is standby to occur by the luminance difference of adjacent stripes in the test image of shooting greater than preset threshold to determine in test image Water ripples.Certainly, photographing device can also determine in the test image of shooting water ripples occur otherwise, this Inventive embodiments are not specifically limited.
When the time for exposure of photographing device being less than photosensitive cycle, if there are water ripples in the test image shot, The probability for then continuing to occur in the image shot water ripples according to the time for exposure is very big, thus can determine that needs are eliminated in advance Water ripples.
Certainly, in embodiments of the present invention, photographing device, which determines the need for elimination water ripples, can also use above-mentioned reality The method in example 1 is applied, which is not described herein again.
In embodiments of the present invention, determining that photographing device will by step 202 when needing to eliminate after water ripples in advance The positive integer times that time for exposure is adjusted to photosensitive cycle can specifically include:
2021, brightness and preset target brightness of the photographing device according to the test image of shooting, determining and goal-selling The corresponding exposure line number of brightness.
In order to guarantee the quality of the image shot, it is usually provided with preset target brightness in photographing device, the goal-selling Brightness is desired picture luminance value, when the brightness for the image that photographing device takes is close to preset target brightness, is not just allowed Easily occur that image is excessively dark or overexposure.The brightness of image is directly proportional to exposure line number and yield value.
Exposure meter is the list made according to the parameter of sensitive chip in photographing device, includes multiple groups exposure row in exposure meter The corresponding brightness of image of several and yield value, each group of exposure line number and yield value.When shooting obtains a frame test image, institute The exposure line number and yield value used is the corresponding exposure line number of the brightness of test image and yield value.And the brightness of test image The size of corresponding exposure line number should be between two exposure line numbers in exposure meter, or equal to some in exposure meter Expose line number;The corresponding yield value of the brightness of test image should be present in exposure meter.It is exemplary, referring to table 1, in order to retouch State conveniently, in the corresponding Partial exposure table of some sensitive chip every group of exposure line number and yield value be added to index number, Wherein, line number is exposed closer to the lower part of exposure meter and/or yield value is bigger, thus their brightness of corresponding image are also got over Greatly.
Table 1
Index number Expose line number Yield value
254 1797 256
255 1850 256
256 1905 256
257 1962 256
258 1980 261
259 1980 269
260 1980 277
261 1980 285
262 1980 294
This step specifically: photographing device is according to the brightness of the test image of shooting, preset target brightness and test chart The corresponding exposure line number of the brightness of picture determines exposure line number corresponding with preset target brightness.
If the brightness of the test image of photographing device shooting is equal to preset target brightness, corresponding with preset target brightness Expose the corresponding exposure line number of brightness that line number is test image.
If the brightness of the test image of photographing device shooting is not equal to preset target brightness, photographing device can be according to survey Attempt the brightness of picture and the size relation of preset target brightness, an exposure line number and a yield value selected from exposure meter, So that brightness corresponding with selected exposure line number and yield value is or is approximately preset target brightness in exposure meter.
It is exemplary, for the exposure meter shown in the table 1, if the corresponding exposure line number of test image is 1902 (to be less than index The corresponding exposure line number of number 256), yield value 1, and the brightness of test image is less than preset target brightness, then needs to select Biggish exposure line number and/or yield value so that selected exposure line number and the corresponding brightness of image of yield value be equal to or Person is close to preset target brightness.At this point it is possible to since index number 256, successively determine down index number 256,257, Whether brightness of image corresponding to 258 ... that corresponding group exposure line number and yield value connects the most with preset target brightness Closely.For example, the brightness of image and the difference of preset target brightness corresponding to the corresponding exposure line number of index number 260 and yield value Value is-the 35% of object brightness, and the brightness of image corresponding to the corresponding exposure line number of index number 261 and yield value and pre- If the difference of object brightness is the 4% of object brightness, then the corresponding exposure line number of index number 261 and yield value institute can be determined The brightness of corresponding image and preset target brightness are closest, thus can determine exposure line number corresponding with preset target brightness For the corresponding exposure line number 1980 of index number 261, yield value at this time is 1.113.
In above-mentioned scene, if the brightness of test image is greater than preset target brightness, need that biggish exposure is selected to go Several and/or yield value, so that selected exposure line number and the corresponding brightness of image of yield value are equal or close to default mesh Mark brightness.It successively can up determine that index number 255,254,253 ... is corresponding since index number 255 at this time Whether brightness of image corresponding to that group exposure line number and yield value is closest with preset target brightness.Its corresponding image is bright Exposure line number in degree that group exposure line number and yield value closest with preset target brightness, as and preset target brightness Corresponding exposure line number.
2022, for photographing device according to exposure line number corresponding with preset target brightness, determination is corresponding with preset target brightness Time for exposure.
After determining corresponding with preset target brightness exposure line number, photographing device can according to preset target brightness Corresponding exposure line number and such as the following formula 1 determining time for exposure corresponding with preset target brightness:
Formula 1
Wherein, corresponding dummy clock total number of cycles and dummy clock periodicity used in scanning a line are in the unit time Fixed value corresponding with the sensitive chip of photographing device, then the time for exposure is different for exposure line number difference.
It should be noted that the time for exposure corresponding with preset target brightness determined in this step, is not necessarily photosensitive The positive integer times in period.
2023, photographing device will be adjusted in default set the time for exposure, the time for exposure corresponding with preset target brightness Immediate numerical value presets the positive integer times that the numerical value in set is photosensitive cycle.
Wherein, if photosensitive cycle is T, multiple numerical value kT can be set in default set, wherein k is positive integer. That is, each numerical value in default set is the positive integer times of photosensitive cycle.Determining exposure corresponding with preset target brightness After line number, the time for exposure can be adjusted to a numerical value in default set by photographing device, which is default set Time for exposure immediate numerical value corresponding with preset target brightness in all numerical value.
It should be noted that due to the positive integer times that the numerical value in default set is photosensitive cycle, thus by the time for exposure The numerical value being adjusted in default set, can eliminate the water ripples being likely to occur in advance.In addition, by that will be adjusted to the time for exposure In the corresponding all numerical value of the positive integer times of photosensitive cycle, time for exposure immediate numerical value corresponding with preset target brightness, The time for exposure of photographing device adjusted can be enabled as far as possible close to preset target brightness, to avoid image mistake as far as possible Dark or overexposure.
The embodiment of the present invention provides a kind of pre- removing method of water ripples, is less than photosensitive cycle in the time for exposure and needs pre- When first eliminating water ripples, in the corresponding all numerical value of the positive integer times that the time for exposure is adjusted to photosensitive cycle, with goal-selling Brightness corresponding time for exposure immediate numerical value, so that the time for exposure adjusted is bright close to goal-selling as far as possible Degree, to guarantee the quality of image as far as possible.
Embodiment 3
The embodiment of the present invention provides a kind of photographing device 100, which may include:
Determination unit 101 can be used for when the time for exposure of photographing device 100 being less than photosensitive cycle, it is determined whether need Water ripples are eliminated in advance, and photosensitive cycle is the half in alternating current period;
Adjustment unit 102 can be used for if it is determined that unit 101, which determines, needs elimination water ripples in advance, then by photographing device 100 time for exposure is adjusted to the positive integer times of photosensitive cycle.
Wherein it is determined that unit 101 can be specifically used for:
When the time for exposure of photographing device 100 being less than photosensitive cycle, however, it is determined that current environment is indoor environment, then needs Water ripples are eliminated in advance.
Determination unit 101 can also be specifically used for:
If the average color temperature of light source is less than the first preset value in current environment, it is determined that current environment is indoor environment.
Determination unit 101 can also be specifically used for:
If the average color temperature of light source is greater than the second preset value and is less than third preset value in current environment, according to color school Direct ratio determines whether current environment light source neutral color temperature less than the light source portion of the first preset value is 0, and the first preset value is greater than Second preset value and be less than third preset value, colour correction is than the light source for current environment light source neutral color temperature less than the first preset value Portion and colour temperature are more than or equal to the proportionate relationship of the light source portion of the first preset value;
If the light source neutral color temperature of current environment is not 0 less than the light source portion of the first preset value, it is determined that work as front ring Border is indoor environment;
If the average color temperature of current environment is less than or equal to the second preset value, photographing device 100 determines current environment For indoor environment.
Photographing device 100 can also include:
Shooting unit 103 shoots a frame test chart for being less than the time for exposure of photosensitive cycle using photographing device 100 Picture;
Determination unit 101 can also be specifically used for:
If there are water ripples in the test image of shooting, it is determined that need to eliminate water ripples in advance.
Adjustment unit 102 can be specifically used for:
According to the brightness of the test image of shooting and preset target brightness, exposure corresponding with preset target brightness is determined Line number;
According to exposure line number corresponding with preset target brightness, the time for exposure corresponding with preset target brightness is determined;
The time for exposure of photographing device 100 is adjusted in default set, the time for exposure corresponding with preset target brightness Immediate numerical value presets the positive integer times that the numerical value in set is photosensitive cycle.
The embodiment of the present invention provides a kind of photographing device, if the time for exposure of photographing device is less than photosensitive cycle, is clapping When determining that needs eliminate water ripples in advance according to equipment, be just adjusted to the positive integer of photosensitive cycle the time for exposure of photographing device Times, to effectively eliminate water ripples in advance;And when not needing to eliminate water ripples in advance, even if the time for exposure is less than photosensitive week The time for exposure of photographing device will not be adjusted to the positive integer times of photosensitive cycle by the phase, so that reducing image occurs overexposure A possibility that.
In several embodiments provided herein, it should be understood that disclosed photographing device and method, Ke Yitong Other modes are crossed to realize.For example, the apparatus embodiments described above are merely exemplary, for example, the unit is drawn Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some interfaces, the INDIRECT COUPLING of device or unit Or communication connection, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that the independent physics of each unit includes, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the portion of each embodiment the method for the present invention Step by step.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc. are various can store The medium of program code.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (4)

1. a kind of pre- removing method of water ripples characterized by comprising
When the time for exposure of photographing device being less than photosensitive cycle, it is determined whether need to eliminate water ripples, the photosensitive week in advance Phase is the half in alternating current period;
If desired water ripples are eliminated in advance, then the time for exposure of the photographing device is adjusted to the positive integer times of photosensitive cycle;
When the time for exposure in photographing device is less than photosensitive cycle, determine that needs eliminate water ripples in advance and include:
When the time for exposure of the photographing device being less than photosensitive cycle, however, it is determined that current environment is indoor environment, then needs pre- First eliminate water ripples;
The determining current environment includes: for indoor environment
If the average color temperature of light source is greater than the second preset value and is less than third preset value in current environment, according to colour correction ratio Determine whether current environment light source neutral color temperature less than the light source portion of the first preset value is 0, and first preset value is greater than Second preset value and be less than the third preset value, the colour correction ratio be current environment light source neutral color temperature less than first The light source portion and colour temperature of preset value are more than or equal to the proportionate relationship of the light source portion of first preset value;
If the light source neutral color temperature of current environment is not 0 less than the light source portion of the first preset value, it is determined that current environment is Indoor environment;
If the average color temperature of current environment is less than or equal to the second preset value, the photographing device determines that current environment is room Interior environment.
2. a kind of pre- removing method of water ripples characterized by comprising
It is less than the photographing device of photosensitive cycle using the time for exposure, shoots a frame test image;
When the time for exposure of the photographing device being less than photosensitive cycle, it is determined whether need to eliminate water ripples, the sense in advance Photoperiod is the half in alternating current period;
If desired water ripples are eliminated in advance, then the time for exposure of the photographing device is adjusted to the positive integer times of photosensitive cycle;
When the time for exposure in photographing device is less than photosensitive cycle, determine that needs eliminate water ripples in advance and include:
If there are water ripples in the test image of shooting, it is determined that need to eliminate water ripples in advance;
The positive integer times that the time for exposure of photographing device is adjusted to photosensitive cycle include:
According to the brightness of the test image of shooting and preset target brightness, exposure corresponding with preset target brightness is determined Line number;
According to the exposure line number corresponding with preset target brightness, the time for exposure corresponding with preset target brightness is determined;
The time for exposure of the photographing device is adjusted in default set, the time for exposure corresponding with the preset target brightness Immediate numerical value, the numerical value in the default set are the positive integer times of photosensitive cycle.
3. a kind of photographing device characterized by comprising
Determination unit, when being less than photosensitive cycle for the time for exposure in photographing device, it is determined whether need to eliminate ripples in advance Line, the photosensitive cycle are the half in alternating current period;
Adjustment unit needs to eliminate water ripples in advance, by the exposure of the photographing device if determining for the determination unit Time is adjusted to the positive integer times of photosensitive cycle;
The determination unit is specifically used for:
When the time for exposure of the photographing device being less than photosensitive cycle, however, it is determined that current environment is indoor environment, then needs pre- First eliminate water ripples;
The determination unit is specifically used for:
If the average color temperature of light source is greater than the second preset value and is less than third preset value in current environment, according to colour correction ratio Determine whether current environment light source neutral color temperature less than the light source portion of the first preset value is 0, and first preset value is greater than Second preset value and be less than the third preset value, the colour correction ratio be current environment light source neutral color temperature less than first The light source portion and colour temperature of preset value are more than or equal to the proportionate relationship of the light source portion of first preset value;
If the light source neutral color temperature of current environment is not 0 less than the light source portion of the first preset value, it is determined that current environment is Indoor environment;
If the average color temperature of current environment is less than or equal to the second preset value, the photographing device determines that current environment is room Interior environment.
4. a kind of photographing device characterized by comprising
Shooting unit shoots a frame test image for being less than the photographing device of photosensitive cycle using the time for exposure;
Determination unit, when being less than photosensitive cycle for the time for exposure in photographing device, it is determined whether need to eliminate ripples in advance Line, the photosensitive cycle are the half in alternating current period;
Adjustment unit needs to eliminate water ripples in advance, by the exposure of the photographing device if determining for the determination unit Time is adjusted to the positive integer times of photosensitive cycle;
The determination unit is specifically used for:
If there are water ripples in the test image of shooting, it is determined that need to eliminate water ripples in advance;
The adjustment unit is specifically used for:
According to the brightness of the test image of shooting and preset target brightness, exposure corresponding with preset target brightness is determined Line number;
According to the exposure line number corresponding with preset target brightness, the time for exposure corresponding with preset target brightness is determined;
The time for exposure of the photographing device is adjusted in default set, the time for exposure corresponding with the preset target brightness Immediate numerical value, the numerical value in the default set are the positive integer times of photosensitive cycle.
CN201510829258.7A 2015-11-24 2015-11-24 A kind of pre- removing method and photographing device of water ripples Active CN105430290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510829258.7A CN105430290B (en) 2015-11-24 2015-11-24 A kind of pre- removing method and photographing device of water ripples

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510829258.7A CN105430290B (en) 2015-11-24 2015-11-24 A kind of pre- removing method and photographing device of water ripples

Publications (2)

Publication Number Publication Date
CN105430290A CN105430290A (en) 2016-03-23
CN105430290B true CN105430290B (en) 2019-04-16

Family

ID=55508192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510829258.7A Active CN105430290B (en) 2015-11-24 2015-11-24 A kind of pre- removing method and photographing device of water ripples

Country Status (1)

Country Link
CN (1) CN105430290B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188109B (en) * 2019-07-04 2022-04-19 深圳市航盛电子股份有限公司 Camera debugging method and device and electronic equipment
CN112532888B (en) * 2019-09-19 2022-10-04 杭州海康慧影科技有限公司 Method and device for inhibiting image striation phenomenon
CN113163128B (en) * 2021-05-08 2023-09-12 维沃移动通信(杭州)有限公司 Image exposure method and electronic device
CN114037623A (en) * 2021-10-25 2022-02-11 扬州大学 Water ripple pre-elimination method based on ripple and environmental characteristic fusion and iterative restoration
CN117692781A (en) * 2023-05-23 2024-03-12 荣耀终端有限公司 Flicker light source detection method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509068A (en) * 2002-12-16 2004-06-30 ���ǵ�����ʽ���� Image processing system and method
CN101779109A (en) * 2007-07-25 2010-07-14 Nxp股份有限公司 indoor/outdoor detection
CN103327239A (en) * 2013-05-31 2013-09-25 Tcl通讯(宁波)有限公司 Camera data processing method based on mobile terminal and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3826904B2 (en) * 2003-07-08 2006-09-27 ソニー株式会社 Imaging apparatus and flicker reduction method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509068A (en) * 2002-12-16 2004-06-30 ���ǵ�����ʽ���� Image processing system and method
CN101779109A (en) * 2007-07-25 2010-07-14 Nxp股份有限公司 indoor/outdoor detection
CN103327239A (en) * 2013-05-31 2013-09-25 Tcl通讯(宁波)有限公司 Camera data processing method based on mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN105430290A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN105430290B (en) A kind of pre- removing method and photographing device of water ripples
CN105339840B (en) The photographic method and bimirror head apparatus of bimirror head apparatus
CN104717435B (en) Camera device and image capture method
CN104754203B (en) Image pickup method, device and terminal
CN108462837B (en) Shooting method and device
US8934050B2 (en) User interface and method for exposure adjustment in an image capturing device
CN111028190A (en) Image processing method, image processing device, storage medium and electronic equipment
KR20150099302A (en) Electronic device and control method of the same
CN100534139C (en) Imaging apparatus and imaging method
CN108055452A (en) Image processing method, device and equipment
TW201216207A (en) Auto-focus control using image statistics data with coarse and fine auto-focus scores
TW201233158A (en) System and method for processing image data using an image signal processor having back-end processing logic
TW201212644A (en) Image processing apparatus, image taking apparatus, image processing method and image processing program
CN106131527A (en) Dual camera color synchronization method, device and terminal
CN107040726B (en) Double-camera synchronous exposure method and system
CN106067953A (en) Determine the method and apparatus being used for that there is the camera lens shadow correction of the polyphaser equipment of various visual field
CN108024054A (en) Image processing method, device and equipment
CN107509044A (en) Image combining method, device, computer-readable recording medium and computer equipment
CN108419022A (en) Control method, control device, computer readable storage medium and computer equipment
KR20190109605A (en) Photographing method and apparatus
CN110198418A (en) Image processing method, device, storage medium and electronic equipment
CN110012227B (en) Image processing method, image processing device, storage medium and electronic equipment
US9800793B2 (en) Method for generating target gain value of wide dynamic range operation
CN110445986A (en) Image processing method, device, storage medium and electronic equipment
JP2015532041A (en) Backlight correction method, apparatus and terminal

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