JP2016057080A - Mtf measuring device - Google Patents

Mtf measuring device Download PDF

Info

Publication number
JP2016057080A
JP2016057080A JP2014181327A JP2014181327A JP2016057080A JP 2016057080 A JP2016057080 A JP 2016057080A JP 2014181327 A JP2014181327 A JP 2014181327A JP 2014181327 A JP2014181327 A JP 2014181327A JP 2016057080 A JP2016057080 A JP 2016057080A
Authority
JP
Japan
Prior art keywords
image
chart
center position
mtf
cutout
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.)
Granted
Application number
JP2014181327A
Other languages
Japanese (ja)
Other versions
JP6370646B2 (en
Inventor
規之 白井
Noriyuki Shirai
規之 白井
顕一郎 正岡
Kenichiro Masaoka
顕一郎 正岡
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
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 Nippon Hoso Kyokai NHK filed Critical Nippon Hoso Kyokai NHK
Priority to JP2014181327A priority Critical patent/JP6370646B2/en
Publication of JP2016057080A publication Critical patent/JP2016057080A/en
Application granted granted Critical
Publication of JP6370646B2 publication Critical patent/JP6370646B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide an MTF measuring device for accurately detecting a center position of a chart and saving an operation instruction.SOLUTION: A cutout image generation part 21 of an input auxiliary part 2 cuts out an image of a predetermined range from a chart image, and generates a cutout image P. A rotary image generation part 22 makes each pixel constituting the cutout image P turn 180° with a center α of the cutout image P as a reference and generates a rotary image P. A correlation calculation/center position detection part 23 multiplies the cutout image P and the rotary image Pby a window function, calculates a correlation matrix Z with a phase restriction correlation method, obtains a direction vector MV by searching a coordinate point in which the value of the element of the correlation matrix Z becomes the maximum, and detects a center position β of the chart. The correlation calculation/center position detection part 23 converts the center position β of the chart into a coordinate system of the chart image from the cutout image P. A multidirectional MTF measurement part measures MTF with the center position β of the chart generated by the correlation calculation/center position detection part 23.SELECTED DRAWING: Figure 2

Description

本発明は、撮像系の空間周波数特性を表すMTF(Modulation Transfer Function)を測定するMTF測定装置に関する。   The present invention relates to an MTF measuring apparatus that measures an MTF (Modulation Transfer Function) representing a spatial frequency characteristic of an imaging system.

従来、デジタルカメラ等の撮像系の品質評価を行うために、空間周波数特性を表すMTFをその指標として用いる手法が知られている。MTFは、撮像対象である被写体の持つコントラストをどの程度忠実に再現できるかを空間周波数特性として表した数値である。   Conventionally, in order to evaluate the quality of an imaging system such as a digital camera, a method using an MTF representing a spatial frequency characteristic as an index is known. The MTF is a numerical value that expresses how faithfully the contrast of the subject to be imaged can be reproduced as a spatial frequency characteristic.

MTFの測定法としては、MTF測定用のチャートに記載された傾きを有するエッジ画像を用いる方法(Slanted-edge法)、正弦波を円周状に配置したMTF測定用のチャート(Modulated Siemens Starチャート)を用いる方法(Modulated Siemens Star法)等が知られている。   As an MTF measurement method, a method using an edge image having an inclination described in a chart for MTF measurement (Slanted-edge method), a chart for MTF measurement in which sine waves are arranged circumferentially (Modulated Siemens Star chart) ) (Modulated Siemens Star method) and the like are known.

MTF測定法として前者のSlanted-edge法を用いた場合には、斜め方向等の任意の方向のMTFを測定することができないという課題がある。また、後者のModulated Siemens Star法を用いた場合には、水平方向及び垂直方向以外に斜め方向等の任意のMTFを測定することができるが、複雑なチャートを利用するため、チャートの製作精度、チャートのサイズ及び照明の不均一性の影響を受けやすい等の課題がある。   When the former Slanted-edge method is used as the MTF measurement method, there is a problem that the MTF in an arbitrary direction such as an oblique direction cannot be measured. In addition, when using the latter Modulated Siemens Star method, it is possible to measure an arbitrary MTF in an oblique direction in addition to the horizontal direction and the vertical direction. However, since a complicated chart is used, There are problems such as being easily affected by the size of the chart and the unevenness of illumination.

これらの課題を解決するためMTF測定手法が知られている(例えば特許文献1を参照)。このMTF測定法は、ジーメンススターのような所定の中心位置から等分割角で放射状に放射したパターンであって、放射状に区分した放射領域毎にコントラストが異なる色のパターンを含むチャートを用いて、任意の方向のMTFを測定するものである。具体的には、撮影したチャート画像に含まれるチャートの中心位置(中心座標)を基準として、方位を定めてから方位毎にMTFを測定する。これにより、チャートによる制約をさほど受けることなく、チャート画像の等分割角に応じた方位のMTFを測定することができる。   In order to solve these problems, an MTF measurement method is known (see, for example, Patent Document 1). This MTF measurement method is a pattern that radiates radially from a predetermined center position such as a Siemens star at an equal division angle, and uses a chart that includes a pattern of a color with a different contrast for each radially divided radiation region, It measures MTF in any direction. Specifically, the MTF is measured for each azimuth after the azimuth is determined with reference to the center position (center coordinate) of the chart included in the photographed chart image. Thereby, the MTF of the azimuth | direction according to the equally divided angle of a chart image can be measured, without receiving the restrictions by a chart so much.

特開2010−237177号公報JP 2010-237177 A

前述の特許文献1によるMTF測定法では、MTFを測定する際に、チャート画像に含まれるチャートの中心位置を基準とする必要があり、MTFの測定を実施するオペレータの操作指示に従って、その基準となる中心位置を手動にて入力する。具体的には、オペレータは、撮影されたチャート画像の画面表示を見て、図形の対称性等を考慮して自らの感覚で、その基準となるチャートの中心位置を目視にて決定し、操作指示を行う。   In the MTF measurement method according to Patent Document 1 described above, when measuring the MTF, it is necessary to use the center position of the chart included in the chart image as a reference, and according to the operation instruction of the operator who performs the MTF measurement, Manually enter the center position. Specifically, the operator looks at the screen display of the captured chart image, visually determines the center position of the reference chart with his / her own sensation in consideration of the symmetry of the figure, etc. Give instructions.

しかしながら、オペレータによる操作指示では、実際の中心位置から外れて誤差が生じてしまうという問題があった。また、MTFを測定するためにはオペレータによる操作指示が必要になることから、手間がかかるという問題があった。   However, the operation instruction by the operator has a problem that an error occurs due to deviation from the actual center position. Further, since it is necessary to give an operation instruction by an operator to measure the MTF, there is a problem that it takes time.

このような問題を解決するために、MTFを測定する際に、基準となるチャートの中心位置の検出を自動化し、正確な中心位置情報を取得することが所望されていた。   In order to solve such a problem, when measuring the MTF, it has been desired to automate the detection of the center position of the reference chart and acquire accurate center position information.

そこで、本発明は前記課題を解決するためになされたものであり、その目的は、チャート画像に含まれるチャートの中心位置を正確に検出し、かつオペレータによる操作指示の手間を省くことが可能なMTF測定装置を提供することにある。   Accordingly, the present invention has been made to solve the above-described problems, and an object of the present invention is to accurately detect the center position of the chart included in the chart image and to save the operator's trouble of operating instructions. The object is to provide an MTF measuring apparatus.

