[go: up one dir, main page]

CN101232583A - Device and method for self-adaptive adjustment of camera aperture - Google Patents

Device and method for self-adaptive adjustment of camera aperture Download PDF

Info

Publication number
CN101232583A
CN101232583A CNA200810057297XA CN200810057297A CN101232583A CN 101232583 A CN101232583 A CN 101232583A CN A200810057297X A CNA200810057297X A CN A200810057297XA CN 200810057297 A CN200810057297 A CN 200810057297A CN 101232583 A CN101232583 A CN 101232583A
Authority
CN
China
Prior art keywords
aperture
image
subject
camera
gray
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.)
Pending
Application number
CNA200810057297XA
Other languages
Chinese (zh)
Inventor
吴威
张淑军
黄海
周忠
赵沁平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CNA200810057297XA priority Critical patent/CN101232583A/en
Publication of CN101232583A publication Critical patent/CN101232583A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

一种摄像机光圈自适应调节装置及方法,该装置包括光圈可变镜头及其控制器、摄像机、控制摄像机的主机;该方法通过数字图像处理,根据被摄主体的光线亮度自适应的调节摄像机的光圈大小,从而使得被摄主体得到合适的曝光量,增强图像中被摄主体的清晰度。本发明特别适用于被摄主体与背景之间存在明显光线差异并且要求对被摄主体合适曝光的拍摄场合,无论被摄主体处于场景内的什么位置上,都能以被摄主体为中心进行正确的曝光调节。

Figure 200810057297

A camera aperture self-adaptive adjustment device and method, the device includes a variable aperture lens and its controller, a camera, and a host computer that controls the camera; the method uses digital image processing to adaptively adjust the camera's aperture according to the light brightness of the subject. The size of the aperture, so that the subject can get a proper exposure and enhance the clarity of the subject in the image. The present invention is especially suitable for shooting occasions where there is a significant light difference between the subject and the background and proper exposure of the subject is required. exposure adjustment.

Figure 200810057297

Description

一种摄像机光圈自适应调节装置及方法 Device and method for self-adaptive adjustment of camera aperture

技术领域technical field

本发明涉及一种摄像机光圈自适应调节装置及方法。The invention relates to a camera aperture adaptive adjustment device and method.

背景技术Background technique

获得一幅清晰的图像是后续的图像处理、图像分析的基础。在许多应用中,往往对摄像机捕获图像的质量尤其是被摄主体的图像质量要求很高。合适的光圈大小是摄像机拍摄中获得清晰图像的关键因素之一。摄像机的光圈分“自动”和“手动”两种控制方式。使用自动光圈,能够保持合适的进光量,得到规定的输出信号强度。但在实际操作中,用全自动光圈是有一定难度的。Obtaining a clear image is the basis for subsequent image processing and image analysis. In many applications, the quality of the image captured by the camera, especially the image quality of the subject, is often required to be very high. Appropriate aperture size is one of the key factors to obtain clear images in camera shooting. The aperture of the camera is divided into "automatic" and "manual" two control methods. Using the automatic iris, it can maintain the appropriate amount of incoming light and obtain the specified output signal strength. But in actual operation, it is difficult to use a fully automatic aperture.

传统的自动曝光系统将整幅图像的亮度均值与预先设定的参考值比较来进行曝光控制。当图像中被摄主体与背景的亮度差异较小时,拍摄出的图像能够具有较好的效果。然而当被摄主体与背景的亮度差异较大时,由于目前大多数摄像机产品中CCD/CMOS动态范围较窄,图像中高亮度区域会曝光过度,低亮度区域曝光不足,从而导致图像中被摄主体的曝光过度或曝光不足。比如,在逆光拍摄和正面强光和拍摄时,图像的平均亮度由背景亮度决定,基于图像亮度均值的曝光控制将导致图像被摄主体的非正常曝光。A traditional automatic exposure system compares the average brightness of the entire image with a preset reference value for exposure control. When the brightness difference between the subject and the background in the image is small, the captured image can have a better effect. However, when the brightness difference between the subject and the background is large, due to the narrow dynamic range of CCD/CMOS in most current camera products, the high-brightness areas in the image will be overexposed, and the low-brightness areas will be underexposed, resulting in the subject in the image overexposed or underexposed. For example, in backlight shooting and frontal strong light shooting, the average brightness of the image is determined by the background brightness, and exposure control based on the average image brightness will lead to abnormal exposure of the subject of the image.

