JP2007264087A - Focus state detecting device - Google Patents

Focus state detecting device Download PDF

Info

Publication number
JP2007264087A
JP2007264087A JP2006085978A JP2006085978A JP2007264087A JP 2007264087 A JP2007264087 A JP 2007264087A JP 2006085978 A JP2006085978 A JP 2006085978A JP 2006085978 A JP2006085978 A JP 2006085978A JP 2007264087 A JP2007264087 A JP 2007264087A
Authority
JP
Japan
Prior art keywords
focus state
camera
area
region
test pattern
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
JP2006085978A
Other languages
Japanese (ja)
Inventor
Shinsuke Tsutsui
信介 筒井
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.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
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 Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2006085978A priority Critical patent/JP2007264087A/en
Publication of JP2007264087A publication Critical patent/JP2007264087A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a focus state detecting device capable of detecting the optional focus state of a camera with a simple configuration. <P>SOLUTION: The focus state detecting device detects the focus state of the camera by utilizing the fact that the area of a blurred area 3a formed in the center of the radial parts of a test pattern 3 formed into a radial pattern reflected in a picked-up image G by the camera changes to increase or decrease in accordance with the focus state of the camera. The device is equipped with: an extraction means for extracting the blurred area 3a from the picked-up image G reflected in the test pattern 3 picked up by the camera based on a luminance signal; a calculation means for calculating the area of the blurred area 3a extracted by the extraction means; and a detection means for detecting the focus state of the camera based on the size of the area of the blurred area 3a calculated by the calculation means. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、カメラのピント状態を検出するピント状態検出装置に関する。   The present invention relates to a focus state detection device that detects a focus state of a camera.

オートフォーカス機能を持たないカメラ(例えば車載カメラ)においては、その組立段階でピント調整が必要とされる。   Cameras that do not have an autofocus function (for example, in-vehicle cameras) require focus adjustment at the assembly stage.

従来のピント調整装置では、カメラでテストパターンを撮像してその撮像画像の映像信号から所定帯域の周波数成分を抽出し、その周波数成分における電圧レベルが画像の精細度と対応していることに着目して、その周波数成分における電圧レベルが最大となるように、カメラのアジャスタを調整してカメラのレンズ位置を調整することで、カメラのピント状態をジャストピントに調整している。   In a conventional focus adjustment device, a test pattern is captured by a camera, a frequency component in a predetermined band is extracted from the video signal of the captured image, and the voltage level in the frequency component corresponds to the definition of the image Then, the focus state of the camera is adjusted to just focus by adjusting the camera adjuster and adjusting the lens position of the camera so that the voltage level in the frequency component becomes maximum.

この様なピント調整に関連する先行技術として特許文献1が知られている。   Patent Document 1 is known as a prior art related to such focus adjustment.

特開2005−292779JP 2005-292779

しかしながら、従来のピント調整装置では、撮像画像の映像信号中に前記所定帯域の周波数成分があまり含まれていない場合には、改めて前記所定帯域の周波数成分を撮像画像の映像信号中から抽出し直す必要があるという欠点があった。   However, in the conventional focus adjustment device, when the frequency component of the predetermined band is not included in the video signal of the captured image, the frequency component of the predetermined band is extracted again from the video signal of the captured image. There was a drawback that it was necessary.

この欠点の解決策として、複数の帯域の周波数成分を抽出するフィルタ回路を備えておき、そのフィルタ回路により予め複数の帯域の周波数成分を抽出し、そのうち周波数成分が十分含まれている帯域の周波数成分を用いてピント調整させる案が考えられる。   As a solution to this drawback, a filter circuit for extracting frequency components in a plurality of bands is provided, and frequency components in a plurality of bands are extracted in advance by the filter circuit, and a frequency in a band in which the frequency components are sufficiently contained. It is conceivable to adjust the focus using the components.

従来のピント調整装置および上記の案では、いずれにしても、周波数成分抽出フィルタ(即ち複雑な回路)を用いるので、装置が複雑になるという欠点があった。   In any case, the conventional focus adjustment device and the above-mentioned proposal have a drawback that the device becomes complicated because a frequency component extraction filter (that is, a complicated circuit) is used.

また従来のピント調整装置では、ジャストピント以外のピント状態を検出することができなかったので、カメラのピント状態を任意のピント状態に調整することができないという欠点もあった。   In addition, since the conventional focus adjustment device cannot detect a focus state other than just focus, there is a disadvantage that the focus state of the camera cannot be adjusted to an arbitrary focus state.

そこで、この発明の課題は、簡単な構成でカメラの任意のピント状態を検出できるピント状態検出装置を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a focus state detection apparatus that can detect an arbitrary focus state of a camera with a simple configuration.