前記目的を達成するために、本発明によるMTF測定装置は、所定の中心位置から等分割角で放射状に放射したパターンであって、前記放射状に区分した放射領域毎にコントラストが異なる色のパターンを含むチャートが撮影されたチャート画像を用いて、撮像系の空間周波数特性を表すMTF(Modulation Transfer Function)を測定するMTF測定装置において、前記チャート画像に基づいて、前記チャートの中心位置を検出する中心位置検出部と、前記中心位置検出部により検出された前記チャートの中心位置を基準として、前記チャート画像の等分割角に応じた方位のMTFを測定するMTF測定部と、を備え、前記中心位置検出部が、前記チャート画像から、前記チャートの中心位置を含む所定範囲の画像を切り出し、切り出し画像を生成する切り出し画像生成部と、前記切り出し画像生成部により生成された切り出し画像を構成する各画素を、前記切り出し画像の中央を基準に回転させ、回転画像を生成する回転画像生成部と、前記切り出し画像生成部により生成された切り出し画像及び前記回転画像生成部により生成された回転画像のうちの一方の画像を基準とし、他方の画像を画素毎に移動させた際の前記一方の画像と前記他方の画像との間の類似度合いを求め、前記類似度合いが最も高くなる前記他方の画像の移動位置に基づいて、前記チャートの中心位置を検出する相関計算・中心位置検出部と、を備えたことを特徴とする。   In order to achieve the above object, an MTF measuring apparatus according to the present invention is a pattern that radiates radially from a predetermined center position at an equal division angle, and a pattern with a color having a different contrast for each of the radially divided radiation regions. In an MTF measuring apparatus that measures an MTF (Modulation Transfer Function) representing a spatial frequency characteristic of an imaging system using a chart image in which a chart including a chart is captured, a center for detecting the center position of the chart based on the chart image A position detection unit; and an MTF measurement unit that measures an MTF having an azimuth according to an equal division angle of the chart image with reference to the center position of the chart detected by the center position detection unit, the center position A detection unit cuts out an image of a predetermined range including the center position of the chart from the chart image, and generates a cut-out image A cut-out image generation unit, a rotation image generation unit that rotates each pixel constituting the cut-out image generated by the cut-out image generation unit with reference to the center of the cut-out image, and generates a rotated image, and the cut-out image One of the cut-out image generated by the generation unit and the rotation image generated by the rotation image generation unit is used as a reference, and the one image and the other image when the other image is moved for each pixel. A correlation calculation / center position detection unit for obtaining a degree of similarity between the images and detecting a center position of the chart based on a moving position of the other image having the highest degree of similarity. Features.

また、本発明によるMTF測定装置は、前記相関計算・中心位置検出部が、前記切り出し画像生成部により生成された切り出し画像に所定の窓関数を乗算して切り出し窓画像を生成すると共に、前記回転画像生成部により生成された回転画像に前記所定の窓関数を乗算して回転窓画像を生成し、前記切り出し窓画像及び前記回転窓画像を離散フーリエ変換し、前記切り出し窓画像及び前記回転窓画像の振幅成分が除かれ位相成分で表された行列を逆離散フーリエ変換して相関行列を計算し、前記相関行列の要素の値が最も大きい座標点を検索して方向ベクトルを求め、前記方向ベクトルに基づいて、前記チャートの中心位置を検出する、ことを特徴とする。   In the MTF measurement apparatus according to the present invention, the correlation calculation / center position detection unit generates a cutout window image by multiplying the cutout image generated by the cutout image generation unit by a predetermined window function, and the rotation The rotation image generated by the image generation unit is multiplied by the predetermined window function to generate a rotation window image, the cutout window image and the rotation window image are subjected to discrete Fourier transform, and the cutout window image and the rotation window image The matrix represented by the phase component with the amplitude component removed is subjected to inverse discrete Fourier transform to calculate a correlation matrix, a coordinate point having the largest element value of the correlation matrix is searched to obtain a direction vector, and the direction vector is obtained. The center position of the chart is detected based on the above.

以上のように、本発明によれば、MTFを測定する際に、基準となるチャートの中心位置の検出を自動化するようにしたから、チャートの中心位置を正確に検出することができ、かつオペレータによる操作指示の手間を省くことができる。   As described above, according to the present invention, when the MTF is measured, the detection of the center position of the reference chart is automated, so that the center position of the chart can be accurately detected and the operator It is possible to save the trouble of operating instructions.

本発明の実施形態による多方向MTF測定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the multidirectional MTF measuring apparatus by embodiment of this invention. 入力補助部の構成を示すブロック図である。It is a block diagram which shows the structure of an input auxiliary | assistant part. 入力補助部の処理を示すフローチャートである。It is a flowchart which shows the process of an input assistance part. チャート画像及び切り出し画像Pを説明する図である。It is a figure explaining the chart image and the cut-out image P. FIG. 切り出し画像P及び回転画像Pを説明する図である。It is a diagram illustrating a clipped image P and the rotated image P R. 相関計算・中心位置検出部の処理を示すフローチャートである。It is a flowchart which shows the process of a correlation calculation and center position detection part. 相関計算・中心位置検出部の処理を説明する図である。It is a figure explaining the process of a correlation calculation and center position detection part. 相関計算・中心位置検出部の処理を説明する図である(図7の続き)。It is a figure explaining the process of a correlation calculation and center position detection part (continuation of FIG. 7).

以下、本発明を実施するための形態について図面を用いて詳細に説明する。本発明は、撮影されたチャート画像に含まれるチャートの対称性に着目したものであり、チャート画像から切り出した切り出し画像と、切り出し画像を回転させた回転画像との間の相関解析により、チャート画像に含まれるチャートの中心位置を自動的に検出することを特徴とする。   Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings. The present invention focuses on the symmetry of a chart included in a photographed chart image. By analyzing the correlation between a cut-out image cut out from the chart image and a rotated image obtained by rotating the cut-out image, the chart image is obtained. The center position of the chart included in is automatically detected.

〔MTF測定装置〕
まず、本発明の実施形態によるMTF測定装置について説明する。図1は、本発明の実施形態によるMTF測定装置の構成を示すブロック図である。このMTF測定装置1は、入力補助部(中心位置検出部)2及び多方向MTF測定部3を備えている。MTF測定装置1は、撮影対象のチャートを撮影するカメラ4からチャート画像を入力し、チャート画像に含まれるチャートの中心位置を検出し、検出した中心位置を基準として、チャート画像に基づいて多方向のMTFを測定し、測定したMTFを出力する。
[MTF measuring device]
First, an MTF measuring apparatus according to an embodiment of the present invention will be described. FIG. 1 is a block diagram showing a configuration of an MTF measuring apparatus according to an embodiment of the present invention. The MTF measuring apparatus 1 includes an input auxiliary unit (center position detecting unit) 2 and a multidirectional MTF measuring unit 3. The MTF measuring apparatus 1 inputs a chart image from a camera 4 that captures a chart to be imaged, detects the center position of the chart included in the chart image, and uses the detected center position as a reference and multi-directions based on the chart image MTF is measured and the measured MTF is output.

カメラ4により撮影される撮影対象のチャートは、図1の左側に示すように、ジーメンススターのような所定の中心位置から等分割角で放射状に放射したパターンであって、放射状に区分した放射領域毎にコントラストが異なる色のパターンを含むチャートである。   As shown on the left side of FIG. 1, the chart of the object to be photographed by the camera 4 is a pattern radiating radially from a predetermined center position such as a Siemens star at an equally divided angle, and is a radially divided radiation region. It is a chart containing the pattern of the color from which contrast differs for every.

入力補助部2は、カメラ4からチャート画像を入力し、チャート画像から切り出した切り出し画像と、切り出し画像を回転させた回転画像との間で相関解析を行い、チャート画像に含まれるチャートの中心位置を検出する。そして、入力補助部2は、検出した中心位置の情報を中心位置情報として多方向MTF測定部3に出力する。入力補助部2の詳細については後述する。   The input auxiliary unit 2 inputs a chart image from the camera 4, performs correlation analysis between the cut-out image cut out from the chart image and the rotated image obtained by rotating the cut-out image, and the center position of the chart included in the chart image Is detected. Then, the input auxiliary unit 2 outputs the detected center position information to the multidirectional MTF measurement unit 3 as the center position information. Details of the input auxiliary unit 2 will be described later.

