Stroboscopic light supplementing method, computer equipment, image acquisition device and storage medium

文档序号:172758 发布日期:2021-10-29 浏览:14次 中文

阅读说明:本技术 频闪补光方法、计算机设备、图像采集装置及存储介质 (Stroboscopic light supplementing method, computer equipment, image acquisition device and storage medium ) 是由 周小芹 徐良 刘晓沐 于 2020-04-29 设计创作,主要内容包括:本申请公开了卷帘式快门图像传感器的频闪补光方法、计算机设备、图像采集装置、计算机可读存储介质。该频闪补光方法包括:获取图像传感器的曝光时间;根据曝光时间获取频闪灯的输出波形,其中,输出波形包括多个连续的波形周期,且曝光时间是波形周期的整数倍;控制频闪灯根据输出波形为图像传感器补光。通过上述方式,本申请能够提高卷帘式快门图像传感器的拍照效果。(The application discloses a stroboscopic light supplementing method of a rolling shutter image sensor, computer equipment, an image acquisition device and a computer readable storage medium. The stroboscopic light supplement method comprises the following steps: acquiring the exposure time of the image sensor; acquiring an output waveform of the strobe light according to the exposure time, wherein the output waveform comprises a plurality of continuous waveform periods, and the exposure time is integral multiple of the waveform period; and controlling the strobe lamp to supplement light for the image sensor according to the output waveform. In this way, the rolling shutter image sensor can improve the photographing effect.)

1. A stroboscopic fill-in light method of a rolling shutter image sensor is characterized by comprising the following steps:

acquiring the exposure time of the image sensor;

acquiring an output waveform of a strobe light according to the exposure time, wherein the output waveform comprises a plurality of continuous waveform periods, and the exposure time is integral multiple of the waveform periods;

and controlling the strobe lamp to supplement light for the image sensor according to the output waveform.

2. The method of claim 1, further comprising:

and compressing the line interval time of the image sensor to ensure that the actual light supplementing time of the image sensor is less than one frame duration.

3. The method of claim 2, wherein before controlling the strobe light to fill the image sensor with light according to the output waveform, further comprising:

controlling the image sensor to be frame-synchronized with the strobe light;

the step of acquiring the exposure time of the image sensor comprises:

acquiring the exposure time and the actual light supplementing time of the image sensor;

the acquiring of the output waveform of the strobe light according to the exposure time comprises:

and calculating to obtain the output waveform of the strobe light according to the exposure time and the actual light supplementing time.

4. The method of claim 3, wherein the output waveform comprises a first waveform segment having a duration not less than an actual fill-in time of the image sensor for a frame duration of the image sensor;

wherein the first waveform segment is comprised of a plurality of consecutive waveform periods.

5. The method of claim 3, wherein the output waveform comprises a first waveform segment having a duration equal to an actual fill-in time of the image sensor for a frame duration of the image sensor;

the first waveform segment comprises a plurality of continuous waveform periods and a high-level segment, and the duration of the high-level segment is the remainder of dividing the actual fill-in time by the exposure time.

6. The method according to claim 4 or 5,

the output waveform further includes a second waveform segment that is a sustained low level segment.

7. The method according to claim 4 or 5,

the output waveform further includes a second waveform segment that includes one or more high level segments that are spaced apart.

8. A computer device, comprising a processor and a memory coupled to the processor;

wherein the memory is for storing program data and the processor is for executing the program data to implement the method of any one of claims 1-7.

9. An image capture device comprising an image capture device, a strobe light, and the computer apparatus of claim 8, the image capture device comprising a rolling shutter image sensor, the rolling shutter image sensor and the strobe light in communication with the computer apparatus, respectively.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium is used for storing program data, which, when being executed by a processor, is used for carrying out the method according to any one of claims 1-7.

Technical Field

The present application relates to the field of surveillance camera technology, and in particular, to a stroboscopic light supplementing method for a rolling shutter image sensor, a computer device, an image acquisition apparatus, and a computer-readable storage medium.

Background

For a long time, realizing clear and recognizable image recognition under the condition of low light or no light is always a great technical difficulty which troubles image sensor developers, and the light supplement mode of the current image sensor mainly utilizes a stroboscopic lamp or a normally-on lamp to supplement light.