为了在逆光拍摄和正面强光和拍摄时进行有效的曝光控制,必须对基于图像亮度均值的传统自动曝光控制算法进行改进。Haruki和Kikiuchi(T.Haruki and K.Kikuchi,″Video camera system using fuzzy logic″,IEEE Transactions on ConsumerElectronics,Vol.38,No.3,pp.624-634,Aug.1992)提出的改进措施将屏幕分割为六个区域,通过赋予屏幕各区域亮度不同的权值并累加带权亮度值,最终结果是将曝光重点放在了屏幕中央。Shimizu(S.Shimizu,T.Kondo,T.Kohashi,M.Tsurata,T.Komuro,″A new algorithm for exposure control based on fuzzy logic for videocameras″,IEEE Transactions on Consumer Electronics,Vol.38,No.3,pp.617-623,Aug.1992)提出了一种方法,将每幅图像计算出三个亮度阈值,按照整幅图像中亮度值大于不同的亮度阈值的像素比率来区分逆光、正面强光等特殊场景并进行相应的曝光补偿。Murakami和Honda(M.Murakami and N.Honda,″An exposure control system ofvideo cameras based on fuzzy logic using color information″,Proceedings of theFifth IEEE International Conference on Fuzzy Systems,Vol.3,1996)提出的自动曝光控制方法则是在对图像被摄主体进行曝光补偿的同时使用图像的色彩信息协调被摄主体和背景的亮度。In order to carry out effective exposure control in backlight shooting and frontal strong light and shooting, the traditional automatic exposure control algorithm based on the average value of image brightness must be improved. The improvement measures proposed by Haruki and Kikiuchi (T.Haruki and K.Kikuchi, "Video camera system using fuzzy logic", IEEE Transactions on Consumer Electronics, Vol.38, No.3, pp.624-634, Aug.1992) will screen Divided into six areas, by assigning different weights to the brightness of each area of the screen and accumulating the weighted brightness values, the final result is to focus the exposure on the center of the screen. Shimizu (S.Shimizu, T.Kondo, T.Kohashi, M.Tsurata, T.Komuro, "A new algorithm for exposure control based on fuzzy logic for video cameras", IEEE Transactions on Consumer Electronics, Vol.38, No.3 , pp.617-623, Aug.1992) proposed a method to calculate three brightness thresholds for each image, and distinguish backlight and front glare according to the ratio of pixels whose brightness values are greater than different brightness thresholds in the entire image and other special scenes and perform corresponding exposure compensation. The automatic exposure control method proposed by Murakami and Honda (M. Murakami and N. Honda, "An exposure control system of video cameras based on fuzzy logic using color information", Proceedings of the Fifth IEEE International Conference on Fuzzy Systems, Vol.3, 1996) It uses the color information of the image to coordinate the brightness of the subject and the background while performing exposure compensation on the subject of the image.

以上改进的自动曝光控制方法使摄像机的自动曝光性能有了很大程度的提高,但是仍然无法对任意场景进行有效的曝光控制。例如,Haruki和Kikiuchi提出的对图像划分区域的方法受到屏幕中被摄主体位置的影响,当被摄主体不在屏幕中央时很难对被摄主体进行合适的曝光。由于不采用任何形式的区域分割,Shimizu提出的算法虽然与图像中被摄主体的位置无关,能够检测逆光或正面光的强度并进行相应的曝光补偿,但是该算法只能给出图像的亮度对比度强弱,而不能确定高的亮度对比度是由背景光线还是被摄主体自身造成的,所以在很多情况下也无法进行有效的曝光控制。因此,在被摄主体与背景的亮度差异较大时,使用自动光圈容易导致被摄主体曝光不正常,拍出的图像不理想。The above improved automatic exposure control method has greatly improved the automatic exposure performance of the camera, but it still cannot effectively control the exposure of any scene. For example, the method for dividing an image proposed by Haruki and Kikiuchi is affected by the position of the subject in the screen, and it is difficult to properly expose the subject when the subject is not in the center of the screen. Since it does not use any form of region segmentation, although the algorithm proposed by Shimizu has nothing to do with the position of the subject in the image, it can detect the intensity of backlight or front light and perform corresponding exposure compensation, but the algorithm can only give the brightness contrast of the image It is not possible to determine whether the high brightness contrast is caused by the background light or the subject itself, so effective exposure control cannot be performed in many cases. Therefore, when there is a large difference in brightness between the subject and the background, using the automatic iris will easily lead to abnormal exposure of the subject and unsatisfactory images.