上記課題を解決する為に、請求項1に記載の発明は、カメラの撮像画像に映った所定模様のテストパターンの所定範囲に生じるぼやけ領域の面積が前記カメラのピント状態に応じて増減変化することを利用して、前記カメラのピント状態を検出するピント状態検出装置であって、前記テストパターンは、高輝度色領域と低輝度色領域とがそれらの少なくとも一方の幅が徐々に増大するように交互に繰り返された模様を有しており、前記カメラにより撮像された前記テストパターンの映った撮像画像内から、輝度信号に基づき前記ぼやけ領域を抽出する抽出手段と、前記抽出手段により抽出された前記ぼやけ領域の面積を算出する算出手段と、前記算出手段により算出された前記ぼやけ領域の面積の大きさに基づき、前記カメラのピント状態を検出する検出手段と、を備えるものである。   In order to solve the above-mentioned problem, the invention according to claim 1 is characterized in that the area of a blur region generated in a predetermined range of a test pattern of a predetermined pattern reflected in a captured image of the camera is increased or decreased according to the focus state of the camera. And a focus state detection device for detecting a focus state of the camera, wherein the test pattern has a high luminance color region and a low luminance color region so that the width of at least one of them gradually increases. An extraction means for extracting the blur region based on a luminance signal from the captured image in which the test pattern captured by the camera is captured, and extracted by the extraction means. And calculating means for calculating the area of the blurred area, and based on the size of the area of the blurred area calculated by the calculating means, the focus state of the camera is determined. Detection means for output, but with a.

請求項2に記載の発明は、前記抽出手段は、前記撮像画像に対して順に輪郭抽出処理、2値化処理および膨張処理を行って、前記撮像画像中から前記ぼやけ領域を抽出するものである。   According to a second aspect of the present invention, the extraction unit performs contour extraction processing, binarization processing, and expansion processing on the captured image in order to extract the blur region from the captured image. .

請求項1に記載の発明によれば、カメラにより撮像された放射線模様のテストパターンの映った撮像画像内から輝度信号に基づきぼやけ領域を抽出してその面積を算出し、その面積の大きさに基づきカメラのピント状態を検出するので、その面積の大きさに基づきジャストピント以外のピント状態を簡単に検出できる。   According to the first aspect of the present invention, the blur area is extracted based on the luminance signal from the captured image in which the test pattern of the radiation pattern captured by the camera is reflected, the area is calculated, and the size of the area is calculated. Since the focus state of the camera is detected based on this, it is possible to easily detect a focus state other than just focus based on the size of the area.

また、撮像画像の輝度信号に基づきぼやけ領域の面積を求めてカメラのピント状態を検出するので、即ち撮像画像の周波数成分を用いないので、従来の様に周波数成分抽出フィルタを用いずに済み、装置を簡単な構成で構成できる。   In addition, since the focus state of the camera is detected by obtaining the area of the blurred region based on the luminance signal of the captured image, that is, since the frequency component of the captured image is not used, it is not necessary to use a frequency component extraction filter as in the past. The apparatus can be configured with a simple configuration.

請求項2に記載の発明によれば、撮像画像に対して順に輪郭抽出処理、2値化処理および膨張処理を行って、撮像画像中からぼやけ領域を抽出するので、周知の画像処理技術を利用して簡単に撮像画像中からぼやけ領域を抽出できる。   According to the second aspect of the present invention, the contour extraction process, the binarization process, and the expansion process are sequentially performed on the captured image to extract the blurred region from the captured image, so that a known image processing technique is used. Thus, a blurred region can be easily extracted from the captured image.

図1は、この実施の形態に係るピント状態検出装置を用いたピント調整装置の構成概略図である。   FIG. 1 is a schematic configuration diagram of a focus adjustment device using the focus state detection device according to this embodiment.

このピント調整装置1は、図1の様に、オートフォーカス機能を持たないカメラ(例えば車載カメラ)5に対し、例えばその組立段階において、そのピント状態を所定のピント状態に調整するものである。   As shown in FIG. 1, the focus adjustment device 1 adjusts the focus state to a predetermined focus state, for example, at the assembly stage of a camera (for example, an in-vehicle camera) 5 that does not have an autofocus function.

このピント調整装置1は、所定模様のテストパターン3と、カメラ5のレンズ位置を光軸方向に沿って前後に調整する駆動装置7と、カメラ5の撮像画像に映ったテストパターン3に基づきカメラ5のピント状態を検出するピント状態検出部(ピント状態検出装置)9と、ピント状態検出部9の検出結果に基づき、カメラ5のピント状態が所定のピント状態になる様に駆動装置7を駆動制御する制御部11とを備える。   The focus adjustment device 1 is a camera based on a test pattern 3 having a predetermined pattern, a driving device 7 that adjusts the lens position of the camera 5 back and forth along the optical axis direction, and a test pattern 3 reflected in a captured image of the camera 5. Based on the detection result of the focus state detection unit 9 (focus state detection device) 9 for detecting the focus state 5 and the focus state detection unit 9, the drive device 7 is driven so that the focus state of the camera 5 becomes a predetermined focus state. And a control unit 11 for controlling.