The normally-on light supplement lamp has lower brightness than the strobe lamp, the heating value is larger than that of the strobe lamp during working, the normally-on lamp power on the market is only dozens of watts generally, the illuminance sensed by the camera is not as good as that of the strobe lamp, especially for shooting a vehicle moving at high speed, after the electronic shutter is adjusted fast, the exposure time of the image sensor is shortened, so that the requirement of light supplement is hardly met, and dazzling interference can be generated to a driver. In popular terms, the human eyes feel bright, but the images from the camera are not bright.

For the rolling shutter image sensor, the stroboscopic lamp is used to solve the defects of the normally-on light supplement lamp, but the flicker problem can occur, namely, the dark and bright stripes (banding) phenomenon appear on the acquired image picture, and the image effect is greatly influenced.

Disclosure of Invention

The technical problem mainly solved by the application is to provide a stroboscopic light supplementing method, a computer device, an image acquisition device and a computer-readable storage medium for a rolling shutter image sensor, and the photographing effect of the rolling shutter image sensor can be improved.

In order to solve the technical problem, the application adopts a technical scheme that: a method for supplementing light to a rolling shutter image sensor by stroboscopic light is provided, which includes: acquiring the exposure time of the image sensor; acquiring an output waveform of the strobe light according to the exposure time, wherein the output waveform comprises a plurality of continuous waveform periods, and the exposure time is integral multiple of the waveform period; and controlling the strobe lamp to supplement light for the image sensor according to the output waveform.

In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a computer device comprising: a processor and a memory coupled to the processor; the memory is used for storing program data, and the processor is used for executing the program data so as to realize the stroboscopic light supplement method of the rolling shutter image sensor.

In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided an image pickup apparatus including: image collector, stroboscopic lamp and as above-mentioned computer equipment, image collector includes rolling shutter image sensor.

In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a computer readable storage medium having stored thereon program data for implementing the method as described above when executed by a processor.

The beneficial effect of this application is: the method comprises the steps of obtaining the exposure time of the image sensor, obtaining the output waveform of the strobe light according to the exposure time, wherein the output waveform comprises a plurality of continuous waveform periods, and the exposure time is integral multiple of the waveform period, so that the strobe light is controlled to supplement light for the image sensor according to the output waveform, the starting time points of exposure of pixels of each row of the image sensor are different, but the light energy received by each row is the same, and compared with a normally-on light, the method has the advantages of stronger light supplementing intensity and higher image quality, solves the problem of glicker dark stripe phenomenon when the strobe light is used for supplementing light for the rolling shutter image sensor, and can improve the photographing effect of the rolling shutter image sensor.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 is an exposure schematic diagram of a rolling shutter image sensor according to the present application;

fig. 2 is a schematic flowchart of a first embodiment of a stroboscopic light supplementing method for a rolling shutter image sensor according to the present application;

fig. 3 is a schematic diagram illustrating a variation of an output waveform of a first embodiment of a stroboscopic fill-in light method of a rolling shutter image sensor according to the present application.

Fig. 4 is a schematic flowchart of a second embodiment of a stroboscopic light supplementing method for a rolling shutter image sensor according to the present application;

fig. 5 is a schematic flowchart of a stroboscopic light supplementing method according to a third embodiment of the rolling shutter image sensor of the present application;

fig. 6 is a schematic diagram of an output waveform of a stroboscopic fill-in light method according to a third embodiment of the rolling shutter image sensor of the present application;

fig. 7 is a schematic diagram of another output waveform of a third embodiment of a stroboscopic fill-in light method of the rolling shutter image sensor according to the present application;

fig. 8 is a schematic diagram of still another output waveform of a third embodiment of a stroboscopic fill-in light method of the rolling shutter image sensor according to the present application;

FIG. 9 is a schematic block diagram of an embodiment of a computer apparatus of the present application;

FIG. 10 is a schematic structural diagram of an embodiment of an image capturing device according to the present application;

FIG. 11 is a schematic diagram of an embodiment of a computer-readable storage medium of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.

Referring to fig. 1, fig. 1 is a schematic view of an exposure of a rolling shutter image sensor according to the present application.