发明内容Contents of the invention

本发明的技术解决问题是:克服现有技术在采集图像时不能自动摄像机光圈大小的不足,提供一种根据被摄主体的亮度自适应调节摄像机光圈的装置和方法,满足拍摄图像时对被摄主体合适曝光的要求,增强图像中被摄主体的清晰度。The technical problem of the present invention is: to overcome the deficiency of the prior art that the size of the aperture of the camera cannot be automatically adjusted when collecting images, and to provide a device and method for adaptively adjusting the aperture of the camera according to the brightness of the subject to be photographed, so as to meet the requirements for the aperture of the subject when shooting images. The requirements for proper exposure of the subject enhance the clarity of the subject in the image.

本发明的技术解决方案:一种摄像机光圈自适应调节装置,一种摄像机光圈自适应调节装置包括:镜头控制器、带有光圈可变镜头的摄像机、主机;带有光圈可变镜头的摄像机拍摄的图像发送到主机中;主机对图像进行处理,判断图像的曝光程度,并根据判断结果向镜头控制器发送光圈调节信号;镜头控制器将主机传送过来的光圈调节信号转换为光圈可变镜头的控制信号,驱动光圈调节电机,实现摄像机的光圈大小自动的调节,从而使得被摄主体得到合适的曝光量。Technical solution of the present invention: a camera aperture adaptive adjustment device, a camera aperture adaptive adjustment device includes: a lens controller, a camera with a variable aperture lens, a host computer; a camera with a variable aperture lens to shoot The image is sent to the host; the host processes the image, judges the exposure of the image, and sends an aperture adjustment signal to the lens controller according to the judgment result; the lens controller converts the aperture adjustment signal sent by the host into the aperture adjustment signal of the variable aperture lens The control signal drives the aperture adjustment motor to realize the automatic adjustment of the aperture size of the camera, so that the subject can obtain a suitable exposure.

所述的摄像机采用固定方向和固定焦距的拍摄方式。The camera adopts a shooting mode with fixed direction and fixed focal length.

一种摄像机光圈自适应调节装置进行光圈调节的方法,包括以下步骤:A method for adjusting the aperture of a camera aperture adaptive adjustment device, comprising the following steps:

(1)在被摄主体进入场景前采集背景图像A;(1) Collect the background image A before the subject enters the scene;

(2)被摄主体进入场景后采集一幅图像B;(2) Collect an image B after the subject enters the scene;

(3)将步骤(1)采集到的背景图像A和步骤(2)采集到的图像B分别转换为灰度图像;(3) The background image A collected in step (1) and the image B collected in step (2) are converted into grayscale images respectively;

(4)根据步骤(3)转换得到的两幅灰度图像提取被摄主体的灰度图像;(4) Extract the grayscale image of the subject according to the two grayscale images converted by step (3);

(5)计算被摄主体灰度图像的灰度均值;(5) Calculating the gray mean value of the subject gray image;

(6)判断灰度均值是否在预定义的理想曝光灰度阈值范围内,如果在阈值范围内,则不需进行光圈调节,转步骤(7)并开始图像采集过程;否则进行光圈调节,然后转步骤(2);(6) Judging whether the grayscale mean value is within the predefined ideal exposure grayscale threshold range, if within the threshold range, then no need to perform aperture adjustment, turn to step (7) and start the image acquisition process; otherwise, perform aperture adjustment, and then Go to step (2);

(7)光圈调节过程结束。(7) The aperture adjustment process ends.

本发明与现有技术相比的有益效果:本发明能够在被摄主体与背景反差较大时,从拍摄的图像中提取出被摄主体,将被摄主体图像转化为灰度图像,根据灰度图像中被摄主体的灰度均值确定光圈大小,对摄像机的光圈进行自适应调节,实现对被摄主体的合适曝光,增强图像中被摄主体的清晰度。本发明特别适用于被摄主体与背景之间存在明显光线差异并且要求对被摄主体合适曝光的拍摄场合,无论被摄主体处于场景内的什么位置上,都能以被摄主体为中心进行正确的曝光调节。The beneficial effect of the present invention compared with the prior art: the present invention can extract the subject from the photographed image when the contrast between the subject and the background is large, and convert the image of the subject into a grayscale image. The average gray value of the subject in the high-resolution image determines the size of the aperture, and adaptively adjusts the aperture of the camera to achieve proper exposure of the subject and enhance the clarity of the subject in the image. The present invention is especially suitable for shooting occasions where there is an obvious light difference between the subject and the background and proper exposure of the subject is required. exposure adjustment.

