KR100725837B1 - Automatic exposure control method of image sensor - Google Patents
Automatic exposure control method of image sensor Download PDFInfo
- Publication number
- KR100725837B1 KR100725837B1 KR1020050100338A KR20050100338A KR100725837B1 KR 100725837 B1 KR100725837 B1 KR 100725837B1 KR 1020050100338 A KR1020050100338 A KR 1020050100338A KR 20050100338 A KR20050100338 A KR 20050100338A KR 100725837 B1 KR100725837 B1 KR 100725837B1
- Authority
- KR
- South Korea
- Prior art keywords
- exposure
- brightness
- value
- gain
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000009825 accumulation Methods 0.000 claims abstract description 46
- 238000004364 calculation method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/50—Control of the SSIS exposure
- H04N25/53—Control of the integration 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/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/50—Control of the SSIS exposure
- H04N25/51—Control of the gain
-
- 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/745—Detection of flicker frequency or suppression of flicker wherein the flicker is caused by illumination, e.g. due to fluorescent tube illumination or pulsed LED illumination
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
본 발명은 이미지 센서에서 노출시간과 이득을 조절하여 영상의 밝기의 평균값이 목표 밝기에 도달하도록 하는 자동 노출 제어 방법에 관한 것으로, (a)전체 이미지를 여러 개의 구역으로 나누고, 상기 나누어진 구역마다 가중치를 주어 현재 평균 밝기를 계산하는 단계; (b)상기 현재 평균 밝기와 목표 밝기가 충분히 가까운지 비교 점검하는 단계; (c)노출제어 속도 값에 의해 가중치가 적용된 목표 밝기를 계산하는 단계; (d)상기 가중치 적용된 목표 밝기 값을 이용하여 다음 프레임에 적용할 노출량을 계산하는 단계; (e)상기 노출량으로부터 다음 이미지에 적용할 축적시간과 이득 값을 계산하는 단계; 및 (f)상기 다음 프레임에 적용할 이득 값을 이용하여 실제 이득 회로에 적용하기 위해 변형된 이득을 구하는 단계;를 포함하는 것을 특징으로 한다.The present invention relates to an automatic exposure control method for adjusting an exposure time and a gain in an image sensor so that an average value of brightness of an image reaches a target brightness, the method comprising: (a) dividing an entire image into a plurality of zones, Calculating a current average brightness by weighting; (b) comparing and checking whether the current average brightness is close to the target brightness; (c) calculating a target brightness to which a weight is applied by the exposure control speed value; (d) calculating an exposure amount to be applied to a next frame using the weighted target brightness value; (e) calculating an accumulation time and a gain value to be applied to the next image from the exposure amount; And (f) obtaining a modified gain to be applied to the actual gain circuit by using a gain value to be applied to the next frame.
이미지 센서, 노출 제어 Image sensor, exposure control
Description
도 1은 이미지 센서와 자동 노출 조절기와의 관계를 나타내는 도면.BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a view showing the relationship between an image sensor and an automatic exposure controller; Fig.
도 2는 본 발명에 의한 자동 노출 제어 알고리듬을 나타내는 도면.Figure 2 shows an automatic exposure control algorithm according to the present invention;
도 3은 전체 이미지를 2개의 구역으로 나눈 것을 나타내는 도면.Fig. 3 is a diagram showing an entire image divided into two zones; Fig.
도 4a는 평균 밝기는 노출량에 선형적으로 비례하는 것을 나타내는 도면.4A shows that the average brightness is linearly proportional to the exposure amount.
도 4b는 상기 도 4a의 기본 가정 하에서 최종 노출량을 나타내는 도면.FIG. 4B is a diagram showing the final dose under the basic assumption of FIG. 4A. FIG.
도 5는 노출량과 축적 시간 및 이득과의 관계를 나타내는 도면.5 is a diagram showing a relationship between an exposure amount, an accumulation time, and a gain;
도 6은 이득 변환의 일실시예를 나타내는 도면.6 is a diagram illustrating an embodiment of gain conversion;
도 7과 도 8은 프레임 높이의 변경을 통해 프레임 속도의 변경을 나타내는 도면.Figures 7 and 8 are diagrams illustrating changes in frame rate through changes in frame height.
본 발명은 이미지 센서에 관한 것으로, 더욱 상세하게는 이미지 센서의 노출을 제어하는 방법에 관한 것이다.The present invention relates to an image sensor, and more particularly, to a method of controlling exposure of an image sensor.
본 발명에서 이야기하는 노출(exposure)이라는 말에는 전하 축적 시간 (charge Integration time)과 이득(gain)의 개념이 함께 포함되어 있다. 전하 축적 시간이란 한 픽셀(pixel)이 리셋(reset)되고 나서 다시 빛을 받기 시작하면서부터 축적된 전하량을 읽어낼 때까지 걸린 시간이다. 이득이란, 축적 시간에 비례하여 발생한 전하를 모종의 아날로그/디지털(analog/digital)적인 방식에 의하여 증폭하는 정도를 나타낸다. 조명이 충분할 경우 노출조절은 대체로 이득은 1로 두고, 전하 축적 시간만으로 조절한다. 그러나 조명이 불충분한 환경에서는 노출 시간을 최대로 하여도 충분히 밝은 영상을 얻을 수 없기 때문에, 추가로 1보다 큰 이득을 적용하여 적절히 밝은 영상을 얻는다.The term " exposure " used in the present invention includes the concepts of charge integration time and gain. The charge accumulation time is the time taken to read the stored charge from the time when a pixel is reset and then begins to receive light again. The gain indicates the degree of amplification of charges generated in proportion to the accumulation time by some kind of analog / digital method. If there is enough light, adjust the exposure control by setting the gain to 1 and adjusting the charge accumulation time. However, in an environment with insufficient lighting, a bright image can not be obtained even when the exposure time is maximized. Therefore, a bright image is properly obtained by applying a gain greater than 1.
도 1은 이미지 센서와 자동 노출 조절기의 관계를 나타내는 것이다.1 shows the relationship between the image sensor and the automatic exposure controller.
도 1에 의하면 자동 노출 조절기는 이미지 센서로부터 영상 데이터를 받아서 처리한 후 적절하다고 판단한 축적시간과 이득을 센서로 보낸다.Referring to FIG. 1, the automatic exposure controller receives image data from the image sensor, processes the image data, and sends the accumulated accumulation time and gain to the sensor.
본 발명은 영상의 밝기의 평균값이 목표 값에 도달하게 하는 방식의 노출제어 알고리듬에 관한 것으로서, 노출량이라는 하나의 변수만으로 형광등 플리커와 프레임 높이 변경 등의 복잡한 노출제어 기능을 모두 간단하고 일관성 있게 처리하는 방법을 제시한다. The present invention relates to an exposure control algorithm in which an average value of brightness of an image reaches a target value, in which a complicated exposure control function such as a fluorescent flicker and a frame height change is simply and consistently processed We suggest a method.
상기 기술적 과제를 이루기 위한 본 발명에 따른 이미지 센서에서의 자동 노출 제어 방법은 (a)전체 이미지를 여러 개의 구역으로 나누고, 상기 나누어진 구역 에 가중치를 주어 현재 평균 밝기를 계산하는 단계; (b)상기 현재 평균 밝기와 목표 밝기를 비교 점검하는 단계; (c)노출제어 속도 값에 의해 가중치가 적용된 목표 밝기를 계산하는 단계; (d)상기 가중치 적용된 목표밝기를 이용하여 다음 프레임에 적용할 노출량을 계산하는 단계; (e)다음 이미지에 적용할 축적시간과 이득 값을 계산하는 단계; 및 (f)상기 다음 프레임에 적용할 이득 값을 이용하여 실제 이득 회로에 적용하기 위해 변형된 이득을 구하는 단계; 를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided an automatic exposure control method for an image sensor, the method comprising: (a) dividing an entire image into a plurality of regions, calculating a current average brightness by weighting the divided regions; (b) comparing and checking the current average brightness and the target brightness; (c) calculating a target brightness to which a weight is applied by the exposure control speed value; (d) calculating an exposure amount to be applied to a next frame using the weighted target brightness; (e) calculating an accumulation time and a gain value to be applied to the next image; And (f) obtaining a modified gain for application to an actual gain circuit using a gain value to be applied to the next frame; And a control unit.
이하에서는 본 발명의 구체적인 실시 예를 도면을 참조하여 상세히 설명하도록 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
도 2는 본 발명에 의한 자동 노출 제어 알고리듬을 도시한 것으로서, 평균 밝기 계산 단계(S10), 자동 노출 오차 점검 단계(S20), 노출 제어 속도 값에 의해 가중치가 적용된 목표 밝기 계산 단계(S30), 다음 프레임에 적용할 노출량 계산 단계(S40), 다음 이미지에 적용할 축적시간 및 이득 값 계산 단계(S50) 및 이득 변환 단계(S60)로 구성된다.FIG. 2 illustrates an automatic exposure control algorithm according to an embodiment of the present invention, which includes an average brightness calculation step S10, an automatic exposure error checking step S20, a target brightness calculation step S30 to which a weight is applied based on the exposure control speed value, An exposure amount calculation step S40 to be applied to the next frame, a storage time and gain value calculation step S50 to be applied to the next image, and a gain conversion step S60.
상기 도 2의 구성요소에 의거하여 본 발명에 의한 자동 노출 제어 방법을 상세히 설명하기로 한다.The automatic exposure control method according to the present invention will be described in detail with reference to FIG. 2.
평균 밝기 계산단계(S10)에서는 우선 노출제어를 위해 전체 이미지를 여러 개의 구역으로 나눈다.In the average brightness calculation step (S10), the entire image is divided into several zones for the first exposure control.
도 3의 예는 전체 이미지를 2개의 구역으로 나눈 것을 도시한 것이다.The example of Figure 3 shows the entire image divided into two sections.
중앙(center) 영역(12)과 주변(periphery) 영역(14)의 밝기 평균값(평균 밝 기)을 총 밝기에서 면적을 나눈 값으로 각각 구한다. 그 후 상기 중앙 영역(12)에 가중치(weight)를 주어 밝기 평균값을 얻을 수 있다.The brightness average value (average brightness) of the
여기서, Y_mean_c와 Y_mean_p는 각각 중앙 영역(12)에서의 평균 밝기와 주변 영역(14)에서의 평균 밝기를 의미하고, Y_mean은 중앙 영역(12)과 주변 영역(14)의 평균에 가중치를 주어 평균한 값을 의미하고, #center와 #periphery는 각각 중앙 영역(12)과 주변 영역(14)의 면적(픽셀 수)을 의미한다.Here, Y_mean_c and Y_mean_p mean the average brightness in the
중앙 영역(12)에 가중치를 크게 주면 노출을 계산하는 데 있어서 중앙 영역(12)을 더 많이 참고하게 된다. 즉, 중앙 영역(12)이 어두우면 주위가 밝더라도 중앙 영역(12)을 좀더 밝히기 위해 노출을 조절한다. 반대로 중앙 영역(12)이 밝으면 주위가 어둡더라도 중앙 영역(12)의 밝기를 좀 더 낮출 수 있게 노출을 제어한다.If the
본 발명에서는 중앙과 주변의 두 구역으로만 구분된 경우에 대해서 고려하는데, 더 많은 영역으로 나뉜 경우에도 쉽게 적용 가능하다.In the present invention, consideration is given to the case where only the center and the periphery are divided into two zones, and it is easily applicable even when divided into more areas.
자동 노출 오차 점검 단계(S20)에서는 현재의 평균 밝기와 목표 밝기간의 차의 절대 값을 목표 밝기로 나눈 값이 허용 오차 보다 작으면 자동 노출 제어(Auto Exposure Control)를 하지 않는다. 이는 수학식 2와 같이 나타낼 수 있다.In the automatic exposure error checking step (S20), if the value obtained by dividing the absolute value of the difference between the current average brightness and the target brightness by the target brightness is smaller than the tolerance, the automatic exposure control is not performed. This can be expressed by Equation (2).
여기서, Y_mean은 앞에서 계산한 현재 평균밝기, Y_target = 목표 밝기, 그리고 Lock_threshold 는 허용 오차를 의미한다.Where Y_mean is the current average brightness calculated above, Y_target = target brightness, and Lock_threshold is the tolerance.
현재의 평균 밝기가 목표로 하는 밝기와 충분히 비슷하면 자동 노출 제어를 하지 않는다. If the current average brightness is sufficiently close to the target brightness, automatic exposure control is not performed.
자동 노출 오차 점검 단계(S20)에서 현재의 평균 밝기와 목표로 하는 밝기가 차이가 난다면, 자동 노출 제어 알고리듬에서 노출 제어 속도 값에 의해 가중치가 적용된 목표 밝기 계산 단계로 진입한다.In the automatic exposure error checking step (S20), if the current average brightness is different from the target brightness, the automatic brightness control algorithm enters the target brightness calculation step to which the weight is applied by the exposure control speed value.
노출 제어 속도 값에 의해 가중치가 적용된 목표 밝기 계산 단계(S30)에서는 얼마나 빨리 목표에 도달할 것인가를 의미하는 노출제어 속도로 가중치를 주어 목표 밝기를 계산한다. In the target brightness calculation step S30 to which the weight is applied by the exposure control speed value, the target brightness is calculated by weighting the exposure control speed, which means how fast the target is to be reached.
도 4a는 평균 밝기는 노출에 선형적으로 비례한다는 기본 가정을 나타낸 것으로, 노출량을 높이면 평균 밝기는 높아지고, 노출량을 낮추면 평균 밝기는 낮아지게 된다.FIG. 4A shows a basic assumption that the average brightness is linearly proportional to the exposure. The higher the exposure, the higher the average brightness, and the lower the exposure, the lower the average brightness.
도 4b는 상기 도 4a의 기본 가정 하에서 최종 노출 목표 값을 나타낸 것이다.FIG. 4B shows the final exposure target value under the basic assumption of FIG. 4A.
도 4b에 의하면 현재의 노출량(1)과 현재의 평균 밝기(2), 그리고 목표 밝기(3)를 알고 있다면, 목표밝기(3)에 도달하기 위해 적용해야 할 노출량(4)도 알 수 있다. 즉, 최종 노출량은 목표 밝기와 현재 밝기의 비율에 현재 노출량을 곱한 값으로 정해진다.According to FIG. 4B, if the
여기서 N_exposure 는 목표 밝기에 단번에 도달하기 위해 적용해야 할 노출량이고, exposure 는 현재 영상에 적용된 노출량이다. 그런데 노출 제어가 너무 급작스럽게 이루어지면 보기에 좋지 않고, 심지어 발진할 가능성도 있기 때문에 노출 제어의 속도를 적당히 조절하는 것이 좋다. 이때 사용되는 변수가 노출 제어 속도(speed) 값이다. 즉, 노출제어 속도 값에 의해 가중치가 적용되는 목표 밝기는 다음과 같이 정해진다.Where N_exposure is the dose that should be applied to reach the target brightness at once, and exposure is the dose applied to the current image. However, it is better to control the speed of exposure control properly because exposure control is not so good when it is made too suddenly, and there is a possibility of even oscillation. The variable used is the exposure control speed. That is, the target brightness to which the weight is applied by the exposure control speed value is determined as follows.
여기서 Y_target_w는 노출 제어 속도 값에 의해 가중치가 적용된 목표 밝기, speed는 노출 제어 속도 값. Y_target은 앞선 목표 밝기, 그리고 Y_mean은 현재 평균 밝기를 의미한다.Where Y_target_w is the target brightness to which the weight is applied by the exposure control speed value, and speed is the exposure control speed value. Y_target is the previous target brightness, and Y_mean is the current average brightness.
예를 들어, 노출제어 속도 값이 0.5이면 현재 평균 밝기와 목표 밝기의 중간 값을 새로운 목표 밝기로 할 수 있다. 노출 제어 속도 값을 0과 1사이에서 조절하여 노출제어의 속도를 변화시킬 수 있다.For example, if the exposure control speed value is 0.5, the intermediate value between the current average brightness and the target brightness can be set as the new target brightness. The speed of exposure control can be changed by adjusting the exposure control speed between 0 and 1.
새로운 목표 밝기가 정해지면, 다음 프레임에 적용할 노출량 계산 단계에서 다음 노출량(next exposure)을 계산한다. 다음 노출량은 앞선 두 식을 적용하여 수학식 5와 같이 계산될 수 있다.Once the new target brightness is determined, the next exposure is calculated in the exposure calculation step to be applied to the next frame. The following exposure amount can be calculated as shown in Equation (5) by applying the above two expressions.
여기서 N_exposure는 다음 영상에 적용될 노출량을 의미하고, exposure는 현재 영상에서 적용된 노출량을 의미한다. 또한 Y_target_w는 속도가 고려된 목표밝기를 의미한다. Where N_exposure means the amount of exposure to be applied to the next image, and exposure means the amount of exposure applied in the current image. Also, Y_target_w indicates the target brightness in consideration of the speed.
다음 영상에 적용될 노출량이 얻어지면, 다음 축적 시간과 다음 이득을 계산하는 단계에 진입한다.When the exposure amount to be applied to the next image is obtained, the next accumulation time and the next gain are calculated.
다음 축적 시간과 다음 이득은 수학식 6과 같이 계산될 수 있다.The next accumulation time and the next gain can be calculated as Equation (6).
여기서 N_Time 은 다음 이미지에 적용할 전하축적시간을 의미한다. 최대로 축적할 수 있는 시간은 한 프레임 동안이다. 축적 시간을 더 늘리고 싶으면 이미지 프레임의 크기를 키워서 한 프레임에 걸리는 시간을 연장해야 하는데, 사용자가 지정한 최대 축적시간을 Max_Time 이라고 한다. 자동 노출 제어기는 최대 축적 시간 의 범위 안에서 축적 시간을 조절해야 한다. f_period는 형광등 플리커(flicker) 명암의 주기를 의미하는데, 플리커가 없는 영상을 얻기 위해서는 축적시간이 플리커 명암 주기의 정수배가 되도록 조절해야 한다. M은, N_Time 이 max_Time보다 작거나 같고, N_Time 이 N_exposure보다 작거나 같은 조건을 모두 만족하게 하는 정수 중에 최대 값이다. N_exposure는 앞서 계산한, 다음 프레임에 적용할 노출량이며, N_gain은 다음 프레임에서 적용할 이득 값을 의미한다. Where N_Time denotes the charge accumulation time to be applied to the next image. The maximum accumulation time is one frame. If you want to increase the accumulation time, you need to increase the size of the image frame to extend the time for one frame. The maximum accumulation time specified by the user is called Max_Time. The automatic exposure controller should adjust the accumulation time within the maximum accumulation time. f_period is the period of fluorescent flicker contrast. To obtain a flicker-free image, the accumulation time should be adjusted to be an integer multiple of the flicker contrast period. M is the maximum value among all integers that satisfy both conditions where N_Time is less than or equal to max_Time and N_Time is less than or equal to N_exposure. N_exposure is the amount of exposure to be applied to the next frame calculated above, and N_gain denotes a gain value to be applied in the next frame.
노출(N_exposure)량은 축적시간(N_time)과 이득(N_gain)까지 포함하는 개념이므로, 노출량이 최대 축적 시간보다 커지면 노출량에서 최대 축적 시간을 뺀 나머지 값으로부터 이득을 만들어 낸다. 축적시간을 최대로 한 것보다 더 많은 노출을 하고 싶다면 이득을 키우는 수밖에 없기 때문이다.Since the amount of exposure (N_exposure) includes the accumulation time (N_time) and the gain (N_gain), if the exposure amount becomes larger than the maximum accumulation time, the gain is generated from the remaining value obtained by subtracting the maximum accumulation time from the exposure amount. If you want to get more exposure than the maximum accumulation time, you have to increase the gain.
축적 시간을 조절할 때는 빛의 깜빡임(flicker)을 고려해야 한다. AC 조명(형광등)이 존재하는 환경에서 축적시간을 임의로 정할 경우, 어둡고 밝음이 반복되는 가로 띠가 생길 수 있으므로 조명의 명암주기의 정수 배로만 노출시간을 정하여야 하는 것은 이미 알려진 사실이다.When adjusting the accumulation time, flicker of light should be considered. It is already known that when the accumulation time is arbitrarily set in an environment in which an AC light (fluorescent lamp) is present, exposure time may be determined only by an integral multiple of the lightness and darkness of the light.
축적시간을 플리커(flicker) 주기의 정수 배로 정해야 플리커가 없는 영상을 얻을 수 있기 때문에, 축적시간은 최대 노출 시간보다 작아야 하고, 동시에 노출량보다 작아야 하는데, 플리커 주기의 정수 배이어야 한다. 플리커가 없는 조명에서는 플리커 주기를 1로 설정하면 된다. 그러면 축적시간은 1, 2, 3, 4, …과 같이 노출량에 비례하는 연속적인 값이 된다.The accumulation time must be less than the maximum exposure time and must be smaller than the exposure amount, since the accumulation time must be set to an integer multiple of the flicker period to obtain a flicker-free image, which must be an integral multiple of the flicker period. For flicker-free illumination, set the flicker period to 1. Then the accumulation time is 1, 2, 3, 4, ... Which is proportional to the exposure amount.
축적시간을 플리커 주기의 정수 배로 하게 되면 (N)주기 노출한 이미지와 (N+1)주기 또는 (N-1)주기 노출한 이미지의 밝기 차이가 크기 때문에 노출제어 도중에 깜박 깜박하는 현상이 발생한다. 또 적절한 밝기를 얻기 못하는 경우도 있다. 이를 피하기 위해서는 축적시간과 함께 이득도 변경해 주어야 부드러운 영상을 얻을 수 있다.If the accumulation time is set to an integer multiple of the flicker period, a phenomenon of flickering may occur during exposure control due to a large difference in brightness between the (N) period exposure image and the (N + 1) period or N-1 period exposure image . In some cases, the proper brightness can not be obtained. In order to avoid this, it is necessary to change the gain as well as the accumulation time to obtain a smooth image.
도 5는 다음 영상에 적용될 노출량과 축적 시간 및 이득과의 관계를 나타내는 그래프로서 다음 영상에 적용될 노출량과 축적 시간을 통해서 다음 프레임에서 적용할 이득 값을 계산할 수 있다.FIG. 5 is a graph showing the relationship between the exposure amount to be applied to the next image, the accumulation time and the gain, and the gain to be applied in the next frame can be calculated through the exposure amount and the accumulation time to be applied to the next image.
도 5에 의거하여 다음 프레임에서 적용할 이득 값을 다음 영상에 적용할 축적 시간의 구간별로 상세히 설명하기로 한다.5, the gain value to be applied in the next frame will be described in detail by intervals of the accumulation time to be applied to the next image.
1구간은 노출량이 0에서 서서히 증가하는 구간인데, 노출량은 1 플리커 주기보다 작다. 이때는 노출량이 바로 축적시간이 된다. 즉 환경이 너무 밝을 때 플리커를 없애기 위해 노출 시간을 1 플리커 주기로 주게 되면 지나치게 과포화된 밝은 영상이 나오기 때문에 '노출시간은 f_period 의 정수 배이다'라는 대전제를 포기하고, 플리커가 발생하지만 영상의 밝기를 적당하게 조절하는 방향으로 제어한다. 이때 이득은 1배로 고정된다.1 section is a section where the exposure amount gradually increases from 0, and the exposure amount is smaller than one flicker period. At this time, the exposure amount is the accumulation time. In other words, when the environment is too bright, if the exposure time is given as 1 flicker period in order to eliminate the flicker, the overexposure bright image appears, so that the exposure time is an integer multiple of f_period and the flicker is generated. However, And controls it in a direction to appropriately adjust it. At this time, the gain is fixed to 1 times.
2구간에서는 노출량은 1 플리커 주기(1*f_period)보다 크거나 같고, 2 플리커 주기(2*f_period)보다는 작은 값이며, 축적시간은 1 플리커 주기(1*f_period)에 고정된다. 이때, 이득(gain)은 축적 시간에 대한 노출량의 비가 되는데 이 경우 축적 시간은 1 플리커 주기(1*f_period)이므로 다음과 같이 계산될 수 있다.2, the exposure amount is equal to or greater than one flicker period (1 * f_period), smaller than two flicker periods (2 * f_period), and the accumulation time is fixed to one flicker period (1 * f_period). At this time, the gain becomes the ratio of the exposure amount to the accumulation time. In this case, since the accumulation time is one flicker period (1 * f_period), it can be calculated as follows.
따라서 이득(gain)은 1보다 크거나 같고 2보다는 작은 값이 된다.Therefore, the gain is greater than or equal to 1 and less than 2.
3구간에서는 노출량은 2 플리커 주기(2*f_period)보다는 크거나 같고 3 플리커 주기(3*f_period)보다는 작은 값이며 축적 시간은 2 플리커 주기(2*f_period)에 고정된다. 이 경우 이득은 앞에서 계산하는 것처럼 계산될 수 있고, 이득(gain)은 1보다 크거나 같고 1.5보다 작은 값이 된다. 즉, 수학식 8과 같다.In
이러한 방법으로 4구간에서 6구간까지도 마찬가지 방식으로 축적 시간과 이득을 정할 수 있다.In this way, it is possible to set the accumulation time and gain in the same way from 4 to 6 intervals.
7구간에서는 6구간의 연속으로 노출량은 5 플리커 주기(5*f_period)보다 크거나 같은 값이 되고, 축적 시간은 5 플리커 주기(5*f_period)가 된다. 이 경우 이득은 수학식 9와 같이 계산될 수 있다.In
앞서와 같은 방법으로 다음 이득을 계산한 후에는 이득을 변환하는 단계에 진입하게 된다. After calculating the next gain in the same manner as described above, the gain conversion step is entered.
도 6은 이득 변환의 일실시예를 나타내는 것으로서, 선형의 이득이 비선형의 이득으로 변환되는 것을 보여준다.FIG. 6 shows an embodiment of the gain conversion, in which the linear gain is converted into a nonlinear gain.
앞에서 얻은 다음 프레임에서 적용할 이득 값(N_gain)은 선형적인 값이다. 즉 이득 값이 2.5이면 이득이 2.5배라는 의미가 된다. 그런데, 반도체 회로로 이득을 구현할 때는 지수(exponential) 형태 또는 다른 형태의 이득 곡선(gain curve)으로 구현하는 경우가 많다. 따라서 실제 이득 회로에 적용하기 위해서는 앞선 단계에서 얻은 선형의 이득 값을 최종 이득 값(C_gain)으로 변환하는 과정이 필요하다.The gain value (N_gain) to be applied in the next frame obtained above is a linear value. That is, if the gain is 2.5, the gain is 2.5 times. However, when realizing a gain with a semiconductor circuit, it is often implemented as an exponential type or another type of gain curve. Therefore, in order to apply it to the actual gain circuit, it is necessary to convert the linear gain obtained in the previous step to the final gain value (C_gain).
앞에서 정의된 노출 변수들 (exposure 와 time) 은 픽셀 클락 주기를 기본 단위로 한다. 즉, exposure=100 이라는 말은 100 픽셀을 읽어내는 시간동안 노출을 한다는 의미와 같다. 따라서 영상 프레임의 크기가 (frame_width, frame_height) 로 주어진 경우, 최대 축적시간은 (frame_width x frame_height) 가 된다. Exposure variables (exposure and time) defined above are based on the pixel clock cycle. That is, exposure = 100 is equivalent to exposure during reading of 100 pixels. Therefore, when the size of the image frame is given as (frame_width, frame_height), the maximum accumulation time is (frame_width x frame_height).
비디오(Video)의 프레임 속도를 결정하는 요인은 프레임 폭(frame width), 프레임 높이(frame height), 클락 속도(clock speed)가 있다. 그러므로 프레임 속도를 변경하는 방법에는 앞선 프레임 폭, 프레임 높이, 클락 속도를 변경시키는 방 법이 있을 수 있다.The factors determining the frame rate of video are frame width, frame height, and clock speed. Therefore, there are ways to change the frame rate by changing the previous frame width, frame height, and clock speed.
도 7과 도 8은 프레임 높이의 변경을 통한 프레임 속도의 변경을 나타낸다.Figures 7 and 8 show a change in frame rate through a change in frame height.
높이 가변이 가능한 전체 프레임은 실제로 이미지가 보이는 부분인 액티브 윈도우(Active window)와 눈에 보이지 않는 부분인 타이밍 프레임(Timing frame)으로 구분할 수 있다.The entire variable height frame can be divided into an active window, which is the part where the image is actually seen, and a timing frame, which is an invisible part.
설정된 기본 프레임의 넓이보다 작거나 같은 크기의 노출량은, 프레임의 크기(면적)를 변경시키지 않고도 기본 프레임 내에서 조절할 수 있다. 그런데, 최대 축적시간을 프레임 면적(frame width x frame height) 값보다 크게 설정한 경우, 만약 노출량이 프레임 넓이보다 커지면 축적시간을 기본 프레임의 면적보다 더 길게 가져가야 하는데, 기본 프레임 동안만 노출을 해서는 노출량이 지시하는 축적시간을 유지하지 못한다. 따라서 이런 경우에는 프레임 높이를 더 크게 조절하여 한 프레임을 읽는 데 걸리는 시간을 늘려야 한다.An exposure amount smaller than or equal to the width of the set basic frame can be adjusted within the basic frame without changing the size (area) of the frame. However, if the maximum accumulation time is set larger than the frame width x frame height value, if the exposure amount is larger than the frame width, the accumulation time should be longer than the basic frame area. However, The dose does not maintain the indicated accumulation time. Therefore, in this case, you should adjust the frame height to a larger value to increase the time it takes to read one frame.
노출량이 계속 커져서 지정된 최대 축적 시간보다 커지는 경우에는 프레임의 면적은 최대 축적 시간을 수용할 수 있는 한도에서 고정되고, 나머지 노출량은 이득 값을 형성하는 데 사용된다. 이득 값은 수학식 10과 같다.If the dose continues to increase and becomes greater than the specified maximum accumulation time, the area of the frame is fixed to the extent that it can accommodate the maximum accumulation time, and the remaining dose is used to form the gain value. The gain value is expressed by Equation (10).
도 8에 의하면 a 구간에서는 노출량이 프레임 면적보다 작은 구간으로 프레임 속도가 최대치 (프레임 높이가 최소치)에 고정되어 변하지 않는 구간이며, b구 간에서는 노출량이 프레임 면적보다 크거나 같고, 최대 축적 시간보다는 작은 값이다. b 구간에서는 노출량에 따라 프레임 높이 값이 변화하여 프레임 속도가 변한다.According to FIG. 8, in the section a, the exposure amount is smaller than the frame area, and the frame rate is fixed to the maximum value (the frame height is minimum). In the section b, the exposure amount is equal to or larger than the frame area, It is a small value. In the section b, the frame height value changes according to the exposure amount, thereby changing the frame rate.
c 구역에서는 노출량이 최대 축적 시간보다 크거나 같은 구간으로 프레임 속도는 최저치 (프레임 높이는 최대치)에 고정되어 변하지 않는 구간이며 노출량이 계속 커지면 이득만 증가한다.In section c, the exposure rate is greater than or equal to the maximum accumulation time, and the frame rate is fixed at the minimum value (frame height is maximum), and does not change.
프레임 높이 변경과 마찬가지 방법으로 프레임 폭을 변경시켜 프레임 속도를 변경할 수도 있다.You can change the frame rate by changing the frame width in the same way as changing the frame height.
이상에서 본 발명에 대한 기술사상을 첨부 도면과 함께 서술하였지만 이는 본 발명의 바람직한 실시 예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구나 본 발명의 기술적 사상의 범주를 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit of the invention.
본 발명에 따른 자동 노출 제어 방법은 적절한 노출시간과 이득의 조합을 이용하여 이미지 센서가 적당한 밝기를 가지는 효과가 있으며, 이를 통해 이미지 센서 영상의 향상을 가져오는 효과가 있다.The automatic exposure control method according to the present invention has an effect that the image sensor has a proper brightness by using a combination of proper exposure time and gain, thereby improving the image of the image sensor.
또한 본 발명은 "노출량" 이라는 단일 변수만을 제어하여 형광등 플리커 제거와 프레임 속도변경 등의 복잡한 알고리듬을 모두 쉽게 구현하게 한다.In addition, the present invention controls only a single variable called "exposure amount " to easily implement complicated algorithms such as flicker removal of a fluorescent lamp and frame rate change.
Claims (8)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050100338A KR100725837B1 (en) | 2005-10-24 | 2005-10-24 | Automatic exposure control method of image sensor |
PCT/KR2006/004342 WO2007049899A1 (en) | 2005-10-24 | 2006-10-24 | Method of controlling automatic exposure of image sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050100338A KR100725837B1 (en) | 2005-10-24 | 2005-10-24 | Automatic exposure control method of image sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20070044257A KR20070044257A (en) | 2007-04-27 |
KR100725837B1 true KR100725837B1 (en) | 2007-06-08 |
Family
ID=37967976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050100338A Active KR100725837B1 (en) | 2005-10-24 | 2005-10-24 | Automatic exposure control method of image sensor |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR100725837B1 (en) |
WO (1) | WO2007049899A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100968978B1 (en) * | 2008-10-22 | 2010-07-14 | 삼성전기주식회사 | Automatic exposure control device and method |
KR101101484B1 (en) * | 2009-07-30 | 2012-01-03 | 삼성전기주식회사 | Imaging Device and Method Using Auto Focus Assist Light |
US8605937B2 (en) | 2009-03-31 | 2013-12-10 | Samsung Electronics Co., Ltd. | Method of adjusting brightness of illumination device and bio disk drive using the method |
KR20160137059A (en) | 2015-05-22 | 2016-11-30 | 한국광기술원 | Apparatus and method for estimating brightness using image sensor of auto exposure data |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101495895B1 (en) * | 2008-07-08 | 2015-02-25 | 삼성전자주식회사 | Photo-electricity converter having wide dynamic range and method thereof |
KR20100091846A (en) | 2009-02-11 | 2010-08-19 | 삼성전자주식회사 | Photographing apparatus and photographing method |
KR101005769B1 (en) * | 2009-03-18 | 2011-01-06 | 고려대학교 산학협력단 | Auto exposure control and auto white balance for high dynamic range situations |
KR101137144B1 (en) * | 2010-06-21 | 2012-04-19 | (주) 넥스트칩 | Image signal processing device and method of controlling electric charge accumulation time of light receiving element by linearly estimating exposure time |
CN109819172B (en) * | 2017-11-21 | 2021-03-19 | 展讯通信(上海)有限公司 | Automatic exposure method and system |
US11265480B2 (en) * | 2019-06-11 | 2022-03-01 | Qualcomm Incorporated | Systems and methods for controlling exposure settings based on motion characteristics associated with an image sensor |
CN112788250B (en) * | 2021-02-01 | 2022-06-17 | 青岛海泰新光科技股份有限公司 | Automatic exposure control method based on FPGA |
CN112911177B (en) * | 2021-02-02 | 2023-02-07 | 中国电子科技集团公司第四十四研究所 | Control method for improving imaging quality of CMOS image sensor |
CN113329188B (en) * | 2021-05-07 | 2022-11-22 | 浙江大华技术股份有限公司 | Exposure control method and device, electronic equipment and storage medium |
CN114389674B (en) * | 2021-11-30 | 2022-12-09 | 中国科学院西安光学精密机械研究所 | Rapid automatic exposure method and system for space micro-nano large-field-of-view camera and storage medium |
CN114302066A (en) * | 2021-12-24 | 2022-04-08 | 杭州荣旗科技有限公司 | An automatic exposure method for improving the scanning effect of scanning head movement |
CN116193265A (en) * | 2022-12-30 | 2023-05-30 | 中国科学院长春光学精密机械与物理研究所 | An automatic dimming method of an imaging system based on a CMOS image sensor |
CN118890552B (en) * | 2024-09-29 | 2024-12-10 | 青蓝集创医疗设备(成都)有限公司 | Image brightness control method and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030097261A (en) * | 2002-06-20 | 2003-12-31 | 주식회사 하이닉스반도체 | Method for controlling exposure of digital camera |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0862829B1 (en) * | 1995-11-07 | 2003-05-14 | California Institute Of Technology | An image sensor with high dynamic range linear output |
JP2001281972A (en) * | 2000-03-29 | 2001-10-10 | Canon Inc | Image forming device and bright part potential stabilizing method |
US6859230B2 (en) * | 2001-11-07 | 2005-02-22 | Omnivision Technologies, Inc. | Method of fast automatic exposure or gain control in a MOS image sensor |
-
2005
- 2005-10-24 KR KR1020050100338A patent/KR100725837B1/en active Active
-
2006
- 2006-10-24 WO PCT/KR2006/004342 patent/WO2007049899A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030097261A (en) * | 2002-06-20 | 2003-12-31 | 주식회사 하이닉스반도체 | Method for controlling exposure of digital camera |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100968978B1 (en) * | 2008-10-22 | 2010-07-14 | 삼성전기주식회사 | Automatic exposure control device and method |
US8605937B2 (en) | 2009-03-31 | 2013-12-10 | Samsung Electronics Co., Ltd. | Method of adjusting brightness of illumination device and bio disk drive using the method |
KR101101484B1 (en) * | 2009-07-30 | 2012-01-03 | 삼성전기주식회사 | Imaging Device and Method Using Auto Focus Assist Light |
KR20160137059A (en) | 2015-05-22 | 2016-11-30 | 한국광기술원 | Apparatus and method for estimating brightness using image sensor of auto exposure data |
Also Published As
Publication number | Publication date |
---|---|
WO2007049899A1 (en) | 2007-05-03 |
KR20070044257A (en) | 2007-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100725837B1 (en) | Automatic exposure control method of image sensor | |
KR100769220B1 (en) | Brightness level converting apparatus, brightness level converting method, solid-state image pickup apparatus, and recording medium | |
US10547794B2 (en) | Solid-state imaging apparatus and method of operating solid-state imaging apparatus to set a pluratlity of charge accumulation periods in accordance with a flicker period | |
US7755677B2 (en) | Method and apparatus for automatic gain and exposure control for maintaining target image brightness in video imager systems | |
US8040411B2 (en) | Image pickup device and image pickup method | |
JP5231734B2 (en) | Image sensor and image brightness distribution adjusting method | |
CN101873437B (en) | Method and device for regulating exposure | |
KR0125871B1 (en) | Automatic exposure adjusting apparatus for automatically adjusting exposure by fuzzy inference | |
US9253374B2 (en) | Image processing apparatus and method for controlling the same for obtaining and applying gamma characteristics to reduce a difference between light and dark areas of an image | |
JP2018005213A5 (en) | ||
KR100968978B1 (en) | Automatic exposure control device and method | |
US8009206B2 (en) | Adaptive sensitivity control, on a pixel-by-pixel basis, for a digital imager | |
US8760538B2 (en) | Adaptive gain control image processing system and method | |
JP2008005081A (en) | Authentication apparatus | |
US9787909B1 (en) | Controlling signal-to-noise ratio in high dynamic range automatic exposure control imaging | |
JP2006025411A (en) | Automatic exposure compensation method and compensation device | |
CN112890714A (en) | Light supplementing method and device for dish washing machine and dish washing machine | |
JP2015144328A (en) | Imaging device | |
JP6562770B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
KR20090018633A (en) | Image display device driving method and display device | |
CN112890728A (en) | Light supplementing method and device for dish washing machine and dish washing machine | |
KR20030097261A (en) | Method for controlling exposure of digital camera | |
JP2006135601A (en) | Imaging apparatus | |
JP2009010694A (en) | Exposure control circuit and imaging apparatus loaded with it | |
JP2008005083A (en) | Imaging apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20051024 |
|
PA0201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20061031 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20070326 |
|
PG1501 | Laying open of application | ||
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20070531 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20070601 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
G170 | Re-publication after modification of scope of protection [patent] | ||
PG1701 | Publication of correction | ||
PR1001 | Payment of annual fee |
Payment date: 20100531 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20110525 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20120524 Start annual number: 6 End annual number: 6 |
|
FPAY | Annual fee payment |
Payment date: 20130425 Year of fee payment: 7 |
|
PR1001 | Payment of annual fee |
Payment date: 20130425 Start annual number: 7 End annual number: 7 |
|
FPAY | Annual fee payment |
Payment date: 20140409 Year of fee payment: 8 |
|
PR1001 | Payment of annual fee |
Payment date: 20140409 Start annual number: 8 End annual number: 8 |
|
FPAY | Annual fee payment |
Payment date: 20150424 Year of fee payment: 9 |
|
PR1001 | Payment of annual fee |
Payment date: 20150424 Start annual number: 9 End annual number: 9 |
|
FPAY | Annual fee payment |
Payment date: 20160425 Year of fee payment: 10 |
|
PR1001 | Payment of annual fee |
Payment date: 20160425 Start annual number: 10 End annual number: 10 |
|
FPAY | Annual fee payment |
Payment date: 20170425 Year of fee payment: 11 |
|
PR1001 | Payment of annual fee |
Payment date: 20170425 Start annual number: 11 End annual number: 11 |
|
FPAY | Annual fee payment |
Payment date: 20180425 Year of fee payment: 12 |
|
PR1001 | Payment of annual fee |
Payment date: 20180425 Start annual number: 12 End annual number: 12 |
|
FPAY | Annual fee payment |
Payment date: 20190425 Year of fee payment: 13 |
|
PR1001 | Payment of annual fee |
Payment date: 20190425 Start annual number: 13 End annual number: 13 |
|
PR1001 | Payment of annual fee |
Payment date: 20200525 Start annual number: 14 End annual number: 14 |
|
PR1001 | Payment of annual fee |
Payment date: 20230518 Start annual number: 17 End annual number: 17 |
|
PR1001 | Payment of annual fee |
Payment date: 20240425 Start annual number: 18 End annual number: 18 |