In fig. 1, the horizontal axis represents time, and the vertical axis represents the pixel row number of the image sensor. Line Time is Line interval Time, t1 ═ 1 × Line Time, t2 ═ 2 × Line Time, t3 ═ 3 × Line Time, t4 ═ N-1 × Line Time, t5 ═ N × Line Time, t5-t4 ═ Row N, and t6 is fill Time of one frame of image.

Where t2 is the time for the second row of pixels to start exposure, and t3 is the time for the third row of pixels to start exposure … t5 is the time for the nth row of pixels to start exposure. The N x Line Time is the Line interval Time of N lines of pixels, Row N is the exposure Time, and the light supplement Time of the image sensor is as follows: n x Line Time + Row N, the fill-in Time of the rolling shutter image sensor is generally 1000 ms/frame rate.

Because the exposure mode of the rolling shutter image sensor is performed row by row, the exposure time of each pixel is the same, that is, the exposure starting point and the exposure time of each pixel on the same row are the same, so the light energy received by all the pixels on the same row is the same. Although the exposure Time is the same between different lines, the exposure starting point is different, and the exposure starting Time point and the exposure ending Time point of each Line are shifted backward for a period of Time (one Line Time is shifted compared with the previous Line) Line by Line, so the light energy received between different lines is not necessarily the same, and therefore, a flicker phenomenon, that is, a dark and bright stripe (banding) phenomenon appears on a picture in a frame of image generated by an image sensor, can occur.

Use electronic police or bayonet project camera as an example, though adopt the strobe light can solve the not enough and great problem of consumption of the light intensity of the light filling lamp that often lights, in the correlation technique, the present a large amount of roll-up shutter exposure cameras that use can not use the strobe light to carry out the light filling, and can only use the light filling that often lights, otherwise can appear flicker's problem.

Based on this, the present application provides a stroboscopic light supplementing method for a rolling shutter image sensor, so as to solve the above problems.

Referring to fig. 2 and fig. 3 in combination, fig. 2 is a schematic flowchart illustrating a first embodiment of a stroboscopic light supplementing method of a rolling shutter image sensor according to the present application. Fig. 3 is a schematic diagram illustrating a variation of an output waveform of a first embodiment of a method for stroboscopic fill-in light of a rolling shutter image sensor according to the present application,

in this embodiment, a stroboscopic light supplementing method for a rolling shutter image sensor includes:

s120: an exposure time of the image sensor is acquired.

In this embodiment, the image sensor is, for example, a CMOS image sensor, and the exposure time of the image sensor can be acquired by a computer device (which may be a processor inside) connected to the image sensor and in communication therewith.

The exposure time is the time of exposure to light before the pixel is read out.

In one application scenario, the method can be applied to electronic police or checkpoint project cameras, and the exposure time can be a low-light exposure time. The low-level exposure time can be set according to the low-level exposure time requirement of the camera. The underexposure time may be 1ms to 15ms, such as 1ms, 2ms, 3ms, 5ms, 8ms, 10ms, 12ms, 14ms, or 15 ms.

S140: and acquiring the output waveform of the strobe lamp according to the exposure time.

The computer device (which may be through its internal processor) may calculate an output waveform from the exposure time and provide it to the strobe.

Wherein the output waveform comprises a plurality of consecutive waveform periods and the exposure time is an integer multiple of the waveform period z. For example, the exposure time is 8, the waveform period z is 8 or z is 4; the exposure time is 4, and the waveform period z is 4 or z is 2.

S160: and controlling the strobe lamp to supplement light for the image sensor according to the output waveform.

The strobe light may be an LED strobe light. The stroboscopic lamp is used for supplementing light for the image sensor according to the provided waveform output signal (used for generating an output waveform), and the LED lamp of the high-level part of the output waveform is turned on to supplement light for the image sensor.

Due to the working principle of line-by-line scanning of the rolling shutter image sensor, although the starting time points of exposure of pixels of each line of the image sensor are different, an important method for ensuring that the rolling shutter image sensor does not have flicker is to ensure that the time of light supplement of each line of the image sensor is the same, so that all lines of the rolling shutter image sensor need to be supplemented with light during the exposure time.