附图说明Description of drawings

图1为本发明的摄像机光圈自适应调节装置结构图;Fig. 1 is a structural diagram of a camera aperture self-adaptive adjustment device of the present invention;

图2为本发明的摄像机光圈自适应调节方法流程图。Fig. 2 is a flow chart of the camera aperture self-adaptive adjustment method of the present invention.

具体实施方式Detailed ways

以下,参照附图,对本发明的具体的状态作说明,但是本发明不限于图示例。Hereinafter, specific aspects of the present invention will be described with reference to the drawings, but the present invention is not limited to the illustrated examples.

如图1所示,带有光圈可变镜头的摄像机拍摄的图像发送到一台电脑主机;主机对图像进行处理,分析图像的曝光程度,并根据分析结果向镜头控制器发送光圈调节信号;镜头控制器将主机传送过来的光圈调节信号转换为镜头可以理解的控制信号,驱动光圈调节电机实现光圈的调节。As shown in Figure 1, the image taken by the camera with variable aperture lens is sent to a computer host; the host processes the image, analyzes the exposure of the image, and sends an aperture adjustment signal to the lens controller according to the analysis result; the lens The controller converts the aperture adjustment signal sent by the host into a control signal that the lens can understand, and drives the aperture adjustment motor to realize the adjustment of the aperture.

如图2所示,本发明的摄像机光圈自适应调节方法的步骤为:摄像机采用固定方向、固定焦距拍摄,在被摄主体进入拍摄场景前先采集一幅背景图像A,在被摄主体进入拍摄场景后再采集一幅图像B,将图像A和B发送到主机。主机将图像A和B按如下步骤分别转换为灰度图像A’和B’:As shown in Figure 2, the steps of the self-adaptive adjustment method for camera aperture of the present invention are as follows: the camera adopts a fixed direction and a fixed focal length to shoot, collects a background image A before the subject enters the shooting scene, and collects a background image A before the subject enters the shooting scene. After the scene, another image B is collected, and images A and B are sent to the host. The host converts images A and B into grayscale images A' and B' respectively according to the following steps:

(1)计算gray=r×0.3+g×0.59+b×0.11;(1) Calculate gray=r×0.3+g×0.59+b×0.11;

(2)对gray的值取整;(2) Round the value of gray;

(3)令r、g、b的值都等于gray。(3) Let the values of r, g, and b be equal to gray.

其中r、g、b分别是彩色图像A和B中每个像素的R、G、B值。简便起见,记图像A’的像素值A’(x,y)=gray,图像B’的像素值B’(x,y)=gray,其中x=1,2,…,M,y=1,2,…,N,M和N是图像高度和宽度。where r, g, b are the R, G, B values of each pixel in color images A and B, respectively. For simplicity, record the pixel value A'(x, y)=gray of the image A', and the pixel value B'(x, y)=gray of the image B', where x=1, 2,..., M, y=1 , 2, ..., N, M and N are the image height and width.

根据A’和B’在B’中提取被摄主体:设被摄主体的像素值组成的集合为H={c|c是B’中被摄主体的像素值},则求F包括如下两个步骤:Extract the subject in B' according to A' and B': suppose the set of pixel values of the subject is H={c|c is the pixel value of the subject in B'}, then finding F includes the following two steps:

(a)令H为空集;(a) Let H be the empty set;

(b)对图像A’和B’,逐个像素计算h=|B’(x,y)-A’(x,y)|的值,若h>7,则将B’(x,y)并入集合H。(b) For images A' and B', calculate the value of h=|B'(x, y)-A'(x, y)| pixel by pixel, if h>7, then B'(x, y) into the set H.

根据H计算被摄主体的灰度均值为:According to H, the average gray value of the subject is calculated as:

g = Σ c ∈ H c | H | ,其中|H|表示集合H中元素的数目。 g = Σ c ∈ h c | h | , where |H| represents the number of elements in the set H.