多方向MTF測定部3は、カメラ4からチャート画像を入力すると共に、入力補助部2から中心位置情報を入力し、中心位置情報が示すチャートの中心位置を基準として、チャート画像に含まれるチャートの等分割角に応じた方位のMTFを測定し、測定したMTFを出力する。多方向MTF測定部3の処理は既知であり、その詳細については、例えば前述の特許文献1を参照されたい。   The multi-directional MTF measurement unit 3 inputs a chart image from the camera 4 and also receives center position information from the input auxiliary unit 2, and uses the center position of the chart indicated by the center position information as a reference for the chart included in the chart image. The MTF in the direction corresponding to the equally divided angle is measured, and the measured MTF is output. The processing of the multidirectional MTF measurement unit 3 is known, and for details, see, for example, Patent Document 1 described above.

これにより、入力補助部2において、チャート画像に含まれるチャートの中心位置が相関解析により自動的に検出されるから、オペレータの操作指示によりチャートの中心位置が手動で入力される場合に比べ、正確な中心位置を検出することができる。したがって、オペレータの操作指示が不要となるから、その手間を省くことができる。   As a result, since the center position of the chart included in the chart image is automatically detected by the correlation analysis in the input auxiliary unit 2, it is more accurate than when the center position of the chart is manually input by the operator's operation instruction. The center position can be detected. Therefore, the operator's operation instruction is not necessary, and the labor can be saved.

〔入力補助部2〕
次に、図1に示した入力補助部2について詳細に説明する。図2は、入力補助部2の構成を示すブロック図であり、図3は、入力補助部2の処理を示すフローチャートである。この入力補助部2は、切り出し画像生成部21、回転画像生成部22及び相関計算・中心位置検出部23を備えている。以下、図2及び図3を参照して、入力補助部2に備えた各構成部の処理について説明する。
[Input assistant 2]
Next, the input auxiliary unit 2 shown in FIG. 1 will be described in detail. FIG. 2 is a block diagram illustrating a configuration of the input auxiliary unit 2, and FIG. 3 is a flowchart illustrating processing of the input auxiliary unit 2. The input auxiliary unit 2 includes a cut-out image generation unit 21, a rotation image generation unit 22, and a correlation calculation / center position detection unit 23. Hereinafter, with reference to FIG.2 and FIG.3, the process of each structure part with which the input auxiliary part 2 was provided is demonstrated.

(切り出し画像生成部21)
まず、入力補助部2の切り出し画像生成部21は、カメラ4からチャート画像を入力し(ステップS301)、チャート画像から所定範囲の画像を切り出し、切り出し画像Pを生成する(ステップS302)。そして、切り出し画像生成部21は、切り出し画像Pを回転画像生成部22及び相関計算・中心位置検出部23に出力する。
(Cut image generation unit 21)
First, the cutout image generation unit 21 of the input auxiliary unit 2 inputs a chart image from the camera 4 (step S301), cuts out an image of a predetermined range from the chart image, and generates a cutout image P (step S302). Then, the cutout image generation unit 21 outputs the cutout image P to the rotated image generation unit 22 and the correlation calculation / center position detection unit 23.

図4は、チャート画像及び切り出し画像Pを説明する図である。図4の左側に示すチャート画像は、切り出し画像生成部21により入力された画像である。切り出し画像生成部21は、チャート画像のうち、チャートの中心位置βを含む予め設定された範囲の画像(図4のチャート画像において、枠で囲んだ範囲の画像)を切り出す。図4の右側に示す切り出し画像Pは、切り出し画像生成部21により切り出された画像である。   FIG. 4 is a diagram illustrating the chart image and the cutout image P. The chart image shown on the left side of FIG. 4 is an image input by the cut-out image generation unit 21. The cut-out image generation unit 21 cuts out an image in a preset range including the center position β of the chart (an image in a range surrounded by a frame in the chart image in FIG. 4) from the chart image. A cutout image P shown on the right side of FIG. 4 is an image cut out by the cutout image generation unit 21.

ここで、チャート画像の中央αは、チャート画像の中央位置の座標を示し、チャートの中心位置βは、チャート画像に含まれるチャートにおいて、等分割角で放射状に放射したパターンの中心位置の座標を示す。したがって、図4に示すように、チャート画像の2次元の座標系において、チャート画像の中央αの座標位置とチャートの中心位置βの座標位置とは異なる。このチャートの中心位置βが、後述する相関計算・中心位置検出部23により検出される座標位置である。   Here, the center α of the chart image indicates the coordinates of the center position of the chart image, and the center position β of the chart indicates the coordinates of the center position of the pattern radiated radially at equal division angles in the chart included in the chart image. Show. Therefore, as shown in FIG. 4, in the two-dimensional coordinate system of the chart image, the coordinate position of the center α of the chart image is different from the coordinate position of the center position β of the chart. The center position β of this chart is a coordinate position detected by a correlation calculation / center position detection unit 23 described later.

また、画像の切り出し対象である予め設定された範囲は、前述のとおり、チャートの中心位置βを含む範囲である。しかし、MTFは、カメラ4等の撮像系におけるレンズの中心部分について測定されることが多いことから、チャート画像は、チャートの中心位置βが当該チャート画像の中央α付近に存在するように、カメラ4により撮影されるのが一般的である。   In addition, as described above, the preset range that is the target of image clipping is a range that includes the center position β of the chart. However, since the MTF is often measured for the central portion of the lens in the imaging system such as the camera 4, the chart image is displayed so that the center position β of the chart exists near the center α of the chart image. 4 is generally taken.

そこで、予め設定された範囲は、チャート画像の中央αを含む大まかな任意の範囲とすることができる。例えば、チャート画像の中央αを含む予め設定された範囲として、256×256画素または512×512画素の範囲が用いられる。このような範囲を用いることにより、当該範囲にチャートの中心位置βを含めることができる。   Therefore, the preset range can be a rough arbitrary range including the center α of the chart image. For example, a range of 256 × 256 pixels or 512 × 512 pixels is used as a preset range including the center α of the chart image. By using such a range, the center position β of the chart can be included in the range.

これにより、切り出し画像生成部21において、チャートの中心位置βを含む所定範囲の画像が切り出され、切り出し画像Pが生成される。   As a result, the cutout image generation unit 21 cuts out a predetermined range of images including the center position β of the chart, and generates a cutout image P.

尚、切り出し画像Pを切り出すための予め設定された範囲は、チャート画像の中央αを含む範囲とすることができるが、MTFを測定する用途によっては、チャートの中心位置βがチャート画像の中央α付近に存在しない場合もあり得る。この場合、切り出し画像生成部21は、オペレータの指示操作により、オペレータが認識したチャートの中心位置βを基準とした範囲を、予め設定された範囲として用いる。以下、切り出し画像生成部21は、切り出し画像Pの中心がチャート画像の中央αと一致するように、チャート画像から切り出し画像Pを切り出したものとして説明する。   The preset range for cutting out the cutout image P can be a range including the center α of the chart image. However, depending on the application for measuring the MTF, the center position β of the chart may be the center α of the chart image. It may not exist in the vicinity. In this case, the cut-out image generation unit 21 uses a range based on the center position β of the chart recognized by the operator as a reference set by the operator's instruction operation. Hereinafter, the cut-out image generation unit 21 will be described assuming that the cut-out image P is cut out from the chart image so that the center of the cut-out image P coincides with the center α of the chart image.

また、カメラ4により撮影されたチャート画像がグレイスケール画像の場合、切り出し画像Pは、各画素の輝度値により構成される。一方、チャート画像がカラー画像の場合、切り出し画像生成部21は、入力したカラーのチャート画像の信号を輝度信号に変換した後、切り出し画像Pを生成する。これにより、切り出し画像Pは、各画素の輝度値により構成される。   When the chart image photographed by the camera 4 is a gray scale image, the cut-out image P is composed of the luminance value of each pixel. On the other hand, when the chart image is a color image, the cut-out image generation unit 21 generates a cut-out image P after converting the input color chart image signal into a luminance signal. Thereby, the cut-out image P is configured by the luminance value of each pixel.