ここでは、カメラ5は、例えば、略円筒形のホルダ部5aと、ホルダ部5aの一端から挿入配置された光学系のレンズユニット5bと、ホルダ部5aの他端から挿入配置されたCCDまたはCMOS等の撮像素子5cとを有しており、予め定められた撮像範囲からの光をレンズユニット5bによって撮像素子5cの受光面上に結像して像を得るものである。   Here, the camera 5 includes, for example, a substantially cylindrical holder unit 5a, an optical lens unit 5b inserted from one end of the holder unit 5a, and a CCD or CMOS inserted from the other end of the holder unit 5a. And the like, and an image is obtained by forming light from a predetermined imaging range on the light receiving surface of the imaging element 5c by the lens unit 5b.

レンズユニット5bは、アジャスタ部5dによって、ホルダ部5aに結合されている。アジャスタ部5dを回転させることで、ホルダ部5aの軸方向に沿ってレンズユニット5bが移動する構成となっている。そして、このレンズユニット5bの移動によりカメラ5のピント状態が調整される。またアジャスタ部5dは、その外周部に駆動装置7によって従動回転可能なように従動歯車部5eを有している。   The lens unit 5b is coupled to the holder portion 5a by an adjuster portion 5d. By rotating the adjuster 5d, the lens unit 5b moves along the axial direction of the holder 5a. The focus state of the camera 5 is adjusted by the movement of the lens unit 5b. The adjuster portion 5d has a driven gear portion 5e on its outer peripheral portion so that it can be driven and rotated by the drive device 7.

テストパターン3は、高輝度色領域と低輝度色領域とが、それらの少なくとも一方の幅が徐々に増大する様に交互に繰り返された模様を有している。具体的にはここでは、テストパターン3は、例えば図2の様に、低輝度色(例えば、黒色)領域である線状の黒色領域3Bと、高輝度色(例えば、白色)領域である線状の白色領域3Wとが放射線状に配置された放射線模様(即ちそれらの両方の幅が中心点から径方向外側に向かって徐々に増大する様に周方向に交互に繰り返された模様)をしている。   The test pattern 3 has a pattern in which a high luminance color region and a low luminance color region are alternately repeated so that the width of at least one of them gradually increases. Specifically, here, for example, as shown in FIG. 2, the test pattern 3 includes a linear black region 3B that is a low luminance color (for example, black) region and a line that is a high luminance color (for example, white) region. The white pattern 3W has a radial pattern (that is, a pattern in which both widths are alternately repeated in the circumferential direction so that the width of both of them gradually increases from the center point toward the radially outer side). ing.

ピント状態検出部9は、図3の様に、カメラ5の撮像画像Gに映った所定模様(ここでは放射線模様)のテストパターン3の所定範囲(ここでは放射線中央)に生じるぼやけ領域3aの面積が、カメラ5のピント状態に応じて増減変化する(即ち、カメラ5のピント状態がジャストピントに近づくほど、ぼやけ領域3aの面積は小さくなる)ことを利用して、カメラ5のピント状態を検出する。   As shown in FIG. 3, the focus state detection unit 9 has an area of a blurred region 3 a generated in a predetermined range (here, the radiation center) of the test pattern 3 of a predetermined pattern (here, a radiation pattern) reflected in the captured image G of the camera 5. However, the focus state of the camera 5 is detected by utilizing the fact that the camera 5 changes in accordance with the focus state (that is, the area of the blurring region 3a becomes smaller as the focus state of the camera 5 approaches the just focus). To do.

尚、テストパターン3として一般に、高輝度色領域と低輝度色領域とがそれらの少なくとも一方の幅が同方向に徐々に増大する様に交互に繰り返された模様のものを用いた場合は、カメラ5のピント状態に応じて、当該テストパターンの前記幅の比較的狭い部分にぼやけ領域が生じる。   In general, when the test pattern 3 is a pattern in which a high luminance color region and a low luminance color region are alternately repeated so that the width of at least one of them gradually increases in the same direction, a camera is used. According to the focus state of 5, the blurred region is generated in the relatively narrow portion of the test pattern.

