Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3333840B2 - Lens tube test equipment - Google Patents
[go: Go Back, main page]

JP3333840B2 - Lens tube test equipment - Google Patents

Lens tube test equipment

Info

Publication number
JP3333840B2
JP3333840B2 JP10097996A JP10097996A JP3333840B2 JP 3333840 B2 JP3333840 B2 JP 3333840B2 JP 10097996 A JP10097996 A JP 10097996A JP 10097996 A JP10097996 A JP 10097996A JP 3333840 B2 JP3333840 B2 JP 3333840B2
Authority
JP
Japan
Prior art keywords
flare
lens barrel
pixel data
image memory
value
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.)
Expired - Fee Related
Application number
JP10097996A
Other languages
Japanese (ja)
Other versions
JPH09288322A (en
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP10097996A priority Critical patent/JP3333840B2/en
Publication of JPH09288322A publication Critical patent/JPH09288322A/en
Application granted granted Critical
Publication of JP3333840B2 publication Critical patent/JP3333840B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、カメラ等の複数の
レンズで構成されている鏡筒のレンズ性能を評価する鏡
筒試験装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a lens barrel testing apparatus for evaluating the lens performance of a lens barrel having a plurality of lenses such as a camera.

【0002】[0002]

【従来の技術】従来、カメラ等の鏡筒のレンズ性能を評
価する場合、投影試験機を用いてチャートをスクリーン
に逆投影し、その拡大されて映し出された画像を目視観
察する人手による目視官能評価を行う場合がほとんどで
ある。例えばフレア(画像のにじみ)の大きさを測定す
る場合、逆投影されたチャートの線の幅やにじみ等から
フレアの大きさを測定している。また、二重写りの有無
を測定する場合、逆投影されたチャートの線が二重に写
って見えるかどうかで測定していた。
Conventionally, when evaluating the lens performance of the lens barrel of the camera or the like, visual manual for inversely projecting the chart on a screen using a projection tester observes visually image displayed is enlarged functional In most cases, evaluation is performed. For example, when measuring the size of a flare (bleeding of an image), the size of the flare is measured from the width of a line of the back-projected chart or the blurring. Further, when measuring the presence or absence of double reflection, the measurement was made based on whether or not the line of the back-projected chart appears to be double reflected.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の人為的検査である目視官能評価では、検査員の体
調、経験等により評価結果に個人差が生じてしまい、良
否判定にばらつきが生じていた。
However, in the above-mentioned visual sensory evaluation, which is a conventional artificial test, individual differences occur in the evaluation results due to the physical condition, experience, etc. of the inspector, resulting in variations in quality judgment. .

【0004】また、投影試験機を用いての評価は暗室で
行わなければならないため、作業環境が悪く、かつ目を
酷使するので検査員の負荷が非常に大きいものであっ
た。
Further, since the evaluation using a projection tester must be performed in a dark room, the working environment is poor and the eyes are overworked, so that the load on the inspector is very large.

【0005】本発明は上記従来の問題点を解決するもの
で、投影試験機を用いることなく、鏡筒のフレアの大き
さおよび二重写りの有無を自動で測定する鏡筒試験装置
を提供することを目的としている。
The present invention solves the above-mentioned conventional problems, and provides a lens barrel test apparatus for automatically measuring the size of flare of a lens barrel and the presence or absence of double reflection without using a projection tester. It is intended to be.

【0006】[0006]

【課題を解決するための手段】本発明に係る鏡筒試験装
置は、高濃度色と低濃度色(例えば黒色と白色)で構成
されたチャートに向かい合って配置された鏡筒からの光
学信号を電気信号に変換する撮像素子と、前記撮像素子
により得られた映像信号に基づいて前記鏡筒の合焦制御
を行うフォーカス制御手段と、前記映像信号を記憶する
画像メモリ手段と、前記画像メモリ手段に記憶した画素
データを演算処理するフレア測定手段と、前記フレア測
定手段で演算処理した結果を出力する手段とを備え、前
記フレア測定手段は前記画像メモリ手段における画素デ
ータを検索し黒しきい値より大きく白しきい値より小さ
い値である画素数をカウントすることにより撮像範囲全
体のフレアの大きさを測定するように構成されているの
で、鏡筒をチャートに対して合焦させた状態で映像信号
を取り込み、個々の画素データを検索し黒しきい値より
大きく白しきい値より小さい値である画素数をカウント
することにより、投影試験機を用いることなく、撮像範
囲全体のフレアの大きさを自動で測定することができ
る。
SUMMARY OF THE INVENTION A lens barrel test apparatus according to the present invention converts an optical signal from a lens barrel arranged opposite a chart composed of high density colors and low density colors (for example, black and white). An image pickup device for converting the image signal into an electric signal, a focus control unit for performing focusing control of the lens barrel based on a video signal obtained by the image pickup device, an image memory unit for storing the video signal, and the image memory unit A flare measuring means for performing arithmetic processing on the pixel data stored in the memory, and a means for outputting a result of the arithmetic processing performed by the flare measuring means. Since the size of the flare over the entire imaging range is measured by counting the number of pixels that are larger and smaller than the white threshold value, the lens barrel is charged. Use a projection tester by capturing video signals in a focused state, searching for individual pixel data, and counting the number of pixels that are greater than the black threshold and less than the white threshold. Instead, it is possible to automatically measure the size of the flare over the entire imaging range.

【0007】また、測定する方向を設定する測定方向設
定手段を付加し、前記フレア測定手段は前記測定方向設
定手段によって設定された方向において前記画像メモリ
手段における画素データを検索し前後の画素データの絶
対値差が一定値以上ある画素数をカウントすることによ
りその設定方向でのフレアの大きさを測定するように構
成されているので、画素データを検索し前後の画素デー
タの絶対値差が一定値以上ある画素数をカウントするこ
とにより、X方向でのフレアの大きさを単独で、また、
Y方向でのフレアの大きさを単独で、それぞれ自動で測
定することができる。
In addition, a measuring direction setting means for setting a measuring direction is added, and the flare measuring means searches pixel data in the image memory means in the direction set by the measuring direction setting means, and searches for pixel data before and after. It is configured to measure the flare size in the set direction by counting the number of pixels whose absolute value difference is equal to or more than a certain value, so the pixel data is searched and the absolute value difference between the previous and next pixel data is constant By counting the number of pixels equal to or greater than the value, the magnitude of the flare in the X direction can be determined independently,
The size of the flare in the Y direction can be independently measured independently.

【0008】また、前記画像メモリ手段に記憶した画素
データを演算処理する二重写り検出手段を付加し、前記
二重写り検出手段は前記測定方向設定手段によって設定
された方向において前記画像メモリ手段における画素デ
ータを検索し画素データの変化状態に基づいてその設定
方向での二重写りの有無を検出するように構成されてい
るので、設定された同一方向に画素データを検索し画素
データの変化状態を調べることにより、X方向での二重
写りの有無を単独で、また、Y方向での二重写りの有無
を単独で、それぞれ自動で検出することができる。
[0008] Further, a double image detecting means for performing arithmetic processing on the pixel data stored in the image memory means is added, and the double image detecting means is provided in the image memory means in the direction set by the measuring direction setting means. Since it is configured to search for pixel data and detect the presence or absence of double reflection in the set direction based on the change state of the pixel data, the pixel data is searched in the same set direction and the change state of the pixel data is determined. Can be automatically detected independently of the presence or absence of double reflection in the X direction, and independently of the presence or absence of double reflection in the Y direction.

【0009】また、撮像範囲を複数のエリアに分割し、
各エリア毎に測定/検出することにより、分割したエリ
ア毎に細かく、そのエリア全体でのフレアの大きさ、X
方向もしくはY方向でのフレアの大きさや二重写りの有
無を測定/検出することができる。
[0009] Further, the imaging range is divided into a plurality of areas,
By measuring / detecting for each area, the size of the flare in the entire divided area, X
It is possible to measure / detect the flare size in the direction or the Y direction and the presence or absence of double reflection.

【0010】[0010]

【発明の実施の形態】本発明に係る請求項1の鏡筒試験
装置は、高濃度色と低濃度色で構成されたチャートに向
かい合って配置された鏡筒からの光学信号を電気信号に
変換する撮像素子と、前記撮像素子により得られた映像
信号に基づいて前記鏡筒の合焦制御を行うフォーカス制
御手段と、前記映像信号を記憶する画像メモリ手段と、
前記画像メモリ手段に記憶した画素データを演算処理す
るフレア測定手段と、前記フレア測定手段で演算処理し
た結果を出力する手段とを備え、前記フレア測定手段は
前記画像メモリ手段における画素データを検索し黒しき
い値より大きく白しきい値より小さい値である画素数を
カウントすることにより撮像範囲全体のフレアの大きさ
を測定するように構成されていることを特徴としてい
る。フォーカス制御手段により鏡筒をチャートに対して
合焦させた状態で映像信号を取り込み、フレア測定手段
において個々の画素データを検索し黒しきい値より大き
く白しきい値より小さい値である画素数をカウントす
る。フレアが無い場合は、個々の画素データは黒しきい
値以下もしくは白しきい値以上になる。従って、黒しき
い値より大きく白しきい値より小さい値である画素数を
カウントすることにより、投影試験機を用いることな
く、撮像範囲全体のフレアの大きさを自動で測定するこ
とができる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A lens barrel test apparatus according to claim 1 of the present invention converts an optical signal from a lens barrel arranged opposite to a chart composed of high-density colors and low-density colors into an electric signal. An image sensor that performs focusing control of the lens barrel based on a video signal obtained by the image sensor, and an image memory that stores the video signal.
A flare measuring means for performing arithmetic processing on the pixel data stored in the image memory means; and a means for outputting a result of the arithmetic processing performed by the flare measuring means, wherein the flare measuring means searches for the pixel data in the image memory means. It is characterized in that the number of pixels having a value larger than the black threshold and smaller than the white threshold is counted to measure the size of the flare in the entire imaging range. The video signal is captured in a state where the lens barrel is focused on the chart by the focus control means, and individual pixel data is searched by the flare measurement means, and the number of pixels having a value larger than the black threshold and smaller than the white threshold Count. If there is no flare, the individual pixel data is below the black threshold or above the white threshold. Therefore, by counting the number of pixels having a value larger than the black threshold value and smaller than the white threshold value, it is possible to automatically measure the size of the flare over the entire imaging range without using a projection tester.

【0011】本発明に係る請求項2の鏡筒試験装置は、
高濃度色と低濃度色で構成されたチャートに向かい合っ
て配置された鏡筒からの光学信号を電気信号に変換する
撮像素子と、前記撮像素子により得られた映像信号に基
づいて前記鏡筒の合焦制御を行うフォーカス制御手段
と、前記映像信号を記憶する画像メモリ手段と、測定す
る方向を設定する測定方向設定手段と、前記画像メモリ
手段に記憶した画素データを演算処理するフレア測定手
段と、前記フレア測定手段で演算処理した結果を出力す
る手段とを備え、前記フレア測定手段は前記測定方向設
定手段によって設定された方向において前記画像メモリ
手段における画素データを検索し前後の画素データの絶
対値差が一定値以上ある画素数をカウントすることによ
りその設定方向でのフレアの大きさを測定するように構
成されていることを特徴としている。フォーカス制御手
段により鏡筒をチャートに対して合焦させた状態で映像
信号を取り込み、フレア測定手段において測定方向設定
手段で設定された同一方向に画素データを検索し前後の
画素データの絶対値差が一定値以上ある画素数をカウン
トする。フレアが無い場合は、個々の画素データは黒し
きい値以下もしくは白しきい値以上になり、前後の画素
データの絶対値差は低濃度色から高濃度色へまたは高濃
度色から低濃度色へ変化するとき以外はほとんど0であ
る。従って、設定された同一方向に画素データを検索
し、前後の画素データの絶対値差が一定値以上ある画素
数をカウントすることにより、投影試験機を用いること
なく、設定した方向のフレアの大きさを、すなわち、X
方向でのフレアの大きさを単独で、また、Y方向でのフ
レアの大きさを単独で、それぞれ自動で測定することが
できる。
According to the second aspect of the present invention, there is provided a lens barrel testing apparatus.
An image sensor that converts an optical signal from a lens barrel arranged opposite to a chart composed of high-density colors and low-density colors into an electric signal, and an image sensor based on a video signal obtained by the image sensor. Focus control means for performing focus control, image memory means for storing the video signal, measurement direction setting means for setting a measurement direction, and flare measurement means for arithmetically processing pixel data stored in the image memory means. Means for outputting the result of arithmetic processing by the flare measuring means, wherein the flare measuring means searches for pixel data in the image memory means in the direction set by the measuring direction setting means, and detects absolute values of pixel data before and after. It is configured to measure the size of the flare in the set direction by counting the number of pixels where the value difference is a certain value or more. It is a symptom. The video signal is captured in a state where the lens barrel is focused on the chart by the focus control means, the pixel data is searched in the same direction set by the measurement direction setting means in the flare measurement means, and the absolute value difference between the previous and next pixel data is obtained. The number of pixels for which is equal to or greater than a certain value is counted. When there is no flare, the individual pixel data is below the black threshold or above the white threshold, and the absolute value difference between the preceding and following pixel data is from low density color to high density color or from high density color to low density color. It is almost 0 except when changing to. Therefore, by searching for pixel data in the same set direction and counting the number of pixels in which the absolute value difference between the preceding and following pixel data is equal to or greater than a certain value, the flare magnitude in the set direction can be determined without using a projection tester. And that is, X
The flare size in the Y direction can be measured independently, and the flare size in the Y direction can be measured independently.

【0012】本発明に係る請求項3の鏡筒試験装置は、
高濃度色と低濃度色で構成されたチャートに向かい合っ
て配置された鏡筒からの光学信号を電気信号に変換する
撮像素子と、前記撮像素子により得られた映像信号に基
づいて前記鏡筒の合焦制御を行うフォーカス制御手段
と、前記映像信号を記憶する画像メモリ手段と、測定す
る方向を設定する測定方向設定手段と、前記画像メモリ
手段に記憶した画素データを演算処理する二重写り検出
手段と、前記二重写り検出手段で演算処理した結果を出
力する手段とを備え、前記二重写り検出手段は前記測定
方向設定手段によって設定された方向において前記画像
メモリ手段における画素データを検索し画素データの変
化状態に基づいてその設定方向での二重写りの有無を検
出するように構成されていることを特徴としている。フ
ォーカス制御手段により鏡筒をチャートに対して合焦さ
せた状態で映像信号を取り込み、二重写り検出手段にお
いて測定方向設定手段で設定された同一方向に画素デー
タを検索し画素データの変化状態を検出する。二重写り
が無い場合は、画素データの変化パターンは単調増加、
単調減少、変化無しの3パターンしかない。従って、設
定された同一方向に画素データを検索し、画素データの
変化状態を調べることにより、投影試験機を用いること
なく、設定した方向での二重写りの有無を、すなわち、
X方向での二重写りの有無を単独で、また、Y方向での
二重写りの有無を単独で、それぞれ自動で検出すること
ができる。
According to a third aspect of the present invention, there is provided a lens barrel test apparatus.
An image sensor that converts an optical signal from a lens barrel arranged opposite to a chart composed of high-density colors and low-density colors into an electric signal, and an image sensor based on a video signal obtained by the image sensor. Focus control means for performing focus control, image memory means for storing the video signal, measurement direction setting means for setting a measurement direction, and double image detection for arithmetically processing pixel data stored in the image memory means Means, and means for outputting the result of arithmetic processing by the double reflection detection means, wherein the double reflection detection means searches for pixel data in the image memory means in the direction set by the measurement direction setting means. It is characterized in that it is configured to detect the presence or absence of double image in the set direction based on the change state of the pixel data. The video signal is captured in a state where the lens barrel is focused on the chart by the focus control unit, and the double image detection unit searches for pixel data in the same direction set by the measurement direction setting unit, and determines a change state of the pixel data. To detect. When there is no double image, the change pattern of the pixel data increases monotonically,
There are only three patterns: monotonous decrease and no change. Therefore, by searching for pixel data in the same set direction and examining the change state of the pixel data, without using a projection tester, the presence or absence of double reflection in the set direction, that is,
The presence or absence of double reflection in the X direction can be detected automatically, and the presence or absence of double reflection in the Y direction can be detected automatically.

【0013】本発明に係る請求項4の鏡筒試験装置は、
上記請求項1から請求項3までのいずれかにおいて、撮
像範囲を複数のエリアに分割し、各エリア毎に測定/検
出することを特徴としている。撮像範囲全体でのフレア
の大きさではなく、また、X方向全範囲もしくはY方向
全範囲でのフレアの大きさや二重写りの有無でもなく、
分割したエリア毎に、そのエリア全体でのフレアの大き
さ、X方向もしくはY方向でのフレアの大きさや二重写
りの有無を測定/検出することができる。
According to a fourth aspect of the present invention, there is provided a lens barrel test apparatus.
In any one of the first to third aspects, the imaging range is divided into a plurality of areas, and measurement / detection is performed for each area. Not the size of the flare over the entire imaging range, nor the size of the flare over the entire range in the X direction or the entire range in the Y direction, nor the presence or absence of double image,
For each divided area, it is possible to measure / detect the flare size in the entire area, the flare size in the X direction or the Y direction, and the presence or absence of double image.

【0014】以下、本発明の実施の形態に係る鏡筒試験
装置について図面に基づいて詳細に説明する。
Hereinafter, a lens barrel test apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.

【0015】〔実施の形態1〕図1は本発明の実施の形
態1における鏡筒試験装置の構成を示すブロック図であ
る。
[Embodiment 1] FIG. 1 is a block diagram showing a configuration of a lens barrel test apparatus according to Embodiment 1 of the present invention.

【0016】図1において、1は複数のレンズで構成さ
れている鏡筒、2は鏡筒1に向かい合う位置に設置され
た低濃度色と高濃度色すなわち白色と黒色で構成された
チャート、3は鏡筒1からの光学信号を電気信号に変換
する撮像素子(CCD)、4は鏡筒1と撮像素子3を接
続する接続手段、5は撮像素子3からの電気信号に基づ
き映像信号を生成する映像信号生成手段、6は映像信号
の高周波成分が最大になるように鏡筒1のフォーカスレ
ンズを移動し合焦制御を行うフォーカス制御手段、7は
映像信号を記憶する画像メモリ手段、8は画像メモリ手
段7に記憶した画素データを演算処理してフレアを生じ
ている画素数の測定を行うフレア測定手段、9はフレア
測定手段8で求められた結果であるフレアを生じている
画素数等を表示する表示手段である。鏡筒1は被写体を
変倍するズームレンズおよび被写体を合焦するフォーカ
スレンズ等、複数のレンズで構成されている。鏡筒1は
接続手段4を介して撮像素子3に対して着脱自在となっ
ていて、複数の鏡筒1を交換しながら同じ撮像素子3に
組み合わせるときに、鏡筒1と撮像素子3との間隔を微
調整するために、接続手段4は撮像素子3を鏡筒1に対
し接近・離間自在となしてある。
In FIG. 1, reference numeral 1 denotes a lens barrel constituted by a plurality of lenses, and 2 denotes a chart composed of low-density colors and high-density colors, that is, white and black, which are provided at positions facing the lens barrel 1. Is an image pickup device (CCD) for converting an optical signal from the lens barrel 1 into an electric signal, 4 is a connecting means for connecting the lens barrel 1 and the image pickup device 3, and 5 is a video signal based on the electric signal from the image pickup device 3. A video signal generating means, 6 a focus control means for moving the focus lens of the lens barrel 1 so as to maximize the high frequency component of the video signal and performing focusing control, 7 an image memory means for storing the video signal, and 8 a The flare measuring means 9 calculates the number of flare-producing pixels by performing arithmetic processing on the pixel data stored in the image memory means 7, and 9 denotes the number of flare-producing pixels obtained by the flare measuring means 8. Display Is a display means. The lens barrel 1 is composed of a plurality of lenses such as a zoom lens for changing the magnification of a subject and a focus lens for focusing the subject. The lens barrel 1 is detachable from the image sensor 3 via the connection means 4. When the lens barrel 1 and the same image sensor 3 are combined while exchanging a plurality of lens barrels 1, the lens barrel 1 and the image sensor 3 are connected to each other. In order to finely adjust the distance, the connection means 4 allows the image pickup device 3 to approach and separate from the lens barrel 1.

【0017】図2は実施の形態1において用いるチャー
ト2のイメージ図である。このチャート2は、そのパタ
ーンを白色と黒色の市松模様にしてある。この白色と黒
色の市松模様を伴ったチャート2に対して鏡筒1のフォ
ーカスレンズを合焦させるには、焦点が白と黒の境界を
含むこと、すなわち映像信号の高周波成分が最大になる
ように、フォーカス制御手段6は合焦制御を行う。
FIG. 2 is an image diagram of chart 2 used in the first embodiment. The chart 2 has white and black checkered patterns. In order for the focus lens of the lens barrel 1 to focus on the chart 2 having the white and black checkered pattern, the focus must include the boundary between white and black, that is, the high frequency component of the video signal is maximized. Next, the focus control means 6 performs focusing control.

【0018】図3はフレアの有無による映像信号の変化
を示すイメージ図である。チャート2が白色と黒色の市
松模様となっているため、映像信号は、白値の状態が続
く画素部分と、黒値の状態が続く画素部分と、白値から
黒値にあるいは黒値から白値に変化する画素部分とに分
かれる。図3(a)はフレア無し時の映像信号の変化を
示すが、このときの映像信号の白値から黒値への変化ま
たは黒値から白値への変化はフレアがないために急峻な
もの、むしろ垂直なものとなっている。これに対して、
図3(b)はフレア2倍時の映像信号の変化を示すが、
このときの白値から黒値への変化および黒値から白値へ
の変化は傾斜したものとなっており、白値以外の画素数
はフレア無し時の黒値の画素数の2倍になっている。つ
まり、画素数比a:b=1:2である。フレアが大きく
なるほど、傾斜は緩やかになり、画素数の比もひらいて
いく。なお、白しきい値は白値より若干小さい値に、黒
しきい値は黒値より若干大きい値に設定してある。
FIG. 3 is an image diagram showing a change in a video signal depending on the presence or absence of a flare. Since the chart 2 has a white and black checkerboard pattern, the video signal includes a pixel portion in which a white value state continues, a pixel portion in which a black value state continues, and a white value to a black value or a black value to a white value. It is divided into pixel parts that change in value. FIG. 3A shows the change of the video signal without flare. At this time, the change of the video signal from white value to black value or from black value to white value is sharp because there is no flare. Rather, it is vertical. On the contrary,
FIG. 3B shows a change in the video signal when the flare is doubled.
At this time, the change from the white value to the black value and the change from the black value to the white value are inclined, and the number of pixels other than the white value is twice the number of pixels of the black value without flare. ing. That is, the pixel number ratio a: b = 1: 2. As the flare increases, the slope becomes gentler, and the ratio of the number of pixels also increases. The white threshold is set to a value slightly smaller than the white value, and the black threshold is set to a value slightly larger than the black value.

【0019】以上のように構成された実施の形態1の鏡
筒試験装置について、以下にその動作を説明する。
The operation of the lens barrel test apparatus according to the first embodiment configured as described above will be described below.

【0020】撮像素子3は鏡筒1からの光学信号を電気
信号に変換する。接続手段4は鏡筒1を固定し、撮像素
子3を移動させ鏡筒1と撮像素子3を接続する。映像信
号生成手段5は撮像素子3からの電気信号に基づき映像
信号を生成する。フォーカス制御手段6は映像信号生成
手段5から出力される映像信号の高周波成分が最大にな
るように鏡筒1のフォーカスレンズを移動し、合焦制御
を行う。画像メモリ手段7は映像信号生成手段5から出
力される映像信号を記憶する。フレア測定手段8は画像
メモリ手段7に記憶した画素データを基に演算処理し、
フレアの大きさを測定する。表示手段9はフレア測定手
段8で演算処理した結果を表示する。
The image sensor 3 converts an optical signal from the lens barrel 1 into an electric signal. The connection means 4 fixes the lens barrel 1 and moves the image sensor 3 to connect the lens barrel 1 and the image sensor 3. The video signal generation means 5 generates a video signal based on the electric signal from the image sensor 3. The focus control means 6 moves the focus lens of the lens barrel 1 so as to maximize the high frequency component of the video signal output from the video signal generation means 5, and performs focus control. The image memory 7 stores the video signal output from the video signal generator 5. The flare measuring means 8 performs arithmetic processing based on the pixel data stored in the image memory means 7,
Measure the size of the flare. The display means 9 displays the result of the arithmetic processing by the flare measuring means 8.

【0021】以下、フレア測定手段8の演算処理につい
て図4のフローチャートを基に説明する。
The operation of the flare measuring means 8 will be described below with reference to the flowchart of FIG.

【0022】ステップS1では画像データのXアドレ
ス、YアドレスおよびフレアカウンタC1 をリセット
し、ステップS2に進む。
[0022] X address of the image data in step S1, and resets the Y address and the flare counter C 1, the process proceeds to step S2.

【0023】ステップS2ではXアドレスに1を加算し
て(X++)、ステップS3に進む。
In step S2, 1 is added to the X address (X ++), and the flow advances to step S3.

【0024】ステップS3ではXアドレスが512を超
えたかどうかチェックする。超えた場合はステップS4
に進み、超えない場合はステップS6に進む。
In step S3, it is checked whether the X address has exceeded 512. If exceeded, step S4
If not, go to step S6.

【0025】ステップS4ではYアドレスが512を超
えたかどうかチェックする。超えた場合はステップS9
に進み、超えない場合はステップS5に進む。
In step S4, it is checked whether the Y address has exceeded 512. If exceeded, step S9
If not, go to step S5.

【0026】ステップS5ではXアドレスをリセット
し、Yアドレスに1を加算して(Y++)、ステップS
6に進む。
In step S5, the X address is reset, and 1 is added to the Y address (Y ++).
Proceed to 6.

【0027】以上のステップS2〜S5により、画像メ
モリ手段7において表示手段9でのラスタスキャンに相
当する水平・垂直走査を行っていることになる。
By the above steps S2 to S5, horizontal and vertical scanning corresponding to raster scanning by the display means 9 is performed in the image memory means 7.

【0028】ステップS6ではXアドレス、Yアドレス
で示された番地(X,Y)の画素データを画像メモリ手
段7から読み込み、ステップS7に進む。
In step S6, the pixel data at the address (X, Y) indicated by the X and Y addresses is read from the image memory means 7, and the flow advances to step S7.

【0029】ステップS7ではステップS6で読み込ん
だ画素データが設定してある黒しきい値より大きくかつ
白しきい値より小さいか否かをチェックする。画素デー
タがこの範囲内にある場合は、フレアが生じていること
を意味し、この場合にはステップS8に進み、範囲外
(画素データが黒しきい値以下または白しきい値以上)
の場合はステップS2に進む。
In step S7, it is checked whether the pixel data read in step S6 is larger than the set black threshold and smaller than the white threshold. If the pixel data is within this range, it means that flare has occurred. In this case, the process proceeds to step S8, and the pixel data is out of the range (the pixel data is below the black threshold or above the white threshold).
In the case of, the process proceeds to step S2.

【0030】ステップS8ではフレアカウンタC1 に1
を加算して(C1 ++)、ステップS2に進む。
In step S8, 1 is set to the flare counter C1.
Is added (C 1 ++), and the process proceeds to step S2.

【0031】ステップS9ではフレアカウンタC1 の値
を表示手段9に渡して終了する。表示手段9では、受け
取ったフレアカウンタC1 の値を表示する。
The passing step S9 the value of the flare counter C 1 on the display unit 9 ends. In the display unit 9 to display the value of the flare counter C 1 received.

【0032】このようにして画像メモリ手段7に記憶し
た画素データを検索し、画素データが黒しきい値より大
きくかつ白しきい値より小さい値である画素数をカウン
トすることで、撮像範囲全体でのフレアの大きさを自動
で測定することができる。
The pixel data stored in the image memory means 7 is searched in this way, and the number of pixels whose pixel data is larger than the black threshold value and smaller than the white threshold value is counted, thereby obtaining the entire image pickup range. Can measure the size of the flare automatically.

【0033】〔実施の形態2〕図5は本発明の実施の形
態2における鏡筒試験装置の構成を示すブロック図であ
り、図1および図2に基づいて説明した部分に対応する
部分については、同一符号を付して説明を省略する。1
0は測定方向設定手段、11はフレア測定手段である。
[Embodiment 2] FIG. 5 is a block diagram showing the configuration of a lens barrel test apparatus according to Embodiment 2 of the present invention. Parts corresponding to those described with reference to FIGS. , And the description thereof is omitted. 1
0 is a measuring direction setting means, and 11 is a flare measuring means.

【0034】測定方向設定手段10は測定する方向を設
定する。X(水平)方向のフレアの大きさを測定すると
きはXを、Y(垂直)方向のフレアの大きさを測定する
ときはYを設定する。フレア測定手段11は画像メモリ
手段7に記憶した画素データを基に演算処理し、フレア
の大きさを測定する。
The measuring direction setting means 10 sets a measuring direction. X is set when measuring the size of the flare in the X (horizontal) direction, and Y is set when measuring the size of the flare in the Y (vertical) direction. The flare measuring means 11 performs arithmetic processing based on the pixel data stored in the image memory means 7 to measure the size of the flare.

【0035】図6は本発明の実施の形態2におけるフレ
ア測定手段11の動作過程を示すフローチャートであ
る。以下、フレア測定手段11の演算処理について図6
のフローチャートを基に説明する。
FIG. 6 is a flowchart showing an operation process of the flare measuring means 11 according to the second embodiment of the present invention. Hereinafter, the calculation processing of the flare measuring means 11 will be described with reference to FIG.
A description will be given based on the flowchart of FIG.

【0036】ステップS10では画像データのXアドレ
ス、Yアドレス、フレアカウンタC1 および現在値等の
変数をリセットし、ステップS11に進む。
[0036] Step S10 X address of the image data in, Y address, and resets the flare counter C 1 and variables in the current value or the like, the process proceeds to step S11.

【0037】ステップS11では測定方向設定手段10
により設定された測定する方向を判断する。測定方向設
定手段10がX(水平)方向のフレアの大きさを測定す
るように設定している場合はステップS12に進み、Y
(垂直)方向のフレアの大きさを測定するように設定し
ている場合はステップS21に進む。
In step S11, the measuring direction setting means 10
The direction to be measured set by the above is determined. If the measurement direction setting means 10 is set to measure the size of the flare in the X (horizontal) direction, the process proceeds to step S12, and Y
If the size of the flare in the (vertical) direction is set to be measured, the process proceeds to step S21.

【0038】以下、まず、X方向でのフレアの大きさの
測定について説明する。
First, the measurement of the magnitude of the flare in the X direction will be described.

【0039】ステップS12ではXアドレスに1を加算
して(X++)、ステップS13に進む。
In step S12, 1 is added to the X address (X ++), and the flow advances to step S13.

【0040】ステップS13ではXアドレスが512を
超えたかどうかチェックする。超えた場合はステップS
14に進み、超えない場合はステップS16に進む。
In step S13, it is checked whether the X address has exceeded 512. If exceeded, step S
The process proceeds to step S14, and if not exceeded, the process proceeds to step S16.

【0041】ステップS14ではYアドレスが512を
超えたかどうかチェックする。超えた場合はステップS
30に進み、超えない場合はステップS15に進む。
In step S14, it is checked whether the Y address has exceeded 512. If exceeded, step S
The process proceeds to step S30, and if not exceeded, proceeds to step S15.

【0042】ステップS15ではXアドレスをリセット
し、Yアドレスに1を加算して(Y++)、ステップS
16に進む。
In step S15, the X address is reset, 1 is added to the Y address (Y ++), and step S15 is performed.
Proceed to 16.

【0043】以上のステップS12〜S15により、画
像メモリ手段7において表示手段9でのラスタスキャン
に相当する水平・垂直走査を行っていることになる。
By the above steps S12 to S15, horizontal / vertical scanning corresponding to raster scanning by the display means 9 is performed in the image memory means 7.

【0044】ステップS16では現在値を更新するた
め、現在値を次のループにおける1画素前の値として保
存して、ステップS17に進む。
In step S16, in order to update the current value, the current value is stored as the value one pixel before in the next loop, and the flow advances to step S17.

【0045】ステップS17ではXアドレス、Yアドレ
スで示された番地(X,Y)の画素データを画像メモリ
手段7から読み込み、現在値の値として保存して、ステ
ップS18に進む。
In step S17, the pixel data at the address (X, Y) indicated by the X address and the Y address is read from the image memory means 7, stored as the current value, and the flow advances to step S18.

【0046】ステップS18では現在値と水平方向での
1画素前の値の絶対値差を演算して、ステップS19に
進む。
In step S18, the absolute value difference between the current value and the value one pixel before in the horizontal direction is calculated, and the flow advances to step S19.

【0047】ステップS19ではステップS18で演算
した絶対値差が設定してある一定値より大きいか否かを
チェックする。大きい場合は、白値から黒値への変化領
域あるいは黒値から白値への変化領域において、その変
化が急峻なものではなく、ある程度の傾斜をもったもの
であって、フレアが生じていることを意味し、この場合
にはステップS20に進み、それ以外の場合は、絶対値
差が0に近く、変化が急峻なものであって、フレアが生
じていないことを意味し、この場合はステップS12に
進む。
In step S19, it is checked whether or not the absolute value difference calculated in step S18 is larger than a predetermined value. If it is large, the change is not steep, but has a certain degree of inclination in the region where the white value changes to the black value or in the region where the black value changes to the white value, causing flare. In this case, the process proceeds to step S20. Otherwise, the absolute value difference is close to 0, the change is steep, and no flare is generated. In this case, Proceed to step S12.

【0048】ステップS20ではフレアカウンタC1
1を加算して(C1 ++)、ステップS12に進む。
[0048] by adding 1 to the flare counter C 1 step S20 (C 1 ++), the process proceeds to step S12.

【0049】ステップS14でYアドレスが512を超
えたと判断したときは、1フレーム分の画像データに対
する走査が終了したので、ステップS30に進み、フレ
アカウンタC1 の値を表示手段9に渡して終了する。表
示手段9では、受け取ったフレアカウンタC1 の値を表
示する。
[0049] When it is determined that the Y address exceeds 512 in step S14, the scanning for the image data of one frame has been completed, the process proceeds to step S30, terminates by passing the value of the flare counter C 1 on the display unit 9 I do. In the display unit 9 to display the value of the flare counter C 1 received.

【0050】次に、Y(垂直)方向でのフレアの大きさ
の測定について説明する。すなわち、ステップS21以
降でY方向のフレアの大きさを測定する。
Next, measurement of the magnitude of the flare in the Y (vertical) direction will be described. That is, the size of the flare in the Y direction is measured after step S21.

【0051】ステップS21ではYアドレスに1を加算
して(Y++)、ステップS22に進む。
In step S21, 1 is added to the Y address (Y ++), and the flow advances to step S22.

【0052】ステップS22ではYアドレスが512を
超えたかどうかチェックする。超えた場合はステップS
23に進み、超えない場合はステップS25に進む。
In step S22, it is checked whether the Y address has exceeded 512. If exceeded, step S
The process proceeds to step S23, and if not exceeded, the process proceeds to step S25.

【0053】ステップS23ではXアドレスが512を
超えたかどうかチェックする。超えた場合はステップS
30に進み、超えない場合はステップS24に進む。
In step S23, it is checked whether the X address has exceeded 512. If exceeded, step S
The process proceeds to step S30, and if not exceeded, the process proceeds to step S24.

【0054】ステップS24ではYアドレスをリセット
し、Xアドレスに1を加算して(X++)、ステップS
25に進む。
In step S24, the Y address is reset, and 1 is added to the X address (X ++).
Proceed to 25.

【0055】以上のステップS21〜S24により、画
像メモリ手段7において表示手段9でのラスタスキャン
に対する直角方向のスキャン相当する垂直・水平走査を
行っていることになる。
By the above steps S21 to S24, the image memory means 7 performs vertical / horizontal scanning corresponding to the scan in the direction perpendicular to the raster scan by the display means 9.

【0056】ステップS25では現在値を更新するた
め、現在値を次のループにおける1画素前の値として保
存して、ステップS26に進む。
In step S25, to update the current value, the current value is stored as the value one pixel before in the next loop, and the flow advances to step S26.

【0057】ステップS26ではXアドレス、Yアドレ
スで示された番地(X,Y)の画素データを画像メモリ
手段7から読み込み、現在値の値として保存して、ステ
ップS27に進む。
In step S26, the pixel data at the address (X, Y) indicated by the X address and the Y address is read from the image memory means 7, stored as the current value, and the flow advances to step S27.

【0058】ステップS27では現在値と垂直方向での
1画素前の値の絶対値差を演算して、ステップS28に
進む。
In step S27, the absolute value difference between the current value and the value one pixel before in the vertical direction is calculated, and the flow advances to step S28.

【0059】ステップS28ではステップS27で演算
した絶対値差が設定してある一定値より大きいか否かを
チェックする。大きい場合は、白値から黒値への変化領
域あるいは黒値から白値への変化領域において、その変
化が急峻なものではなく、ある程度の傾斜をもったもの
であって、フレアが生じていることを意味し、この場合
はステップS29に進み、それ以外の場合は、絶対値差
が0に近く、変化が急峻なものであって、フレアが生じ
ていないことを意味し、この場合はステップS21に進
む。
In step S28, it is checked whether or not the absolute value difference calculated in step S27 is larger than a predetermined value. If it is large, the change is not steep, but has a certain degree of inclination in the region where the white value changes to the black value or in the region where the black value changes to the white value, causing flare. In this case, the process proceeds to step S29. In other cases, the absolute value difference is close to 0, the change is steep, and no flare occurs. Proceed to S21.

【0060】ステップS29ではフレアカウンタC1
1を加算して(C1 ++)、ステップS21に進む。
[0060] by adding 1 to the flare counter C 1 step S29 (C 1 ++), the process proceeds to step S21.

【0061】ステップS23でXアドレスが512を超
えたと判断したときは、1フレーム分の画像データに対
する走査が終了したので、ステップS30に進み、フレ
アカウンタC1 の値を表示手段9に渡して終了する。表
示手段9では、受け取ったフレアカウンタC1 の値を表
示する。
[0061] When the X address has exceeded a 512 in step S23, since the scanning of the image data of one frame has been completed, the process proceeds to step S30, terminates by passing the value of the flare counter C 1 on the display unit 9 I do. In the display unit 9 to display the value of the flare counter C 1 received.

【0062】このようにして画像メモリ手段7に記憶し
た画素データを測定方向設定手段10で設定されたX
(水平)方向またはY(垂直)方向に順次検索し、前後
の画素データと比較して絶対値差が一定値以上ある画素
数をカウントすることで、同一方向の、すなわち、水平
方向なら水平方向のフレアの大きさを、垂直方向なら垂
直方向のフレアの大きさを、それぞれ自動で測定するこ
とができる。
The pixel data stored in the image memory means 7 in this manner is stored in the X direction set by the measurement direction setting means 10.
By sequentially searching in the (horizontal) direction or the Y (vertical) direction and comparing the pixel data before and after, counting the number of pixels whose absolute value difference is equal to or more than a certain value, the horizontal direction in the same direction, that is, the horizontal direction Of the flare in the vertical direction, and in the vertical direction, the size of the flare in the vertical direction can be automatically measured.

【0063】なお、フレア測定手段11の動作として、
前後の画素データの絶対値差を一定値と比較することに
代えて、チャート2が白から黒または黒から白に変化す
るポイントでの映像信号の傾き具合を演算することを通
じて、同一方向のフレアの大きさを自動で測定するよう
にするのでもよい。
The operation of the flare measuring means 11 is as follows.
Instead of comparing the absolute value difference between the preceding and following pixel data with a fixed value, the flare in the same direction is calculated by calculating the degree of inclination of the video signal at the point where the chart 2 changes from white to black or from black to white. May be measured automatically.

【0064】〔実施の形態3〕図7は本発明の実施の形
態3における鏡筒試験装置の構成を示すブロック図であ
り、図1、図2および図5に基づいて説明した部分に対
応する部分については、同一符号を付して説明を省略す
る。12は二重写りを検出する二重写り検出手段であ
る。
[Embodiment 3] FIG. 7 is a block diagram showing the configuration of a lens barrel test apparatus according to Embodiment 3 of the present invention, and corresponds to the portions described with reference to FIGS. 1, 2 and 5. The parts are denoted by the same reference numerals and the description is omitted. Reference numeral 12 denotes a double image detecting means for detecting double image.

【0065】二重写り検出手段12は画像メモリ手段7
に記憶した画素データを基に演算処理し二重写りの有無
を測定する。
The double image detecting means 12 is provided in the image memory 7
The arithmetic processing is performed on the basis of the pixel data stored in (1), and the presence or absence of double reflection is measured.

【0066】図8は二重写りの有無による映像信号の変
化を示すイメージ図である。
FIG. 8 is an image diagram showing a change in a video signal depending on the presence or absence of a double image.

【0067】図8(a)において、二重写り無し時の映
像信号の白値から黒値への変化または黒値から白値への
変化は二重写りがないために急峻なものとなっており、
変化パターンは単調増加、単調減少、変化無しの3パタ
ーンしかない(斜めの変化も含む)。これに対して、図
8(b)において、二重写り有り時は変化の傾向は緩や
かであって、変化の途中で落ち込み等があり上記3パタ
ーン以外の変化になる。落ち込み等というのは、画素値
が一旦下がり次に上がることであり、また、画素値が一
旦上がり次に下がることである。
In FIG. 8A, the change from a white value to a black value or a change from a black value to a white value of a video signal when there is no double image is steep because there is no double image. Yes,
There are only three change patterns: monotone increase, monotone decrease, and no change (including diagonal change). On the other hand, in FIG. 8B, when there is double reflection, the tendency of the change is gradual, and there is a drop or the like in the middle of the change, which is a change other than the above three patterns. The drop or the like means that the pixel value once drops and then rises, and the pixel value once rises and then falls.

【0068】図9は本発明の実施の形態3における二重
写り検出手段12の動作過程を示すフローチャートであ
る。以下、二重写り検出手段12の演算処理について図
9のフローチャートを基に説明する。
FIG. 9 is a flowchart showing an operation process of the double reflection detecting means 12 according to the third embodiment of the present invention. Hereinafter, the arithmetic processing of the double reflection detection means 12 will be described with reference to the flowchart of FIG.

【0069】ステップS31では画像データのXアドレ
ス、Yアドレスおよび二重写り検出カウンタC2 等の変
数をリセットし、ステップS32に進む。
[0069] Step S31 X address of the image data in, and resets the Y address and double-imaging detection counter C 2, etc. of the variable, the process proceeds to step S32.

【0070】ステップS32では測定方向設定手段10
により設定された測定する方向を判断する。測定方向設
定手段10がX(水平)方向の二重写りの有無を検出す
るように設定している場合はステップS33に進み、Y
(垂直)方向の二重写りの有無を検出するように設定し
ている場合はステップS42に進む。
In step S32, the measuring direction setting means 10
The direction to be measured set by the above is determined. If the measurement direction setting means 10 is set to detect the presence or absence of double reflection in the X (horizontal) direction, the process proceeds to step S33, and Y
If it is set to detect the presence or absence of double image in the (vertical) direction, the process proceeds to step S42.

【0071】以下、まず、X方向での二重写りの有無の
検出について説明する。
First, detection of presence / absence of double reflection in the X direction will be described.

【0072】ステップS33ではXアドレスに1を加算
して(X++)、ステップS34に進む。
In step S33, 1 is added to the X address (X ++), and the flow advances to step S34.

【0073】ステップS34ではXアドレスが512を
超えたかどうかチェックする。超えた場合はステップS
35に進み、超えない場合はステップS37に進む。
In step S34, it is checked whether the X address has exceeded 512. If exceeded, step S
The process proceeds to step S35, and if not exceeded, proceeds to step S37.

【0074】ステップS35ではYアドレスが512を
超えたかどうかチェックする。超えた場合はステップS
51に進み、超えない場合はステップS36に進む。
In step S35, it is checked whether the Y address has exceeded 512. If exceeded, step S
The process proceeds to step S51, and if not exceeded, to step S36.

【0075】ステップS36ではXアドレスをリセット
し、Yアドレスに1を加算して(Y++)、ステップS
37に進む。
In step S36, the X address is reset, 1 is added to the Y address (Y ++), and
Proceed to 37.

【0076】以上のステップS33〜S36により、画
像メモリ手段7において表示手段9でのラスタスキャン
に相当する水平・垂直走査を行っていることになる。
Through the above steps S33 to S36, horizontal and vertical scanning corresponding to the raster scanning by the display means 9 is performed in the image memory means 7.

【0077】ステップS37では同一Yアドレスにおけ
るX(水平)方向の前後2画素の画素データを画像メモ
リ手段7から読み込み、ステップS38に進む。
In step S37, pixel data of two pixels before and after in the X (horizontal) direction at the same Y address are read from the image memory means 7, and the flow advances to step S38.

【0078】ステップS38では前後2画素の画素デー
タから画素値が増加(黒から白へ変化)中か否かすなわ
ち単調増加であるか否かをチェックする。単調増加中の
場合はステップS33に進み、それ以外の場合はステッ
プS39に進む。
In step S38, it is checked whether or not the pixel value is increasing (changing from black to white) from the pixel data of the front and rear two pixels, that is, whether or not the pixel value is monotonically increasing. If it is monotonically increasing, the process proceeds to step S33; otherwise, the process proceeds to step S39.

【0079】ステップS39では前後2画素の画素デー
タから画素値が減少(白から黒へ変化)中か否かすなわ
ち単調減少であるか否かをチェックする。単調減少中の
場合はステップS33に進み、それ以外の場合はステッ
プS40に進む。
In step S39, it is checked whether or not the pixel value is decreasing (change from white to black) from the pixel data of the front and rear two pixels, that is, whether or not the pixel value is monotonically decreasing. If it is monotonously decreasing, the process proceeds to step S33; otherwise, the process proceeds to step S40.

【0080】ステップS40では前後2画素の画素デー
タから画素値が変化無し(白または黒のまま)か否かを
チェックする。変化無しの場合はステップS33に進
み、それ以外の場合は二重写りを検出したと判断し、ス
テップS41に進む。すなわち、水平方向で隣接する3
つの画素の画素値について、図8(b)に示すように、
画素値が一旦下がり次に上がるか、または、画素値が一
旦上がり次に下がるかしている落ち込み等があり、二重
写りと検出されるのである。
In step S40, it is checked whether or not the pixel value does not change (white or black) from the pixel data of the two pixels before and after. If there is no change, the process proceeds to step S33. In other cases, it is determined that double reflection has been detected, and the process proceeds to step S41. In other words, the horizontally adjacent 3
As shown in FIG. 8B, the pixel values of the two pixels
There is a drop or the like in which the pixel value once drops and then rises, or the pixel value once rises and then falls, and is detected as a double image.

【0081】ステップS41では二重写り検出カウンタ
2 に1を加算して(C2 ++)、ステップS33に進
む。
[0081] 1 is added to the double-imaging detection counter C 2 In step S41 (C 2 ++), the process proceeds to step S33.

【0082】ステップS35でYアドレスが512を超
えたと判断したときは、1フレーム分の画像データに対
する走査が終了したので、ステップS51に進み、二重
写り検出カウンタC2 の値を表示手段9に渡して終了す
る。表示手段9では、受け取った二重写り検出カウンタ
2 の値を表示する。
[0082] When it is determined that the Y address exceeds 512 in step S35, since the scanning of the image data of one frame has been completed, the process proceeds to step S51, the display unit 9 the value of double-imaging detection counter C 2 Pass and finish. In the display unit 9 to display the value of the double-imaging detection counter C 2 received.

【0083】次に、Y(垂直)方向での二重写りの検出
について説明する。すなわち、ステップS42以降でY
(垂直)方向の二重写りの有無を検出する。
Next, detection of double reflection in the Y (vertical) direction will be described. That is, after step S42, Y
Detects the presence of double image in the (vertical) direction.

【0084】ステップS42ではYアドレスに1を加算
して(Y++)、ステップS43に進む。
In step S42, 1 is added to the Y address (Y ++), and the flow advances to step S43.

【0085】ステップS43ではYアドレスが512を
超えたかどうかチェックする。超えた場合はステップS
44に進み、超えない場合はステップS46に進む。
In step S43, it is checked whether the Y address has exceeded 512. If exceeded, step S
Go to step S44, otherwise go to step S46.

【0086】ステップS44ではXアドレスが512を
超えたかどうかチェックする。超えた場合はステップS
51に進み、超えない場合はステップS45に進む。
In step S44, it is checked whether the X address has exceeded 512. If exceeded, step S
The process proceeds to 51, and if not exceeded, proceeds to step S45.

【0087】ステップS45ではYアドレスをリセット
し、Xアドレスに1を加算して(X++)、ステップS
46に進む。
In step S45, the Y address is reset, 1 is added to the X address (X ++), and step S45 is executed.
Proceed to 46.

【0088】以上のステップS42〜S45により、画
像メモリ手段7において表示手段9でのラスタスキャン
に対する直角方向のスキャン相当する垂直・水平走査を
行っていることになる。
By the above steps S42 to S45, the vertical / horizontal scanning corresponding to the scan in the direction perpendicular to the raster scan by the display means 9 is performed in the image memory means 7.

【0089】ステップS46では同一Xアドレスにおけ
るY(垂直)方向の前後2画素の画素データを画像メモ
リ手段7から読み込み、ステップS47に進む。
In step S46, pixel data of two pixels before and after in the Y (vertical) direction at the same X address are read from the image memory means 7, and the flow advances to step S47.

【0090】ステップS47では前後2画素の画素デー
タから画素値が増加(黒から白へ変化)中か否かすなわ
ち単調増加であるか否かをチェックする。単調増加中の
場合はステップS42に進み、それ以外の場合はステッ
プS48に進む。
In step S47, it is checked whether or not the pixel value is increasing (change from black to white) from the pixel data of the two pixels before and after, that is, whether or not the pixel value is monotonically increasing. If it is monotonically increasing, the process proceeds to step S42; otherwise, the process proceeds to step S48.

【0091】ステップS48では前後2画素の画素デー
タから画素値が減少(白から黒へ変化)中か否かすなわ
ち単調減少であるか否かをチェックする。単調減少中の
場合はステップS42に進み、それ以外の場合はステッ
プS49に進む。
In step S48, it is checked whether or not the pixel value is decreasing (change from white to black) from the pixel data of the front and rear two pixels, that is, whether or not the pixel value is monotonically decreasing. If it is monotonously decreasing, the process proceeds to step S42; otherwise, the process proceeds to step S49.

【0092】ステップS49では前後2画素の画素デー
タから画素値が変化無し(白または黒のまま)か否かを
チェックする。変化無しの場合はステップS42に進
み、それ以外の場合は二重写りを検出したと判断し、ス
テップS50に進む。すなわち、垂直方向で隣接する3
つの画素の画素値について、図8(b)に示すように、
画素値が一旦下がり次に上がるか、または、画素値が一
旦上がり次に下がるかしている落ち込み等があり、二重
写りと検出されるのである。
In step S49, it is checked whether or not the pixel value has not changed (white or black) from the pixel data of the front and rear two pixels. If there is no change, the process proceeds to step S42. Otherwise, it is determined that double image has been detected, and the process proceeds to step S50. That is, the vertically adjacent 3
As shown in FIG. 8B, the pixel values of the two pixels
There is a drop or the like in which the pixel value once drops and then rises, or the pixel value once rises and then falls, and is detected as a double image.

【0093】ステップS50では二重写り検出カウンタ
2 に1を加算して(C2 ++)、ステップS42に進
む。
[0093] 1 is added to the double-imaging detection counter C 2 In step S50 (C 2 ++), the process proceeds to step S42.

【0094】ステップS44でXアドレスが512を超
えたと判断したときは、1フレーム分の画像データに対
する走査が終了したので、ステップS51に進み、二重
写り検出カウンタC2 の値を表示手段9に渡して終了す
る。表示手段9では、受け取った二重写り検出カウンタ
2 の値を表示する。
[0094] When the X address has exceeded a 512 step S44, the scanning for the image data of one frame has been completed, the process proceeds to step S51, the display unit 9 the value of double-imaging detection counter C 2 Pass and finish. In the display unit 9 to display the value of the double-imaging detection counter C 2 received.

【0095】このようにして画像メモリ手段7に記憶し
た画素データを測定方向設定手段10で設定されたX
(水平)方向またはY(垂直)方向に順次検索し、画素
データの変化パターンが単調増加、単調減少、変化無し
の状態以外である場合に、すなわち、画素値が一旦下が
り次に上がるか、または、画素値が一旦上がり次に下が
るかしている落ち込み等がある場合に二重写りであると
判断し、同一方向の、すなわち、水平方向なら水平方向
での二重写りの有無を、垂直方向なら垂直方向での二重
写りの有無を、それぞれ自動で検出することができる。
The pixel data stored in the image memory means 7 in this way is stored in the X direction set by the measurement direction setting means 10.
The search is sequentially performed in the (horizontal) direction or the Y (vertical) direction, and when the change pattern of the pixel data is other than the state of monotonous increase, monotonous decrease, and no change, that is, the pixel value once decreases and then increases, or If there is a drop in which the pixel value once rises and then falls, then it is determined that the image is a double image. In the same direction, that is, if it is horizontal, the presence or absence of the double image in the horizontal direction is determined by the vertical Then, the presence or absence of double image in the vertical direction can be automatically detected.

【0096】〔実施の形態4〕次に、図示は省略する
が、本発明に係る実施の形態4の鏡筒試験装置について
説明する。上記した実施の形態1または実施の形態2ま
たは実施の形態3のいずれかにおいて、撮像範囲を複数
のエリアに分割し、各エリア毎にそれぞれ所要の測定あ
るいは検出を行うように構成する。
[Fourth Embodiment] Next, although not shown, a lens barrel test apparatus according to a fourth embodiment of the present invention will be described. In any of the above-described first, second, and third embodiments, the imaging range is divided into a plurality of areas, and required measurement or detection is performed for each area.

【0097】この実施の形態4によれば、撮像範囲全体
でのフレアの大きさを測定するのでもなければ、X方向
全範囲もしくはY方向全範囲でのフレアの大きさを検出
するのでもなく、また、X方向全範囲もしくはY方向全
範囲での二重写りの有無を検出するのでもなく、撮像範
囲を複数のエリアに分割し、各エリア毎に測定/検出す
ることにより、分割したエリア毎に細かく、そのエリア
全体でのフレアの大きさ、X方向もしくはY方向でのフ
レアの大きさや二重写りの有無を測定/検出することが
できる。従って、鏡筒1内での各レンズの組み方や角度
の組み合わせ具合などの良否をきめ細かく判断すること
ができる。
According to the fourth embodiment, it is not necessary to measure the size of the flare over the entire imaging range, nor to detect the size of the flare over the entire range in the X direction or the Y direction. In addition, instead of detecting the presence or absence of double reflection in the entire range in the X direction or the entire range in the Y direction, the image pickup range is divided into a plurality of areas, and measurement / detection is performed for each area, thereby dividing the divided area. The size of the flare in the entire area, the size of the flare in the X direction or the Y direction, and the presence / absence of double image can be measured / detected every time. Therefore, it is possible to determine finely whether the lenses are assembled in the lens barrel 1 or how the angles are combined.

【0098】なお、上記各実施の形態において、チャー
ト2の模様を市松模様にした場合について説明したが、
チャート2の模様は任意である。
In each of the above embodiments, the case where the pattern of the chart 2 is a checkered pattern has been described.
The pattern of the chart 2 is arbitrary.

【0099】また、画像メモリ手段7の画像メモリのサ
イズを512×512として説明したが、サイズは任意
である。またサイズを大きくすればするほど分解能が上
がるので測定精度が向上することは言うまでもない。
Further, the size of the image memory of the image memory means 7 has been described as 512 × 512, but the size is arbitrary. It goes without saying that the larger the size, the higher the resolution, so that the measurement accuracy is improved.

【0100】[0100]

【発明の効果】本発明に係る鏡筒試験装置によれば、高
濃度色と低濃度色で構成されたチャートに対して合焦さ
せた状態で取り込んだ画素データを検索し黒しきい値よ
り大きく白しきい値より小さい値である画素数をカウン
トすることにより、投影試験機を用いてチャートをスク
リーンに逆投影し人手による目視官能評価を行うことな
く、撮像範囲全体のフレアの大きさを自動で高速かつ安
定に測定することができる。
According to the lens barrel test apparatus of the present invention, pixel data captured in a focused state with respect to a chart composed of high-density colors and low-density colors is searched, and the data is obtained from the black threshold value. By counting the number of pixels that are large and smaller than the white threshold value, the size of the flare over the entire imaging range can be determined without back-projecting the chart onto the screen using a projection tester and performing manual visual sensory evaluation. Automatic, high-speed and stable measurement can be performed.

【0101】また、測定する方向を設定して画素データ
を検索し前後の画素データの絶対値差が一定値以上ある
画素数をカウントすることによりその設定方向でのフレ
アの大きさを測定するので、X方向でのフレアの大きさ
を単独で、また、Y方向でのフレアの大きさを単独で、
それぞれ自動で高速かつ安定に測定することができる。
Also, the direction of measurement is set, pixel data is searched, and the number of pixels having a difference in absolute value of the preceding and succeeding pixel data equal to or more than a certain value is counted to measure the flare magnitude in the set direction. , The size of the flare in the X direction alone, and the size of the flare in the Y direction alone,
Each can be measured automatically and quickly and stably.

【0102】また、測定する方向を設定して画素データ
を検索し画素データの変化状態に基づいてその設定方向
での二重写りの有無を検出するように構成したので、X
方向での二重写りの有無を単独で、また、Y方向での二
重写りの有無を単独で、それぞれ自動で高速かつ安定に
検出することができる。
Also, since the pixel data is searched by setting the direction to be measured and the presence or absence of double reflection in the set direction is detected based on the change state of the pixel data.
It is possible to automatically and stably detect the presence or absence of double reflection in the direction independently and the presence or absence of double reflection in the Y direction independently.

【0103】また、撮像範囲を複数のエリアに分割し、
各エリア毎に測定/検出することにより、分割したエリ
ア毎に細かく、そのエリア全体でのフレアの大きさ、X
方向もしくはY方向でのフレアの大きさや二重写りの有
無を測定/検出することができる。
Further, the imaging range is divided into a plurality of areas,
By measuring / detecting for each area, the size of the flare in the entire divided area, X
It is possible to measure / detect the flare size in the direction or the Y direction and the presence or absence of double reflection.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態1における鏡筒試験装置の
構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a lens barrel test apparatus according to Embodiment 1 of the present invention.

【図2】鏡筒に向かい合わせに配置するチャートのイメ
ージ図である。
FIG. 2 is an image diagram of a chart arranged to face a lens barrel.

【図3】フレアの有無による映像信号の変化を示すイメ
ージ図である。
FIG. 3 is an image diagram showing a change in a video signal depending on the presence or absence of a flare.

【図4】本発明の実施の形態1におけるフレア測定手段
の動作過程を示すフローチャートである。
FIG. 4 is a flowchart illustrating an operation process of a flare measuring unit according to the first embodiment of the present invention.

【図5】本発明の実施の形態2における鏡筒試験装置の
構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a lens barrel test apparatus according to Embodiment 2 of the present invention.

【図6】本発明の実施の形態2におけるフレア測定手段
の動作過程を示すフローチヤートである。
FIG. 6 is a flowchart showing an operation process of a flare measuring unit according to the second embodiment of the present invention.

【図7】本発明の実施の形態3における鏡筒試験装置の
構成を示すブロック図である。
FIG. 7 is a block diagram illustrating a configuration of a lens barrel test apparatus according to Embodiment 3 of the present invention.

【図8】二重写りの有無による映像信号の変化を示すイ
メージ図である。
FIG. 8 is an image diagram showing a change in a video signal depending on the presence or absence of a double image.

【図9】本発明の実施の形態3における二重写り検出手
段の動作過程を示すフローチャートである。
FIG. 9 is a flowchart showing an operation process of a double reflection detecting unit according to the third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1……鏡筒 2……チャート 3……撮像素子 4……接続手段 5……映像信号生成手段 6……フォーカス制御手段 7……画像メモリ手段 8……フレア測定手段 9……表示手段 10……測定方向設定手段 11……フレア測定手段 12……二重写り検出手段 C1 ……フレアカウンタ C2 ……二重写り検出カウンタDESCRIPTION OF SYMBOLS 1 ... Barrel 2 ... Chart 3 ... Image sensor 4 ... Connection means 5 ... Video signal generation means 6 ... Focus control means 7 ... Image memory means 8 ... Flare measurement means 9 ... Display means 10 …… Measurement direction setting means 11… Flare measurement means 12… Double reflection detection means C 1 … Flare counter C 2 … Double reflection detection counter

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 高濃度色と低濃度色で構成されたチャー
トに向かい合って配置された鏡筒からの光学信号を電気
信号に変換する撮像素子と、前記撮像素子により得られ
た映像信号に基づいて前記鏡筒の合焦制御を行うフォー
カス制御手段と、前記映像信号を記憶する画像メモリ手
段と、前記画像メモリ手段に記憶した画素データを演算
処理するフレア測定手段と、前記フレア測定手段で演算
処理した結果を出力する手段とを備え、前記フレア測定
手段は前記画像メモリ手段における画素データを検索し
黒しきい値より大きく白しきい値より小さい値である画
素数をカウントすることにより撮像範囲全体のフレアの
大きさを測定するように構成されていることを特徴とす
る鏡筒試験装置。
1. An imaging device for converting an optical signal from a lens barrel disposed opposite a chart composed of high-density colors and low-density colors into an electric signal, and a video signal obtained by the imaging device. Focus control means for performing focusing control of the lens barrel, image memory means for storing the video signal, flare measurement means for performing arithmetic processing on pixel data stored in the image memory means, and calculation by the flare measurement means. Means for outputting a processed result, wherein the flare measuring means searches pixel data in the image memory means and counts the number of pixels having a value larger than a black threshold value and smaller than a white threshold value to thereby obtain an imaging range. A lens barrel test device configured to measure the size of the entire flare.
【請求項2】 高濃度色と低濃度色で構成されたチャー
トに向かい合って配置された鏡筒からの光学信号を電気
信号に変換する撮像素子と、前記撮像素子により得られ
た映像信号に基づいて前記鏡筒の合焦制御を行うフォー
カス制御手段と、前記映像信号を記憶する画像メモリ手
段と、測定する方向を設定する測定方向設定手段と、前
記画像メモリ手段に記憶した画素データを演算処理する
フレア測定手段と、前記フレア測定手段で演算処理した
結果を出力する手段とを備え、前記フレア測定手段は前
記測定方向設定手段によって設定された方向において前
記画像メモリ手段における画素データを検索し前後の画
素データの絶対値差が一定値以上ある画素数をカウント
することによりその設定方向でのフレアの大きさを測定
するように構成されていることを特徴とする鏡筒試験装
置。
2. An imaging device for converting an optical signal from a lens barrel disposed opposite a chart composed of high-density colors and low-density colors into an electric signal, and a video signal obtained by the imaging device. Focus control means for performing focus control of the lens barrel, image memory means for storing the video signal, measurement direction setting means for setting a measurement direction, and arithmetic processing of pixel data stored in the image memory means. Flare measuring means, and means for outputting the result of arithmetic processing by the flare measuring means, wherein the flare measuring means searches for pixel data in the image memory means in the direction set by the measurement direction setting means, It is configured to measure the size of the flare in the set direction by counting the number of pixels for which the absolute value difference of the pixel data is equal to or greater than a certain value. A lens barrel test apparatus characterized in that:
【請求項3】 高濃度色と低濃度色で構成されたチャー
トに向かい合って配置された鏡筒からの光学信号を電気
信号に変換する撮像素子と、前記撮像素子により得られ
た映像信号に基づいて前記鏡筒の合焦制御を行うフォー
カス制御手段と、前記映像信号を記憶する画像メモリ手
段と、測定する方向を設定する測定方向設定手段と、前
記画像メモリ手段に記憶した画素データを演算処理する
二重写り検出手段と、前記二重写り検出手段で演算処理
した結果を出力する手段とを備え、前記二重写り検出手
段は前記測定方向設定手段によって設定された方向にお
いて前記画像メモリ手段における画素データを検索し画
素データの変化状態に基づいてその設定方向での二重写
りの有無を検出するように構成されていることを特徴と
する鏡筒試験装置。
3. An imaging device for converting an optical signal from a lens barrel arranged opposite to a chart composed of high-density colors and low-density colors into an electric signal, and a video signal obtained by the imaging device. Focus control means for performing focusing control of the lens barrel, image memory means for storing the video signal, measurement direction setting means for setting a measurement direction, and arithmetic processing of pixel data stored in the image memory means. And a means for outputting the result of the arithmetic processing performed by the double reflection detecting means, wherein the double reflection detecting means is provided in the image memory means in the direction set by the measurement direction setting means. A lens barrel test apparatus configured to search for pixel data and detect the presence or absence of a double image in a set direction based on a change state of the pixel data.
【請求項4】 撮像範囲を複数のエリアに分割し、各エ
リア毎に測定/検出することを特徴とする請求項1から
請求項3までのいずれかに記載の鏡筒試験装置。
4. The lens barrel test apparatus according to claim 1, wherein the imaging range is divided into a plurality of areas, and measurement / detection is performed for each area.
JP10097996A 1996-04-23 1996-04-23 Lens tube test equipment Expired - Fee Related JP3333840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10097996A JP3333840B2 (en) 1996-04-23 1996-04-23 Lens tube test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10097996A JP3333840B2 (en) 1996-04-23 1996-04-23 Lens tube test equipment

Publications (2)

Publication Number Publication Date
JPH09288322A JPH09288322A (en) 1997-11-04
JP3333840B2 true JP3333840B2 (en) 2002-10-15

Family

ID=14288471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10097996A Expired - Fee Related JP3333840B2 (en) 1996-04-23 1996-04-23 Lens tube test equipment

Country Status (1)

Country Link
JP (1) JP3333840B2 (en)

Also Published As

Publication number Publication date
JPH09288322A (en) 1997-11-04

Similar Documents

Publication Publication Date Title
KR100656468B1 (en) Automatic focus adjustment for projector
EP0496635B1 (en) Motion vector detecting apparatus for detecting motion of image to prevent disturbance thereof
JP2696044B2 (en) Focus detection method, non-contact displacement measuring method and apparatus using the same
KR950003569B1 (en) Photographic apparatus and automatic focusing control device using the same
JP5738606B2 (en) Imaging device
CN103416052A (en) Auto-focus image system
US20040201755A1 (en) Apparatus and method for generating multi-image scenes with a camera
JP3999505B2 (en) camera
US20020154240A1 (en) Imaging position detecting device and program therefor
US6330066B1 (en) Height measuring apparatus and method and testing apparatus using the height measuring apparatus
JP3333840B2 (en) Lens tube test equipment
CN210071270U (en) Remote bridge deflection detection device based on image method
JP4754587B2 (en) MTF measuring method and MTF measuring apparatus
JPH1075467A (en) Lens tube test equipment
JP3482104B2 (en) Lens tube test equipment
JP3495570B2 (en) Tone characteristic measuring device
JP2000105167A (en) Address calibration method of image quality inspection device
JPH02236433A (en) Method and device for measuring distortion of lens
JP3368119B2 (en) Corneal shape measuring device
JP2685412B2 (en) Ophthalmic equipment
JPH11196326A (en) Camera
JPH04170163A (en) Imaging device
JPH04329097A (en) Method for measuring resolution in display
JPH0552647A (en) Testing device for infrared image pickup device
JPH06323956A (en) Detection method for foreign matter in prism

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070802

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080802

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080802

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090802

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090802

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100802

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees