The present disclosure relates to image capturing technology and, more particularly, to a vehicular image pickup device and an image capturing method.
Image pickup devices are capable of recording images and thus have wide application, including ones installed at entrances and exits of buildings which require surveillance, to assist with tasks, such as conducting an investigation, preserving and collecting evidence.
Normally, conventional image pickup devices are each installed at a specific point to capture images within its image capturing radius according to an invariable operation model. However, if a conventional image pickup device is mounted on a moving object, for example, a vehicle, image quality of images captured by the image pickup device deteriorates, depending on the speed of the moving object. Furthermore, accuracy of ensuing recognition of the captured images is affected.
In an embodiment, an image capturing method comprises the steps of: capturing a driving image by an image capturing unit; obtaining, by conversion, a frequency spectrum of the driving image, detecting a frequency domain location in the frequency spectrum, and fine-tuning a shutter speed of the image capturing unit and a gain of the image capturing unit or a fill light intensity of a fill light unit according to whether a signal appears at the frequency domain location in the frequency spectrum.
In an embodiment, a vehicular image pickup device comprises an image capturing unit, a fill light unit and a processing unit. The image capturing unit captures a driving image. The fill light unit provides a fill light of a fill light intensity. The processing unit obtains, by conversion, a frequency spectrum of the driving image, detecting a frequency domain location in the frequency spectrum, detects the frequency domain location in the frequency spectrum, and fine-tunes a shutter speed of the image capturing unit, a gain of the image capturing unit or the fill light intensity of the fill light unit according to whether a signal appears at the frequency domain location in the frequency spectrum.
In conclusion, a vehicular image pickup device and an image capturing method in the embodiments of the present disclosure fine-tune a shutter speed, a fill light intensity or a gain according to whether a signal appears at a frequency domain location in a frequency spectrum of driving images, so as to obtain the driving images capable of enhanced detailed performance. Furthermore, the vehicular image pickup device and the image capturing method in the embodiments of the present disclosure dispense with the need to wait for feedback from a back-end system and thus are capable of confirming the image quality of the driving images and performing fine-tuning operation instantly; hence, the driving images of enhanced image quality can be quickly obtained.
Fine structures and advantages of the present disclosure are described below with reference to preferred embodiments of the present disclosure to enable persons skilled in the art to gain insight into the technical features of the present disclosure and implement the present disclosure accordingly. Persons skilled in the art can easily understand the objectives and advantages of the present disclosure by making reference to the disclosure contained in the specification, the claims, and the drawings.
In an embodiment, the vehicular image pickup device 100 comprises an image capturing unit 110 and a processing unit 120. The processing unit 120 is coupled to the image capturing unit 110. The vehicular image pickup device 100 further comprises a fill light unit 130. The fill light unit 130 is coupled to the image capturing unit 110 and the processing unit 120. The image capturing unit 110 captures the driving image F1. The fill light unit 130 outputs a fill light of a fill light intensity, i.e., a supplementary light, so as to assist with the image-capturing function of the image capturing unit 110.
In some embodiment aspects, the image capturing unit 110 comprises an assembly of lenses and light-sensing components. The light-sensing components include, for example, a complementary metal-oxide semiconductor (CMOS) and a charge-coupled device (CCD). The fill light unit 130 is, for example, implemented by a light-emitting diode (LED), an infrared LED (IR LED), a halogen lamp, or a laser source, but the present disclosure is not limited thereto.
The processing unit 120 controls and adjusts the operation of the image capturing unit 110 and/or the fill light unit 130 according to the image capturing method in any embodiment of the present disclosure to enhance the image quality of the driving images F1 captured by the image capturing unit 110.
In some embodiment aspects, the processing unit 120 is, for example, a system-on-a-chip (SoC), a central processing unit (CPU), a microcontroller (MCU), or an application-specific integrated circuit (ASIC).
In an embodiment of step S10, the image capturing unit 110 captures each driving image F1 with a global shutter, but the present disclosure is not limited thereto. In a variant embodiment of step S10, the image capturing unit 110 captures each driving image F1 with a rolling shutter. Furthermore, the image capturing unit 110 captures each driving image F1 at a predetermined shutter speed in the presence of the fill light of the fill light unit 130. In some embodiment aspects, the predetermined shutter speed ranges from 1/1000 to 1/100000 per second.
In an embodiment of step S20, the frequency domain conversion is implemented by Fourier transform.
In some embodiments, the driving image F1 comprises a plurality of pixels. The pixels display grayscales according to one of grayscale levels. Hence, how the driving image F1 looks depends on the grayscales displayed by the pixels and their locations.
In some embodiment aspects, the driving image F1 consists of 1280*720 pixels, but the present disclosure is not limited thereto. In a variant embodiment, the driving image F1 consists of 360*240 pixels, 1920*1080 pixels, or any display standard-complying number of pixels.
In some embodiment aspects, the grayscale levels are in the number of 256, for example, from grayscale level 0 to grayscale level 255, with grayscale level 0 denoting the least brightness, and grayscale level 255 denoting the highest brightness, but the present disclosure is not limited thereto. In a variant embodiment, the number of the grayscale levels depends on the performance of the image capturing unit 110. For instance, the image capturing unit 110 comprises an analog-to-digital conversion circuit. If the analog-to-digital conversion circuit operates on a 10-bit basis, the image capturing unit 110 provides performance of 1024 (i.e., 210) grayscale levels. The other cases are inferred by analogy.
In some embodiments, if an object is within an image capturing radius of the vehicular image pickup device 100, the driving image F1 captured by the image capturing unit 110 includes an object image M1. Furthermore, if the object bears any character, a character image W1 is present on the object image M1 in the driving image F1 captured by the image capturing unit 110.
The description below is exemplified by the driving image F1 with an image format of 1280*720. If the driving image F1 has an image format of 1280*720, it means that the driving image F1 has 1280 pixels on the horizontal axis (i.e., X-axis) and 720 pixels on the vertical axis (i.e., Y-axis), and thus the driving image F1 consists of 1280*720 pixels. If the processing unit 120 defines the straight line L1 which runs along the horizontal axis of the driving image F1, as shown in
In some embodiments, the processing unit 120 performs step S10 through step S40 repeatedly to effectuate fine-tuning repeatedly such that the driving images F1 captured by the image capturing unit 110 is capable of sufficiently high frequency spectrum responses.
In some embodiments, before performing step S20, the processing unit 120 sets the shutter speed of the image capturing unit 110 preliminarily such that the driving images F1 captured by the image capturing unit 110 do not blur. For instance, in step S10, the processing unit 120 instructs the image capturing unit 110 to capture a plurality of driving images F1 sequentially and then set the shutter speed of the image capturing unit 110 according to a result of image analysis of two of the driving images F1.
In an embodiment, the processing unit 120 chooses any two of the driving images F1 on condition that the two chosen driving images F1 include the object image M1. Then, the processing unit 120 performs image analysis on the two chosen driving images F1 in order to obtain a variance of the object image M1. Afterward, the processing unit 120 sets the shutter speed of the image capturing unit 110 according to the variance obtained. In an embodiment aspect, the processing unit 120 performs image analysis on the first one of the driving images F1 and the last one of the driving images F1 on condition that both the first and last ones of the driving images F1 include the object image M1. The variance obtained is equivalent to the time difference between the points in time when the object image M1 appears in the two driving images F1, respectively. In another embodiment aspect, the processing unit 120 performs image analysis on two consecutively captured driving images F1 which include the object image M1. The variance obtained as a result of the image analysis performed by the processing unit 120 is the displacement (i.e., variance in location) of the object image M1 in the two driving images F1; hence, the variance is location variance, for example, the distance traveled by the object image M1 along the X-axis in the two driving images F1, but the present disclosure is not limited thereto. In a variant embodiment, the variance obtained by the processing unit 120 is the speed at which the object image M1 in the two driving images F1 moves.
In some embodiment aspects, the processing unit 120 obtains the variance of the object image M1 by image subtraction, but the present disclosure is not limited thereto. In a variant embodiment, the processing unit 120 obtains the variance of the object image M1 by any appropriate image analysis algorithm.
Before performing step S20, the processing unit 120 performs preliminary adjustment of the fill light intensity of the fill light unit 130 or the gain of the image capturing unit 110 such that the driving images F1 captured by the image capturing unit 110 have appropriate brightness. For instance, the processing unit 120 obtains, by conversion, a histogram of the driving images F1 by image integration and thus obtains a grayscale quantity distribution of the pixels of the driving images F1 on a plurality of grayscale levels. Then, the processing unit 120 numbers the pixels sequentially in the direction from the highest grayscale level to the lowest grayscale level according to the grayscale quantity distribution obtained by conversion, until the numbering reaches a predetermined number. Afterward, the processing unit 120 fine-tunes the fill light intensity or gain according to the grayscale level of the pixel whose number is the predetermined number such that the highest brightness of the driving images F1 can be adjusted to a reasonable range without becoming too bright or too dim.
In an embodiment, the predetermined number equals the number of pixels generally occupied by the object image M1 in the driving images F1. In some embodiment aspects, if the object image M1 is an image of a license plate, the predetermined number ranges from 1000 to 3000 or ranges from 2000 to 3000, but the present disclosure is not limited thereto. In a variant embodiment, the predetermined number depends on the number of pixels which must be occupied by the image of the license plate in order to correctly recognize every country's license plates and sizes thereof.
In some embodiments, given the appropriate shutter speed and fill light intensity or gain, the processing unit 120 performs the fine-tuning operation of step S10 through step S40 of the image capturing method to further augment the detailed performance of the driving images F1.
In some embodiments, the product of the shutter speed and gain of the image capturing unit 110 and the fill light intensity of the fill light unit 130 before and after the fine-tuning operation of step S40 remains the same. For instance, if the processing unit 120 enables the shutter speed to reduce to a half thereof, the processing unit 120 enables the gain or fill light intensity to double; hence, the product of the shutter speed, gain and fill light intensity is substantially the same before and after the fine-tuning operation; in other words, the fine-tuning operation brings no great change in the product of the shutter speed, gain and fill light intensity.
In some embodiments, the vehicular image pickup device 100 further comprises a storage unit 140. The storage unit 140 is coupled to the processing unit 120. The storage unit 140 stores any parameters for use in the image capturing method in any embodiment of the present disclosure, for example, the predetermined number, the shutter speed, the fill light intensity and/or gain.
In some embodiments, the vehicular image pickup device 100 is for use in a detection system of the police forces. For instance, the vehicular image pickup device 100 is mounted on a police car. The vehicular image pickup device 100 is electrically connected to an internal system of the police car, and the internal system sends the captured driving image F1 to a back-end system. The back-end system performs post-processing and image recognition on the driving image F1, and thus assists the police in quickly recording and recognizing license plates and car models. The object image M1 in the driving image F1 is an image of a license plate or an image of the car body. The character images W1 are images of numerals or characters.
In conclusion, a vehicular image pickup device and an image capturing method in the embodiments of the present disclosure fine-tune a shutter speed, fill light intensity or gain according to whether a signal appears at a frequency domain location in a frequency spectrum of driving images so as to obtain the driving images capable of enhanced detailed performance. Furthermore, the vehicular image pickup device and the image capturing method in the embodiments of the present disclosure dispense with the need to wait for feedback from a back-end system and thus are capable of confirming the image quality of the driving images and performing fine-tuning operation instantly; hence, the driving images of enhanced image quality can be quickly obtained.
Although the present disclosure is disclosed above by preferred embodiments, the preferred embodiments are not restrictive of the present disclosure. Changes and modifications made by persons skilled in the art to the preferred embodiments without departing from the spirit of the present disclosure must be deemed falling within the scope of the present disclosure. Accordingly, the legal protection for the present disclosure should be defined by the appended claims.