このピント状態検出部9は、図1の様に、カメラ5により撮像されたテストパターン3の映った撮像画像G内から、輝度信号に基づきぼやけ領域3aを抽出する抽出手段9aと、抽出手段9aにより抽出されたぼやけ領域3aの面積を算出する算出手段9bと、算出手段9bにより算出されたぼやけ領域3aの面積の大きさに基づき、カメラ5のピント状態を検出する検出手段9cとを備える。   As shown in FIG. 1, the focus state detection unit 9 includes an extraction unit 9 a that extracts a blur region 3 a based on a luminance signal from a captured image G in which a test pattern 3 captured by the camera 5 is captured, and an extraction unit 9 a. Calculating means 9b for calculating the area of the blurred region 3a extracted by the above, and detecting means 9c for detecting the focus state of the camera 5 based on the size of the area of the blurred region 3a calculated by the calculating means 9b.

抽出手段9aは、撮像画像Gに対して順に切出処理、輪郭抽出処理、2値化処理および膨張処理を行って、撮像画像G中からぼやけ領域3aを抽出する。   The extraction unit 9a performs a cutout process, a contour extraction process, a binarization process, and an expansion process on the captured image G in order to extract the blurred region 3a from the captured image G.

より詳細には、上記の切出処理では、図4の様に、撮像画像G中からテストパターン3の映った部分が切り出される。そして上記の輪郭抽出処理では、図5の様に、その切り出された部分の輝度信号に対して微分フィルタ(例えばPrewittフィルタ)が施されてテストパターン3の放射線模様の輪郭が抽出される。そして上記の2値化処理では、図6の様に、各画素において輝度が所定値以上の画素は白にされ、所定値未満の画素は黒にされる。そして上記の膨張処理では、図7の様に、各画素においてその画素の近傍に一つでも白があればその画素が白にされ、この結果、撮像画像Gに映ったテストパターン3(放射線模様)は、ぼやけていない領域3bは白色になり、ぼやけた領域(ぼやけ領域)3aは黒色になる。この様にして撮像画像G中からぼやけ領域3aが黒色領域として抽出される。   More specifically, in the above-described cutting process, a portion where the test pattern 3 is reflected is cut out from the captured image G as shown in FIG. In the contour extraction process, as shown in FIG. 5, a differential filter (for example, Prewitt filter) is applied to the luminance signal of the cut out portion, and the contour of the radiation pattern of the test pattern 3 is extracted. In the binarization process described above, as shown in FIG. 6, in each pixel, pixels having a luminance equal to or higher than a predetermined value are set to white, and pixels having a luminance lower than the predetermined value are set to black. In the above expansion processing, as shown in FIG. 7, if at least one pixel is white in the vicinity of each pixel, the pixel is made white. As a result, the test pattern 3 (radiation pattern) reflected in the captured image G is obtained. ), The non-blurred region 3b is white, and the blurred region (blurred region) 3a is black. In this way, the blurred region 3a is extracted from the captured image G as a black region.

算出手段9bは、抽出手段9aにより抽出処理された画像の所定範囲(例えば中央部分)3c(図7参照)内の黒色領域(ぼやけ領域)3aの面積を算出することで(ここでは所定範囲3c内の黒色領域3aの画素数を算出することで)、ぼやけ領域3aの面積を算出する。   The calculating unit 9b calculates the area of the black region (blurred region) 3a in the predetermined range (for example, the central portion) 3c (see FIG. 7) of the image extracted by the extracting unit 9a (here, the predetermined range 3c). By calculating the number of pixels of the black area 3a in the inner area), the area of the blurred area 3a is calculated.

検出部9cは、算出手段9bのその算出結果に基づきカメラ5のピント状態を数値(ぼやけ領域3aの面積に応じて定まる数値)として検出する。   The detection unit 9c detects the focus state of the camera 5 as a numerical value (a numerical value determined according to the area of the blurred region 3a) based on the calculation result of the calculating unit 9b.

駆動装置7は、図1の様に、カメラ5のアジャスタ部5dの従動歯車部5eと噛み合わせてアジャスタ部5dを回転させる駆動歯車部7aと、駆動歯車部7aを回転駆動させる駆動部7bとを備える。   As shown in FIG. 1, the drive device 7 is engaged with the driven gear portion 5e of the adjuster portion 5d of the camera 5 to rotate the adjuster portion 5d, and a drive portion 7b that rotates the drive gear portion 7a. Is provided.