(回転画像生成部22)
図2及び図3に戻って、回転画像生成部22は、切り出し画像生成部21から切り出し画像Pを入力し、切り出し画像Pを構成する各画素を、切り出し画像Pの中央αを基準に180°回転させ、回転画像Pを生成する(ステップS303)。そして、回転画像生成部22は、回転画像Pを相関計算・中心位置検出部23に出力する。
(Rotated image generator 22)
2 and 3, the rotated image generation unit 22 inputs the cutout image P from the cutout image generation unit 21, and each pixel constituting the cutout image P is 180 ° with respect to the center α of the cutout image P. rotate to generate a rotated image P R (step S303). The rotated image generation unit 22 outputs the rotated image P R in the correlation calculation and center position detection unit 23.

例えば、切り出し画像Pのサイズを256×256画素とした場合、回転画像生成部22は、切り出し画像Pを構成する各画素の座標(x,y)における輝度値P(x,y)を、以下の式により、座標(256−x+1,256−y+1)における輝度値P(256−x+1,256−y+1)に座標変換し、回転画像Pを生成する。すなわち、切り出し画像Pにおける座標(x,y)の画素は、回転画像Pにおける座標(256−x+1,256−y+1)の画素位置へ投影される。
For example, when the size of the cutout image P is 256 × 256 pixels, the rotated image generation unit 22 sets the luminance value P (x, y) at the coordinates (x, y) of each pixel constituting the cutout image P as follows. wherein, the coordinate conversion into coordinate (256-x + 1,256-y + 1) in the luminance value P R (256-x + 1,256-y + 1) , to produce a rotated image P R of. That is, a pixel of coordinates (x, y) in the clipped image P is projected to the pixel position of the coordinates in the rotated image P R (256-x + 1,256 -y + 1).

図5は、切り出し画像P及び回転画像Pを説明する図である。図5の左側に示す切り出し画像Pは、回転画像生成部22により入力された画像である。回転画像生成部22は、切り出し画像Pを構成する各画素を、切り出し画像Pの中央αを基準に180°回転させ、回転画像Pを生成する。図5の右側に示す回転画像Pは、回転画像生成部22により生成された画像である。切り出し画像Pの中央α及び回転画像Pの中央αは、対応した同じ位置を示し、図4に示したチャート画像の中央αも、対応した同じ位置を示す。 Figure 5 is a diagram illustrating a clipped image P and the rotated image P R. A cutout image P shown on the left side of FIG. 5 is an image input by the rotated image generation unit 22. Rotated image generation unit 22, the pixels constituting the clipped image P, rotated by 180 ° relative to the center α of the clipped image P, and generates a rotated image P R. Rotated image P R shown on the right side in FIG. 5 is an image generated by the rotated image generation unit 22. Central α central α and rotation images P R of the cutout image P, shows the same position corresponding, also the central α chart image shown in FIG. 4 shows the same position corresponding.

これにより、回転画像生成部22において、切り出し画像Pの中央αを基準にして、180°回転させた回転画像Pが生成される。切り出し画像Pの画素と回転画像Pの画素とは、両画像の中央αの点に対して点対称の座標に配置される。 Thus, the rotated image generation unit 22, based on the center α of the clipped image P, the rotated image P R which is rotated 180 ° is produced. The pixels of the pixel and the rotated image P R of the clipped image P, is arranged in the coordinates of the point symmetry with respect to a central point α of both images.

(相関計算・中心位置検出部23)
図2及び図3に戻って、相関計算・中心位置検出部23は、切り出し画像生成部21から切り出し画像Pを入力すると共に、回転画像生成部22から回転画像Pを入力する。そして、相関計算・中心位置検出部23は、切り出し画像P及び回転画像Pに所定の窓関数を乗算し、位相限定相関法により相関行列Zを計算し、相関行列Zに基づいてチャートの中心位置βを検出する(ステップS304)。そして、相関計算・中心位置検出部23は、切り出し画像Pにおけるチャートの中心位置βの座標を、チャート画像の座標に変換し、中心位置情報として多方向MTF測定部3に出力する(ステップS305)。
(Correlation calculation / center position detection unit 23)
Returning to FIG. 2 and FIG. 3, the correlation calculation and center position detection unit 23 inputs the image P cut from the cutout image generation unit 21, and inputs the rotated image P R from the rotated image generation unit 22. Then, correlation calculation-center position detection unit 23 multiplies a predetermined window function to the clipped image P and the rotated image P R, the correlation matrix Z calculated by the phase-only correlation method, the center of the chart based on the correlation matrix Z The position β is detected (step S304). Then, the correlation calculation / center position detection unit 23 converts the coordinates of the center position β of the chart in the cutout image P into the coordinates of the chart image, and outputs them to the multi-directional MTF measurement unit 3 as center position information (step S305). .

図6は、相関計算・中心位置検出部23の処理を示すフローチャートであり、図7及び図8は、相関計算・中心位置検出部23の処理を説明する図である。図6を参照して、まず、相関計算・中心位置検出部23は、切り出し画像生成部21から入力した切り出し画像Pに所定の窓関数を乗算し、切り出し窓画像P’を生成する(ステップS601)。そして、相関計算・中心位置検出部23は、切り出し窓画像P’に離散フーリエ変換(DFT:Discrete Fourier Transform)を施し、離散フーリエ切り出し窓行列Fを生成する(ステップS602)。   FIG. 6 is a flowchart showing processing of the correlation calculation / center position detection unit 23, and FIGS. 7 and 8 are diagrams illustrating processing of the correlation calculation / center position detection unit 23. Referring to FIG. 6, first, correlation calculation / center position detection unit 23 multiplies cutout image P input from cutout image generation unit 21 by a predetermined window function to generate cutout window image P ′ (step S601). ). Then, the correlation calculation / center position detection unit 23 performs Discrete Fourier Transform (DFT) on the cutout window image P ′ to generate a discrete Fourier cutout window matrix F (step S602).

また、相関計算・中心位置検出部23は、回転画像生成部22から入力した回転画像Pに、ステップS601と同じ所定の窓関数を乗算し、回転窓画像P’を生成する(ステップS603)。そして、相関計算・中心位置検出部23は、回転窓画像P’に離散フーリエ変換を施し、離散フーリエ回転窓行列Fを生成する(ステップS604)。 Furthermore, the correlation calculation and center position detection unit 23, the rotated image P R input from the rotated image generation unit 22 multiplies the same predetermined window function and step S601, generates a rotating window image P 'R (step S603 ). Then, correlation calculation-center position detection unit 23 performs a discrete Fourier transform to the rotating window image P 'R, generates a discrete Fourier rotating window matrix F R (step S604).

ここで、ステップS601及びステップS603において、窓関数として例えばハニング窓が用いられる。図7を参照して、具体的には、相関計算・中心位置検出部23は、切り出し画像P及び回転画像Pに対し、当該切り出し画像P及び回転画像Pの全範囲を有限区間としたハニング窓の窓関数をそれぞれ乗算し、切り出し窓画像P’及び回転窓画像P’を生成する。 Here, in step S601 and step S603, for example, a Hanning window is used as the window function. Referring to FIG. 7, specifically, the correlation calculation and center position detection unit 23, to cut out the image P and the rotated image P R, and the entire range of the cut-out image P and rotated image P R a finite interval A window function P ′ and a rotation window image P ′ R are generated by multiplying the Hanning window window functions, respectively.

