CN105430290A - Water ripple pre-elimination method and photographing device - Google Patents
Water ripple pre-elimination method and photographing device Download PDFInfo
- Publication number
- CN105430290A CN105430290A CN201510829258.7A CN201510829258A CN105430290A CN 105430290 A CN105430290 A CN 105430290A CN 201510829258 A CN201510829258 A CN 201510829258A CN 105430290 A CN105430290 A CN 105430290A
- Authority
- CN
- China
- Prior art keywords
- exposure
- photographing device
- less
- time
- current environment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/81—Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Exposure Control For Cameras (AREA)
- Studio Devices (AREA)
Abstract
Embodiments of the invention provide a water ripple pre-elimination method and a photographing device, and relate to the field of photography technologies. The water ripple pre-elimination method can be used for effectively pre-eliminating water ripples generated when an exposure time is shorter than a photosensitive period. The specific scheme is as follows: when the exposure time of the photographing device is shorter than the photosensitive period, the photographing device determines whether pre-elimination of the water ripples is required, wherein the photosensitive period is a half of an electric supply period, and when pre-elimination of the water ripples is required, the exposure time of the photographing device is adjusted to be N times the photosensitive period, wherein N is a positive integer. The water ripple pre-elimination method provided by the embodiments of the invention is used for pre-eliminating the water ripples.
Description
Technical field
The embodiment of the present invention relates to camera technique field, particularly relates to a kind of pre-removing method and photographing device of water ripples.
Background technology
In daily life, be less than a half in civil power cycle upon exposure, the image that photographing device is shot there will be the water ripples flashed usually, and the water ripple phenomenon that large pixel sensitive chip occurs is even more serious.Wherein, mains frequency can comprise 50Hz and 60Hz two kinds usually, and the corresponding civil power cycle is respectively 0.02s and 0.016666s, and the half in civil power cycle and 0.01s and 0.008333s can be called photosensitive cycle.
The water ripples produced when photosensitive cycle is less than for the time for exposure, prior art fixes the starting point of sensitive chip to the time for exposure of each two field picture by the method for phasing exposure, make the time for exposure of each two field picture under same environment all identical, thus the Flickering Phenomenon of water ripples in the image gathered according to this time for exposure can be eliminated, but be difficult to striped light and dark in removal of images, be thus difficult to effectively eliminate water ripples in advance.
Summary of the invention
The embodiment of the present invention provides a kind of pre-removing method and photographing device of water ripples, effectively can eliminate the water ripples that the time for exposure produces when being less than photosensitive cycle in advance.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of pre-removing method of water ripples, comprising:
When the time for exposure of photographing device is less than photosensitive cycle, determine whether to need to eliminate water ripples in advance, described photosensitive cycle is the half in civil power cycle;
If desired eliminate water ripples in advance, is then adjusted to the positive integer of photosensitive cycle the time for exposure of described photographing device doubly.
Second aspect, provides a kind of photographing device, comprising:
Determining unit, for when the time for exposure of photographing device is less than photosensitive cycle, determine whether to need to eliminate water ripples in advance, described photosensitive cycle is the half in civil power cycle;
Adjustment unit, if determine to need to eliminate water ripples in advance for described determining unit, is then adjusted to the positive integer of photosensitive cycle doubly by the time for exposure of described photographing device.
The embodiment of the present invention provides a kind of pre-removing method and photographing device of water ripples, if the time for exposure of photographing device is less than photosensitive cycle, then when photographing device is determined to need to eliminate water ripples in advance, just is adjusted to the positive integer of photosensitive cycle the time for exposure of photographing device doubly, thus effectively eliminates water ripples in advance; And when not needing to eliminate water ripples in advance, even if the time for exposure is less than photosensitive cycle, also can not be adjusted to the positive integer of photosensitive cycle the time for exposure of photographing device doubly, thus reduce the possibility of image generation overexposure.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of photographing device;
A kind of method flow schematic diagram that Fig. 2 provides for the embodiment of the present invention;
The another kind of method flow schematic diagram that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of photographing device that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of photographing device that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Photographing device in following examples of the present invention can for camera, video camera, comprise the electronic equipment etc. of camera.See Fig. 1, photographing device 100 can comprise: camera lens, sensitive chip, A/D converter, microprocessor, storage chip, display screen etc.Wherein, camera lens is normally the set of lenses be made up of optical glass, for finding a view.Sensitive chip, i.e. imageing sensor Sensor, charge coupled cell (ChargeCoupledDevice can be comprised, CCD), metal oxide semiconductor device (ComplementaryMetal-OxideSemiconductor, CMOS) etc., be the important component part of photographing device, may be used for light signal to be converted to the signal of telecommunication, and then convert pixel data to.A/D converter, i.e. A/D converter, for converting analog signal to digital signal.Microprocessor, data processor (DigitalSignalProcessing can be comprised, DSP), Memory Controller Hub, display controller, image compression encoder, USB (UniversalSerialBus, USB) interface, imageing sensor clock generator etc., may be used for analyzing the photosensitive intensity of imageing sensor, the above-mentioned parts of control and management, regulate time for exposure, brightness, aperture, shutter, focus control etc.Memory device, can comprise internal memory and mobile memory, may be used for preserving view data.Display screen, such as two twisted-nematic (SuperTwistedNematic, DSTN) liquid crystal display, thin-film transistor (ThinFilmTransistor, TFT) liquid crystal display etc., may be used for showing image.
When photographing device in following examples of the present invention is by being less than photosensitive cycle in the time for exposure of sensitive chip and needing to eliminate water ripples in advance, is adjusted to the positive integer of photosensitive cycle the time for exposure doubly, thus effectively eliminate water ripples, be described in detail especially by following examples 1-embodiment 3.
Embodiment 1
The embodiment of the present invention provides a kind of pre-removing method of water ripples, see Fig. 2, can comprise:
201, when the time for exposure of photographing device is less than photosensitive cycle, photographing device determines whether to need to eliminate water ripples in advance, and photosensitive cycle is the half in civil power cycle.
If the time for exposure of photographing device is less than photosensitive cycle, then due to the time for exposure be not the positive integer of photosensitive cycle (half in civil power cycle) doubly, do not mate with the civil power cycle, in the image that thus photographing device photographed according to this time for exposure, may water ripples be occurred.Concrete, if the time for exposure of photographing device is less than photosensitive cycle, when then comprising the light of civil power energy supply in environment light source, the image that photographing device photographed according to the time for exposure being less than photosensitive cycle there will be water ripples usually, thus needs to carry out water ripples Processing for removing in advance; When not comprising the light of civil power energy supply in environment light source, the image that photographing device photographed according to the time for exposure being less than photosensitive cycle generally there will not be water ripples, does not thus need to carry out water ripples Processing for removing in advance.Therefore, when the time for exposure is less than photosensitive cycle, photographing device can determine whether to need to eliminate water ripples in advance by microprocessor, and eliminates issuable water ripples when water ripples eliminated in advance by needs in advance by the adjustment time for exposure.
Again owing to usually needing light when indoor shot image, thus when the time for exposure of photographing device is less than photosensitive cycle, photographing device determines that needing to eliminate water ripples in advance can comprise:
When the time for exposure of photographing device is less than photosensitive cycle, if photographing device determination current environment is indoor environment, then need to eliminate water ripples in advance.
In addition, if current environment is outdoor environment, then outdoor natural light is enough to satisfied shooting demand, and generally do not have light, even if thus the time for exposure of photographing device is less than photosensitive cycle, also usually there will not be water ripples according to the image that this time for exposure takes, thus do not need to eliminate water ripples in advance.
Alternatively, photographing device determination current environment is that indoor environment can comprise:
If the average color temperature of light source is less than the first preset value in current environment, then photographing device determination current environment is indoor environment.
Under normal circumstances, the colour temperature of outdoor natural light is greater than the colour temperature of indoor light usually, thus can distinguish indoor light and outdoor natural light by the relation of the average color temperature of light source in current environment and the first preset value.If the average color temperature of light source is less than the first preset value in current environment, then photographing device can think that the light source in current environment is light, thus can determine that current environment is indoor environment; If the average color temperature of light source is greater than or equal to the first preset value in current environment, then photographing device can determine that the light source in current environment is natural daylight, thus can determine that current environment is outdoor environment.Wherein, average color temperature is the mean value of the colour temperature of all light sources in current environment.Here the first preset value specifically can set according to actual conditions, exemplary, and the first preset value can be 5000k (Kelvin).
In addition, the light source in current environment may be also the mixing of light and natural daylight.Such as, when photographing device is positioned at indoor window side, light source in current environment may be the mixing of indoor light and outdoor natural light, again because the colour temperature of light is less than the first preset value, the colour temperature of natural daylight is greater than or equal to the first preset value, thus the average color temperature of hybrid light source may be less than lower than preset value, also may be greater than or equal to the first preset value, thus only whether be less than the first preset value according to the average color temperature of light source and determine that whether current environment is that the probability of miscarriage of justice of indoor environment is larger.
Therefore, photographing device determination current environment is that indoor environment can also comprise:
If the average color temperature of light source is greater than the second preset value and is less than the 3rd preset value in current environment, then according to colour correction than determining whether the light source portion that colour temperature in current environment light source is less than the first preset value is 0, first preset value is greater than the second preset value and is less than the 3rd preset value, and colour correction is greater than or equal to the proportionate relationship of the light source portion of the first preset value than the light source portion and colour temperature that are less than the first preset value for colour temperature in current environment light source;
If in the light source of current environment, colour temperature is less than the light source portion of the first preset value is not 0, then determine that current environment is indoor environment;
If the average color temperature of current environment is less than or equal to the second preset value, then photographing device determination current environment is indoor environment.
Concrete, photographing device can arrange less second preset value and the 3rd larger preset value near the first preset value, thus determine that in current environment, the average color temperature of light source drops within the scope of which, if the average color temperature of light source is less than the second preset value in current environment, then can think that current environment light source is light, thus can determine that current environment is indoor environment; If the average color temperature of current environment light source is greater than or equal to the 3rd predetermined threshold value, then can think that current environment light source is natural daylight, thus can determine that current environment is not indoor environment; Be greater than the second preset value if the average color temperature of current environment light source drops on and be less than in the scope of the 3rd preset value, then need further according to colour correction than determining whether the light source portion that colour temperature in current environment light source is less than the first preset value is 0, thus determine whether current environment is indoor environment, to reduce probability of miscarriage of justice.Wherein, colour correction is greater than or equal to the proportionate relationship of the light source portion of the first preset value than the light source portion and colour temperature that are less than the first preset value for colour temperature in current environment light source.
If in the light source of current environment, colour temperature is less than the light source portion of the first preset value is not 0, then can think and comprise light in current environment light source, if the average color temperature of current environment light source is greater than the second preset value and is less than the 3rd preset value simultaneously, then can determine that current environment is indoor environment.Exemplary, colour correction ratio can be 0.8:0.2, in expression current environment light source, colour temperature is less than the light source portion of the first preset value is 0.8, and in current environment light source, colour temperature is greater than or equal to the light source portion of the first preset value is 0.2, namely can think that light portion is 0.8 in current environment light source, natural daylight portion is 0.2, if the average color temperature of current environment light source is greater than the second preset value and be less than the 3rd preset value, then can determine that current environment is indoor environment.
202, if desired eliminate water ripples in advance, then the time for exposure is adjusted to the positive integer of photosensitive cycle doubly by photographing device.
When the time for exposure of photographing device is less than photosensitive cycle and needs to eliminate water ripples, time for exposure can be adjusted to the positive integer of photosensitive cycle doubly by microprocessor by photographing device, thus eliminates the water ripples that may occur when photographing device takes next frame image according to the time for exposure before adjustment in advance.After the positive integer being adjusted to photosensitive cycle the time for exposure of photographing device doubly, when photographing device is according to time for exposure photographic images after adjustment, substantially can not there are the water ripples flashed again.That is, the positive integer being adjusted to photosensitive cycle the time for exposure of photographing device doubly, both can be eliminated the Flickering Phenomenon of water ripples, can also eliminate light and dark striped, thus more effectively can eliminate water ripples.
It should be noted that, the time for exposure that photographing device is less than photosensitive cycle is zero point several times of photosensitive cycle, time for exposure photographing device being less than photosensitive cycle is adjusted to the positive integer of photosensitive cycle doubly, increases the time for exposure, thus increases the possibility of image overexposure.Thus, with when the time for exposure of photographing device is less than photosensitive cycle, the positive integer no matter being all adjusted to photosensitive cycle in any case the time for exposure is doubly compared, the water ripples removing method that the embodiment of the present invention provides is when the time for exposure of photographing device is less than photosensitive cycle and needs to eliminate water ripples in advance, just is adjusted to the positive integer of photosensitive cycle the time for exposure doubly, and when the time for exposure is less than photosensitive cycle and does not need to eliminate water ripples in advance, can not be adjusted to the positive integer of photosensitive cycle the time for exposure doubly, thus reduce the possibility of the image generation overexposure that the time for exposure after according to adjustment photographs.
One comparatively preferred embodiment in, needs eliminate water ripples time, the time for exposure can be adjusted to 1 times of photosensitive cycle by photographing device.With is adjusted to the k of photosensitive cycle the time for exposure doubly, k is that the positive integer being greater than 1 is compared, time for exposure is adjusted to 1 times of photosensitive cycle by photographing device, can reduce the possibility of the image generation overexposure that the time for exposure after according to adjustment photographs further, thus ensure 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 cycle, then when photographing device is determined to need to eliminate water ripples in advance, just is adjusted to the positive integer of photosensitive cycle the time for exposure of photographing device doubly, thus effectively eliminates water ripples in advance; And when not needing to eliminate water ripples in advance, even if the time for exposure is less than photosensitive cycle, also can not be adjusted to the positive integer of photosensitive cycle the time for exposure of photographing device doubly, thus reduce the possibility of image generation overexposure.
Embodiment 2
On the basis of embodiment 1, the embodiment of the present invention provides the pre-removing method of another kind of water ripples, is mainly described the part being different from embodiment 1, and the part identical with embodiment 1 will repeat no more.
See Fig. 3, before step 201, the method that the embodiment of the present invention provides can also comprise step 200:
200, photographing device adopts the time for exposure being less than photosensitive cycle to take a frame test pattern.
Photographing device according to the time for exposure being less than photosensitive cycle, can take a frame test pattern by sensitive chip.
After step 200, step 201 specifically can comprise:
When the time for exposure of photographing device is less than photosensitive cycle, if there are water ripples in the test pattern of shooting, then determine to need to eliminate water ripples in advance.
Concrete, when the time for exposure of photographing device is less than photosensitive cycle, photographing device can be greater than default fringe number by light and dark fringe number in the test pattern of shooting and determine to have occurred water ripples in test pattern; Or photographing device also can be greater than predetermined threshold value by the luminance difference of adjacent stripes in the test pattern of shooting and determine to have occurred water ripples in test pattern.Certainly, photographing device also can be determined to have occurred water ripples in the test pattern taken by alternate manner, and the embodiment of the present invention is not specifically limited.
When the time for exposure of photographing device is less than photosensitive cycle, if there are water ripples in the test pattern taken, then continue to occur in the image taken according to this time for exposure that the probability of water ripples is very large, thus can determine to need to eliminate water ripples in advance.
Certainly, in embodiments of the present invention, photographing device determines whether to need to eliminate water ripples also can adopt method in above-described embodiment 1, repeats no more here.
In embodiments of the present invention, time after determining to need to eliminate water ripples in advance, the positive integer that the time for exposure to be adjusted to photosensitive cycle by step 202 by photographing device doubly specifically can comprise:
2021, photographing device is according to the brightness of the test pattern of shooting and preset target brightness, determines the exposure line number corresponding with preset target brightness.
In order to ensure the quality of the image taken, usually preset target brightness is provided with in photographing device, this preset target brightness is the picture luminance value expected, when the brightness of the image that photographing device photographs is close to preset target brightness, is just not easy to occur that image crosses 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, and exposure meter comprises many group exposure line numbers and yield value, each group exposure line number and the corresponding image brightness of yield value.When shooting obtains a frame test pattern, the exposure line number adopted and yield value are exposure line number corresponding to the brightness of test pattern and yield value.And the size of exposure line number corresponding to the brightness of test pattern between two exposure line numbers in exposure meter, or should equal the some exposure line numbers in exposure meter; Should being present in exposure meter of the yield value that the brightness of test pattern is corresponding.Example, see table 1, for convenience, often group exposure line number in the Partial exposure table corresponding to certain sensitive chip and yield value with the addition of index number, wherein, the closer to exposure meter bottom exposure line number and/or yield value larger, thus the brightness of the image of their correspondence is also larger.
Table 1
Index number | Exposure line number | Yield value |
… | … | … |
254 | 1797 | 256 |
255 | 1850 | 256 |
256 | 1905 | 256 5 --> |
257 | 1962 | 256 |
258 | 1980 | 261 |
259 | 1980 | 269 |
260 | 1980 | 277 |
261 | 1980 | 285 |
262 | 1980 | 294 |
… | … | … |
This step is specially: photographing device is according to the brightness of test pattern of shooting, preset target brightness, and the exposure line number that the brightness of test pattern is corresponding, determines the exposure line number corresponding with preset target brightness.
If the brightness of test pattern of photographing device shooting equals preset target brightness, then corresponding with preset target brightness exposure line number is exposure line number corresponding to the brightness of test pattern.
If the brightness of the test pattern of photographing device shooting is not equal to preset target brightness, then photographing device can according to the magnitude relationship of the brightness of test pattern and preset target brightness, from exposure meter, select an an exposure line number and yield value, with make exposure line number in exposure meter with selected and brightness corresponding to yield value for or be approximately preset target brightness.
Example, for the exposure meter shown in table 1, if the exposure line number that test pattern is corresponding was 1902 (being less than the exposure line number of index number 256 correspondence), yield value is 1, and the brightness of test pattern is less than preset target brightness, then need to select larger exposure line number and/or yield value, to equal to make selected exposure line number and image brightness corresponding to yield value or close to preset target brightness.Now, from index number 256, index number 256,257,258 can down be determined successively ... that respectively corresponding group exposure line number and the image brightness corresponding to yield value whether close with preset target brightness.Such as, the exposure line number of index number 260 correspondence and the brightness of image corresponding to yield value and the difference of preset target brightness are-35% of object brightness, and the brightness of the exposure line number of index number 261 correspondence and the image corresponding to yield value and the difference of preset target brightness are 4% of object brightness, then can determine that brightness and the preset target brightness of the exposure line number of index number 261 correspondence and the image corresponding to yield value are closest, thus can determine that the exposure line number corresponding with preset target brightness is exposure line number 1980 corresponding to index number 261, yield value is now 1.113.
In above-mentioned scene, if the brightness of test pattern is greater than preset target brightness, then need to select larger exposure line number and/or yield value, to equal to make selected exposure line number and image brightness corresponding to yield value or close to preset target brightness.Now from index number 255, can up determine index number 255,254,253 successively ... that respectively corresponding group exposure line number and the image brightness corresponding to yield value whether close with preset target brightness.The most close that of the image brightness of its correspondence and preset target brightness organizes the exposure line number exposed in line number and yield value, is the exposure line number corresponding with preset target brightness.
2022, photographing device is according to the exposure line number corresponding with preset target brightness, determines the time for exposure corresponding with preset target brightness.
After determining the exposure line number corresponding with preset target brightness, photographing device according to the exposure line number corresponding with preset target brightness and can determine the time for exposure corresponding with preset target brightness as shown in the formula 1:
formula 1
Wherein, unit interval interior corresponding dummy clock total number of cycles and the dummy clock periodicity scanning a line used are the fixed values corresponding with the sensitive chip of photographing device, exposure line number difference then time for exposure difference.
It should be noted that, the time for exposure corresponding with preset target brightness determined in this step, not necessarily the positive integer of photosensitive cycle doubly.
2023, photographing device will be adjusted to and preset in set the time for exposure, the time for exposure corresponding with preset target brightness immediate numerical value, and the numerical value preset in set is the positive integer times of photosensitive cycle.
Wherein, if photosensitive cycle is T, then can arrange multiple numerical value kT in default set, wherein, k is positive integer.That is, each numerical value preset in set is the positive integer of photosensitive cycle doubly.After determining the exposure line number corresponding with preset target brightness, the time for exposure can be adjusted to the numerical value preset in set by photographing device, and this numerical value is preset time for exposure immediate numerical value corresponding with preset target brightness in all numerical value of set.
It should be noted that, because the numerical value in default set is the positive integer times of photosensitive cycle, is thus adjusted to the numerical value preset in set the time for exposure, the water ripples that may occur can be eliminated in advance.In addition, by in all numerical value that the positive integer being adjusted to photosensitive cycle the time for exposure is doubly corresponding, the time for exposure corresponding with preset target brightness immediate numerical value, the time for exposure of the photographing device after adjusting can be made as far as possible close to preset target brightness, thus to avoid image to cross dark or overexposure as far as possible.
The embodiment of the present invention provides a kind of pre-removing method of water ripples, when the time for exposure is less than photosensitive cycle and needs to eliminate water ripples in advance, time for exposure is adjusted in positive integer times corresponding all numerical value of photosensitive cycle, the time for exposure corresponding with preset target brightness immediate numerical value, thus the time for exposure after adjusting can be made as far as possible close to preset target brightness, to ensure the quality of image as far as possible.
Embodiment 3
The embodiment of the present invention provides a kind of photographing device 100, and this photographing device 100 can comprise:
Determining unit 101, may be used for when the time for exposure of photographing device 100 is less than photosensitive cycle, and determine whether to need to eliminate water ripples in advance, photosensitive cycle is the half in civil power cycle;
Adjustment unit 102, determines to need to eliminate water ripples in advance if may be used for determining unit 101, is then adjusted to the positive integer of photosensitive cycle the time for exposure of photographing device 100 doubly.
Wherein, determining unit 101 can be specifically for:
When the time for exposure of photographing device 100 is less than photosensitive cycle, if determine, current environment is indoor environment, then need to eliminate water ripples in advance.
Determining unit 101 can also be specifically for:
If the average color temperature of light source is less than the first preset value in current environment, then determine that current environment is indoor environment.
Determining unit 101 can also be specifically for:
If the average color temperature of light source is greater than the second preset value and is less than the 3rd preset value in current environment, then according to colour correction than determining whether the light source portion that colour temperature in current environment light source is less than the first preset value is 0, first preset value is greater than the second preset value and is less than the 3rd preset value, and colour correction is greater than or equal to the proportionate relationship of the light source portion of the first preset value than the light source portion and colour temperature that are less than the first preset value for colour temperature in current environment light source;
If in the light source of current environment, colour temperature is less than the light source portion of the first preset value is not 0, then determine that current environment is indoor environment;
If the average color temperature of current environment is less than or equal to the second preset value, then photographing device 100 determines that current environment is indoor environment.
Photographing device 100 can also comprise:
Shooting unit 103, for the time for exposure adopting photographing device 100 to be less than photosensitive cycle, takes a frame test pattern;
Determining unit 101 can also be specifically for:
If there are water ripples in the test pattern of shooting, then determine to need to eliminate water ripples in advance.
Adjustment unit 102 can be specifically for:
According to brightness and the preset target brightness of the test pattern of shooting, determine the exposure line number corresponding with preset target brightness;
According to the exposure line number corresponding with preset target brightness, determine the time for exposure corresponding with preset target brightness;
Be adjusted to the time for exposure of photographing device 100 and preset in set, the time for exposure corresponding with preset target brightness immediate numerical value, the numerical value preset in set is the positive integer times of 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, then when photographing device is determined to need to eliminate water ripples in advance, is just adjusted to the positive integer of photosensitive cycle the time for exposure of photographing device doubly, thus effectively eliminates water ripples in advance; And when not needing to eliminate water ripples in advance, even if the time for exposure is less than photosensitive cycle, also can not be adjusted to the positive integer of photosensitive cycle the time for exposure of photographing device doubly, thus reduce the possibility of image generation overexposure.
In several embodiments that the application provides, should be understood that disclosed photographing device and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-OnlyMemory, be called for short ROM), random access memory (RandomAccessMemory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (12)
1. a pre-removing method for water ripples, is characterized in that, comprising:
When the time for exposure of photographing device is less than photosensitive cycle, determine whether to need to eliminate water ripples in advance, described photosensitive cycle is the half in civil power cycle;
If desired eliminate water ripples in advance, is then adjusted to the positive integer of photosensitive cycle the time for exposure of described photographing device doubly.
2. method according to claim 1, is characterized in that, described when the time for exposure of photographing device is less than photosensitive cycle, determines that needing to eliminate water ripples in advance comprises:
When the time for exposure of described photographing device is less than photosensitive cycle, if determine, current environment is indoor environment, then need to eliminate water ripples in advance.
3. method according to claim 2, is characterized in that, describedly determines that current environment is that indoor environment comprises:
If the average color temperature of light source is less than the first preset value in current environment, then determine that current environment is indoor environment.
4. method according to claim 2, is characterized in that, describedly determines that current environment is that indoor environment comprises:
If the average color temperature of light source is greater than the second preset value and is less than the 3rd preset value in current environment, then according to colour correction than determining whether the light source portion that colour temperature in current environment light source is less than the first preset value is 0, described first preset value is greater than described second preset value and is less than described 3rd preset value, and described colour correction is greater than or equal to the proportionate relationship of the light source portion of described first preset value than the light source portion and colour temperature that are less than the first preset value for colour temperature in current environment light source;
If in the light source of current environment, colour temperature is less than the light source portion of the first preset value is not 0, then determine that current environment is indoor environment;
If the average color temperature of current environment is less than or equal to the second preset value, then described photographing device determination current environment is indoor environment.
5. method according to claim 1, is characterized in that, also comprises before described method:
Adopt described photographing device to be less than the time for exposure of photosensitive cycle, take a frame test pattern;
Described when the time for exposure of photographing device is less than photosensitive cycle, determine that needing to eliminate water ripples in advance comprises:
If there are water ripples in the described test pattern of shooting, then determine to need to eliminate water ripples in advance.
6. method according to claim 5, is characterized in that, the positive integer that the described time for exposure by photographing device is adjusted to photosensitive cycle doubly comprises:
According to brightness and the preset target brightness of the described test pattern of shooting, determine the exposure line number corresponding with preset target brightness;
According to the described exposure line number corresponding with preset target brightness, determine the time for exposure corresponding with preset target brightness;
Be adjusted to the time for exposure of described photographing device and preset in set, the time for exposure corresponding with described preset target brightness immediate numerical value, the numerical value in described default set is the positive integer times of photosensitive cycle.
7. a photographing device, is characterized in that, comprising:
Determining unit, for when the time for exposure of photographing device is less than photosensitive cycle, determine whether to need to eliminate water ripples in advance, described photosensitive cycle is the half in civil power cycle;
Adjustment unit, if determine to need to eliminate water ripples in advance for described determining unit, is then adjusted to the positive integer of photosensitive cycle doubly by the time for exposure of described photographing device.
8. equipment according to claim 7, is characterized in that, described determining unit specifically for:
When the time for exposure of described photographing device is less than photosensitive cycle, if determine, current environment is indoor environment, then need to eliminate water ripples in advance.
9. equipment according to claim 8, is characterized in that, described determining unit specifically for:
If the average color temperature of light source is less than the first preset value in current environment, then determine that current environment is indoor environment.
10. equipment according to claim 8, is characterized in that, described determining unit specifically for:
If the average color temperature of light source is greater than the second preset value and is less than the 3rd preset value in current environment, then according to colour correction than determining whether the light source portion that colour temperature in current environment light source is less than the first preset value is 0, described first preset value is greater than described second preset value and is less than described 3rd preset value, and described colour correction is greater than or equal to the proportionate relationship of the light source portion of described first preset value than the light source portion and colour temperature that are less than the first preset value for colour temperature in current environment light source;
If in the light source of current environment, colour temperature is less than the light source portion of the first preset value is not 0, then determine that current environment is indoor environment;
If the average color temperature of current environment is less than or equal to the second preset value, then described photographing device determination current environment is indoor environment.
11. equipment according to claim 7, is characterized in that, described equipment also comprises:
Shooting unit, for the time for exposure adopting described photographing device to be less than photosensitive cycle, takes a frame test pattern;
Described determining unit specifically for:
If there are water ripples in the described test pattern of shooting, then determine to need to eliminate water ripples in advance.
12. equipment according to claim 11, is characterized in that, described adjustment unit specifically for:
According to brightness and the preset target brightness of the described test pattern of shooting, determine the exposure line number corresponding with preset target brightness;
According to the described exposure line number corresponding with preset target brightness, determine the time for exposure corresponding with preset target brightness;
Be adjusted to the time for exposure of described photographing device and preset in set, the time for exposure corresponding with described preset target brightness immediate numerical value, the numerical value in described default set is the positive integer times of photosensitive cycle.
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 true CN105430290A (en) | 2016-03-23 |
CN105430290B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112188109A (en) * | 2019-07-04 | 2021-01-05 | 深圳市航盛电子股份有限公司 | Camera debugging method and device and electronic equipment |
CN112532888A (en) * | 2019-09-19 | 2021-03-19 | 杭州海康慧影科技有限公司 | Method and device for inhibiting image striation phenomenon |
CN113163128A (en) * | 2021-05-08 | 2021-07-23 | 维沃移动通信(杭州)有限公司 | 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 (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1509068A (en) * | 2002-12-16 | 2004-06-30 | ���ǵ�����ʽ���� | Image processing system and method |
US20050046704A1 (en) * | 2003-07-08 | 2005-03-03 | Masaya Kinoshita | Imaging apparatus and flicker reduction 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 |
-
2015
- 2015-11-24 CN CN201510829258.7A patent/CN105430290B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1509068A (en) * | 2002-12-16 | 2004-06-30 | ���ǵ�����ʽ���� | Image processing system and method |
US20050046704A1 (en) * | 2003-07-08 | 2005-03-03 | Masaya Kinoshita | Imaging apparatus and flicker reduction 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 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112188109A (en) * | 2019-07-04 | 2021-01-05 | 深圳市航盛电子股份有限公司 | Camera debugging method and device and electronic equipment |
CN112188109B (en) * | 2019-07-04 | 2022-04-19 | 深圳市航盛电子股份有限公司 | Camera debugging method and device and electronic equipment |
CN112532888A (en) * | 2019-09-19 | 2021-03-19 | 杭州海康慧影科技有限公司 | Method and device for inhibiting image striation phenomenon |
CN112532888B (en) * | 2019-09-19 | 2022-10-04 | 杭州海康慧影科技有限公司 | Method and device for inhibiting image striation phenomenon |
CN113163128A (en) * | 2021-05-08 | 2021-07-23 | 维沃移动通信(杭州)有限公司 | Image exposure method and electronic device |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105430290B (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102830573B (en) | A kind of flash control method and device | |
US8666191B2 (en) | Systems and methods for image capturing | |
US7626614B1 (en) | Transfer function and high dynamic range images | |
US8102437B2 (en) | Image sensing apparatus and control method therefor wherein the frame rate during autofocus is adjusted according to a detected flicker | |
CN100534139C (en) | Imaging apparatus and imaging method | |
CN105430290A (en) | Water ripple pre-elimination method and photographing device | |
US8625021B2 (en) | Image capture with region-based adjustment of imaging properties | |
TWI433533B (en) | Image capturing device and image synthesis method thereof | |
CN108462837B (en) | Shooting method and device | |
CN104717435A (en) | Imaging device and imaging method | |
CN103227928B (en) | White balance adjusting method and device | |
MX2013003446A (en) | System and method for processing image data using an image signal processor having back-end processing logic. | |
CN105788563A (en) | Display and brightness and color compensation method and system thereof | |
US20110150357A1 (en) | Method for creating high dynamic range image | |
JP6946564B2 (en) | Image processing methods and image processing equipment, computer-readable storage media and computer equipment | |
CN104702971A (en) | High dynamic range imaging method of camera array | |
CN108702459A (en) | A kind of automatic explosion method and device for camera | |
CN107194901B (en) | Image processing method, image processing device, computer equipment and computer readable storage medium | |
CN112004077A (en) | Calibration method and device for off-screen camera, storage medium and electronic equipment | |
US20120127335A1 (en) | Image capture with region-based adjustment of contrast | |
TWI394443B (en) | Image brightness correction method | |
US20110043674A1 (en) | Photographing apparatus and method | |
US9083887B2 (en) | Image capture devices configured to generate compensation gains based on an optimum light model and electronic apparatus having the same | |
CN103108123A (en) | Digital photographing apparatus and method of controlling the same | |
CN108540636A (en) | A kind of photographic method and device based on dual camera |
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 |