制御部11は、ピント状態検出部9の検出結果と予め設定された所定の閾値(前記所定のピント状態に対応する閾値)とを比較し、両者の値が一致する様に駆動装置7の駆動部7bを駆動制御することで、カメラ5のレンズユニット5bのレンズ位置(撮像素子5cの受光面からの光軸方向の相対的な位置)を調整する。尚、上記の所定の閾値を所望の閾値に設定することで、カメラ5のピント状態は所望のピント状態に調整される。   The control unit 11 compares the detection result of the focus state detection unit 9 with a predetermined threshold value set in advance (threshold value corresponding to the predetermined focus state), and drives the drive device 7 so that both values match. By driving and controlling the unit 7b, the lens position of the lens unit 5b of the camera 5 (relative position in the optical axis direction from the light receiving surface of the image sensor 5c) is adjusted. Note that the focus state of the camera 5 is adjusted to a desired focus state by setting the predetermined threshold value to a desired threshold value.

次に、このピント調整装置1の動作を説明する。   Next, the operation of the focus adjustment device 1 will be described.

まず図1の様に、カメラ5を、そのアジャスタ部5dの従動歯車部5eに駆動装置7の駆動歯車部7aが噛み合うようにして所定の固定台(不図示)に設置する。そしてこの状態で、カメラ5の正面にテストパターン3を配置して、そのテストパターン3をカメラ5により撮像させる。   First, as shown in FIG. 1, the camera 5 is installed on a predetermined fixing base (not shown) such that the drive gear portion 7a of the drive device 7 meshes with the driven gear portion 5e of the adjuster portion 5d. In this state, the test pattern 3 is arranged in front of the camera 5 and the test pattern 3 is imaged by the camera 5.

撮像されたその撮像画像G(図3参照)は、ピント状態検出部9に出力され、上述の様に、抽出手段9aによりそのテストパターン3の映った撮像画像G内から、輝度信号に基づきぼやけ領域3aが抽出され、そして算出手段9bによりその抽出されたぼやけ領域3aの面積が算出され、そして検出手段9cによりそのぼやけ領域3aの面積の大きさに基づきカメラ5のピント状態が検出される。   The captured image G (see FIG. 3) is output to the focus state detection unit 9, and, as described above, is extracted from the captured image G in which the test pattern 3 is reflected by the extraction unit 9a based on the luminance signal. The area 3a is extracted, the area of the extracted blurred area 3a is calculated by the calculating means 9b, and the focus state of the camera 5 is detected by the detecting means 9c based on the size of the area of the blurred area 3a.

そして制御部11により、ピント状態検出部9の前記検出結果と予め設定された所定の閾値(前記所定のピント状態に対応する閾値)とが比較される。そして両者が一致している場合は、カメラ5のピント状態は前記所定のピント状態になっているとしてピント調整が終了され、他方、両者が一致してない場合は、両者の値が一致する様に駆動装置7の駆動部が駆動制御されて、カメラ5のレンズユニット5bのレンズ位置が調整される。こうして、カメラ5のピント状態が所定のピント状態に調整される。   Then, the control unit 11 compares the detection result of the focus state detection unit 9 with a predetermined threshold value (threshold value corresponding to the predetermined focus state). If they match, the camera 5 is in the predetermined focus state, and the focus adjustment is finished. On the other hand, if the two do not match, the values of the two match. The driving unit of the driving device 7 is driven and controlled, and the lens position of the lens unit 5b of the camera 5 is adjusted. Thus, the focus state of the camera 5 is adjusted to a predetermined focus state.

以上の様に構成されたピント調整装置1によれば、カメラ5により撮像された所定模様(ここでは放射線模様)のテストパターン3の映った撮像画像G内から、輝度信号に基づきぼやけ領域3aを抽出してその面積を算出し、その面積の大きさに基づきカメラ5のピント状態を検出するので、その面積の大きさに基づきジャストピント以外のピント状態を簡単に検出できる。   According to the focus adjustment device 1 configured as described above, the blur region 3a is extracted from the captured image G in which the test pattern 3 having a predetermined pattern (here, a radiation pattern) captured by the camera 5 is reflected based on the luminance signal. Since the area is extracted and calculated, and the focus state of the camera 5 is detected based on the size of the area, a focus state other than just focus can be easily detected based on the size of the area.

また、撮像画像の輝度信号に基づきぼやけ領域3aの面積を求めてピント状態を検出するので、即ち撮像画像の周波数成分を用いないので、従来の様に周波数成分抽出フィルタを用いずに済み、ピント状態検出装置(従ってピント調整装置1)を簡単な構成で構成できる。   Further, since the focus state is detected by obtaining the area of the blurred region 3a based on the luminance signal of the captured image, that is, since the frequency component of the captured image is not used, it is not necessary to use the frequency component extraction filter as in the prior art. The state detection device (and hence the focus adjustment device 1) can be configured with a simple configuration.