As shown in fig. 2, taking a CMOS image sensor used in an intelligent traffic gate device at night as an example, assuming that the exposure time is 4ms, the brightness duration of an actual stroboscopic LED lamp is generally controlled below 3ms, and if a commonly used stroboscopic LED lamp with a frequency of 100HZ (i.e., one waveform period is 10ms) is used and corresponds to an output waveform a, some rows of the image sensor may not be supplemented with light during the exposure time, so that an obvious flicker phenomenon may occur.

In this embodiment, the output waveform of the strobe is obtained according to the exposure time, and the output waveform B is obtained, where the output waveform B is composed of a plurality of continuous waveform periods and the waveform period is also 4ms, that is, the exposure time is 1 time of the waveform period. Therefore, the stroboscopic lamp is controlled to fill light for the image sensor according to the output waveform B shown in fig. 2, so that although the starting time points of exposure of each row of pixels of the image sensor are different, the light filling time of each row of pixels is the same (all 3ms), and therefore each row of pixels can receive the same light energy within the exposure time, the flicker bright and dark stripe phenomenon when the stroboscopic lamp is used for filling light for the rolling shutter image sensor is solved, and the photographing effect of the rolling shutter image sensor can be improved.

It will be appreciated that the above is merely an example, and that when the exposure time of the image sensor is other values, the computer device (which may be through its internal processor) may also recalculate the corresponding output waveform such that the exposure time is an integer multiple of the waveform period.

In the stroboscopic light supplementing method for the rolling shutter image sensor of the embodiment, the exposure time of the image sensor is obtained, and the output waveform of the strobe light is obtained according to the exposure time, because the output waveform includes a plurality of continuous waveform periods, and the exposure time is an integral multiple of the waveform period, when the strobe light is controlled to supplement light for the image sensor according to the output waveform, the start time points of exposure receiving of pixels in each row of the image sensor are different, but the light energy received by each row is the same, so that the flicker bright and dark stripe phenomenon when the stroboscopic light is used for supplementing light for the rolling shutter image sensor is solved, and the photographing effect of the rolling shutter image sensor can be improved.

Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of a stroboscopic light-supplementing method for a rolling shutter image sensor according to the present application.

The second embodiment of the stroboscopic light supplementing method for the rolling shutter image sensor is based on the first embodiment of the stroboscopic light supplementing method for the rolling shutter image sensor, and therefore steps of the embodiment that are the same as those of the first embodiment are not repeated, and reference can be made to descriptions in the first embodiment.

In this embodiment, the stroboscopic light supplementing method for the rolling shutter image sensor further includes the following steps:

s110: and compressing the line interval time of the image sensor to ensure that the actual light supplementing time of the image sensor is less than the duration of one frame.

In one embodiment, the operator may compress the line interval time of the image sensor by setting a line length register of the image sensor.

Making the actual fill-in time of the image sensor less than the duration of one frame means: so that (all exposed pixel row interval time + exposure time) < one frame duration.

Taking IMX185 sensor as an example, a frame duration needs 40ms at 25fps, by setting the Line length register, all Line interval Time (N x Line Time) of the image sensor can be compressed to 30ms, 20ms, 15ms or even lower, and the actual light supplement Time is all compressed Line interval Time + exposure Time, so that by compressing the Line interval Time of the image sensor, the actual light supplement Time of the image sensor can be greatly reduced. In the case where the output waveform B in fig. 2 is also employed, the light supplement efficiency of the image sensor can be improved.

Optionally, the line interval time of the image sensor may be compressed to a minimum value, so that the actual fill-in time of the image sensor is the shortest. The minimum value of the line interval time of the image sensor is determined by the performance of the image sensor itself.

In one embodiment, when the fill-in time is longer, a continuous stroboscopic output waveform may be adopted, that is, the output waveform may be composed of a plurality of continuous waveform periods, and the LED strobe continuously strobes during the exposure completion period to fill in the light for the image sensor.

For example, when the actual fill-in time > (one frame duration × 3/4), a continuous strobed output waveform may be used. For example, when the duration of one frame is 40ms, and the actual fill-in time of the image sensor after compressing the line interval time of the image sensor is 30ms or more than 30ms, the image sensor can be filled with fill-in light using a continuously stroboscopic output waveform.