ハニング窓の窓関数は、有限区間において、切り出し画像P及び回転画像Pの中央αの値が1であり、切り出し画像P及び回転画像Pの中央αから外枠へ向けたサイドローブの値が比較的小さく変化する。また、有限区間以外(切り出し画像P及び回転画像Pの範囲外)の値は0である。尚、本発明は、窓関数をハニング窓に限定するものではなく、他の関数を用いるようにしてもよい。 Window function Hanning window, in a finite interval, the value of the center α of the clipped image P and the rotated image P R is 1, side lobe value towards the center α of the clipped image P and the rotated image P R to the outer frame Changes relatively small. Further, values other than finite interval (outside the scope of the clipped image P and the rotated image P R) is 0. In the present invention, the window function is not limited to the Hanning window, and other functions may be used.

図6に戻って、相関計算・中心位置検出部23は、ステップS602及びステップS604から移行して、離散フーリエ回転窓行列Fの共役行列F を計算し、離散フーリエ切り出し窓行列F、離散フーリエ回転窓行列F及びその共役行列F に基づいて、位相限定相関法により相関行列Zを計算する(ステップS605)。 Returning to FIG. 6, the correlation calculation and center position detection unit 23 shifts from step S602 and step S604, the conjugate matrix of the discrete Fourier rotating window matrix F R F R * was calculated, the discrete Fourier square frame matrix F, discrete Fourier rotating window matrix F R and on the basis of its conjugate matrix F R *, calculates the correlation matrix Z by the phase-only correlation method (step S605).

ステップS602、ステップS604及びステップS605の処理を数式で表すと、以下のとおりとなる。相関計算・中心位置検出部23は、ステップS602、ステップS604及びステップS605において、以下の演算を行う。
The processing of step S602, step S604, and step S605 is expressed as follows: The correlation calculation / center position detection unit 23 performs the following calculation in step S602, step S604, and step S605.

前記式(2)において、DFTは離散フーリエ変換の関数を示し、IDFT(Inverse Discrete Fourier Transform)は逆離散フーリエ変換の関数を示す。P’は切り出し画像Pに窓関数を乗算して得られた画像(切り出し窓画像)を示し、P’は回転画像Pに窓関数を乗算して得られた画像(回転窓画像)を示す。また、Fは切り出し窓画像P’に離散フーリエ変換を施して得られた行列(離散フーリエ切り出し窓行列)を示し、Fは回転窓画像P’に離散フーリエ変換を施して得られた行列(離散フーリエ回転窓行列)を示す。また、F は離散フーリエ回転窓行列Fの共役行列を示す。 In the formula (2), DFT represents a function of discrete Fourier transform, and IDFT (Inverse Discrete Fourier Transform) represents a function of inverse discrete Fourier transform. P 'represents an image obtained by multiplying the window function clipped image P (square frame image), P' R is obtained by multiplying the window function to rotate the image P R image (rotation window image) Show. Further, F is 'indicates matrix obtained by performing discrete Fourier transform on the (discrete Fourier square frame matrix), F R is rotated window image P' square frame image P obtained by performing discrete Fourier transform on the R matrix (Discrete Fourier rotation window matrix) is shown. Further, F R * denotes the conjugate matrix of the discrete Fourier rotating window matrix F R.

相関行列Zは、離散フーリエ切り出し窓行列Fに離散フーリエ回転窓行列Fの共役行列F を乗算し、離散フーリエ切り出し窓行列Fの絶対値に離散フーリエ回転窓行列Fの共役行列F の絶対値を乗算し、前者の乗算結果を後者の乗算結果で除算し、除算結果の行列を逆フーリエ変換することにより得られる(位相限定相関法)。つまり、相関行列Zの要素の値は、切り出し窓画像P’及び回転窓画像P’の振幅成分が取り除かれ、位相成分のみで計算した相関値となる。 Correlation matrix Z is a discrete Fourier square frame matrix F to multiply the conjugate matrix F R * Discrete Fourier rotating window matrix F R, the absolute values to the discrete Fourier rotating window matrix F conjugate matrix of R F of the discrete Fourier cutout window matrix F The absolute value of R * is multiplied, the former multiplication result is divided by the latter multiplication result, and the matrix of the division result is obtained by inverse Fourier transform (phase-only correlation method). That is, the value of the elements of the correlation matrix Z, the amplitude component of the square frame images P 'and rotating the window image P' R is removed, a correlation value calculated only the phase component.

相関行列Zの座標(z,z)における要素の値は、切り出し窓画像P’を基準とし、回転窓画像P’を、x軸方向にzだけ移動させると共にy軸方向にzだけ移動させた場合の、切り出し窓画像P’と移動後の回転窓画像P’との間の相関値を示す。尚、相関行列Zは、回転窓画像P’を基準とし、切り出し窓画像P’を、x軸方向にzだけ移動させると共にy軸方向にzだけ移動させた場合の、回転窓画像P’と移動後の切り出し窓画像P’との間の相関行列としてもよい。ただし、後述する方向ベクトルMVについては、大きさは同じであるが、向きが逆になる。 The values of the elements in the coordinates (z x , z y ) of the correlation matrix Z are based on the cutout window image P ′, move the rotation window image P ′ R by z x in the x-axis direction, and z in the y-axis direction. when moved by y, showing the correlation between the R 'rotating window image P after the movement and' square frame images P. The correlation matrix Z is based on the rotation window image P ′ R , and the rotation window image when the cut window image P ′ is moved by z x in the x axis direction and by z y in the y axis direction. or as a correlation matrix between the P 'square frame image P after the movement and R'. However, the direction vector MV, which will be described later, has the same magnitude, but the direction is reversed.

尚、位相限定相関の計算手法は既知であり、詳細については以下の文献を参照されたい。
小林他、「位相限定相関法の原理とその応用」、テレビジョン学会技術報告、Vol.20、No.41、PP.1-6、1996-07-16
Note that the calculation method of the phase-only correlation is already known. For details, refer to the following documents.
Kobayashi et al., “Principle of Phase-Only Correlation and its Applications”, Television Society Technical Report, Vol.20, No.41, PP.1-6, 1996-07-16

相関計算・中心位置検出部23は、ステップS605にて計算した相関行列Zにおいて、その相関行列Zの中で値が最大となる要素の座標点(相関行列Zを構成する要素の座標(z,z)のうち、要素の値(相関値)が最も大きい座標点)を検索し、方向ベクトルMVを求める(ステップS606)。 In the correlation matrix Z calculated in step S605, the correlation calculation / center position detection unit 23 sets the coordinate point of the element having the maximum value in the correlation matrix Z (the coordinates of the elements constituting the correlation matrix Z (z x , Z y ), the coordinate point having the largest element value (correlation value) is retrieved to obtain the direction vector MV (step S606).

図7を参照して、相関計算・中心位置検出部23は、相関行列Zの中で値が最大となる要素の座標点γを検索する。座標点γは、切り出し窓画像P’を基準とし、回転窓画像P’をxy軸方向にそれぞれ移動させた場合に、切り出し窓画像P’と移動後の回転窓画像P’との間の相関値が最大となる座標点である。尚、図7において、相関行列Zは、便宜上z=0,z=0の点を中心位置に移動して表してある。 With reference to FIG. 7, the correlation calculation / center position detection unit 23 searches the coordinate point γ of the element having the maximum value in the correlation matrix Z. The coordinate point gamma, 'as a reference, rotation window image P' square frame image P when moving each R in the xy direction, between the R 'rotating window image P after the movement and' square frame image P Is the coordinate point at which the correlation value becomes the maximum. In FIG. 7, the correlation matrix Z is represented by moving a point of z x = 0 and z y = 0 to the center position for convenience.

相関計算・中心位置検出部23は、座標点γにおける回転窓画像P’の移動方向及び移動量を示す方向ベクトルMV=(Cx,Cy)を求める。方向ベクトルMV=(Cx,Cy)は、回転窓画像P’を、x軸方向にCxだけ移動させると共にy軸方向にCyだけ移動させたときに、相関値が最大となる座標点γに対応するベクトルを示す。つまり、方向ベクトルMV=(Cx,Cy)は、回転窓画像P’におけるチャートの中心位置β’を始点とし、移動後の回転窓画像P’におけるチャートの中心位置(切り出し窓画像P’におけるチャートの中心位置β)を終点としたベクトルを示し、その中点は、画像の対称性から中央αの座標点となる。 The correlation calculation / center position detection unit 23 obtains a direction vector MV = (Cx, Cy) indicating the moving direction and moving amount of the rotating window image P ′ R at the coordinate point γ. The direction vector MV = (Cx, Cy) is a coordinate point γ that maximizes the correlation value when the rotating window image P ′ R is moved by Cx in the x-axis direction and by Cy in the y-axis direction. The corresponding vector is shown. In other words, the direction vector MV = (Cx, Cy) is a 'central position β of the chart in the R' rotating window image P as a start point, rotating the window image P after the movement 'center position of the chart in R (square frame image P' The vector with the center position β) of the chart at the end point is shown, and its midpoint is the coordinate point of the center α due to the symmetry of the image.