また、撮像画像に対して順に輪郭抽出処理、2値化処理および膨張処理を行って、撮像画像中からぼやけ領域3aを抽出するので、周知の画像処理技術を利用して簡単に撮像画像中からぼやけ領域3aを抽出できる。   In addition, since the contour extraction process, the binarization process, and the expansion process are sequentially performed on the captured image to extract the blurred region 3a from the captured image, the image can be easily extracted from the captured image using a known image processing technique. The blurred area 3a can be extracted.

尚、この実施の形態では、テストパターン3として放射線模様のテストパターンを用いたが、その代わりに、図8の様な同心円模様のテストパターン3’や、図9の様な同心矩形模様のテストパターン3''や、図10の様な縞模様のテストパターン3'''を用いても良い。   In this embodiment, the radiation pattern test pattern is used as the test pattern 3, but instead, a test pattern 3 ′ having a concentric pattern as shown in FIG. 8 or a test having a concentric rectangular pattern as shown in FIG. A pattern 3 ″ or a striped test pattern 3 ′ ″ as shown in FIG. 10 may be used.

より詳細には、図8の同心円模様のテストパターン3’は、環状の黒色領域3B’と環状の白色領域3W’とがそれらの両方の幅が中心部3s’から径方向外側に向かって徐々に増大する様に径方向に交互に繰り返された模様をしている(尚、黒色領域3B’については、幅を増大させずに一定幅の線にしてもよい)。このテストパターン3’では、カメラ5のピント状態に応じて、中心部3s’を含む幅の比較的狭い中央部分にぼやけ領域が生じる。   More specifically, in the concentric test pattern 3 ′ shown in FIG. 8, the annular black region 3B ′ and the annular white region 3W ′ are gradually increased in width from the central portion 3s ′ toward the radially outer side. The pattern is repeated alternately in the radial direction so as to increase (the black region 3B ′ may be a line having a constant width without increasing the width). In the test pattern 3 ′, a blurred region is generated in a relatively narrow central portion including the central portion 3 s ′ in accordance with the focus state of the camera 5.

また図9の同心矩形模様のテストパターン3''は、矩形状の黒色領域3B''と矩形状の白色領域3W''とがそれらの両方の幅が中心部3s''から径方向外側に向かって徐々に増大する様に径方向に交互に繰り返された模様をしている(尚、黒色領域3B''については、幅を増大させずに一定幅の線にしてもよい)。このテストパターン3''では、カメラ5のピント状態に応じて、中心部3s''を含む幅の比較的狭い中央部分にぼやけ領域が生じる。   Further, the test pattern 3 ″ having a concentric rectangular pattern in FIG. 9 has a rectangular black region 3B ″ and a rectangular white region 3W ″, both of which are radially outward from the central portion 3s ″. The pattern is repeated alternately in the radial direction so as to gradually increase (the black region 3B ″ may be a line having a constant width without increasing the width). In the test pattern 3 ″, a blurred region is generated in a relatively narrow central portion including the central portion 3s ″ according to the focus state of the camera 5.

また図10の縞模様のテストパターン3'''は、線状の黒色領域3B'''と線状の白色領域3W'''とがそれらの両方の幅が中心線(ここでは斜め線)3s'''からその中心線3s'''の直交方向外側に向かって徐々に増大する様にその中心線3s'''の直交方向に交互に繰り返された模様をしている(尚、中心線3s'''は縦線でも横線でも構わない)。このテストパターン3'''では、カメラ5のピント状態に応じて、中心線3s'''を含む幅の比較的狭い中央部分にぼやけ領域が生じる。   Further, the striped test pattern 3 ′ ″ in FIG. 10 has a linear black region 3B ′ ″ and a linear white region 3W ″ ′ whose center width is a center line (here, an oblique line). The pattern is alternately repeated in the direction orthogonal to the center line 3s ′ ″ so as to gradually increase from 3s ′ ″ toward the outside in the direction orthogonal to the center line 3s ′ ″. Line 3s' '' may be a vertical line or a horizontal line). In the test pattern 3 ′ ″, a blurred region is generated in a relatively narrow central portion including the center line 3s ′ ″ according to the focus state of the camera 5.

本発明の実施の形態に係るピント調整装置の構成図である。It is a block diagram of the focus adjustment apparatus which concerns on embodiment of this invention. テストパターン(放射線模様)の一例図である。It is an example figure of a test pattern (radiation pattern). ピント状態とぼやけ領域の関係を説明する図である。It is a figure explaining the relationship between a focus state and a blurring area. 撮像画像内からテストパターンの映った部分を切り出した図である。It is the figure which cut out the part in which the test pattern was reflected from the captured image. 図4の切り出した部分に輪郭抽出処理を行った図である。It is the figure which performed the contour extraction process to the part cut out of FIG. 図5の輪郭抽出処理された画像に2値化処理を行った画像の一例図である。FIG. 6 is an example of an image obtained by performing binarization processing on the image subjected to contour extraction processing in FIG. 5. 図6の2値化処理された画像に膨張処理を行った画像の一例図である。FIG. 7 is an example of an image obtained by performing an expansion process on the binarized image of FIG. 6. テストパターンの変形例(同心円模様)の一例図である。It is an example figure of the modification (concentric pattern) of a test pattern. テストパターンの他の変形例(同心矩形模様)の一例図である。It is an example figure of the other modification (concentric rectangular pattern) of a test pattern. テストパターンの更に他の変形例(縞模様)の一例図である。It is an example figure of the other modification (striped pattern) of a test pattern.