In addition, because the output waveform is composed of a plurality of continuous waveform periods, namely, the strobe light is continuously stroboscopic, the image sensor does not need to be synchronized with the strobe light frame, and the light energy received by each row of pixels of the image sensor can be the same no matter which point of the output waveform when the image sensor starts to fill light.

Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a strobe fill-in method of a rolling shutter image sensor according to a third embodiment of the present invention. Fig. 6 is a schematic diagram of an output waveform of a stroboscopic fill-in light method according to a third embodiment of the rolling shutter image sensor of the present application.

The third embodiment of the stroboscopic light supplementing method for the rolling shutter image sensor is based on the second embodiment of the stroboscopic light supplementing method for the rolling shutter image sensor, and therefore steps of the embodiment that are the same as those of the second embodiment are not repeated, and reference may be made to descriptions in the second embodiment.

At step S160: before controlling the stroboscopic lamp to fill light for the image sensor according to the output waveform, still include:

s150: and controlling the image sensor to be synchronous with the stroboscopic lamp frame.

In one embodiment, the frequency of the strobe light may be controlled using a VSYNC frame sync signal output by the image sensor, or may be controlled by the computer device (e.g., by connecting a driver to its internal processor).

Step S120: acquiring an exposure time of the image sensor may include:

s121: and acquiring the exposure time and the actual light supplementing time of the image sensor.

Step S140: acquiring the output waveform of the strobe light according to the exposure time may include:

s141: and calculating according to the exposure time and the actual light supplementing time to obtain the output waveform of the strobe light.

By controlling the image sensor to be synchronous with the frame of the strobe lamp and calculating the output waveform of the strobe lamp according to the exposure time and the actual light supplementing time, the time point when the image sensor starts to supplement light can be the same as the time point when the strobe lamp starts to supplement light for the image sensor according to the output waveform, and the strobe lamp can further supplement light for the image sensor within the light supplementing time of the image sensor, so that the power consumption of the strobe lamp is saved.

In one embodiment, to save power consumption of the strobe, in one embodiment, the output waveform may be:

within one frame duration of the image sensor, the output waveform may include a first waveform segment, and the duration of the first waveform segment is not less than the actual fill-in time of the image sensor. Wherein the first waveform segment is comprised of a plurality of consecutive waveform periods.

For example, referring to fig. 6, assuming that the exposure time of the image sensor is 4ms, the actual fill-in time of the image sensor is 12.4ms, and the waveform period of the first waveform segment is 4ms (the exposure time is twice the waveform period), since the first waveform segment of the output waveform B1 is composed of a plurality of consecutive waveform periods, and the duration of one waveform segment cannot be less than the actual fill-in time of the image sensor, the first waveform segment at least includes 4 consecutive waveform periods. Set up first waveform segment and include 4 continuous waveform cycle, because the duration of first waveform segment is greater than image sensor's actual light filling time, so the stroboscopic lamp carries out the stroboscopic according to this waveform in the duration of first waveform segment, can effectively carry out the light filling for image sensor.

Optionally, the output waveform further comprises a second waveform segment.

Alternatively, as shown in fig. 6, since the actual fill-in time of the image sensor is less than the duration of one frame, the strobe lamp may not need to fill in the image sensor within the duration of one frame and after the actual fill-in time, and thus the second waveform segment may be a continuous low level, and the duration of the second waveform segment is equal to the duration of one frame — the duration of the first waveform segment. By setting the second waveform segment to a sustained low level, the power consumption of the strobe light can be effectively reduced.

In the embodiment, because the light filling time is short (less than one half of the duration of one frame), a continuous stroboscopic mode is adopted, the power consumption of the stroboscopic lamp is large, the output waveform comprises a first waveform section and a second waveform section, the duration of the first waveform section is not less than the actual light filling time of the image sensor, and the second waveform section is set to be a continuous low level, so that the flicker problem can be solved, and meanwhile, the power consumption of the stroboscopic lamp is effectively reduced.

Referring to fig. 7, fig. 7 is a schematic diagram of another output waveform of a method for fill-in light for stroboscopic light of a rolling shutter image sensor according to a third embodiment of the present application.