设光圈大小用F表示,将F用单调函数f(g)表示为F=f(g)。单调函数f(g)用一个灰度阈值范围近似表示:若被摄主体的灰度均值g大于理想曝光灰度阈值范围,则主机根据g与灰度阈值范围的差异大小Δ向镜头控制器输出减小光圈控制信号,光圈的减少量由Δ的大小决定;若被摄主体的灰度均值g小于理想曝光灰度阈值范围,则主机根据g与灰度阈值范围的差异大小Δ向镜头控制器输出增大光圈控制信号,光圈的增大量由差异大小Δ的大小决定。Assume that the size of the aperture is expressed by F, and F is expressed by a monotone function f(g) as F=f(g). The monotone function f(g) is approximated by a gray threshold range: if the gray average g of the subject is greater than the ideal exposure gray threshold range, the host will output to the lens controller according to the difference between g and the gray threshold range Δ Decrease the aperture control signal, and the reduction of the aperture is determined by the size of Δ; if the average gray value g of the subject is less than the ideal exposure gray threshold range, the host will send a signal to the lens controller according to the difference between g and the gray threshold range Δ The aperture increase control signal is output, and the increase amount of the aperture is determined by the size of the difference Δ.

对于以直流电机驱动的镜头而言,主机输出的光圈调节控制信号是数字信号,不能用来作为驱动电机运动的电信号,镜头控制器负责将主机输出的数字信号转换为电流信号,给直流电机加上一定的电压,电机就开始运动,如果加上反向电压,电机就反向运行。例如,在镜头控制器的控制下,每次给直流电机加上±12V持续100ms的电压,电机便向前/向后走一步,光圈调节的大小由电压的极性和持续时间决定。对于以步进电机驱动的镜头而言,镜头控制器负责将主机输出的数字信号转换为电脉冲信号,光圈调节的大小由脉冲信号的个数决定。For a lens driven by a DC motor, the aperture adjustment control signal output by the host is a digital signal and cannot be used as an electrical signal to drive the motor. The lens controller is responsible for converting the digital signal output by the host into a current signal for the DC motor. When a certain voltage is applied, the motor starts to move, and if a reverse voltage is applied, the motor runs in reverse. For example, under the control of the lens controller, every time a voltage of ±12V is applied to the DC motor for 100ms, the motor will take a step forward/backward, and the size of the aperture adjustment is determined by the polarity and duration of the voltage. For a lens driven by a stepping motor, the lens controller is responsible for converting the digital signal output by the host into an electrical pulse signal, and the size of the aperture adjustment is determined by the number of pulse signals.

最后所应说明的是,以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明摄像机光圈自适应调节装置及方法原理的前提下,还可以做出若干改进或等同替换,这些改进和等同替换也应视为本发明的保护范围。Finally, it should be noted that the above descriptions are only preferred implementation modes of the present invention. , and several improvements or equivalent replacements can also be made, and these improvements and equivalent replacements should also be regarded as the protection scope of the present invention.

Claims (7)