図6に戻って、相関計算・中心位置検出部23は、ステップS606から移行して、切り出し窓画像P’の中央αから方向ベクトルMV/2=(Cx/2,Cy/2)の位置の座標点を、切り出し窓画像P’におけるチャートの中心位置β、すなわち切り出し画像Pにおけるチャートの中心位置βとして検出する(ステップS607)。   Returning to FIG. 6, the correlation calculation / center position detection unit 23 proceeds from step S <b> 606 to the position of the direction vector MV / 2 = (Cx / 2, Cy / 2) from the center α of the cutout window image P ′. The coordinate point is detected as the center position β of the chart in the cutout window image P ′, that is, the center position β of the chart in the cutout image P (step S607).

図8を参照して、切り出し窓画像P’(切り出し画像P)の座標軸において、切り出し窓画像P’の中央αの座標点を(αx,αy)とすると、切り出し窓画像P’におけるチャートの中心位置βの座標点は、(Cx/2+αx,Cy/2+αy)となる。これは、切り出し窓画像P’におけるチャートの中心位置βと回転窓画像P’におけるチャートの中心位置β’が、切り出し窓画像P’の中央αにおいて点対称となり、切り出し窓画像P’の中央αからベクトルMV/2の位置がチャートの中心位置βとなるからである。 Referring to FIG. 8, assuming that the coordinate point of the center α of the cutout window image P ′ on the coordinate axis of the cutout window image P ′ (cutout image P) is (α x , α y ), the chart in the cutout window image P ′. The coordinate point of the center position β is (Cx / 2 + α x , Cy / 2 + α y ). This center of the center position of the chart in 'the center position beta of the chart in the rotating window image P' square frame image P R beta 'is cut out window images P' becomes point symmetry at the center α of the square frame image P ' This is because the position of the vector MV / 2 from α becomes the center position β of the chart.

図6に戻って、相関計算・中心位置検出部23は、ステップS607から移行して、切り出し画像Pの座標系をチャート画像の座標系に変換し、チャートの中心位置βの中心位置情報を生成する(ステップS608)。   Returning to FIG. 6, the correlation calculation / center position detection unit 23 proceeds from step S <b> 607 to convert the coordinate system of the cutout image P into the coordinate system of the chart image, and generates center position information of the center position β of the chart. (Step S608).

図8を参照して、切り出し画像Pのxy軸におけるチャートの中心位置βの座標点(Cx/2+αx,Cy/2+αy)は、チャート画像のXY軸におけるチャートの中心位置βの座標点に変換され、チャート画像のXY軸におけるチャートの中心位置βの座標点の情報を含む中心位置情報が生成される。 Referring to FIG. 8, the coordinate point (Cx / 2 + α x , Cy / 2 + α y ) of the chart center position β on the xy axis of the cutout image P is the coordinate point of the chart center position β on the XY axis of the chart image. The center position information including the information of the coordinate point of the center position β of the chart on the XY axes of the chart image is generated by conversion.

これにより、相関計算・中心位置検出部23において、チャート画像におけるチャートの中心位置βの座標点の情報を含む中心位置情報が生成され、多方向MTF測定部3へ出力される。そして、多方向MTF測定部3により、中心位置情報が示すチャート画像におけるチャートの中心位置βを基準として、チャート画像の等分割角に応じた方位のMTFが測定される。   As a result, the correlation calculation / center position detection unit 23 generates center position information including information on the coordinate point of the center position β of the chart in the chart image and outputs it to the multidirectional MTF measurement unit 3. Then, the multi-directional MTF measurement unit 3 measures the MTF in the direction corresponding to the equally divided angle of the chart image with reference to the center position β of the chart in the chart image indicated by the center position information.

以上のように、本発明の実施形態によるMTF測定装置1によれば、入力補助部2の切り出し画像生成部21は、チャート画像からチャートの中心位置βを含む所定範囲の画像を切り出し、切り出し画像Pを生成し、回転画像生成部22は、切り出し画像Pを構成する各画素を、切り出し画像Pの中央αを基準に180°回転させ、回転画像Pを生成するようにした。 As described above, according to the MTF measurement device 1 according to the embodiment of the present invention, the cutout image generation unit 21 of the input auxiliary unit 2 cuts out an image of a predetermined range including the center position β of the chart from the chart image, and cuts out the image. generates P, rotated image generation unit 22, the pixels constituting the cutout image P, on the basis of the center α of the cutout image P rotated 180 °, and so as to produce a rotated image P R.

そして、相関計算・中心位置検出部23は、切り出し画像P及び回転画像Pに所定の窓関数を乗算し、位相限定相関法により相関行列Zを計算し、相関行列Zの要素の値が最大となる座標点を検索し、方向ベクトルMV=(Cx,Cy)を求め、切り出し窓画像P’(切り出し画像P)の中央αから方向ベクトルMV/2=(Cx/2,Cy/2)の位置の座標点をチャートの中心位置βの座標点として検出する。また、相関計算・中心位置検出部23は、切り出し窓画像P’(切り出し画像P)におけるチャートの中心位置βをチャート画像の座標に変換し、中心位置情報して多方向MTF測定部3に出力するようにした。 Then, correlation calculation-center position detection unit 23 multiplies a predetermined window function to the clipped image P and the rotated image P R, the correlation matrix Z calculated by the phase-only correlation method, the values of the elements of the correlation matrix Z up And the direction vector MV = (Cx, Cy) is obtained, and the direction vector MV / 2 = (Cx / 2, Cy / 2) from the center α of the cutout window image P ′ (cutout image P). The coordinate point of the position is detected as the coordinate point of the center position β of the chart. Further, the correlation calculation / center position detection unit 23 converts the center position β of the chart in the cutout window image P ′ (cutout image P) into the coordinates of the chart image, and outputs the information to the multidirectional MTF measurement unit 3 as the center position information. I tried to do it.

これにより、多方向MTF測定部3は、入力補助部2により検出されたチャートの中心位置βを基準として、チャート画像の等分割角に応じた方位のMTFを測定することができる。したがって、MTFを測定する際に、基準となるチャートの中心位置βを、位相限定相関法を用いて自動的に検出するようにしたから、チャートの中心位置βを正確に検出することができる。また、オペレータによるチャートの中心位置βの操作指示が不要となるから、その手間を省くことができる。   Thereby, the multi-directional MTF measurement unit 3 can measure the MTF of the azimuth according to the equally divided angle of the chart image with the center position β of the chart detected by the input auxiliary unit 2 as a reference. Therefore, since the center position β of the reference chart is automatically detected using the phase-only correlation method when measuring the MTF, the center position β of the chart can be accurately detected. Further, since the operator does not need to give an instruction to operate the center position β of the chart, it is possible to save time and effort.

また、入力補助部2の相関計算・中心位置検出部23は位相限定相関法を用いるようにしたから、他の相関法に比べ、簡易な処理にて方向ベクトルを求め、チャートの中心位置βを検出することができる。   Further, since the correlation calculation / center position detection unit 23 of the input auxiliary unit 2 uses the phase-only correlation method, the direction vector is obtained by a simple process compared to other correlation methods, and the center position β of the chart is obtained. Can be detected.