To further save power consumption of the strobe, in another embodiment, the output waveform may be:

within one frame duration of the image sensor, the output waveform comprises a first waveform segment, and the duration of the first waveform segment is equal to the actual fill-in time of the image sensor. The first waveform segment comprises a plurality of continuous waveform periods and a high-level segment, and the duration of the high-level segment is the remainder of the actual fill-in time divided by the exposure time.

In this embodiment, the duration of the high-level segment is less than the duration of one waveform period, and the high-level segment is used for supplementing the waveform period, so that when the actual light supplementing time is not a multiple of the waveform period, the duration of the first waveform segment composed of a plurality of continuous waveform periods and one high-level segment is equal to the actual light supplementing time of the image sensor.

For example, as shown in fig. 7, still assuming that the exposure time of the image sensor is 4ms, the actual fill-in time of the image sensor is 12.4ms, and the waveform period of the first waveform segment is 4ms, since the first waveform segment includes a plurality of consecutive waveform periods and a high level segment, and the duration of the first waveform segment cannot be less than the actual fill-in time of the image sensor, the first waveform segment includes at least 3 consecutive waveform periods and a high level segment. In order to make the energy received by each row of pixels of the image sensor in the actual fill-in time be the same, the duration of the high-level segment is the remainder of the actual fill-in time divided by the exposure time, in this example, the duration of the high-level segment is 0.4 ms.

The first waveform segment is set to comprise 3 continuous waveform periods and a high-level segment with the duration of 0.4ms, and the duration of the first waveform segment is equal to the actual light supplement time of the image sensor, so that the strobe lamp carries out stroboflash according to the output waveform B2 in the duration of the first waveform segment, and light supplement can be effectively carried out on the image sensor. Meanwhile, the second waveform section is a continuous low-level section, so that power consumption can be reduced, and the light energy utilization rate of the strobe lamp is improved.

Optionally, the output waveform further comprises a second waveform segment.

Optionally, since the actual fill-in time of the image sensor is less than the duration of one frame, the strobe lamp may not need to fill in the image sensor within the duration of one frame and after the actual fill-in time, and thus the second waveform segment may be a continuous low level, and the duration of the second waveform segment is equal to the duration of one frame — the duration of the first waveform segment. By setting the second waveform segment to a sustained low level, the power consumption of the strobe light can be greatly reduced.

In this embodiment, because the light filling time is short (3/4 that is less than a frame duration), adopt continuous stroboscopic mode, the stroboscopic lamp consumption is great, includes first waveform section and second waveform section through setting up output waveform, and the duration of first waveform section equals image sensor's actual light filling time, and the second waveform section is the low level that one section lasts, can be when solving flicker problem, the consumption of greatly reduced stroboscopic lamp.

Referring to fig. 8, fig. 8 is a schematic diagram of another output waveform of the rolling shutter image sensor according to the third embodiment of the flash fill-in method.

In order to further save the energy consumption of the strobe light and reduce the probability that the human eye will feel flickering in the low level segment, in another embodiment, the output waveform may be:

within one frame duration of the image sensor, the output waveform comprises a first waveform segment and a second waveform segment, and the duration of the first waveform segment is not less than the actual fill-in time of the image sensor. The first waveform segment comprises a plurality of continuous waveform periods, the duration of the first waveform segment is not less than the actual light supplement time of the image sensor, and the second waveform segment comprises one or more high-level segments arranged at intervals.

In general, the human eye is essentially imperceptible to about 83Hz flashes every 11ms, with a slight strobe at about 66Hz flashes every 13 ms.

When the line interval time of the image sensor is compressed, so that the actual fill-in time of the image sensor is less than the duration of one frame, and the time left after subtracting the actual fill-in time from the duration of one frame is too long (e.g., more than 13ms), if the second waveform segment is still set to the continuous low-level segment, human eyes may feel flickering. For example, when the method is applied to traffic gate equipment, the greater the flicker perceived by the human eye, the greater the safety impact on public areas.

For example, it is still assumed that a frame duration of the image sensor needs 40ms, an exposure time of the image sensor is 4ms, an actual fill-in time of the image sensor is 12.4ms, and a waveform period of the first waveform segment is 4ms, in this example, the duration of the first waveform segment is equal to the actual fill-in time of the image sensor, and the first waveform segment includes 3 consecutive waveform periods and one high-level segment (0.4 ms).