1.一种摄像机光圈自适应调节装置,其特征在于包括:镜头控制器、带有光圈可变镜头的摄像机、主机;带有光圈可变镜头的摄像机拍摄的图像发送到主机中;主机对图像进行处理,判断图像的曝光程度,并根据判断结果向镜头控制器发送光圈调节信号;镜头控制器将主机输出的数字信号转换为电流信号,驱动光圈调节电机,实现摄像机的光圈大小自动的调节,从而使得被摄主体得到合适的曝光量。1. A camera aperture adaptive adjustment device is characterized in that comprising: a lens controller, a camera with a variable aperture lens, a host computer; the image taken by the camera with a variable aperture lens is sent to the host computer; the host computer controls the image process, judge the exposure degree of the image, and send the aperture adjustment signal to the lens controller according to the judgment result; the lens controller converts the digital signal output by the host into a current signal, drives the aperture adjustment motor, and realizes the automatic adjustment of the aperture size of the camera. So that the subject gets the proper exposure. 2.根据权利要求1所述的一种摄像机光圈自适应调节装置,其特征在于:所述的摄像机采用固定方向、固定焦距的拍摄方式。2. A camera aperture self-adaptive adjustment device according to claim 1, characterized in that: the camera adopts a fixed direction and fixed focal length shooting mode. 3.一种摄像机光圈自适应调节装置进行光圈调节的方法,其特征在于包括以下步骤:3. A method for adjusting the aperture of a camera aperture adaptive adjustment device, characterized in that it comprises the following steps: (1)在被摄主体进入场景前采集背景图像A;(1) Collect the background image A before the subject enters the scene; (2)被摄主体进入场景后采集一幅图像B;(2) Collect an image B after the subject enters the scene; (3)将步骤(1)采集到的背景图像A和步骤(2)采集到的图像B分别转换为灰度图像;(3) The background image A collected in step (1) and the image B collected in step (2) are converted into grayscale images respectively; (4)根据步骤(3)转换得到的两幅灰度图像提取被摄主体的灰度图像;(4) Extract the grayscale image of the subject according to the two grayscale images converted by step (3); (5)计算被摄主体灰度图像的灰度均值;(5) Calculating the gray mean value of the subject gray image; (6)判断灰度均值是否在预定义的理想曝光灰度阈值范围内,如果在阈值范围内,则不需进行光圈调节,转步骤(7)并开始图像采集过程;否则进行光圈调节,然后转步骤(2);(6) Judging whether the grayscale mean value is within the predefined ideal exposure grayscale threshold range, if within the threshold range, then no need to perform aperture adjustment, turn to step (7) and start the image acquisition process; otherwise, perform aperture adjustment, and then Go to step (2); (7)光圈调节过程结束。(7) The aperture adjustment process ends. 4.根据权利要求4所述的一种摄像机光圈自适应调节装置进行光圈调节的方法,其特征在于:所述步骤(3)中将步骤(1)采集到的背景图像A和步骤(2)采集到的图像B分别转换为灰度图像A’和B’的方法为:4. a kind of camera aperture self-adaptive adjusting device according to claim 4 carries out the method for aperture adjustment, it is characterized in that: in described step (3) with the background image A that step (1) gathers and step (2) The methods for converting the collected image B into grayscale images A' and B' are as follows: (1)计算gray=r×0.3+g×0.59+b×0.11;(1) Calculate gray=r×0.3+g×0.59+b×0.11; (2)对gray的值取整并令r、g、b的值都等于gray;(2) Round the value of gray and make the values of r, g, and b equal to gray; 其中r、g、b分别是彩色图像A和B中每个像素的R、G、B值,记图像A’的像素值A’(x,y)=gray,图像B’的像素值B’(x,y)=gray。Where r, g, and b are the R, G, and B values of each pixel in the color images A and B, respectively, and the pixel value A'(x, y)=gray of the image A', and the pixel value B' of the image B' (x, y) = gray. 5.根据权利要求4所述的一种摄像机光圈自适应调节装置进行光圈调节的方法,其特征在于:所述的步骤(4)转换得到的两幅灰度图像提取被摄主体的灰度图像的方法如下:5. The method for adjusting the aperture of a camera aperture adaptive adjustment device according to claim 4, characterized in that: the grayscale image of the subject is extracted from the two grayscale images converted by the step (4) The method is as follows: (1)设被摄主体的像素值组成的集合为H={c|c是B’中被摄主体的像素值},H的初值定义为空集;(1) Assume that the set composed of the pixel values of the subject is H={c|c is the pixel value of the subject in B'}, and the initial value of H is defined as an empty set; (2)对图像A’和B’,逐个像素计算h=|B’(x,y)-A’(x,y)|的值,若h>7,则将B’(x,y)并入集合H。(2) For images A' and B', calculate the value of h=|B'(x, y)-A'(x, y)| pixel by pixel, if h>7, then B'(x, y) into the set H. 6.根据权利要求4所述的一种摄像机光圈自适应调节装置进行光圈调节的方法,其特征在于:所述步骤(5)的被摄主体的灰度均值为:6. a kind of camera aperture self-adaptive adjusting device according to claim 4 carries out the method for aperture adjustment, it is characterized in that: the gray scale mean of the subject of described step (5) is: g = Σ c ∈ H c | H | ,其中|H|表示集合H中元素的数目。 g = Σ c ∈ h c | h | , where |H| represents the number of elements in the set H. 7.根据权利要求4所述的一种摄像机光圈自适应调节装置进行光圈调节的方法,其特征在于:所述步骤(6)的光圈调节方法为:若被摄主体的灰度均值g大于理想曝光灰度阈值范围,则主机根据g与灰度阈值范围的差异大小Δ向镜头控制器输出减小光圈控制信号,光圈的减少量由Δ的大小决定;若被摄主体的灰度均值g小于理想曝光灰度阈值范围,则主机根据g与灰度阈值范围的差异大小Δ向镜头控制器输出增大光圈控制信号,光圈的增大量由差异大小Δ的大小决定。7. The method for adjusting the aperture of a camera aperture adaptive adjustment device according to claim 4, characterized in that: the aperture adjustment method of the step (6) is: if the gray mean value g of the subject is greater than the ideal Exposure to the gray threshold range, the host will output a control signal to the lens controller to decrease the aperture according to the difference between g and the gray threshold range Δ, and the reduction of the aperture is determined by the size of Δ; if the average gray value of the subject g is less than For the ideal exposure grayscale threshold range, the host will output a control signal for increasing the aperture to the lens controller according to the difference Δ between g and the grayscale threshold range, and the aperture increase is determined by the difference Δ.
CNA200810057297XA 2008-01-31 2008-01-31 Device and method for self-adaptive adjustment of camera aperture Pending CN101232583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200810057297XA CN101232583A (en) 2008-01-31 2008-01-31 Device and method for self-adaptive adjustment of camera aperture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200810057297XA CN101232583A (en) 2008-01-31 2008-01-31 Device and method for self-adaptive adjustment of camera aperture

Publications (1)

Publication Number Publication Date
CN101232583A true CN101232583A (en) 2008-07-30

Family

ID=39898728

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200810057297XA Pending CN101232583A (en) 2008-01-31 2008-01-31 Device and method for self-adaptive adjustment of camera aperture

Country Status (1)

Country Link
CN (1) CN101232583A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102725672A (en) * 2010-02-01 2012-10-10 松下电器产业株式会社 Imaging device and mobile apparatus
CN103108135A (en) * 2011-11-11 2013-05-15 佳能株式会社 Imaging apparatus and method for controlling diaphragm
CN103327253A (en) * 2013-06-26 2013-09-25 深圳市中兴移动通信有限公司 Multiple exposure method and camera shooting device
WO2014201919A1 (en) * 2013-06-19 2014-12-24 华为技术有限公司 Automatic iris control method and system
CN104301619A (en) * 2014-02-24 2015-01-21 凯迈(洛阳)测控有限公司 Fast camera exposure time automatic adjusting method and device
CN106254787A (en) * 2015-06-12 2016-12-21 奥林巴斯株式会社 Filming apparatus and image pickup method
CN106488142A (en) * 2016-12-08 2017-03-08 中国航空工业集团公司洛阳电光设备研究所 A kind of auto iris signal conversion method and circuit
CN106534660A (en) * 2015-09-11 2017-03-22 深圳中集天达空港设备有限公司 Self-adaptive image shooting method and self-adaptive image shooting device
CN107302665A (en) * 2017-08-18 2017-10-27 联想(北京)有限公司 A kind of camera device, aperture regulating method and electronic equipment
CN107734256A (en) * 2017-10-24 2018-02-23 无锡瑞辰光谱测控有限公司 A kind of formula dimmer arrangement with an automatic light meter and its application method
CN107835347A (en) * 2017-11-30 2018-03-23 信利光电股份有限公司 A kind of camera device and electronic equipment
CN111510631A (en) * 2020-04-27 2020-08-07 成都国铁电气设备有限公司 Rapid automatic focusing method and focusing device
CN113163077A (en) * 2020-01-22 2021-07-23 宁波舜宇光电信息有限公司 Camera shooting module
CN113395421A (en) * 2020-03-13 2021-09-14 佳能株式会社 Image processing apparatus, image capturing apparatus, control method, and storage medium

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102725672A (en) * 2010-02-01 2012-10-10 松下电器产业株式会社 Imaging device and mobile apparatus
CN103108135A (en) * 2011-11-11 2013-05-15 佳能株式会社 Imaging apparatus and method for controlling diaphragm
CN103108135B (en) * 2011-11-11 2016-09-14 佳能株式会社 Picture pick-up device and diaphragm control method
US9866763B2 (en) 2013-06-19 2018-01-09 Huawei Technologies Co., Ltd. Auto-iris control method
WO2014201919A1 (en) * 2013-06-19 2014-12-24 华为技术有限公司 Automatic iris control method and system
CN103327253A (en) * 2013-06-26 2013-09-25 深圳市中兴移动通信有限公司 Multiple exposure method and camera shooting device
CN103327253B (en) * 2013-06-26 2015-05-13 努比亚技术有限公司 Multiple exposure method and camera shooting device
CN104301619A (en) * 2014-02-24 2015-01-21 凯迈(洛阳)测控有限公司 Fast camera exposure time automatic adjusting method and device
CN104301619B (en) * 2014-02-24 2018-01-26 凯迈(洛阳)测控有限公司 A kind of quickly camera exposure time automatic adjusting method and device
CN106254787B (en) * 2015-06-12 2019-03-12 奥林巴斯株式会社 Filming apparatus and image pickup method
CN106254787A (en) * 2015-06-12 2016-12-21 奥林巴斯株式会社 Filming apparatus and image pickup method
CN106534660A (en) * 2015-09-11 2017-03-22 深圳中集天达空港设备有限公司 Self-adaptive image shooting method and self-adaptive image shooting device
CN106534660B (en) * 2015-09-11 2023-04-28 深圳中集天达空港设备有限公司 Self-adaptive image shooting method and device
CN106488142A (en) * 2016-12-08 2017-03-08 中国航空工业集团公司洛阳电光设备研究所 A kind of auto iris signal conversion method and circuit
CN107302665B (en) * 2017-08-18 2020-07-24 联想(北京)有限公司 Camera device, aperture adjusting method and electronic equipment
CN107302665A (en) * 2017-08-18 2017-10-27 联想(北京)有限公司 A kind of camera device, aperture regulating method and electronic equipment
CN107734256A (en) * 2017-10-24 2018-02-23 无锡瑞辰光谱测控有限公司 A kind of formula dimmer arrangement with an automatic light meter and its application method
CN107734256B (en) * 2017-10-24 2023-12-01 无锡瑞辰光谱测控有限公司 Automatic dimming type dimming device and use method thereof
CN107835347A (en) * 2017-11-30 2018-03-23 信利光电股份有限公司 A kind of camera device and electronic equipment
CN113163077A (en) * 2020-01-22 2021-07-23 宁波舜宇光电信息有限公司 Camera shooting module
CN113395421A (en) * 2020-03-13 2021-09-14 佳能株式会社 Image processing apparatus, image capturing apparatus, control method, and storage medium
CN113395421B (en) * 2020-03-13 2023-08-22 佳能株式会社 Image processing apparatus, image capturing apparatus, control method, and storage medium
CN111510631A (en) * 2020-04-27 2020-08-07 成都国铁电气设备有限公司 Rapid automatic focusing method and focusing device

Similar Documents

Publication Publication Date Title
CN101232583A (en) Device and method for self-adaptive adjustment of camera aperture
US8885093B2 (en) Image pickup apparatus, image pickup method, exposure control method, and program
US8374459B2 (en) Dynamic image compression method for human face detection
US7948538B2 (en) Image capturing apparatus, image capturing method, exposure control method, and program
CN109660726B (en) Quick automatic focusing method and device for camera
US7444075B2 (en) Imaging device, camera, and imaging method
CN107197167B (en) Method and device for obtaining image
CN105100632A (en) Adjusting method and apparatus for automatic exposure of imaging device, and imaging device
CN109889721B (en) Camera autofocus control method and device
CN1466844A (en) Adaptive noise filtering/restoring method in space-time domain and high-definition image capturing apparatus thereof
US8284296B2 (en) Continuous focusing method for digital camera
CN101867727A (en) A video processing method and device
US20170200283A1 (en) Image processing apparatus, method of controlling image processing apparatus, and imaging apparatus
CN114666512B (en) Method and system for adjusting rapid automatic exposure
CN108961169A (en) Monitor grasp shoot method and device
JP5468930B2 (en) Image processing apparatus and image processing program
CN110290325A (en) Image processing method, device, storage medium and electronic device
WO2020090176A1 (en) Image processing device and image processing method
TWI556643B (en) Image adjustment method
JP2004309739A (en) Focus detection device
CN108551555B (en) An automatic exposure method of an industrial camera using a CMOS detector
JP4260003B2 (en) Electronic camera
CN103581564A (en) Aperture control system and method for camera device
JP5517819B2 (en) Imaging apparatus and control method thereof
WO2021175211A1 (en) Exposure control-based video capture method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080730