尚、本発明の実施形態によるMTF測定装置1のハードウェア構成としては、通常のコンピュータを使用することができる。MTF測定装置1は、CPU、RAM等の揮発性の記憶媒体、ROM等の不揮発性の記憶媒体、及びインターフェース等を備えたコンピュータによって構成される。MTF測定装置1に備えた入力補助部2(切り出し画像生成部21、回転画像生成部22及び相関計算・中心位置検出部23)及び多方向MTF測定部3の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。これらのプログラムは、前記記憶媒体に格納されており、CPUに読み出されて実行される。また、これらのプログラムは、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記憶媒体に格納して頒布することもでき、ネットワークを介して送受信することもできる。   Note that a normal computer can be used as the hardware configuration of the MTF measuring apparatus 1 according to the embodiment of the present invention. The MTF measurement apparatus 1 is configured by a computer including a volatile storage medium such as a CPU and a RAM, a non-volatile storage medium such as a ROM, an interface, and the like. The functions of the input auxiliary unit 2 (the cutout image generation unit 21, the rotation image generation unit 22, and the correlation calculation / center position detection unit 23) and the multidirectional MTF measurement unit 3 included in the MTF measurement apparatus 1 describe these functions. Each program is realized by causing the CPU to execute the program. These programs are stored in the storage medium and read out and executed by the CPU. These programs can also be stored and distributed in a storage medium such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), optical disk (CD-ROM, DVD, etc.), semiconductor memory, etc. You can also send and receive.

以上、実施形態を挙げて本発明を説明したが、本発明は前記実施形態に限定されるものではなく、その技術思想を逸脱しない範囲で種々変形可能である。前記実施形態では、入力補助部2の相関計算・中心位置検出部23は、切り出し画像P及び回転画像Pに対し、位相限定相関法を用いてチャートの中心位置βを検出するようにしたが、他の相関法を用いるようにしてもよい。 The present invention has been described with reference to the embodiment. However, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the technical idea thereof. In the above embodiment, the correlation calculation and center position detection unit 23 of the input auxiliary section 2, with respect to the cutout image P and the rotated image P R, but to detect the center position β of the chart using the phase-only correlation method Other correlation methods may be used.

また、チャートの中心位置βを検出するための手法として、相関法の代わりにブロックマッチング法を用いるようにしてもよい。相関計算・中心位置検出部23に代わるマッチング計算・中心位置検出部は、例えば、切り出し画像Pから所定範囲のブロック画像を抽出し、回転画像Pにおける所定の探索範囲内で当該ブロック画像と同じサイズの画像を移動させながら、前記ブロック画像と前記所定の探索範囲内の画像とを比較し、両画像の二乗誤差が最小となる方向ベクトルMVを求める。すなわち、マッチング計算・中心位置検出部は、切り出し画像Pと回転画像Pとの間でマッチングする位置を、切り出し画像Pを基準として回転画像Pの移動方向及び移動量を示す方向ベクトルMVとして求める。そして、マッチング計算・中心位置検出部は、切り出し画像Pの中央αから方向ベクトルMV/2の位置を、チャートの中心位置βとして検出する。 Further, as a method for detecting the center position β of the chart, a block matching method may be used instead of the correlation method. Matching calculation, the center position detecting unit in place of the correlation calculation and center position detection unit 23, for example, extracts a block image of a predetermined range from the cut-out image P, the same as the block image in a predetermined search range in the rotation image P R While moving the image of the size, the block image and the image within the predetermined search range are compared, and a direction vector MV that minimizes the square error of both images is obtained. That is, the matching calculation and center position detection unit, a position matching between the cut-out image P and the rotation image P R, as the direction vector MV indicating the moving direction and moving amount of the rotated image P R based on the clipped image P Ask. Then, the matching calculation / center position detection unit detects the position of the direction vector MV / 2 from the center α of the cut-out image P as the center position β of the chart.

本発明は、切り出し画像P及び回転画像Pに基づいてチャートの中心位置βを検出する手法を、相関法またはブロックマッチング法に限定するものはない。要するに、本発明は、切り出し画像P及び回転画像Pのいずれか一方の画像を基準とし、他方の画像を画素単位に移動させ、両画像の類似度合いの最も高い移動方向及び移動量を求め、これらの移動方向及び移動量に基づいてチャートの中心位置βを検出できればよい。 The present invention is a method for detecting the center position β of the chart based on the clipped image P and the rotated image P R, not limited to the correlation method or a block matching method. In summary, the present invention is, with respect to the one of the image of the clipped image P and the rotated image P R, the other image is moved to the pixel determines the highest moving direction and the moving amount of the degree of similarity between the two images, It is only necessary that the center position β of the chart can be detected based on these movement directions and movement amounts.

また、前記実施形態では、入力補助部2の切り出し画像生成部21は、切り出し画像Pの中心がチャート画像の中央αと一致するようにし、チャート画像から切り出し画像Pを切り出し、回転画像生成部22は、チャート画像の中央αと同じ切り出し画像Pの中央αを基準にして、切り出し画像Pを回転させ、回転画像Pを生成するようにした。本発明は、必ずしも切り出し画像Pの中心を、チャート画像の中央αに一致させる必要はない。この場合、回転画像生成部22は、チャート画像の中央αとは異なる切り出し画像Pの中央を基準にして、切り出し画像Pを回転させ、回転画像Pを生成する。 In the embodiment, the cutout image generation unit 21 of the input auxiliary unit 2 cuts out the cutout image P from the chart image so that the center of the cutout image P coincides with the center α of the chart image, and the rotated image generation unit 22. , based on the center α of the same clipped image P with the central α of the chart image, rotate the clipped image P, and to generate a rotated image P R. In the present invention, the center of the cutout image P does not necessarily need to coincide with the center α of the chart image. In this case, the rotated image generation unit 22, the central α chart image based on the center of the different cut-out image P, rotate the clipped image P, and generates a rotated image P R.

1 MTF測定装置
2 入力補助部
3 多方向MTF測定部
4 カメラ
21 切り出し画像生成部
22 回転画像生成部
23 相関計算・中心位置検出部
DESCRIPTION OF SYMBOLS 1 MTF measuring apparatus 2 Input auxiliary | assistant part 3 Multidirectional MTF measuring part 4 Camera 21 Cutout image generation part 22 Rotation image generation part 23 Correlation calculation and center position detection part

Claims (2)