符号の説明Explanation of symbols

1 ピント調整装置
3 テストパターン
3a ぼやけ領域
5 カメラ
7 駆動装置
9 ピント状態検出部
9a 抽出手段
9b 算出手段
9c 検出手段
11 制御部
DESCRIPTION OF SYMBOLS 1 Focus adjustment apparatus 3 Test pattern 3a Blurred area 5 Camera 7 Drive apparatus 9 Focus state detection part 9a Extraction means 9b Calculation means 9c Detection means 11 Control part

Claims (2)

カメラの撮像画像に映った所定模様のテストパターンの所定範囲に生じるぼやけ領域の面積が前記カメラのピント状態に応じて増減変化することを利用して、前記カメラのピント状態を検出するピント状態検出装置であって、
前記テストパターンは、高輝度色領域と低輝度色領域とが、それらの少なくとも一方の幅が徐々に増大する様に交互に繰り返された模様を有しており、
前記カメラにより撮像された前記テストパターンの映った撮像画像内から、輝度信号に基づき前記ぼやけ領域を抽出する抽出手段と、
前記抽出手段により抽出された前記ぼやけ領域の面積を算出する算出手段と、
前記算出手段により算出された前記ぼやけ領域の面積の大きさに基づき、前記カメラのピント状態を検出する検出手段と、
を備えることを特徴とするピント状態検出装置。
Focus state detection that detects the focus state of the camera by utilizing the fact that the area of the blur region generated in the predetermined range of the test pattern of the predetermined pattern reflected in the captured image of the camera changes in accordance with the focus state of the camera A device,
The test pattern has a pattern in which a high luminance color region and a low luminance color region are alternately repeated so that the width of at least one of them gradually increases,
Extraction means for extracting the blur region based on a luminance signal from within a captured image of the test pattern captured by the camera;
Calculating means for calculating the area of the blurred region extracted by the extracting means;
Detecting means for detecting a focus state of the camera based on the size of the area of the blurred region calculated by the calculating means;
A focus state detection device comprising:
前記抽出手段は、前記撮像画像に対して順に輪郭抽出処理、2値化処理および膨張処理を行って、前記撮像画像中から前記ぼやけ領域を抽出することを特徴とする請求項1に記載のピント状態検出装置。
2. The focus according to claim 1, wherein the extraction unit sequentially performs contour extraction processing, binarization processing, and expansion processing on the captured image to extract the blurred region from the captured image. State detection device.
JP2006085978A 2006-03-27 2006-03-27 Focus state detecting device Pending JP2007264087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006085978A JP2007264087A (en) 2006-03-27 2006-03-27 Focus state detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006085978A JP2007264087A (en) 2006-03-27 2006-03-27 Focus state detecting device

Publications (1)

Publication Number Publication Date
JP2007264087A true JP2007264087A (en) 2007-10-11

Family

ID=38637170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006085978A Pending JP2007264087A (en) 2006-03-27 2006-03-27 Focus state detecting device

Country Status (1)