In this example, the duration of the second waveform segment is: and the time from 40ms to 12.4ms is 17.6 ms. If the second waveform segment is a continuous low-level segment, human eyes may feel flickering.

As shown in fig. 8, the second waveform segment of the output waveform B3 may include a high level segment, which may have a duration of 3ms, or may have other values.

In combination with the practical situation, for example, when the scene to which the method is applied has higher requirements on safety and user comfort, the second waveform segment of the output waveform B4 may also include a plurality (two or more) of high level segments that are arranged at intervals, and the duration of the high level segment may be 3ms, or may be other values.

In other embodiments, when the duration of the second waveform segment is small, for example, when the fill-in time is long, so that the duration of the second waveform segment is less than 10ms, the second waveform segment may still be a continuous low level, and the human eye may not feel obvious flicker.

In this embodiment, through making the second waveform section include the high level section that one or more intervals set up, realize comparing in the light filling light intensity of normally on lamp stronger, image quality is higher, and can effectively reduce the consumption of stroboscopic lamp when solving flicker's problem to reduce the probability that people's eyes experienced light scintillation.

Referring to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of a computer apparatus according to the present application.

In this embodiment, the computer device 100 includes a processor 110 and a memory 120 connected to the processor 110. The memory 120 is used for storing program data, and the processor 110 is used for executing the program data to implement the strobe fill-in method of the rolling shutter image sensor in any of the above embodiments.

The computer device may include a driver connected to the processor.

The processor 110 may also be referred to as a Central Processing Unit (CPU). The processor 110 may be an integrated circuit chip having signal processing capabilities. The processor 110 may also be a general purpose processor 110, a digital signal processor 110(DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The general purpose processor 110 may be a microprocessor 110 or the processor 110 may be any conventional processor 110 or the like.

Referring to fig. 10, fig. 10 is a schematic structural diagram of an embodiment of an image capturing device according to the present application.

In this embodiment, the image capturing apparatus 200 includes an image capturing unit 210, a strobe 220, and the computer device 100 in the above embodiments. Image collector 210 and strobe 220 are each communicatively coupled to computer device 100.

The image acquirer 210 includes a rolling shutter image sensor 211, i.e., the image sensor 211 generates and outputs an image signal through rolling shutter exposure. Image collector 210 further includes a filter (not shown) and a lens (not shown). The image sensor 211 is communicatively coupled to the computer device 100.

Alternatively, the strobe 220 may be an LED strobe.

Referring to fig. 11, fig. 11 is a schematic diagram of an embodiment of a computer-readable storage medium according to the present application.

The computer-readable storage medium 300 is used for storing program data 310, and the program data 310 can implement the strobe fill-in method of the rolling shutter image sensor according to any of the above embodiments when executed by the processor.

It is understood that the computer-readable storage medium 300 in this embodiment may be applied to a server, and specific implementation thereof may refer to the foregoing embodiment, which is not described herein again.

In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.

Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated units in the other embodiments described above may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be substantially or partially implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the S of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

The utility model provides a stroboscopic light filling method of rolling curtain formula shutter image sensor, this method is through the exposure time who obtains image sensor, and obtain the output waveform of strobe light according to the exposure time, because the output waveform includes a plurality of continuous waveform cycle, and the exposure time is the integral multiple of waveform cycle, therefore control strobe light when filling light for image sensor according to the output waveform, make every row of pixel of image sensor accept the exposure the starting time point different, but the light energy that every row received is the same, thereby realize comparing in the light filling light intensity of normally bright lamp stronger, image quality is higher, solve the glick bright dark stripe phenomenon of the flicker when using the strobe light to fill light for rolling curtain formula shutter image sensor, can improve rolling curtain formula shutter image sensor's photographic effect.

The above embodiments are merely examples and are not intended to limit the scope of the present disclosure, and all modifications, equivalents, and flow charts using the contents of the specification and drawings of the present disclosure or those directly or indirectly applied to other related technical fields are intended to be included in the scope of the present disclosure.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:图像处理方法、装置及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类