所定の中心位置から等分割角で放射状に放射したパターンであって、前記放射状に区分した放射領域毎にコントラストが異なる色のパターンを含むチャートが撮影されたチャート画像を用いて、撮像系の空間周波数特性を表すMTF(Modulation Transfer Function)を測定するMTF測定装置において、
前記チャート画像に基づいて、前記チャートの中心位置を検出する中心位置検出部と、
前記中心位置検出部により検出された前記チャートの中心位置を基準として、前記チャート画像の等分割角に応じた方位のMTFを測定するMTF測定部と、を備え、
前記中心位置検出部は、
前記チャート画像から、前記チャートの中心位置を含む所定範囲の画像を切り出し、切り出し画像を生成する切り出し画像生成部と、
前記切り出し画像生成部により生成された切り出し画像を構成する各画素を、前記切り出し画像の中央を基準に回転させ、回転画像を生成する回転画像生成部と、
前記切り出し画像生成部により生成された切り出し画像及び前記回転画像生成部により生成された回転画像のうちの一方の画像を基準とし、他方の画像を画素毎に移動させた際の前記一方の画像と前記他方の画像との間の類似度合いを求め、前記類似度合いが最も高くなる前記他方の画像の移動位置に基づいて、前記チャートの中心位置を検出する相関計算・中心位置検出部と、を備えたことを特徴とするMTF測定装置。
A space of the imaging system using a chart image obtained by photographing a chart radially radiating from a predetermined center position at an equal division angle and including a pattern of a color having a different contrast for each of the radially divided radiation areas In an MTF measuring apparatus that measures MTF (Modulation Transfer Function) representing frequency characteristics,
A center position detector for detecting a center position of the chart based on the chart image;
An MTF measuring unit that measures an MTF having an orientation corresponding to an equally divided angle of the chart image with reference to the center position of the chart detected by the center position detecting unit;
The center position detector
A cutout image generation unit that cuts out an image of a predetermined range including the center position of the chart from the chart image, and generates a cutout image;
A rotation image generation unit that rotates each pixel constituting the cut-out image generated by the cut-out image generation unit with respect to the center of the cut-out image and generates a rotation image;
One image of the cut image generated by the cut image generation unit and the rotated image generated by the rotated image generation unit as a reference, and the other image moved for each pixel; A correlation calculation / center position detection unit that obtains a degree of similarity with the other image and detects a center position of the chart based on a moving position of the other image having the highest degree of similarity. The MTF measuring apparatus characterized by the above-mentioned.
請求項1に記載のMTF測定装置において、
前記相関計算・中心位置検出部は、
前記切り出し画像生成部により生成された切り出し画像に所定の窓関数を乗算して切り出し窓画像を生成すると共に、前記回転画像生成部により生成された回転画像に前記所定の窓関数を乗算して回転窓画像を生成し、前記切り出し窓画像及び前記回転窓画像を離散フーリエ変換し、前記切り出し窓画像及び前記回転窓画像の振幅成分が除かれ位相成分で表された行列を逆離散フーリエ変換して相関行列を計算し、前記相関行列の要素の値が最も大きい座標点を検索して方向ベクトルを求め、前記方向ベクトルに基づいて、前記チャートの中心位置を検出する、ことを特徴とするMTF測定装置。
The MTF measuring apparatus according to claim 1,
The correlation calculation / center position detection unit
The clipped image generated by the clipped image generator is multiplied by a predetermined window function to generate a clipped window image, and the rotated image generated by the rotated image generator is multiplied by the predetermined window function and rotated. Generate a window image, perform discrete Fourier transform on the cutout window image and the rotation window image, and perform inverse discrete Fourier transform on the matrix represented by the phase component by removing the amplitude component of the cutout window image and the rotation window image. MTF measurement characterized by calculating a correlation matrix, searching for a coordinate point having the largest element value of the correlation matrix to obtain a direction vector, and detecting a center position of the chart based on the direction vector apparatus.
JP2014181327A 2014-09-05 2014-09-05 MTF measuring device Active JP6370646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014181327A JP6370646B2 (en) 2014-09-05 2014-09-05 MTF measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014181327A JP6370646B2 (en) 2014-09-05 2014-09-05 MTF measuring device

Publications (2)

Publication Number Publication Date
JP2016057080A true JP2016057080A (en) 2016-04-21
JP6370646B2 JP6370646B2 (en) 2018-08-08

Family

ID=55758201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014181327A Active JP6370646B2 (en) 2014-09-05 2014-09-05 MTF measuring device

Country Status (1)

Country Link
JP (1) JP6370646B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018017615A (en) * 2016-07-28 2018-02-01 日本放送協会 MTF measurement chart
CN110954303A (en) * 2019-11-20 2020-04-03 东南大学 MTF automatic measurement and calculation method based on high-resolution remote sensing image reference
JP6677861B1 (en) * 2019-09-24 2020-04-08 株式会社アサヒビジョン Lens optical characteristic measuring device, lens optical characteristic measuring method, program, and recording medium
WO2020250452A1 (en) * 2019-06-12 2020-12-17 株式会社レクザム Lens optical characteristics measurement device, lens optical characteristics measurement method, program, and recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5303023A (en) * 1992-03-26 1994-04-12 Allergan, Inc. Apparatus and method for inspecting a test lens, method of making a test lens
JPH08128923A (en) * 1994-10-31 1996-05-21 Olympus Optical Co Ltd Image evaluation device
JP2010197201A (en) * 2009-02-25 2010-09-09 Nippon Hoso Kyokai <Nhk> Chart, device and program for measuring mtf
JP2010237177A (en) * 2009-03-31 2010-10-21 Nippon Hoso Kyokai <Nhk> Mtf measurement instrument and mtf measurement program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5303023A (en) * 1992-03-26 1994-04-12 Allergan, Inc. Apparatus and method for inspecting a test lens, method of making a test lens
JPH08128923A (en) * 1994-10-31 1996-05-21 Olympus Optical Co Ltd Image evaluation device
JP2010197201A (en) * 2009-02-25 2010-09-09 Nippon Hoso Kyokai <Nhk> Chart, device and program for measuring mtf
JP2010237177A (en) * 2009-03-31 2010-10-21 Nippon Hoso Kyokai <Nhk> Mtf measurement instrument and mtf measurement program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018017615A (en) * 2016-07-28 2018-02-01 日本放送協会 MTF measurement chart
WO2020250452A1 (en) * 2019-06-12 2020-12-17 株式会社レクザム Lens optical characteristics measurement device, lens optical characteristics measurement method, program, and recording medium
JP6677861B1 (en) * 2019-09-24 2020-04-08 株式会社アサヒビジョン Lens optical characteristic measuring device, lens optical characteristic measuring method, program, and recording medium
WO2021059355A1 (en) * 2019-09-24 2021-04-01 株式会社レクザム Lens optical-characteristics measuring device, lens optical-characteristics measuring method, program, and recording medium
CN110954303A (en) * 2019-11-20 2020-04-03 东南大学 MTF automatic measurement and calculation method based on high-resolution remote sensing image reference

Also Published As

Publication number Publication date
JP6370646B2 (en) 2018-08-08

Similar Documents

Publication Publication Date Title
JP5193113B2 (en) MTF measuring apparatus and MTF measuring program
Vo et al. Advanced geometric camera calibration for machine vision
Li et al. Accurate calibration method for a structured light system
JP6370646B2 (en) MTF measuring device
US20190121224A1 (en) Calibration of projection systems
Gorjup et al. Still-camera multiview Spectral Optical Flow Imaging for 3D operating-deflection-shape identification
JP2007129709A (en) Method for calibrating imaging device, method for calibrating imaging system including arrangement of imaging devices, and imaging system
JP2013239170A (en) Stereo image processing device and stereo image processing method
JP2015094701A (en) Mtf measurement device and mtf measurement program
WO2018179040A1 (en) Camera parameter estimation device, method, and program
JP4941565B2 (en) Corresponding point search apparatus and corresponding point searching method
US20140341461A1 (en) Image processing apparatus, distortion-corrected map creation apparatus, and semiconductor measurement apparatus
Long et al. Accurate identification of saturated pixels for high dynamic range measurement
Birch et al. Sinusoidal Siemens star spatial frequency response measurement errors due to misidentified target centers
JP2011180670A (en) Image processor
JP7136737B2 (en) Three-dimensional position measuring device, three-dimensional position measuring method and program
WO2022080151A1 (en) Fusion-based digital image correlation framework for strain measurement
Lu et al. New approach to improve the performance of fringe pattern profilometry using multiple triangular patterns for the measurement of objects in motion
JP2019207464A (en) Phase difference detection device, image processing device, and program
Wu et al. Accurate characterisation of hole geometries by fringe projection profilometry
JP2014203162A (en) Inclination angle estimation device, mtf measuring apparatus, inclination angle estimation program and mtf measurement program
Alanís et al. Self-calibration of vision parameters via genetic algorithms with simulated binary crossover and laser line projection
JP4796295B2 (en) Camera angle change detection method, apparatus and program, and image processing method, equipment monitoring method, surveying method, and stereo camera setting method using the same
JP6748504B2 (en) MTF measurement chart
JP6742180B2 (en) MTF measuring device and its program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170731

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180531

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180614

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180711

R150 Certificate of patent or registration of utility model

Ref document number: 6370646

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250