Country Link
JP (1) JP2007264087A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009110528A1 (en) * 2008-03-06 2009-09-11 シャープ株式会社 Test chart for solid-state imaging device, method for using same, chart board, and test device
JP2011101100A (en) * 2009-11-04 2011-05-19 Ikegami Tsushinki Co Ltd Test chart and method of using the same
JP2018055013A (en) * 2016-09-30 2018-04-05 三菱重工機械システム株式会社 Focusing position adjusting device, focusing position adjusting system, program, and focusing position adjusting method
CN108174148A (en) * 2017-12-14 2018-06-15 中国航空工业集团公司上海航空测控技术研究所 Camera brightness simulated environment platform in a kind of aircraft cabin
CN113784112A (en) * 2021-08-26 2021-12-10 昆山丘钛微电子科技股份有限公司 Camera module testing method and device, test chart board and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0258011A (en) * 1988-08-24 1990-02-27 Hitachi Ltd Image processor with automatic focusing function
JPH07270673A (en) * 1994-03-25 1995-10-20 Dainippon Screen Mfg Co Ltd Image exposure device and focusing method thereof
JP2005123823A (en) * 2003-10-15 2005-05-12 Nippon Hoso Kyokai <Nhk> Distance information attaching apparatus, attached video image generating apparatus, attached video information generating method, and distance information attaching program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0258011A (en) * 1988-08-24 1990-02-27 Hitachi Ltd Image processor with automatic focusing function
JPH07270673A (en) * 1994-03-25 1995-10-20 Dainippon Screen Mfg Co Ltd Image exposure device and focusing method thereof
JP2005123823A (en) * 2003-10-15 2005-05-12 Nippon Hoso Kyokai <Nhk> Distance information attaching apparatus, attached video image generating apparatus, attached video information generating method, and distance information attaching program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009110528A1 (en) * 2008-03-06 2009-09-11 シャープ株式会社 Test chart for solid-state imaging device, method for using same, chart board, and test device
JP2009213008A (en) * 2008-03-06 2009-09-17 Sharp Corp Test chart for solid-state imaging apparatus, method of using the same, chart board, and testing apparatus
JP2011101100A (en) * 2009-11-04 2011-05-19 Ikegami Tsushinki Co Ltd Test chart and method of using the same
JP2018055013A (en) * 2016-09-30 2018-04-05 三菱重工機械システム株式会社 Focusing position adjusting device, focusing position adjusting system, program, and focusing position adjusting method
WO2018061360A1 (en) * 2016-09-30 2018-04-05 三菱重工機械システム株式会社 Focusing position adjustment device, focusing position adjustment system, program and focusing position adjustment method
KR20180128069A (en) * 2016-09-30 2018-11-30 미츠비시 쥬고 기카이 시스템 가부시키가이샤 In-focus positioner, in-focus positioner, program and in-focus positioner
GB2568393A (en) * 2016-09-30 2019-05-15 Mitsubishi Heavy Ind Mach Systems Ltd Focusing position adjustment device, focusing position adjustment system, program and focusing position adjustment method
KR102133177B1 (en) * 2016-09-30 2020-07-13 미츠비시 쥬고 기카이 시스템 가부시키가이샤 In-focus positioning device, in-focus positioning system, program and in-focus positioning method
US10778882B2 (en) 2016-09-30 2020-09-15 Mitsubishi Heavy Industries Machinery Systems, Ltd. Focusing position adjustment device, focusing position adjustment system, program, and focusing position adjustment method
GB2568393B (en) * 2016-09-30 2022-02-16 Mitsubishi Heavy Ind Mach Systems Ltd Focusing position adjustment device, focusing position adjustment system, program and focusing position adjustment method
CN108174148A (en) * 2017-12-14 2018-06-15 中国航空工业集团公司上海航空测控技术研究所 Camera brightness simulated environment platform in a kind of aircraft cabin
CN113784112A (en) * 2021-08-26 2021-12-10 昆山丘钛微电子科技股份有限公司 Camera module testing method and device, test chart board and system

Similar Documents

Publication Publication Date Title
US8483504B2 (en) Digital auto-focusing apparatus and method
CN111447358B (en) Image pickup apparatus
KR20200031168A (en) Image processing method and mobile terminal using dual cameras
KR101367637B1 (en) Monitoring apparatus
US9749523B2 (en) Photographing apparatus, photographing method, image processor, image-processing method, and program
JP5843454B2 (en) Image processing apparatus, image processing method, and program
JP6253424B2 (en) Imaging apparatus and imaging method
CN111200706A (en) Image pickup apparatus
JP2006267221A (en) Auto focus system
US11445118B2 (en) Image pickup apparatus, an image processing method and a non-transitory computer-readable medium
JP2008083338A (en) Optical zoom correction imaging apparatus by af detection
US10761294B2 (en) Display control device and display control method
JP2007264087A (en) Focus state detecting device
JP2004289786A (en) Imaging apparatus
JP7383436B2 (en) Imaging device
CN114567725A (en) Imaging device with event camera
JP2016057349A (en) Imaging device, image processing method, and program
JP6482247B2 (en) FOCUS ADJUSTMENT DEVICE, IMAGING DEVICE, FOCUS ADJUSTMENT DEVICE CONTROL METHOD, AND PROGRAM
JP2009260622A (en) Imaging apparatus
JP2007171807A (en) Focus detection device and camera
JP2006332809A (en) Imaging apparatus
JP2007133312A (en) Focus adjustment device and focus adjustment method for camera
JP2009232348A (en) Imaging apparatus, distance information acquiring method, image processing method, and drive control method of optical system
JP2007013687A (en) Image pickup device with iris adjustment function by liquid crystal shutter
JP2008233389A (en) Focus determination method, focus-determining device, and focus determination program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080929

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110712

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120306