JP2003259400A - Instrument and method for measuring resolution, and image processing apparatus and processing method - Google Patents

Instrument and method for measuring resolution, and image processing apparatus and processing method

Info

Publication number
JP2003259400A
JP2003259400A JP2002054599A JP2002054599A JP2003259400A JP 2003259400 A JP2003259400 A JP 2003259400A JP 2002054599 A JP2002054599 A JP 2002054599A JP 2002054599 A JP2002054599 A JP 2002054599A JP 2003259400 A JP2003259400 A JP 2003259400A
Authority
JP
Japan
Prior art keywords
image
resolution
rotation
wedge
rectangular area
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
JP2002054599A
Other languages
Japanese (ja)
Other versions
JP3986326B2 (en
Inventor
Hideaki Yoshida
英明 吉田
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP2002054599A priority Critical patent/JP3986326B2/en
Publication of JP2003259400A publication Critical patent/JP2003259400A/en
Application granted granted Critical
Publication of JP3986326B2 publication Critical patent/JP3986326B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically measure resolution on the basis of an image of a wedge chart imaged by an electronic camera. <P>SOLUTION: The resolution measuring instrument for automatically measuring the resolution of an image, segments a rectangular area image including the wedge chart from an image imaging the wedge chart used for visual measurement of the resolution, decides a ratio of a longitudinal size and a lateral size of the segmented rectangular area image (S501), applies no processing to the image when the image is longitudinally long, applies 90-degree rotation processing to the image when the image is laterally long (S503 to 505), analyzes the rectangular area image subjected to rotation control to decide a resolution critical row position of the wedge chart and calculates the critical resolution from the decided row position. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えば電子カメラ
などで撮像された画像の解像度を自動的に測定すること
を可能とした解像度測定装置及び測定方法、更には画像
処理装置及び処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a resolution measuring apparatus and a measuring method capable of automatically measuring the resolution of an image captured by, for example, an electronic camera, and further to an image processing apparatus and a processing method.

【0002】[0002]

【従来の技術】近年、被写体像を撮像光学系により固体
撮像素子、例えばCCD2次元イメージセンサ上に結像
して電気信号に変換し、これにより得られた静止画像の
撮像データを半導体メモリや磁気ディスクのような記録
媒体に記録する、いわゆる電子カメラが広く普及しつつ
ある。
2. Description of the Related Art In recent years, a subject image is formed on a solid-state image pickup device, for example, a CCD two-dimensional image sensor by an image pickup optical system and converted into an electric signal, and image pickup data of a still image obtained by this is converted into a semiconductor memory or a magnetic field. A so-called electronic camera that records on a recording medium such as a disc is becoming widespread.

【0003】また、この種の電子カメラで撮像された画
像の解像度の測定は、従来より、熟練した検査担当者の
目視により行われている。図13は、この解像度の目視
測定に用いられる代表的なISO12233Resol
utionチャートであり、検査担当者(測定者)は、
まず、カメラの撮像領域枠を三角マーク(白三角や黒三
角)の頂点で示された画枠基準線と一致させて被検カメ
ラによりこのチャートを撮影する。そして、検査担当者
は、この撮影したチャート画像内の例えばくさびチャー
トaを目視してその解像度を測定する。
Further, the measurement of the resolution of an image picked up by an electronic camera of this type has been conventionally performed by the visual inspection of a trained inspector. FIG. 13 shows a typical ISO 12233 Resol used for visual measurement of this resolution.
It is a motion chart, and the inspector (measuring person)
First, this chart is photographed by the camera to be inspected by matching the image pickup area frame of the camera with the image frame reference line indicated by the vertices of the triangular mark (white triangle or black triangle). Then, the inspector visually checks, for example, the wedge chart a in the photographed chart image to measure the resolution thereof.

【0004】このくさびチャートaは、黒5本、白4本
の同じ幅の線分からなっており、検査担当者は、被写体
像としてのくさびチャートaを上端から下端に向けて観
察していく。より具体的には、この白黒線の解像状況を
調べ、正しく解像している状況が継続する限界のライン
(行)を検出し、その検出したラインで示される解像度
を左側に添えられたスケールによって読み取る。
The wedge chart a is composed of five black and four white line segments having the same width, and an inspector observes the wedge chart a as an object image from the upper end to the lower end. More specifically, the resolution situation of this black-and-white line was examined, the limit line (row) at which the situation of correct resolution continued was detected, and the resolution indicated by the detected line was added to the left side. Read by scale.

【0005】そして、従来では、この解像度の目視測定
によって、例えば製造時や修理時等における、光学系や
自動合焦系を含めた性能が試験されている。
Conventionally, the performance including the optical system and the automatic focusing system has been tested by visual measurement of the resolution, for example, at the time of manufacturing or repair.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、被検カ
メラで撮像した画像の解像度を目視で測定したのでは、
個人差や状況による誤差が極めて大きいといった問題が
あった。例えば、くさびチャートを観察する際の読み取
り(判定)誤差は勿論のこと、場合によってはそれ以前
に、画枠基準線に基づいてチャートを撮影する時点でカ
メラの撮影画枠に対してチャートを正確に合わせること
が困難であるため、既に誤差を発生させてしまってい
た。
However, if the resolution of the image taken by the camera to be inspected is visually measured,
There was a problem that the difference between individuals and the situation was extremely large. For example, not only the reading (judgment) error when observing a wedge chart, but in some cases before that, the chart is accurately compared with the image frame of the camera when the chart is imaged based on the image frame reference line. Since it is difficult to adjust to, an error has already occurred.

【0007】このような測定誤差の問題はそれ自体極め
て重要であるが、さらに従来の測定法は、これとは別の
本質的な問題点も有していた。即ち、検査担当者が目視
するためには、CRTやLCDなどのディスプレイ或い
はプリンタによる印刷出力など何らかの画像出力機器
(出力デバイス)による出力を行うことが必須である
が、このとき出力される画像は出力機器の種類や性能に
依存して影響を受けるという点である。
Although the problem of such a measurement error is extremely important in itself, the conventional measurement method also has another essential problem. That is, in order for the inspector to visually check, it is indispensable to perform output by an image output device (output device) such as a display such as a CRT or LCD or print output by a printer. It is affected by the type and performance of the output device.

【0008】例えば、解像限界の低い出力機器を用いれ
ば、測定される解像度数値は少なくとも出力機器の限界
値以上にはなり得ないことは自明であるが、一般に出力
機器の周波数特性は理想では有り得ないから、厳密には
どのような性能の良い(と信ずる)出力機器を用いたと
しても、その時測定される解像度は測定に使用した出力
機器の特性に依存した(デバイスディペンデントな)も
のであることに変りは無く、撮像装置が記録した画像デ
ータ自身によって規定される、その撮像装置のみの(=
出力機器の特性に依存しない:デバイスインディペンデ
ントな)限界能力を測定することはできなかったのであ
る。
For example, if an output device with a low resolution limit is used, it is obvious that the measured resolution value cannot exceed at least the limit value of the output device, but generally the frequency characteristic of the output device is not ideal. Strictly speaking, no matter what kind of good performance output device (believed to be) is used, the resolution measured at that time depends on the characteristics of the output device used for measurement (device dependent). However, there is no change, and only the image pickup device specified by the image data itself recorded by the image pickup device (=
It was not possible to measure marginal capabilities, which were independent of the characteristics of the output device: device-independent).

【0009】このような問題の解決に向けての試みとし
て、画像出力機器を使用することなく記録画像データを
直接解析する方法も提案されている。それは、(a)マ
ルチバーストチャートやCZP(サーキュラーゾーンプ
レート)チャートなどの、いわゆる周波数数スイープ画
像を撮影した画像データや、(b)白黒のステップ画像
(ナイフエッジとも称される)を撮影した画像データの
フーリエ変換データを用いて、その撮影画像の空間周波
数レスポンス(振幅−周波数特性)を求め、その振幅が
判定基準とする所定値(例えば直流振幅の5%とか10
%)に減衰した周波数を限界解像度とする方法であっ
て、(a)の場合にAR法、(b)の場合にSFR法な
どと称されている。
As an attempt to solve such a problem, a method of directly analyzing recorded image data without using an image output device has been proposed. These are (a) image data of a so-called frequency sweep image such as a multi-burst chart or CZP (circular zone plate) chart, and (b) an image of a black and white step image (also called a knife edge). The Fourier transform data of the data is used to obtain the spatial frequency response (amplitude-frequency characteristic) of the captured image, and the amplitude is a predetermined value (for example, 5% of DC amplitude or 10
%) Is used as the limit resolution, which is called the AR method in the case of (a) and the SFR method in the case of (b).

【0010】これらは確かにデバイスインディペンドな
測定ではあるが、振幅特性に着目しているため限界解像
度付近に多く生じる折り返し歪(モアレ)による偽解像
の影響を強く受け、本来目視的には全く解像していない
数値を解像しているという結果を出すこともしばしば
で、従来のくさび目視法による評価結果との相関が事実
上取れないという重大な欠点を有していた。
Although these are certainly device-independent measurements, since they focus on amplitude characteristics, they are strongly affected by false resolution due to aliasing distortion (moiré) that often occurs near the limit resolution, and they are essentially visually observed. It often gives a result that a numerical value that is not resolved at all is resolved, and it has a serious drawback that it cannot be effectively correlated with the evaluation result by the conventional wedge visual method.

【0011】また、解像度測定についてはさておき、電
子カメラで縦横位置混在撮影した場合、ユーザがディス
プレイ上で撮影画像を見やすくするために、被写体に合
わせて縦横混在データに変換している場合がある。この
ような縦横混在データをプリンタで印刷する場合、縦長
又は横長の画像データに応じて印刷用紙に向きを揃える
必要があり、その操作が面倒であるという問題があっ
た。
Further, apart from the resolution measurement, in the case where the electronic camera performs mixed vertical / horizontal position mixed shooting, the user may convert the mixed vertical / horizontal data according to the subject in order to make it easier to see the shot image on the display. When printing such vertical / horizontal mixed data with a printer, it is necessary to align the orientations on the printing paper depending on the vertically or horizontally long image data, which is a troublesome operation.

【0012】この発明は、このような事情を考慮してな
されたものであり、例えば電子カメラなどで撮像された
画像の解像度を従来のくさび目視法との相関を維持しつ
つも出力デバイスや測定者に依存することなく、従って
また再現性高く、自動的に測定することを可能とした解
像度測定装置及び解像度測定方法を提供することを目的
とする。
The present invention has been made in consideration of such circumstances, and for example, the resolution of an image picked up by an electronic camera or the like is maintained while maintaining the correlation with the conventional wedge visual method, and an output device or measurement is performed. It is an object of the present invention to provide a resolution measuring device and a resolution measuring method that can perform automatic measurement without depending on a person and therefore with high reproducibility.

【0013】さらに本発明は、例えば電子カメラで縦横
位置混在撮影した場合で、被写体に合わせて縦横混在デ
ータとなっている時に、印刷用紙に自動的に向きを揃え
ることのできる画像処理装置及び画像処理方法を提供す
ることを目的とする。
Further, the present invention is an image processing apparatus and an image capable of automatically aligning the orientation on a printing paper when mixed vertical / horizontal positions are photographed by an electronic camera and when the vertical / horizontal mixed data is matched to the subject. It is intended to provide a processing method.

【0014】[0014]

【課題を解決するための手段】(構成)上記課題を解決
するために本発明は、次のような構成を採用している。
(Structure) In order to solve the above problems, the present invention adopts the following structure.

【0015】即ち本発明は、画像の解像度を自動的に測
定するための解像度測定装置において、解像度を目視測
定するために用いられるくさびチャートが撮像された画
像の中から前記くさびチャートを含む矩形領域画像を切
り出す画像切り出し手段と、前記画像切り出し手段によ
り切り出された矩形領域画像の縦横の比率に基づいて該
画像に所定の回転処理を施す画像回転制御手段と、前記
画像回転制御手段により回転制御された矩形領域画像を
解析して前記くさびチャートの解像限界行位置を判定
し、その判定した行位置から限界解像度を算出する解像
度算出手段と、を具備してなることを特徴とする。
That is, according to the present invention, in a resolution measuring device for automatically measuring the resolution of an image, a wedge chart used for visually measuring the resolution is a rectangular area including the wedge chart from the imaged image. Image cropping means for cropping an image, image rotation control means for performing a predetermined rotation process on the image based on the aspect ratio of the rectangular area image cropped by the image cropping means, and rotation control by the image rotation control means. A rectangular area image is analyzed to determine a resolution limit row position of the wedge chart, and a resolution calculation unit that calculates a limit resolution from the determined row position is provided.

【0016】また本発明は、画像の解像度を自動的に測
定するための解像度測定方法において、解像度を目視測
定するために用いられるくさびチャートが撮像された画
像の中から前記くさびチャートを含む矩形領域を切り出
し、この矩形領域の縦横の比率に基づいて前記矩形画像
に所定の回転処理を施した後にこの矩形画像を解析して
前記くさびチャートの解像限界行位置を判定し、その判
定した行位置から限界解像度を算出することを特徴とす
る。
Further, according to the present invention, in a resolution measuring method for automatically measuring the resolution of an image, a wedge chart used for visually measuring the resolution is a rectangular area including the wedge chart in an imaged image. The rectangular image is subjected to a predetermined rotation process based on the vertical and horizontal ratios of the rectangular area, and then the rectangular image is analyzed to determine the resolution limit row position of the wedge chart, and the determined row position is determined. It is characterized in that the limit resolution is calculated from

【0017】ここで、本発明の望ましい実施態様として
は次のものが挙げられる。
The following are preferred embodiments of the present invention.

【0018】(1) 回転制御手段は、矩形領域画像の縦横
の長短関係が常に一定となるように、矩形領域画像に対
して90度回転又は非回転の処理を施すものであるこ
と。
(1) The rotation control means performs a 90-degree rotation or non-rotation process on the rectangular area image so that the vertical / horizontal length relationship of the rectangular area image is always constant.

【0019】(2) 回転制御手段は、矩形領域画像を90
度回転させる場合に、矩形領域画像の画像パターンに基
づいて左回転又は右回転を選択するものであること。
(2) The rotation control means converts the rectangular area image into 90
When rotating once, the left rotation or right rotation should be selected based on the image pattern of the rectangular area image.

【0020】また本発明は、画像の縦横の大小関係を揃
えるための画像処理装置において、画像データを入力す
る入力手段と、前記入力手段により入力された画像デー
タの縦横の比率、又は処理対象である矩形画像の縦横画
素数の比率に基づいて、当該画像に対して与える回転を
制御する回転制御手段と、回転制御された画像データを
出力する出力手段とを具備してなることを特徴とする。
ここで、回転制御手段は、矩形画像の縦横の長短関係が
常に一定となるように、矩形画像に対して90度回転又
は非回転の処理を施すことを特徴とする。
Further, according to the present invention, in an image processing apparatus for aligning the vertical and horizontal magnitude relations of an image, an input means for inputting image data, a vertical / horizontal ratio of the image data input by the input means, or a processing target. It is characterized by comprising rotation control means for controlling rotation given to an image based on the ratio of the number of vertical and horizontal pixels of a rectangular image, and output means for outputting rotation-controlled image data. .
Here, the rotation control means is characterized by performing a 90-degree rotation process or a non-rotation process on the rectangular image so that the vertical / horizontal length relationship of the rectangular image is always constant.

【0021】また本発明は、画像の縦横の大小関係を揃
えるための画像処理方法において、画像データを入力す
る工程と、入力された画像データの縦横の比率、又は処
理対象である矩形画像の縦横画素数の比率に基づいて、
当該画像に対して与える回転を制御する工程と、回転制
御された画像データを出力する工程とを含むことを特徴
とする。
The present invention also provides an image processing method for aligning the vertical and horizontal size relationships of an image, the step of inputting image data, the aspect ratio of the input image data, or the vertical and horizontal directions of a rectangular image to be processed. Based on the ratio of the number of pixels,
The method is characterized by including a step of controlling rotation applied to the image and a step of outputting rotation-controlled image data.

【0022】(作用)本発明によれば、解像度を目視観
測するために用いられる、いわゆるくさびチャートを構
成する線分の連続性に着目し、例えばくさびチャートの
位相が保たれる限界の位置を検出することにより、その
くさびチャートの解像限界行位置を判定して、その判定
した行位置から限界解像度を算出する。これにより、個
人差や状況に左右されることのない、再現性が高く、か
つ原理的に優れた解像度測定を実現する。
(Operation) According to the present invention, attention is paid to the continuity of the line segments forming a so-called wedge chart, which is used for visually observing the resolution, and for example, the limit position where the phase of the wedge chart is maintained is determined. By detecting, the resolution limit row position of the wedge chart is determined, and the limit resolution is calculated from the determined row position. As a result, resolution measurement with high reproducibility and theoretically excellent, which is not affected by individual differences or circumstances, is realized.

【0023】ここで、水平解像度用のくさびチャートを
用いて水平解像度を測定するように本発明の装置を構成
した場合、垂直解像度を測定するには、垂直解像度用の
くさびチャートを含む画像を90度回転させる必要があ
り、使い勝手が悪いものとなる。これに対し本発明のよ
うに、画像切り出し手段により切り出された矩形領域画
像の縦横の比率に基づいて該画像に所定の回転処理を施
すことにより、水平方向及び垂直方向の何れのくさびチ
ャートであっても解像度の測定が可能となる。従って、
ユーザに対して回転操作を要求することもなく、使い勝
手の向上をはかることが可能となる。
Here, when the apparatus of the present invention is configured to measure the horizontal resolution by using the wedge chart for horizontal resolution, in order to measure the vertical resolution, 90 images including the wedge chart for vertical resolution are used. It has to be rotated once, which makes it inconvenient. On the other hand, as in the present invention, by performing a predetermined rotation process on the rectangular area image cut out by the image cutting means based on the aspect ratio of the rectangular area image, a wedge chart in either the horizontal direction or the vertical direction can be obtained. However, the resolution can be measured. Therefore,
It is possible to improve usability without requiring the user to perform a rotating operation.

【0024】[0024]

【発明の実施の形態】以下、本発明の詳細を図示の実施
形態によって説明する。
DETAILED DESCRIPTION OF THE INVENTION The details of the present invention will be described below with reference to the illustrated embodiments.

【0025】(第1の実施形態)図1は、本発明の第1
の実施形態に係わる解像度測定システムの被検カメラと
なる電子カメラの構成を示すブロック図である。
(First Embodiment) FIG. 1 shows a first embodiment of the present invention.
3 is a block diagram showing a configuration of an electronic camera which is a camera to be inspected of the resolution measuring system according to the exemplary embodiment. FIG.

【0026】図中、101は各種レンズからなる撮像レ
ンズ系、102はレンズ系101を駆動するためのレン
ズ駆動機構、103はレンズ系101の絞り及びシャッ
タ装置を制御するための露出制御機構、104はローパ
ス及び赤外カット用のフィルタ、105は被写体像を光
電変換するためのCCDカラー撮像素子、106は撮像
素子105を駆動するためのCCDドライバ、107は
A/D変換器等を含むプリプロセス回路、108はγ変
換などを初めとする各種のディジタル演算処理を行うた
めのディジタルプロセス回路、109はカードインター
フェース、110はメモリカード、111はLCD画像
表示系を示している。
In the figure, 101 is an image pickup lens system including various lenses, 102 is a lens drive mechanism for driving the lens system 101, 103 is an exposure control mechanism for controlling the diaphragm and shutter device of the lens system 101, and 104. Is a filter for low-pass and infrared cut, 105 is a CCD color image pickup device for photoelectrically converting a subject image, 106 is a CCD driver for driving the image pickup device 105, 107 is a pre-process including an A / D converter, etc. Reference numeral 108 is a circuit, 108 is a digital process circuit for performing various digital arithmetic processing including γ conversion, 109 is a card interface, 110 is a memory card, and 111 is an LCD image display system.

【0027】また、図中の112は各部を統括的に制御
するためのシステムコントローラ、113は各種SWか
らなる操作スイッチ系、114は操作状態及びモード状
態等を表示するための操作表示系、115は発光手段と
してのストロボ、116はレンズ駆動機構102を制御
するためのレンズドライバ、117は露出制御機構10
3及びストロボ115を制御するための露出制御ドライ
バ、118は各種設定情報等を記憶するための不揮発性
メモリ(EEPROM)を示している。
Further, in the figure, 112 is a system controller for integrally controlling each part, 113 is an operation switch system including various SWs, 114 is an operation display system for displaying an operation state and a mode state, 115 Is a strobe as a light emitting means, 116 is a lens driver for controlling the lens drive mechanism 102, and 117 is an exposure control mechanism 10.
3, an exposure control driver for controlling the flash unit 115 and the flash unit 115, and a non-volatile memory (EEPROM) 118 for storing various setting information.

【0028】一方、図2は、本実施形態に係わる解像度
測定システムが動作するパーソナルコンピュータの構成
を示すブロック図である。
On the other hand, FIG. 2 is a block diagram showing the configuration of a personal computer on which the resolution measuring system according to this embodiment operates.

【0029】図中、201は各部を統括的に制御するた
めのCPU、202はこのコンピュータの主記憶となる
システムメモリ、203はこのコンピュータの外部記憶
となる磁気ディスク装置、204はこのコンピュータに
おけるユーザインタフェースのアウトプットを司るディ
スプレイコントローラ、205はこのコンピュータにお
けるユーザインタフェースのインプットを司るキーボー
ドコントローラ、206はカードインタフェース、20
7はメモリカードを示している。また、ディスプレイコ
ントローラ204は、CPU201が作成した表示デー
タをCRT204a,LCD204bに表示制御し、キ
ーボードコントローラ205は、キーボード205a,
マウス205bの操作をCPU201に伝達する。そし
て、この解像度測定システムは、磁気ディスク装置20
3からシステムメモリ202にロードされてCPU20
1によって実行されるプログラムとして構成される。
In the figure, 201 is a CPU for centrally controlling each part, 202 is a system memory which is a main memory of this computer, 203 is a magnetic disk device which is an external memory of this computer, and 204 is a user of this computer. A display controller which controls the output of the interface, 205 a keyboard controller which controls the input of the user interface in this computer, 206 a card interface, 20
Reference numeral 7 indicates a memory card. The display controller 204 controls the display data created by the CPU 201 on the CRT 204a and the LCD 204b, and the keyboard controller 205 controls the keyboard 205a and the keyboard 205a.
The operation of the mouse 205b is transmitted to the CPU 201. The resolution measuring system is used in the magnetic disk device 20.
3 is loaded into the system memory 202 from the CPU 20
It is configured as a program executed by 1.

【0030】次に、この解像度測定システムが実行する
解像度の自動測定の基本原理について説明する。
Next, the basic principle of automatic resolution measurement performed by this resolution measuring system will be described.

【0031】検査担当者は、まず、被検カメラである電
子カメラを用いて、例えば図3に示すチャートを撮影す
る。この撮影されたチャートの画像は、メモリカード1
10に格納されるが、検査担当者は、このメモリカード
110を電子カメラから取り外してメモリカード207
としてパーソナルコンピュータに装着し直すことによ
り、このチャート画像をパーソナルコンピュータへ取り
込ませる。なお、この電子カメラからパーソナルコンピ
ュータへの画像の引き渡しは、必ずしもメモリカードを
介在させるものではなく、例えばデータを送受信するた
めの通信機能を双方が備えれば、その通信機能によって
行えばよい。
The inspector first uses the electronic camera, which is the camera to be inspected, to photograph the chart shown in FIG. 3, for example. The image of the photographed chart is the memory card 1
The inspection person removes the memory card 110 from the electronic camera and stores it in the memory card 207.
By reattaching the chart image to the personal computer, the chart image can be taken into the personal computer. It should be noted that the transfer of the image from the electronic camera to the personal computer does not necessarily involve the interposition of a memory card, and may be performed by the communication function if both have a communication function for transmitting and receiving data.

【0032】この図3に示すチャートは、ISO122
33Resolutionチャートであり、解像度の目
視測定に用いられる代表的なチャートである。そして、
この解像度測定システムでは、このチャート画像からく
さびチャートを含む矩形領域a(a1,a2)を切り出
す。この矩形領域の切り出しは、検査担当者が、CRT
204a又はLCD204bに表示されたチャート画像
上の所望の位置にマウス205bで始点及び終点を指定
することにより実行する。解像度測定システムは、この
指定された始点及び終点それぞれについて、その点を通
過する水平線及び垂直線を仮想的に描画し、この仮想的
に描画した各線で囲まれた部分を矩形領域として切り出
しを実行する。図4は、このようにして切り出された矩
形画像の一例を示す図である。
The chart shown in FIG.
33Resolution chart, which is a typical chart used for visual measurement of resolution. And
In this resolution measuring system, a rectangular area a (a1, a2) including a wedge chart is cut out from this chart image. The inspection person cuts out this rectangular area by the CRT.
It is executed by designating a start point and an end point with the mouse 205b at desired positions on the chart image displayed on the 204a or the LCD 204b. The resolution measurement system virtually draws a horizontal line and a vertical line that pass through the specified start point and end point, respectively, and cuts out a portion surrounded by the virtually drawn lines as a rectangular area. To do. FIG. 4 is a diagram showing an example of the rectangular image cut out in this way.

【0033】図4に示すように、このくさびチャート
は、横(水平)方向には、同じ幅の白黒帯が黒5本、白
4本が並んでいる。従って、ある水平位置(ライン)の
みの輝度レベルに着目すれば、所定の空間周波数の矩形
波となっている。つまり、上下(垂直)方向について
は、その矩形波の周波数が上から下に連続的に増加して
いる周波数スイープ画像とみなすことができる。
As shown in FIG. 4, in this wedge chart, 5 black and 4 black white bands having the same width are arranged in the horizontal direction. Therefore, if attention is paid to the brightness level only at a certain horizontal position (line), a rectangular wave having a predetermined spatial frequency is obtained. That is, in the vertical (vertical) direction, it can be regarded as a frequency sweep image in which the frequency of the rectangular wave continuously increases from top to bottom.

【0034】ここで補足すれば、ISO12233チャ
ートと同様に代表的な解像度測定チャートであるEIA
J−Aチャートは、くさびの帯が直線的に描かれている
ため周波数スイープとしては双曲線関数状になってお
り、リニアスイープではない。ISO12233チャー
トは、リニアスイープを実現するために図4のようにく
さびの帯が双曲線状に曲がっている点で両者は異なって
いるが、いずれも本発明に対して適用可能な「くさび」
である。
Supplementally, EIA which is a typical resolution measurement chart similar to the ISO12233 chart.
The JA chart has a hyperbolic function as a frequency sweep because the wedge band is drawn linearly, and is not a linear sweep. The ISO 12233 chart differs from the ISO 12233 chart in that the wedge band bends in a hyperbolic shape as shown in FIG. 4 in order to realize a linear sweep, but both are “wedges” applicable to the present invention.
Is.

【0035】なお、従来目視による判定(官能評価)の
ために用いられる関係で、図4のように対応する周波数
を表すスケールが添え書きされるのが通例であるが、本
発明では目視によらないデータ解析による自動計測を行
うため、このスケール部分は使用しない。
It should be noted that it is customary to add a scale representing the corresponding frequency as shown in FIG. 4 because of the relationship conventionally used for visual judgment (sensory evaluation), but the present invention does not rely on visual inspection. This scale is not used because automatic measurement is performed by data analysis.

【0036】ここで、単に「くさびの方向」といった場
合は、くさびの周波数スイープに対応する方向(図4で
は上下(垂直)方向)を指すものとする。「くさびの長
さ」はくさびの存在範囲の、このくさびの方向への長さ
を指すものとする。
Here, the term "wedge direction" simply refers to the direction corresponding to the frequency sweep of the wedge (up and down (vertical) direction in FIG. 4). "Wedge length" shall mean the length of the wedge's range of presence in the direction of this wedge.

【0037】本実施形態では、被検カメラにて撮影され
たくさび画像のデータを解析することで限界解像度を算
出するが、その際に撮像記録される解析対象画像の画素
配列は一般的な直交配列(水平,垂直)であることを前
提としており、図4と同じ方向(くさび方向が垂直、周
波数スイープは上から下)になるように撮像する。即
ち、水平方向を主走査方向として前述の矩形波の検出
(線数の検出)を行いつつ、垂直方向を副走査方向とし
て周波数スイープを行うことにより、解像限界の空間周
波数を求める。
In the present embodiment, the limit resolution is calculated by analyzing the data of the wedge image taken by the camera to be inspected, but the pixel array of the image to be analyzed captured and recorded at that time is generally orthogonal. It is premised that they are arranged (horizontal, vertical), and images are taken in the same direction as in FIG. 4 (the wedge direction is vertical, and the frequency sweep is from top to bottom). That is, the spatial frequency at the resolution limit is obtained by performing the frequency sweep with the vertical direction as the sub-scanning direction while performing the above-described rectangular wave detection (detection of the number of lines) with the horizontal direction as the main scanning direction.

【0038】なお、以下本実施形態では、記録された解
析対象画像をモノクロ画像であると仮定して説明する
が、これがカラー画像である場合も、そのカラー信号か
ら所定のマトリクス演算によって輝度値を算出して用い
れば良い。
In the following description of the present embodiment, the recorded image to be analyzed is assumed to be a monochrome image. However, even if this is a color image, the luminance value is calculated from the color signal by a predetermined matrix operation. It may be calculated and used.

【0039】以下、図5乃至図11に示すフローチャー
トを参照しながらその具体的な手順を説明する。図5及
び図6は、この解像度測定システムにおける解像度測定
のメインフローである。
The specific procedure will be described below with reference to the flow charts shown in FIGS. 5 and 6 are main flows of resolution measurement in this resolution measurement system.

【0040】前述のとおり、解析対象であるチャート画
像の画素配列は、一般的な直交配列(水平,垂直)であ
ること、チャート画像は、くさびチャートのくさび方向
(くさびの周波数スイープに対応する方向)が垂直、周
波数スイープが上から下になるように撮像されることを
前提とする。また、ここでは、水平方向座標iは右向き
を正、垂直方向座標jは下向きを正にとるものとし、チ
ャート画像(記録された解析対象画像全体)の垂直画素
数をPHt、このチャート画像から切り出された矩形画
像の水平、垂直画素数をそれぞれLx+1、Ly+1と
定義する。但し、+1は座標として0を用いる都合上の
ものである。
As described above, the pixel array of the chart image to be analyzed is a general orthogonal array (horizontal and vertical), and the chart image is in the wedge direction of the wedge chart (the direction corresponding to the frequency sweep of the wedge). ) Is taken vertically, and the frequency sweep is assumed to be imaged from top to bottom. In addition, here, the horizontal coordinate i is positive in the right direction and the vertical coordinate j is positive in the downward direction, and the number of vertical pixels of the chart image (entire recorded analysis target image) is PHt, which is cut out from this chart image. The numbers of horizontal and vertical pixels of the rectangular image are defined as Lx + 1 and Ly + 1, respectively. However, +1 is for convenience of using 0 as a coordinate.

【0041】また、被検カメラを用いて前記図3のよう
なチャートを撮像する際の倍率は、チャート作成者が本
来の目視測定を意図して設けた画枠基準線に拘わらず、
任意倍率でよい。さらに、記録された画像(撮影画像)
から、前記図4のような所定の矩形領域を測定用画像と
して切り出すに際しては、くさびに添えられたスケール
画像のうち最上端のもの(黒線)は含まないように為さ
れているものとする。
Further, the magnification at the time of capturing an image of the chart as shown in FIG. 3 by using the camera to be inspected is irrespective of the image frame reference line provided for the purpose of the original visual measurement by the chart creator.
Any magnification may be used. Furthermore, the recorded image (captured image)
Therefore, when cutting out a predetermined rectangular area as shown in FIG. 4 as a measurement image, it is assumed that the topmost one (black line) of the scale images attached to the wedge is not included. .

【0042】まず、前述のように切り出された矩形画像
の画像データY(i,j)を読み込むと共に(図5ステ
ップA1)、くさびタイプ(黒線の本数WCT:本チャ
ートの場合5または9)及び全画像高PHtを読み込む
(ステップA2)。このくさびタイプ(本数WCT)及
び全画像高PHtは、例えば検査担当者が予めキーボー
ド205aから入力した値であって良い。
First, the image data Y (i, j) of the rectangular image cut out as described above is read (step A1 in FIG. 5), and the wedge type (the number of black lines WCT: 5 or 9 in the case of this chart). And the total image height PHt are read (step A2). The wedge type (the number of WCTs) and the total image height PHt may be values preliminarily input by the inspector from the keyboard 205a.

【0043】ここで、くさびチャートには、水平解像度
測定用のくさびチャートa1と垂直解像度測定用のくさ
びチャートa2があるが、本実施形態では水平解像度測
定用のくさびチャートa1はそのまま処理し、垂直解像
度用測定用のくさびチャートa2は90度回転する。こ
れにより、水平及び垂直の何れのチャートにおいても、
同様の処理で解像度の測定を可能にしている。
Here, the wedge chart includes a wedge chart a1 for horizontal resolution measurement and a wedge chart a2 for vertical resolution measurement, but in the present embodiment, the wedge chart a1 for horizontal resolution measurement is processed as it is and vertically. The resolution measuring wedge chart a2 rotates 90 degrees. As a result, in both horizontal and vertical charts,
The same process enables resolution measurement.

【0044】具体的には図7に示すように、まず矩形画
像の水平画素数Lxと垂直画素数Lyとを比較する(ス
テップS501)。Lx≦Ly、即ち切り出した矩形が
縦長(縦/横≧1)であれば、水平解像度測定用くさび
チャートa1であるから、回転処理を施すことなく、後
述する処理に移る。Lx>Ly、即ち切り出した矩形が
横長(縦/横<1)であれば、垂直解像度測定用くさび
チャートa2であるから90度の回転処理を施す。
Specifically, as shown in FIG. 7, first, the horizontal pixel number Lx and the vertical pixel number Ly of the rectangular image are compared (step S501). If Lx ≦ Ly, that is, if the cut out rectangle is vertically long (vertical / horizontal ≧ 1), it is the wedge chart a1 for horizontal resolution measurement, and therefore the process described below is performed without performing the rotation process. If Lx> Ly, that is, if the cut out rectangle is horizontally long (vertical / horizontal <1), it is a wedge chart a2 for measuring vertical resolution, and therefore a rotation process of 90 degrees is performed.

【0045】このとき、左90度回転させるか右90度
回転させるかを決めるために、回転に先立ち、矩形領域
の左半部(L)と右半部(R)のデータ平均値LAv,
RAvを算出する(ステップS502)。そして、これ
らの左半領域データ平均値LAvと右半領域データ平均
値RAvとを比較する(ステップS503)。LAv≦
RAvであれば、左側に黒が多いから右90度回転の処
理を施し(ステップS504)、LAv>RAvであれ
ば、右側に黒が多いから左90度回転(右270度回
転)の処理を施す(ステップS505)。そして、画像
を回転させた場合はパラメータ回転によって縦横の画素
数が入れ替わることに対応して、Lx,Lyの の値を
入れ替える再設定を行った後(ステップS506)、以
降の処理に移る。
At this time, in order to determine whether to rotate left 90 degrees or right 90 degrees, the data average value LAv of the left half (L) and right half (R) of the rectangular area is determined prior to the rotation.
RAv is calculated (step S502). Then, the left half area data average value LAv and the right half area data average value RAv are compared (step S503). LAv ≦
If it is RAv, the left side has a lot of black, and therefore the process of rotating the right 90 degrees is performed (step S504). If LAv> RAv, the right side has a lot of black, the process of rotating the left 90 degrees (the right 270 degree rotation). Apply (step S505). Then, when the image is rotated, the number of pixels in the vertical and horizontal directions is exchanged by the parameter rotation, so that the values of Lx and Ly are exchanged and resetting is performed (step S506), and then the subsequent processing is performed.

【0046】なお、上記回転方向(左右)の選択に関し
ては、上記例以外の変形例として、例えば使用するチャ
ートの仕様に従って、くさびタイプ(黒線数)の指定が
5本場合に右回転、9本の場合は左回転を自動的に選択
するように構成しても良い。
Regarding the selection of the rotation direction (left and right), as a modified example other than the above example, for example, according to the specifications of the chart to be used, when the wedge type (the number of black lines) is designated to be 5, the clockwise rotation is performed. In the case of a book, counterclockwise rotation may be automatically selected.

【0047】次に、背景白レベルBWLと背景ノイズレ
ベルNLとを取得する(図5ステップA3〜ステップA
4)。この背景白レベルBWLは、矩形画像の上端行の
全平均により求め、一方、背景ノイズレベルNLは、矩
形画像の上端行の最小3値の偏差平均(最小3値につい
て、当該画素値と全平均値(=NL)との差(=「偏
差」)を平均したもの)から求める。
Next, the background white level BWL and the background noise level NL are acquired (step A3 to step A in FIG. 5).
4). The background white level BWL is obtained by the overall average of the upper end row of the rectangular image, while the background noise level NL is the average deviation of the minimum three values of the upper end row of the rectangular image (for the minimum three values, the pixel value and the overall average). It is calculated from the difference (= “deviation”) from the value (= NL).

【0048】そして、これらのデータが揃ったら、くさ
びチャートの開始ラインWSLの検出処理を実行する
(ステップA5)。図8は、このくさび開始ライン(W
SL)検出の詳細フローである。
Then, when these data are gathered, the detection processing of the start line WSL of the wedge chart is executed (step A5). Figure 8 shows this wedge start line (W
It is a detailed flow of (SL) detection.

【0049】この処理では、まず、閾値ETH0を先に
求めた背景ノイズレベルの5倍にセットする(図8ステ
ップB1)。そして、上端から順に下端まで、つまり垂
直方向座標jを1つずつ加算しながら(ステップB
2)、この垂直方向座標jが最大値に達するまで(ステ
ップB3のY)、最小3値の偏差平均で求める黒側半振
幅が閾値ETH0を越える最初のラインの検出を実行す
る(ステップB4)。
In this process, first, the threshold value ETH0 is set to 5 times the previously obtained background noise level (step B1 in FIG. 8). Then, from the upper end to the lower end, that is, while adding the vertical coordinate j one by one (step B
2) Until the vertical coordinate j reaches the maximum value (Y in step B3), the detection of the first line in which the black-side half amplitude obtained by the average deviation of the minimum three values exceeds the threshold value ETH0 is executed (step B4). .

【0050】もし、該当するラインが検出されないま
ま、垂直方向座標jが最大値に達した場合には(ステッ
プB3のY)、“くさび検出不能”のメッセージを記録
し(ステップB5)、この処理を終了する。一方、検出
された場合には(ステップB4のY)、その垂直方向座
標jをくさび開始ライン(WSL)にセットして(ステ
ップB6)、この処理を終了する。
If the vertical coordinate j reaches the maximum value without detecting the corresponding line (Y in step B3), a message "wedge cannot be detected" is recorded (step B5), and this processing is performed. To finish. On the other hand, when it is detected (Y in step B4), the vertical direction coordinate j is set to the wedge start line (WSL) (step B6), and this processing is ended.

【0051】このくさび開始ライン検出が終了すると、
このくさび開始ラインWSLに予め定められたオフセッ
ト値(例えば3)を加えたものを読み取り判定開始行D
tStとして設定する(図5ステップA6)。また、く
さびチャートの両端用の閾値ETH2と中央用の閾値E
TH1の初期設定を行う(ステップA7〜ステップA
8)。両端用の閾値ETH2は、開始行DtStの(最
小3値の偏差平均で求める)黒側半振幅の1/4に設定
し、中央用の閾値ETH1にも、この閾値ETH2と同
じ値をセットする。
When the wedge start line detection is completed,
A read determination start line D is obtained by adding a predetermined offset value (for example, 3) to the wedge start line WSL.
It is set as tSt (step A6 in FIG. 5). In addition, the threshold value ETH2 for both ends of the wedge chart and the threshold value E for the center
Initialize TH1 (steps A7 to A)
8). The threshold value ETH2 for both ends is set to 1/4 of the black half amplitude of the start row DtSt (obtained by the average deviation of the minimum three values), and the center threshold value ETH1 is also set to the same value as this threshold value ETH2. .

【0052】そして、各種パラメータの初期化を行った
後(ステップA9)、この解像度測定で主走査方向とす
る水平方向における黒線検出を実行する(図6ステップ
A10)。図9乃至図11は、この黒線検出の詳細フロ
ーである。
After initializing various parameters (step A9), black line detection in the horizontal direction, which is the main scanning direction in this resolution measurement, is executed (step A10 in FIG. 6). 9 to 11 are detailed flows of the black line detection.

【0053】この処理では、図9ステップC1にて、第
j行の黒線数BCTを0にセットした後、まず、ステッ
プC2〜ステップC18にて、最終(右端)黒線の検出
を行い、次いで、図10ステップC19〜ステップC3
6にて、1st(左端)黒線の検出を行う。そして、こ
の最終(右端)黒線と1st(左端)黒線とを検出した
後に、図11ステップC37〜ステップC53にて、こ
の2つの黒線に挟まれた一般黒線の検出を行う。
In this process, the number BCT of black lines in the j-th row is set to 0 in step C1 of FIG. 9, and then the final (rightmost) black line is detected in steps C2 to C18. Then, step C19 to step C3 in FIG.
At 6, the 1st (leftmost) black line is detected. After detecting the final (right end) black line and the 1st (left end) black line, the general black line sandwiched between the two black lines is detected in steps C37 to C53 in FIG.

【0054】最終(右端)黒線検出では、くさび右端
(減少)検出用及び黒線(増加)検出用の基準値の設定
や走査の開始位置を右端側に設定する等の初期化を行っ
た後(図9ステップC2〜ステップC3)、くさび右端
検出のための減少判定(ステップC4)及び黒線検出の
ための増加判定(ステップC5)を実行する。もし、く
さび右端及び黒線のいずれも検出されなければ(ステッ
プC4のN,ステップC5のN)、増減検出用の基準値
である局所最小値LMn又は局所最大値LMxのいずれ
かの更新を行い(ステップC6〜ステップC9)、その
画素における画素値の(有意な)増減を示すフラグZの
値(増加:1,減少:0)を右隣の画素のフラグの値に
セット(即ち増減状況を維持)して(ステップC1
0)、走査位置を1画素だけ左にずらした後(ステップ
C12)、ステップC4からの処理を繰り返す。なお、
ステップC2の初期化にて、右端の画素のフラグが増加
(1)にセットされるため、くさび右端が検出されるま
では、このフラグの値は増加(1)が継続することにな
る。
In the final (right end) black line detection, initialization such as setting reference values for wedge right end (decrease) detection and black line (increase) detection and setting the scanning start position on the right end side was performed. After that (step C2 to step C3 in FIG. 9), a decrease determination for detecting the wedge right end (step C4) and an increase determination for detecting the black line (step C5) are performed. If neither the right edge of the wedge nor the black line is detected (N in step C4, N in step C5), either the local minimum value LMn or the local maximum value LMx, which is the reference value for increase / decrease detection, is updated. (Steps C6 to C9), the value of the flag Z indicating the (significant) increase / decrease of the pixel value in that pixel (increase: 1, decrease: 0) is set to the value of the flag of the pixel on the right side (that is, the increase / decrease state is set). Maintain) (Step C1
0), after shifting the scanning position by one pixel to the left (step C12), the processing from step C4 is repeated. In addition,
At the initialization of step C2, the flag of the rightmost pixel is set to increase (1), so the value of this flag continues to increase (1) until the wedge right end is detected.

【0055】また、くさび右端が検出されると(ステッ
プC4のY)、増減検出用の基準値である局所最小値L
Mn及び局所最大値LMxを再設定するとともに、増減
フラグZの値を減少(0)にセットする(ステップC1
4)。そして、1画素下の次ラインでの解析の効率化を
図るために、走査開始位置の最適化を実行した後(ステ
ップC15)、走査位置を1画素だけ左にずらして(ス
テップC12)、ステップC4からの処理を繰り返す。
When the right edge of the wedge is detected (Y in step C4), the local minimum value L, which is the reference value for increasing / decreasing detection, is detected.
Mn and the local maximum value LMx are reset, and the value of the increase / decrease flag Z is set to decrease (0) (step C1).
4). Then, in order to improve the efficiency of the analysis on the next line one pixel below, the scanning start position is optimized (step C15), and then the scanning position is shifted by one pixel to the left (step C12). The processing from C4 is repeated.

【0056】一方、増加が検出されると(ステップC5
のY)、増減フラグZの値を増加(1)にセットする
(ステップC16)。このフラグのセットを行うと、フ
ラグZが減少(0)から増加(1)に変化した旨、つま
り最終(右端)黒線が検出された旨が認識されてこのル
ープを抜け(ステップC11のY)、黒線数BCTに1
をセットし、その位置BEndを登録した後(ステップ
C18)、次の1st(左端)黒線の検出に移行する。
On the other hand, when an increase is detected (step C5
Y), and the value of the increase / decrease flag Z is set to increase (1) (step C16). When this flag is set, it is recognized that the flag Z has changed from decrease (0) to increase (1), that is, the last (rightmost) black line has been detected, and this loop is exited (Y in step C11). ), 1 for black line number BCT
Is set and the position BEnd is registered (step C18), and the process moves to the detection of the next 1st (left end) black line.

【0057】なお、最終(右端)黒線が検出されないま
ま、走査位置が左端まで達してしまった場合は(ステッ
プC13のY)、“黒線無し”のメッセージを記録して
(ステップC17)、この処理を終了する。
If the scanning position reaches the left end without detecting the final (right end) black line (Y in step C13), a message "no black line" is recorded (step C17). This process ends.

【0058】1st(左端)黒線検出では、くさび左端
(減少)検出用及び黒線(増加)検出用の基準値の設定
や走査の開始位置を左端側に設定する等の初期化を行っ
た後(図10ステップC19〜ステップC20)、くさ
び左端検出のための減少判定(ステップC21)及び黒
線検出のための増加判定(ステップC22)を実行す
る。もし、くさび左端及び黒線のいずれも検出されなけ
れば(ステップC21のN,ステップC22のN)、増
減検出用の基準値である局所最小値LMn又は局所最大値
LMxのいずれかの更新を行い(ステップC23〜ステッ
プC26)、その画素の増減フラグZの値(増加:1,
減少:0)を左隣の画素のフラグの値にセット(即ち増
減状況を維持)して(ステップC27)、走査位置を1
画素だけ右にずらした後(ステップC29)、ステップ
C21からの処理を繰り返す。なお、ステップC19の
初期化にて、左端の画素のフラグが増加(1)にセット
されるため、くさび左端が検出されるまでは、このフラ
グの値は増加(1)が継続することになる。
In the 1st (left end) black line detection, initialization such as setting reference values for wedge left end (decrease) detection and black line (increase) detection and setting the scanning start position to the left end side was performed. After that (step C19 to step C20 in FIG. 10), the decrease determination for detecting the left edge of the wedge (step C21) and the increase determination for detecting the black line (step C22) are executed. If neither the wedge left end nor the black line is detected (N in step C21, N in step C22), the local minimum value LMn or the local maximum value that is the reference value for increase / decrease detection.
Any one of LMx is updated (step C23 to step C26), and the value of the increase / decrease flag Z of that pixel (increase: 1,
Decrease: 0) is set to the value of the flag of the pixel on the left side (that is, the increase / decrease state is maintained) (step C27), and the scanning position is set to 1
After shifting the pixel rightward (step C29), the processing from step C21 is repeated. Since the flag of the leftmost pixel is set to increase (1) in the initialization of step C19, the value of this flag continues to increase (1) until the wedge left end is detected. .

【0059】また、くさび左端が検出されると(ステッ
プC21のY)、増減検出用の基準値である局所最小値
LMn及び局所最大値LMxを再設定するとともに、増
減フラグZの値を減少(0)にセットする(ステップC
31)。そして、1画素下の次ラインでの解析の効率化
を図るために、走査開始位置の最適化を実行した後(ス
テップC32)、走査位置を1画素だけ右にずらして
(ステップC29)、ステップC21からの処理を繰り
返す。
When the left edge of the wedge is detected (Y in step C21), the local minimum value LMn and the local maximum value LMx, which are the reference values for increase / decrease detection, are reset and the value of the increase / decrease flag Z is decreased ( 0) (step C)
31). Then, in order to improve the efficiency of the analysis on the next line under one pixel, the scanning start position is optimized (step C32), and then the scanning position is shifted by one pixel to the right (step C29). The processing from C21 is repeated.

【0060】一方、増加が検出されると(ステップC2
2のY)、増減検出用の基準値である局所最小値LMn
及び局所最大値LMxを再設定するとともに、増減フラ
グZの値を増加(1)にセットする(ステップC3
3)。このフラグのセットを行うと、フラグZが減少
(0)から増加(1)に変化した旨、つまり1st(左
端)黒線が検出された旨が認識されてこのループを抜け
(ステップC28のY)、黒線数BCTに2をセット
し、その位置BL(1,j)を登録した後(ステップC
34)、次の一般黒線の検出に移行する。
On the other hand, when an increase is detected (step C2
2), local minimum value LMn which is a reference value for increase / decrease detection
And the local maximum value LMx are reset and the value of the increase / decrease flag Z is set to increase (1) (step C3).
3). When this flag is set, it is recognized that the flag Z has changed from decrease (0) to increase (1), that is, the 1st (left end) black line has been detected, and this loop is exited (Y in step C28). ), 2 is set to the number of black lines BCT, and the position BL (1, j) is registered (step C
34), and shifts to the detection of the next general black line.

【0061】なお、1st(左端)黒線が検出されない
まま、走査位置が右端(先に登録した最終黒線位置BE
nd)まで達してしまった場合は(ステップC30の
Y)、この最終(右端)黒線位置BEndの値を1st
(左端)黒線位置BL(1,j)に登録し(ステップC
35)、“黒線1本のみ”のメッセージを記録して(ス
テップC36)、この処理を終了する。
It should be noted that while the 1st (left end) black line is not detected, the scanning position is at the right end (final black line position BE previously registered.
nd) (Y in step C30), the value of the final (rightmost) black line position BEnd is set to 1st.
(Left edge) Register at black line position BL (1, j) (step C
35), the message "only one black line" is recorded (step C36), and this processing ends.

【0062】一般黒線検出では、1st(左端)黒線検
出時の走査を引き継いで、その右隣の画素を走査の開始
位置とし(図11ステップC37)、この1st(左
端)黒線検出の最後に再設定された局所最小値LMn及
び局所最大値LMxを用いて、減少判定(ステップC3
8)及び増加判定(ステップC39)を実行する。も
し、減少・増加のいずれも検出されなければ(ステップ
C38のN,ステップC39のN)、局所最小値LMn
又は局所最大値LMxのいずれかの更新を行い(ステッ
プC40〜ステップC43)、その画素の増減フラグZ
の値(増加:1,減少:0)を左隣の画素のフラグの値
にセットして(ステップC44)、走査位置を1画素だ
け右にずらした後(ステップC46)、ステップC38
からの処理を繰り返す。
In the general black line detection, the scanning at the time of detecting the 1st (left end) black line is succeeded, and the pixel on the right side is set as the scanning start position (step C37 in FIG. 11). The reduction determination (step C3) is performed by using the finally reset local minimum value LMn and local maximum value LMx.
8) and increase determination (step C39) are executed. If neither decrease nor increase is detected (N in step C38, N in step C39), the local minimum value LMn
Alternatively, the local maximum value LMx is updated (step C40 to step C43), and the increase / decrease flag Z of the pixel is updated.
Value (increase: 1, decrease: 0) is set to the value of the flag of the pixel next to the left (step C44), and the scanning position is shifted right by one pixel (step C46), and then step C38.
Repeat the process from.

【0063】また、減少が検出されると(ステップC3
8のY)、局所最小値LMn及び局所最大値LMxを再
設定するとともに、増減フラグZの値を減少(0)にセ
ットする(ステップC31)。そして、走査位置を1画
素だけ右にずらして(ステップC46)、ステップC3
8からの処理を繰り返す。
When a decrease is detected (step C3
8), the local minimum value LMn and the local maximum value LMx are reset, and the value of the increase / decrease flag Z is set to decrease (0) (step C31). Then, the scanning position is shifted to the right by one pixel (step C46), and step C3
The processing from 8 is repeated.

【0064】一方、増加が検出されると(ステップC3
9のY)、局所最小値LMn及び局所最大値LMxを再
設定するとともに、増減フラグZの値を増加(1)にセ
ットする(ステップC33)。このフラグのセットを行
うと、フラグZが減少(0)から増加(1)に変化した
旨、つまり一般黒線が検出された旨が認識されて一旦こ
のループを抜け(ステップC45のY)、その位置BL
(BCT,j)を登録し(ステップC50)、黒線数B
CTに1を追加した後(ステップC51)、ステップC
38からの処理を繰り返す。
On the other hand, when an increase is detected (step C3
9), the local minimum value LMn, and the local maximum value LMx are reset, and the value of the increase / decrease flag Z is set to increase (1) (step C33). When this flag is set, it is recognized that the flag Z has changed from decrease (0) to increase (1), that is, that a general black line has been detected, and this loop is once exited (Y in step C45), Its position BL
(BCT, j) is registered (step C50), and the number of black lines B
After adding 1 to CT (step C51), step C
The processing from 38 is repeated.

【0065】この一般黒線検出は、先に登録された最終
(右端)黒線位置BEndに走査位置が到達するまで繰
り返され、到達すると(ステップC47のY)、この最
終(右端)黒線位置BEndの値を黒線位置BL(BC
T,j)に登録し(ステップC52)、“黒線検出完
了”のメッセージを記録して(ステップC53)、この
処理を終了する。
This general black line detection is repeated until the scanning position reaches the previously registered final (right end) black line position BEnd, and when it reaches (Y in step C47), this final (right end) black line position is reached. The value of BEnd is set to the black line position BL (BC
T, j) is registered (step C52), a message of "black line detection completed" is recorded (step C53), and this processing ends.

【0066】以上の黒線検出が終了すると、検出された
黒線数BCTと先に入力されたくさびタイプ(本数WC
T)とが等しいかどうかを調べ(図6ステップA1
1)、等しければ(ステップA11のY)、行が終端L
yに達していないかどうかを調べる(ステップA1
2)。そして、達していなければ(ステップA12の
N)、行を更新し(ステップA13)、くさびチャート
の両端用の閾値ETH2を現行の黒側半振幅の1/4に
再設定して(ステップA14)、ステップA10の黒線
検出を再実行する。また、達していれば(ステップA1
2のY)、このループを抜け、解像限界行LMLを終端
Lyに設定するとともに(ステップA15)、“くさび
に下端なし”のエラーを表示し(ステップA16)、ス
テップA30からの処理に移行する。
Upon completion of the above black line detection, the number of detected black lines BCT and the previously entered wedge type (number of WC
T) is checked for equality (step A1 in FIG. 6).
1), if equal (Y in step A11), the line ends at L
Check whether y has been reached (step A1)
2). If not reached (N in step A12), the row is updated (step A13), and the threshold values ETH2 for both ends of the wedge chart are reset to 1/4 of the current black side half amplitude (step A14). , Black line detection in step A10 is performed again. If it is reached (step A1)
(Y of 2), this loop is exited, the resolution limit row LML is set to the terminal Ly (step A15), an error of "no lower end in wedge" is displayed (step A16), and the processing from step A30 is started. To do.

【0067】一方、本数が一致しないときには(ステッ
プA11のN)、中央用の閾値ETH1が0まで低くさ
れているかどうかを調べ(ステップA17)、0まで達
していなければ(ステップA17のN)、その行が読取
り判定開始行DtStでなければ(ステップA18の
N)、図5ステップA9の初期化で1に設定されたTH
値可変ステップETHS分だけ中央用の閾値ETH1を
低めた後(ステップA19)、ステップA10の黒線検
出を再実行する。もし、その行が読取り判定開始行Dt
Stであれば(ステップA18のY)、このループを抜
け、“初期本数不適合”のエラーを表示して(ステップ
A20)、この処理を終了する。
On the other hand, when the numbers do not match (N in step A11), it is checked whether or not the central threshold value ETH1 is lowered to 0 (step A17). If it does not reach 0 (N in step A17), If the line is not the read determination start line DtSt (N in step A18), TH set to 1 in the initialization in step A9 in FIG.
After lowering the central threshold value ETH1 by the value variable step ETHS (step A19), the black line detection in step A10 is performed again. If that line is the read determination start line Dt
If it is St (Y in step A18), the process exits from this loop, displays an error of "initial number mismatch" (step A20), and ends this processing.

【0068】また、中央用の閾値ETH1が0まで達し
ていれば(ステップA17のY)、次にTH値可変ステ
ップETHSが初期値の1のままかどうかを調べ(ステ
ップA21)、1であれば(ステップA21のY)、解
像限界行LMLをその行の1つ前の行に設定し(ステッ
プA22)、このTH値可変ステップETHSを0に更
新する(ステップA23)。
If the central threshold value ETH1 has reached 0 (Y in step A17), then it is checked whether the TH value varying step ETHS remains at the initial value 1, 1 (step A21). If so (Y in step A21), the resolution limit row LML is set to the row immediately before that row (step A22), and this TH value variable step ETHS is updated to 0 (step A23).

【0069】その後、直前の(即ち当該行の)黒線検出
時に、“黒線無し”のメッセージが記録されていないか
どうかを調べ(ステップA24)、記録されていなけれ
ば(ステップA24のN)、その行が終端Lyでなけれ
ば(ステップA25のN)、くさびチャートの両端用の
閾値ETH2を現行の黒側半振幅の1/4に再設定し
(ステップA26)、行を更新して(ステップA2
7)、ステップA10の黒線検出を再実行する。この行
が終端Lyであれば(ステップA25のY)、このルー
プを抜け、“くさび下端検出不能”のエラーを表示する
(ステップA28)。また、“黒線無し”のメッセージ
が記録されていれば(ステップA24のY)、くさび下
端行WELをその行に設定する(ステップA29)。
After that, at the time of detecting the black line immediately before (that is, in the line), it is checked whether or not the message "no black line" is recorded (step A24). If not, it is not recorded (N in step A24). If the row is not the terminal Ly (N in step A25), the threshold value ETH2 for both ends of the wedge chart is reset to 1/4 of the current black half amplitude (step A26), and the row is updated ( Step A2
7), black line detection in step A10 is performed again. If this line is the end Ly (Y in step A25), this loop is exited and an error "wedge lower end cannot be detected" is displayed (step A28). If the message "no black line" is recorded (Y in step A24), the wedge lower end row WEL is set to that row (step A29).

【0070】次に、この最終検出行をくさびチャートを
含む矩形画像に重畳させて描画した後(ステップA3
0)、くさび下端行WELは解像限界行LMLよりも大
きいかどうかを調べ(ステップA31)、大きければ
(ステップA31のY)、解像度の本数を算出し(ステ
ップA32)、その値を表示する(ステップA33)。
この解像本数は、例えばくさびタイプWCTが5本の場
合は、次の(1)式で算出される。
Then, after the final detection line is superimposed and drawn on the rectangular image including the wedge chart (step A3).
0), it is checked whether the wedge bottom row WEL is larger than the resolution limit row LML (step A31), and if it is larger (Y in step A31), the number of resolutions is calculated (step A32), and the value is displayed. (Step A33).
This number of resolutions is calculated by the following equation (1) when the number of wedge type WCTs is 5, for example.

【0071】[0071]

【数1】 また、くさびタイプWCTが9本の場合は、次の(2)
式で算出される。
[Equation 1] If the number of wedge type WCT is 9, the following (2)
It is calculated by the formula.

【0072】[0072]

【数2】 [Equation 2]

【0073】これらの2式において、 ・分子は、各くさびチャートが上端(低周波端)から下
端(高周波端)まで直線的に対応空間周波数が増加する
いわゆるリニアスイープチャートであることに基き、検
出されたくさびの全長(全行数=WEL−WSL)とく
さび上端から限界解像行までの長さ(行数=LML−W
SL)との比率から、対応周波数(解像本数)を算出す
る式である。但し、2式が異なるのはくさびのスイープ
仕様の違いに対応している。
In these two equations, the numerator is detected based on the fact that each wedge chart is a so-called linear sweep chart in which the corresponding spatial frequency increases linearly from the upper end (low frequency end) to the lower end (high frequency end). Length of all wedges (total number of lines = WEL-WSL) and length from upper edge of wedge to limit resolution line (number of lines = LML-W)
This is an equation for calculating the corresponding frequency (the number of resolution lines) from the ratio with SL). However, the difference between the two formulas corresponds to the difference in the wedge sweep specifications.

【0074】・分母は、撮影倍率の補正項であり、この
Resolutionチャートの本来の使用条件に比し
ての相対倍率で分子を除している。相対倍率は、チャー
ト全体の基準高(高さ方向の画枠基準線間距離=20c
m)とくさび長(6cm)との比率10/3を、検出さ
れたくさびの全長(全行数=WEL−WSL)に乗じる
ことによって撮影画像データ上のチャート基準高(対応
画素数)を求め、これと撮影画像の全画像高(画素数)
PHtとの比率として算出している。
The denominator is a term for correcting the photographing magnification, and the numerator is divided by the relative magnification compared to the original use condition of this Resolution chart. The relative magnification is the reference height of the entire chart (distance between image frame reference lines in the height direction = 20c
m) and wedge length (6 cm) ratio 10/3 is multiplied by the total length of the detected wedge (total number of rows = WEL-WSL) to obtain the chart reference height (corresponding pixel number) on the captured image data. , The total image height of this and the captured image (number of pixels)
Calculated as a ratio with PHt.

【0075】また、解像度限界行LMLがくさび下端行
WELから3行以内にあれば(ステップA34のY)、
“全解像”のエラーを表示して(ステップA35)、こ
の処理を終了する。ここで3行以内をエラーとしたの
は、下端行付近においては例えば垂直アパーチャの影響
などにより誤測定を生じる可能性があることを考慮し
て、この不具合を回避するため、くさびの下端使用可能
範囲を3行分少なく制限する意図であって、この点上記
ステップA6におけるオフセット値(JOFS)と同様
の効果を期するものである。従って値は3に限られな
い。
If the resolution limit row LML is within 3 rows from the wedge bottom row WEL (Y in step A34),
An error of "all resolution" is displayed (step A35), and this processing ends. The error within 3 lines is that the lower end of the wedge can be used in order to avoid this problem in consideration of the possibility that erroneous measurement may occur near the lower end line due to, for example, the influence of the vertical aperture. This is intended to limit the range to three lines less, and in this regard, the same effect as the offset value (JOFS) in step A6 is expected. Therefore, the value is not limited to 3.

【0076】一方、くさび下端行WELが解像限界行L
MLよりも大きくなければ(ステップA31のN)、こ
れは本来起こり得ない状態であるから“測定不能”のエ
ラーを表示して(ステップA36)、この処理を終了す
る。
On the other hand, the wedge bottom row WEL is the resolution limit row L.
If it is not larger than ML (N in step A31), since this is a state that cannot occur originally, an error of "unmeasurable" is displayed (step A36), and this processing ends.

【0077】以上、本解像度測定システムの行う測定動
作の具体的な実行制御を詳細に説明したが、さらにこの
中で、本システムの特徴との関連において特に重要な点
について、補足的な説明を行う。
The specific execution control of the measurement operation performed by the present resolution measurement system has been described above in detail. Further, in this, a supplementary explanation will be given regarding particularly important points in relation to the characteristics of the present system. To do.

【0078】(ア)まずカメラの記録画像データをその
まま(出力機器を用いず)処理しているからデバイスイ
ンディペンデントな測定が行える。
(A) First, since the recorded image data of the camera is processed as it is (without using an output device), device-independent measurement can be performed.

【0079】(イ)従来のくさび目視法と同じチャート
を用いて、かつ原理的に同じ判定基準を用いているか
ら、くさび目視法との相関性が確保できる。なお、目視
法は出力デバイス経由であるから、また評価者の主観も
入るから全く同じ数値が得られるとは限らないのは勿論
のことである。
(A) Since the same chart as that of the conventional wedge visual method is used and the same criterion is used in principle, the correlation with the wedge visual method can be secured. It is needless to say that the same numerical value is not always obtained in the visual method because the visual method is performed through the output device and the subjectivity of the evaluator is included.

【0080】ここで(イ)について詳述すると、このよ
うな目視判定の場合と原理的に同じ判定基準を達成する
ポイントが上記制御に含まれている。即ち、 (1)当業者が目視判定するときの判定ルールは a)低周波側から見て行き、解像している状況が連続的
に続いている場合に「解像している」とし、少しでも途
切れたら非解像とする。 b)一見解像しているように見えても、白黒が反転した
り、複数の線が繋がっているときは偽解像であるから非
解像と判断する。
Here, (a) will be described in detail. The above-mentioned control includes a point at which the same criterion as the principle of the visual determination is achieved. That is, (1) The determination rule for a person skilled in the art to make a visual determination is as follows: a) Seeing from the low frequency side, and "resolving" when the situation of continuous resolution continues, If there is any break, it will be non-resolution. b) Even if the image appears to be resolving at first glance, when black and white is inverted or a plurality of lines are connected, it is a false resolving power, so it is judged as non-resolving power.

【0081】というものである。ここで本解像度測定シ
ステムの制御が(a)を採用していることは上記制御フ
ローより直ちに明らかであるが、(b)については白黒
の線数に着目することで等価な判断を実現している。即
ち、偽解像が生じた場合(白黒が反転したり、複数の線
が繋がっているとき)には必ず線数が変化する。例えば
もし完全な反転(白黒逆転)が起こったとすれば5本く
さび(黒線が5本)の黒線は4本になり、ある1ヶ所で
2本の黒線が1本に繋がってしまえば黒線数は1本減り
やはり4本になってしまう。逆に常に本来のくさびの線
数が維持されているならば、位相反転は生じておらず、
原理的に解像していると見なすべきである。
That is, It is immediately apparent from the above control flow that the control of this resolution measuring system adopts (a), but regarding (b), an equivalent judgment is realized by focusing on the number of black and white lines. There is. That is, when false resolution occurs (black and white are reversed or a plurality of lines are connected), the number of lines always changes. For example, if a complete reversal (black-and-white reversal) occurs, the number of black lines in five wedges (five black lines) becomes four, and if one black spot connects two black lines to one. The number of black lines is reduced by one and it becomes four. On the contrary, if the original number of wedge lines is always maintained, phase inversion does not occur,
It should be regarded as a resolution in principle.

【0082】従って上記判定基準b)は b’)視認可能な(検出可能な)白黒線の線数と、本来
のくさびの線数とが一致している場合にのみ解像と判断
する。という等価な判定基準に置換えることができる。
Therefore, the judgment criterion b) is judged to be resolution only when b ′) the number of visible (detectable) black and white lines and the number of original wedge lines match. Can be replaced with the equivalent criterion.

【0083】本解像度測定システムはこのa)+b’)
を判定ルールとして採用しているから、これは従来の目
視判定において使用されるものと全く同じ基準であると
言える。
This resolution measuring system is a) + b ')
Since this is adopted as the judgment rule, it can be said that this is exactly the same standard as that used in the conventional visual judgment.

【0084】(2)人による白黒線の目視認識の過程で
は、測定者自身が意識することは無くとも極めて高度な
判断が行われている。具体的にはまず、 ・くさびの高周波領域(振幅が小さい領域)、特に限界
解像度付近では振幅が極めて小さいため、白黒線に対応
する輝度変化の局所的な振幅よりも大きなうねり(カメ
ラの周波数特性(しばしばエッジ強調処理が付加され
る)やシェーディングの影響でくさび全体に生じる低周
波の輝度変化)が生じ、例えばある黒線の値(輝度極小
値)の方が別の白線の値(輝度極大値)よりも大きいと
いった状態が生じ易い。人の目はこのような a)うねりやシェーディングがある場合も含めて、その
僅かな局所的な変化に反応して白黒の線を認識する。
(2) In the process of visually recognizing a black and white line by a person, an extremely high degree of judgment is made even if the measurer is not aware of it. Specifically, first: ・ The high frequency region of the wedge (the region where the amplitude is small), especially in the vicinity of the critical resolution, the amplitude is extremely small, so the swell that is larger than the local amplitude of the brightness change corresponding to the black and white line (Effects are often added to the edges) or low-frequency luminance change that occurs in the entire wedge due to the effect of shading. For example, one black line value (luminance minimum value) is different from another white line value (luminance maximum). Value) is likely to occur. The human eye recognizes a black and white line in response to a slight local change, including the case where there is such a) waviness and shading.

【0085】ことができる。またその一方で、人の目
は、 b)ノイズ等によるレベルの変化とくさびのパターンと
は混同せずに見分けることができる。
It is possible to On the other hand, the human eye is able to distinguish b) the level change due to noise or the like and the wedge pattern without being confused with each other.

【0086】具体例を挙げれば、くさびの低周波領域
(振幅が大きい領域)では、その白黒エッジ付近にはカ
メラの周波数特性(しばしばエッジ強調処理が付加され
る)の影響でかなり大きな振幅の波状の輝度変化(リン
ギング)が付随する。これは限界解像度付近のくさび画
像の振幅(輝度変化)よりもはるかに大きい振幅の場合
もあるが、このような場合も少なくとも当該低周波のく
さび画像の輝度振幅よりは充分小さいため、人の目はこ
れを正しく無視する。
As a specific example, in the low frequency region of the wedge (region where the amplitude is large), a wavy waveform with a considerably large amplitude is generated near the black and white edge due to the frequency characteristic of the camera (often an edge enhancement process is added). The brightness change (ringing) is accompanied. This may be much larger than the amplitude (luminance change) of the wedge image near the limit resolution, but even in such a case, it is at least sufficiently smaller than the luminance amplitude of the low-frequency wedge image, so Ignores this correctly.

【0087】また、この他一般のノイズ(ランダムノイ
ズなど)がくさび画像全体に重畳されているが、これも
当該周波数におけるくさび画像の振幅(輝度変化)より
も小さい場合は同じく無視される。
Further, other general noise (random noise or the like) is superimposed on the entire wedge image, but if this is also smaller than the amplitude (luminance change) of the wedge image at the relevant frequency, it is also ignored.

【0088】即ち、くさび画像としての輝度変化に対し
て相対的に小さな変化は無視することで正しく白黒の線
を認識する。
That is, a black and white line is correctly recognized by ignoring a relatively small change with respect to a change in luminance as a wedge image.

【0089】これに対して機械的自動測定における輝度
データ処理の場合、単純なレベル検出や差分検出などで
は、このような人の目の高度な認識に相当する白黒線の
検出はできない。
On the other hand, in the case of luminance data processing in mechanical automatic measurement, simple level detection and difference detection cannot detect black and white lines corresponding to such advanced recognition of human eyes.

【0090】本解像度測定システムでは、上記制御の説
明に示したとおり、 ◇1ラインに関する輝度データの変化を検出することに
よりその極大値、極小値として白黒線(実際に用いるの
は黒線のみ)を検出するようにし、局所最大値LMxか
らのETH1を超えた減少又は局所最小値LMnからの
ETH1を超えた増加のみを有効な増減として検出する
ようにした。言い換えれば、累積変化が閾値ETH1を
越えた場合に変化を認識するようにした上で極値判定を
行うようにした。
In the present resolution measuring system, as described in the explanation of the above control, ◇ A black-and-white line is used as the maximum value and the minimum value by detecting the change in the brightness data for one line (only the black line is actually used). Therefore, only the decrease exceeding ETH1 from the local maximum value LMx or the increase exceeding ETH1 from the local minimum value LMn is detected as an effective increase / decrease. In other words, the extreme value determination is performed after the change is recognized when the cumulative change exceeds the threshold value ETH1.

【0091】基本的にはこれによって、ノイズやうねり
の影響を排除しつつ極値として白黒線が検出され得るよ
うになっている。
Basically, this makes it possible to detect black and white lines as extreme values while eliminating the effects of noise and undulations.

【0092】そしてこの判定に用いる閾値ETH1の値
を ◇測定動作実行初期の、即ち低周波領域の白黒検出時に
は閾値ETH1を比較的大きな値とし、検出が高周波領
域に移行していくに従って、それまでの閾値によって所
定の線数が検出不能になった場合に限り閾値ETH1の
値を減じて検出を繰り返すようにしたから、 a)うねりやシェーディングが乗っていても、波(白黒
線)を検出でき、最終的には(限界解像周波数では)E
TH=0で検出を行うから、レスポンスが最小となった
状態の輝度変化まで検出することができる。
The value of the threshold value ETH1 used for this determination is as follows. Since the threshold value ETH1 is reduced and the detection is repeated only when a predetermined number of lines cannot be detected due to the threshold value of, a) Even if swell or shading is present, a wave (black and white line) can be detected. , Finally (at the critical resolution frequency) E
Since the detection is performed at TH = 0, it is possible to detect even the luminance change in the state where the response becomes the minimum.

【0093】b)各周波数領域における画像の輝度変化
(レスポンス)の程度に応じて、ノイズの影響を適応的
に排除することにより、全周波数領域にわたってくさび
のパターンのみを検出できる。
B) By adaptively eliminating the influence of noise in accordance with the degree of luminance change (response) of the image in each frequency region, only the wedge pattern can be detected over the entire frequency region.

【0094】ことになり、この点に関しても、従来は到
底為し得なかった、目視判定と等価な判定を行うことが
できるものである。
In this respect as well, it is possible to make a judgment equivalent to the visual judgment, which could not be achieved in the conventional technique.

【0095】なお上記制御フローには、この他、実用的
な精度向上や動作安定化の観点から採用されている処理
も勿論あり、例えば ・黒先検出において、両端の検出を一般の黒線検出とは
別の基準で両側から行うことにより、くさび両端のリン
ギングの影響を受けないようにするとともに、限界解像
度よりも高周波な部分(おおぼけ部)でも1本の黒線と
して安定にくさびの存在を検出できるようにしたので、
くさび下端WELの検出に誤りを生じない。これによっ
てくさび長の検出制度を確保している。
In the control flow, there are of course other processes that are adopted from the viewpoints of practical accuracy improvement and operation stabilization. For example: By performing from both sides according to a standard different from the above, it is possible to avoid being affected by ringing at both ends of the wedge, and to stably present the wedge as a single black line even in the high frequency part (blurred part) higher than the limit resolution. So that we can detect
No error occurs in the detection of the wedge lower end WEL. This ensures the wedge length detection system.

【0096】・くさび開始ライン(WSL)の検出のス
レッシュホールドレベルETH0や、各行における両端
黒線検出のスレッシュホールドレベルETH2の設定
(及び一般黒線検出のスレッシュホールドレベルETH
1の初期設定)は、対象とする領域の画素に関するノイ
ズも含んだデータ分布(具体的にはノイズレベルや黒側
半振幅)に基づいて設定しているから、各検出を極めて
安定に行うことができる。
Setting of the threshold level ETH0 for detecting the wedge start line (WSL) and the threshold level ETH2 for detecting the black lines at both ends in each row (and the threshold level ETH for detecting the general black line)
The initial setting 1) is set based on the data distribution (specifically, the noise level and the black side half-amplitude) that also includes noise related to the pixels in the target area, so each detection should be performed very stably. You can

【0097】・一般には、例えばくさび画像の僅かな傾
きによってくさび開始ラインが実質的に複数行にまたが
った場合や、あるいはカメラの垂直エッジ強調画像処理
に起因する垂直リンギングなどの存在が、誤動作の原因
となる恐れがあるが、読取り判定開始行DtStとし
て、くさび開始ラインWSLに対して若干のオフセット
を与えたものを採用することによりこれを回避してい
る。
In general, when the wedge start line substantially extends over a plurality of lines due to a slight inclination of the wedge image, or the presence of vertical ringing caused by the vertical edge-enhanced image processing of the camera causes a malfunction. This may be caused, but this is avoided by adopting a read determination start row DtSt with a slight offset to the wedge start line WSL.

【0098】などを具体的に指摘することができる。The above can be specifically pointed out.

【0099】このように、この解像度測定システムは、
水平方向を主走査方向として矩形波の検出(線数の検
出)を行いつつ、垂直方向を副走査方向として周波数ス
イープを行うことにより、解像限界の空間周波数を求め
る。つまり、従来のように、個人差や状況に左右される
ことなく解像度を自動測定する。この結果は、検出した
限界解像の行位置をくさびチャートに重畳させて表示す
るといった、検査担当者の目に見える形で提供させるた
め、その自動測定された解像度に対する信頼感を高める
ことも実現する。
Thus, this resolution measuring system
A rectangular wave is detected (the number of lines is detected) with the horizontal direction as the main scanning direction, and the spatial frequency at the resolution limit is obtained by performing frequency sweep with the vertical direction as the sub-scanning direction. That is, unlike the conventional method, the resolution is automatically measured without being affected by individual differences or situations. This result is provided in a form visible to the inspector, for example, by displaying the row position of the detected limit resolution on the wedge chart and displaying it, so that it is possible to increase the reliability of the automatically measured resolution. To do.

【0100】また、前述の(1)式及び(2)式に示す
ように、解像本数の算出時に、くさび長(くさび下端行
WEL−くさび開始行WSL)と全画像高PHtとの比
率を考慮することにより、従来のように、画枠基準線を
意識してチャートを撮影することも不要とする。
Further, as shown in the equations (1) and (2), the ratio of the wedge length (wedge bottom row WEL-wedge start row WSL) to the total image height PHt is calculated when the number of resolution lines is calculated. By taking this into consideration, it is not necessary to photograph the chart while being aware of the image frame reference line as in the conventional case.

【0101】また本実施形態では、水平解像度測定用の
くさびチャートa1に関してはそのまま、垂直解像度測
定用のくさびチャートa2に関しては自動的に90度の
回転処理を施すことになるため、ユーザによる矩形画像
の回転操作を要することもなく、水平方向及び垂直方向
の何れのくさびチャートであっても解像度の測定が可能
となり、使い勝手の向上をはかることができる。
Further, in this embodiment, since the wedge chart a1 for horizontal resolution measurement is automatically subjected to the 90-degree rotation processing for the wedge chart a2 for vertical resolution measurement, the rectangular image by the user is processed. It is possible to measure the resolution of any of the wedge charts in the horizontal direction and the vertical direction without the need for the rotation operation, and the usability can be improved.

【0102】なお、ここでは、ISO12233Res
olutionチャートに設けられたくさびチャートを
例に説明したが、これに限らず、例えばEIAJ−Aチ
ャートに設けられる、帯が直線的に描かれたくさびチャ
ートの場合も、この解像度測定の手法は適用可能であ
る。
In this case, ISO12233Res
Although the wedge chart provided in the solution chart has been described as an example, the resolution measuring method is not limited to this and is also applicable to, for example, a wedge chart in which a band is drawn linearly, which is provided in the EIAJ-A chart. It is possible.

【0103】また、ここでは、電子カメラで撮影された
チャートの画像をカード経由でパーソナルコンピュータ
に取り込み、そのパーソナルコンピュータで解像度の自
動測定を実行する例、つまり、この解像度測定の手法を
パーソナルコンピュータ上で実現する例を示したが、こ
れに限らず、専用の解像度測定装置として実現しても構
わない。また、この機能を電子カメラ自体に組み込め
ば、例えば電子カメラが解像度の異なる複数の撮像モー
ドを有する場合に、これらを各別に実測することや、或
いは製造時や修理時における(例えば光学系や自動合焦
系などを含めた)性能試験を極めて容易に実施できるよ
うになる。
Further, here, an example in which an image of a chart photographed by an electronic camera is taken into a personal computer via a card and the resolution is automatically measured by the personal computer, that is, this resolution measuring method is executed on the personal computer. However, the present invention is not limited to this, and may be realized as a dedicated resolution measuring device. In addition, if this function is incorporated into the electronic camera itself, for example, when the electronic camera has a plurality of imaging modes with different resolutions, these can be individually measured, or at the time of manufacturing or repair (for example, optical system or automatic Performance tests (including focusing system) can be performed extremely easily.

【0104】即ち本発明は、前記実施形態に限定される
ものではなく、実施段階ではその要旨を逸脱しない範囲
で種々に変形することが可能である。さらに、前記実施
形態には種々の段階の発明が含まれており、開示される
複数の構成要件における適宜な組み合わせにより種々の
発明が抽出され得る。例えば、実施形態に示される全構
成要件から幾つかの構成要件が削除されても、発明が解
決しようとする課題の欄で述べた課題が解決でき、発明
の効果の欄で述べられている効果が得られる場合には、
この構成要件が削除された構成が発明として抽出され得
る。
That is, the present invention is not limited to the above-described embodiment, and can be variously modified in the implementation stage within the scope of the invention. Furthermore, the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment, the problem described in the section of the problem to be solved by the invention can be solved, and the effect described in the section of the effect of the invention can be solved. If you get
A configuration in which this component is deleted can be extracted as an invention.

【0105】この他にも様々な実施例が考えられる。上
記実施形態に示した制御における各ステップを実行可能
に画像処理装置を構成することができる。即ちこの装置
は、一般的なファイルインターフェース(例えばメモリ
ーカードスロット)及びGUI(グラフィカルユーザー
インターフェース)手段であるディスプレイ(例えばC
RTやLCD)及び入力指示装置(例えばキーボード・
マウス)を有し、評価対象のデジタルカメラで所定のく
さびチャートを撮影した画像をカード経由で入力するこ
とによって、上記各ステップを順次実行できるように為
されれば良い。
In addition to this, various embodiments can be considered. The image processing apparatus can be configured to be able to execute each step in the control shown in the above embodiment. That is, this device is a display (eg C) which is a general file interface (eg memory card slot) and GUI (graphical user interface) means.
RT and LCD) and input instruction device (eg keyboard,
The above steps may be sequentially executed by inputting an image obtained by shooting a predetermined wedge chart with a digital camera having a mouse) through a card.

【0106】このような装置は専用の装置として実現さ
れても良いが、汎用パーソナルコンピュータに対して上
記各ステップを実行可能な処理系列を組み込んでも構成
できることは明らかである。またデジタルカメラ装置自
身にこのような機能を組み込んでも良く、この場合は上
記ファイルインターフェースを介さずに測定を行うこと
も可能である。これによれば、例えばカメラが解像度の
異なる複数の撮像モードを有する場合にこれらを各別に
実測することや、また製造時や修理時おける(例えば光
学系や自動合焦系を含めた)性能試験が極めて容易にで
きるようになるという利点を有する。
Such an apparatus may be realized as a dedicated apparatus, but it is obvious that a general-purpose personal computer may be configured by incorporating a processing sequence capable of executing the above steps. Further, such a function may be incorporated in the digital camera device itself, and in this case, it is possible to perform the measurement without using the file interface. According to this, for example, when a camera has a plurality of imaging modes having different resolutions, these are individually measured, and a performance test (including an optical system and an automatic focusing system) at the time of manufacturing or repair is performed. Has the advantage that it can be done very easily.

【0107】(第2の実施形態)本発明における画像回
転機構は、解像度測定以外にも適用することができる。
例えば、電子カメラで縦横位置混在撮影した場合で、被
写体に合わせて縦横混在データとなっている時に、印刷
用紙に向きを揃える場合などである。
(Second Embodiment) The image rotating mechanism of the present invention can be applied to other than the resolution measurement.
For example, there is a case where the electronic camera performs mixed vertical and horizontal position shooting, and when the vertical and horizontal mixed data matches the subject, the orientation is aligned with the printing paper.

【0108】具体的には、カメラで撮影した画像をパソ
コンのハードディスクに取りこみ画像を保管しておくよ
うな場合で、カメラからの画像取りこみ時には全て横位
置(横長画像)としてデータが入力されたとしても、撮
影した内容が縦位置である画像が混在していた場合に
は、これを見る都度回転させるのが煩雑であることか
ら、縦位置の画像は90度回転させて縦位置(縦長画
像)に変換したデータを保存するというような状況があ
る。このような状況において、汎用のプリンタを用いて
複数の画像を効率良く連続印刷しようとする時には、画
像の縦横を印刷用紙の向きに合わせることが望ましく、
結局全画像の向きを縦位置又は横位置に揃える必要が生
じる。本実施形態は、このような場合に極めて有効であ
る。
Specifically, in the case where the image taken by the camera is taken in the hard disk of the personal computer and the image is stored, when the image is taken in from the camera, it is assumed that the data is input as the horizontal position (horizontally long image). Also, if the captured image contains a mixture of vertically oriented images, it is complicated to rotate each time the image is viewed. Therefore, the vertically oriented image should be rotated 90 degrees to be vertically oriented (vertical image). There are situations such as saving the data converted to. In such a situation, when trying to efficiently print a plurality of images continuously using a general-purpose printer, it is desirable to match the vertical and horizontal directions of the image with the orientation of the printing paper.
After all, it becomes necessary to align the orientations of all the images with the vertical position or the horizontal position. The present embodiment is extremely effective in such a case.

【0109】図12に、本発明の第2の実施形態に係わ
る画像処理装置の基本構成を示す。図中の301は画像
データを入力するための入力部、302は画像データの
縦横の比率、又は処理対象である矩形画像の縦横画素数
の比率に基づいて画像を回転する回転処理部、303は
回転制御された画像データを出力するための出力部であ
る。
FIG. 12 shows the basic arrangement of an image processing apparatus according to the second embodiment of the present invention. In the figure, 301 is an input unit for inputting image data, 302 is a rotation processing unit that rotates an image based on the vertical / horizontal ratio of image data, or the ratio of the number of vertical / horizontal pixels of a rectangular image to be processed, and 303 is It is an output unit for outputting the rotation-controlled image data.

【0110】入力部301では、ABC…のような矩形
画像が入力され、回転処理部302では、入力画像が縦
長か横長かを判定し、横長の場合はそのまま、縦長の場
合は90度の回転処理を施す。この回転処理の判断は、
前記図7に示すステップS501のように、矩形画像の
水平画素数Lxと垂直画素数Lyとを比較することによ
り行えばよい。そして、回転処理された矩形画像は出力
部303から出力される。
A rectangular image such as ABC is input to the input unit 301, and the rotation processing unit 302 determines whether the input image is vertically long or horizontally long. If it is horizontally long, it is rotated as it is, and if it is vertically long, it is rotated by 90 degrees. Apply processing. The judgment of this rotation processing is
This may be performed by comparing the number of horizontal pixels Lx and the number of vertical pixels Ly of the rectangular image as in step S501 shown in FIG. Then, the rotated rectangular image is output from the output unit 303.

【0111】このような構成であれば、AとCのような
横長画像はそのままの状態でA’C’として出力され、
Bのような縦長画像は横長画像B’に変換して出力され
る。その結果、全ての出力画像が横長となる。このよう
に本実施形態によれば、当該画像が縦長か横長かを判定
し、一方の場合のみ90度回転を行なうことによって縦
位置又は横位置に自動的に全てを揃えることができる。
この例のような目的の場合は90度回転の方向(左右)
は問わないので、例えば一律に右90度回転という処理
を採用可能である。
With such a configuration, horizontally long images such as A and C are output as A'C 'in the state as they are,
A vertically long image such as B is converted into a horizontally long image B ′ and output. As a result, all output images are horizontally long. As described above, according to the present embodiment, it is possible to automatically align all the images in the vertical position or the horizontal position by determining whether the image is vertically long or horizontally long and rotating the image 90 degrees only in one case.
For the purpose like this example, the direction of 90 degree rotation (left and right)
Since it does not matter, it is possible to adopt, for example, a process of uniformly rotating 90 degrees right.

【0112】ここで、「上記のような処理方法を、例え
ば印刷機能を有した汎用画像ビュアーソフトに追加適用
して以下のような制御が可能に為したもの」をインスト
ールしたパーソナルコンピュータ装置は、本発明の一実
施形態である。即ちこれは、予め印刷モードとして「自
動回転付き」を選択しておけば、印刷実行時の印刷用画
像データを必要に応じて自動的に回転させ、用紙に応じ
て縦位置又は横位置に統一するものであり、ごく簡単な
構成によって印刷効率を上げることが可能であるという
優れた効果を有している。またこれと同様のものである
が、画像の回転処理を印刷時のデータに対して行なうの
ではなく、保存対象の画像データ自体に施す(回転させ
た画像については自動的に上書き又は別名保存する)よ
うに構成してもよい。
Here, the personal computer apparatus in which "the above processing method is additionally applied to a general-purpose image viewer software having a printing function to enable the following control" is installed, It is one embodiment of the present invention. In other words, if you select "with automatic rotation" as the print mode in advance, the image data for printing at the time of printing is automatically rotated as necessary, and unified to the vertical position or the horizontal position depending on the paper. However, it has an excellent effect that it is possible to improve printing efficiency with a very simple configuration. Although it is similar to this, the image rotation process is not performed on the data at the time of printing, but is performed on the image data itself to be saved (the rotated image is automatically overwritten or saved under a different name). ).

【0113】[0113]

【発明の効果】以上詳述したように本発明によれば、解
像度を目視観測するために用いられる、いわゆるくさび
チャートを構成する線分の連続性に着目し、例えばくさ
びチャートの位相が保たれる限界の位置を検出すること
により、そのくさびチャートにおける解像限界行位置を
判定して、その判定した行位置から限界解像度を算出す
ることから、個人差や状況に左右されることのない、再
現性が高く、かつ原理的に優れた解像度測定を実現す
る。そして、くさびチャートを撮像して解像度を自動測
定するにあたり、チャート全体からの対象部分の切り出
しの手動的領域指定の縦横比により自動的に画像回転を
制御するから、測定の作業性が向上し短時間で効率の良
い測定を行うことができる。
As described above in detail, according to the present invention, attention is paid to the continuity of the line segments which form a so-called wedge chart used for visually observing the resolution, and for example, the phase of the wedge chart is maintained. By detecting the position of the limit to be determined, the resolution limit line position in the wedge chart is determined, and the limit resolution is calculated from the determined line position, so it is not affected by individual differences or situations. Achieve resolution measurement with high reproducibility and in principle. When the wedge chart is imaged and the resolution is automatically measured, the image rotation is automatically controlled by the aspect ratio of the manual area designation of the cutout of the target portion from the entire chart, which improves the workability of the measurement and shortens it. Efficient measurement can be performed in time.

【0114】また、画像の縦横比により自動的に画像回
転を制御することにより、例えば、電子カメラで縦横位
置混在撮影した後に、被写体に合わせて縦横混在データ
となっている場合に、印刷用紙に自動的に向きを揃える
ことができるので、ユーザの使い勝手が向上する。
Further, by automatically controlling the image rotation according to the aspect ratio of the image, for example, when mixed vertical / horizontal position data is taken by an electronic camera and then mixed with vertical / horizontal data, the print paper is printed. Since the directions can be automatically aligned, the usability for the user is improved.

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

【図1】第1の実施形態に係わる解像度測定システムの
被検カメラとなる電子カメラの構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of an electronic camera which is a camera to be inspected of a resolution measuring system according to a first embodiment.

【図2】同実施形態に係る解像度測定システムが動作す
るパーソナルコンピュータの構成を示すブロック図。
FIG. 2 is an exemplary block diagram showing the configuration of a personal computer on which the resolution measurement system according to the embodiment operates.

【図3】同実施形態の解像度測定システムで用いるIS
O12233Resolutionチャートを示す図。
FIG. 3 is an IS used in the resolution measurement system of the embodiment.
The figure which shows O12233 Resolution chart.

【図4】同実施形態の解像度測定システムが切り出す矩
形画像の一例を示す図。
FIG. 4 is a view showing an example of a rectangular image cut out by the resolution measurement system of the same embodiment.

【図5】同実施形態の解像度測定システムにおける解像
度測定の第1のメインフローを示す図。
FIG. 5 is a diagram showing a first main flow of resolution measurement in the resolution measurement system of the embodiment.

【図6】同実施形態の解像度測定システムにおける解像
度測定の第2のメインフローを示す図。
FIG. 6 is a diagram showing a second main flow of resolution measurement in the resolution measurement system of the same embodiment.

【図7】同実施形態の解像度測定システムにおける画像
回転処理を説明するためのフローを示す図。
FIG. 7 is a diagram showing a flow for explaining image rotation processing in the resolution measuring system of the embodiment.

【図8】同実施形態の解像度測定システムにおけるくさ
び開始ライン(WSL)検出の詳細フローを示す図。
FIG. 8 is a diagram showing a detailed flow of wedge start line (WSL) detection in the resolution measurement system of the embodiment.

【図9】同実施形態の解像度測定システムにおける黒線
検出の第1の詳細フローを示すず。
FIG. 9 is a view showing a first detailed flow of black line detection in the resolution measurement system of the embodiment.

【図10】同実施形態の解像度測定システムにおける黒
線検出の第2の詳細フローを示す図。
FIG. 10 is a diagram showing a second detailed flow of black line detection in the resolution measuring system of the embodiment.

【図11】同実施形態の解像度測定システムにおける黒
線検出の第3の詳細フローを示す図。
FIG. 11 is a diagram showing a third detailed flow of black line detection in the resolution measuring system of the embodiment.

【図12】第2の実施形態に係わる画像処理装置の基本
構成を示すブロック図。
FIG. 12 is a block diagram showing a basic configuration of an image processing apparatus according to a second embodiment.

【図13】解像度の目視測定に用いられる代表的なIS
O12233Resolutionチャートを示す図。
FIG. 13: Typical IS used for visual measurement of resolution
The figure which shows O12233 Resolution chart.

【符号の説明】 101…レンズ系 102…レンズ駆動機構 103…露出制御機構 104…フィルタ系 105…CCDカラー撮像素子 106…CCDドライバ 107…プリプロセス回路 108…ディジタルプロセス回路 109…カードインターフェース 110…メモリカード 111…LCD画像表示系 112…システムコントローラ(CPU) 113…操作スイッチ系 114…操作表示系 115…ストロボ 116…レンズドライバ 117…露出制御機構 118…不揮発メモリ(EEPROM) 201…CPU 202…システムメモリ 203…磁気ディスク装置 204…ディスプレイコントローラ 204a…CRT 204b…LCD 205…キーボードコントローラ 205a…キーボード 205b…マウス[Explanation of symbols] 101 ... Lens system 102 ... Lens drive mechanism 103 ... Exposure control mechanism 104 ... Filter system 105 ... CCD color image sensor 106 ... CCD driver 107 ... Preprocess circuit 108 ... Digital process circuit 109 ... Card interface 110 ... Memory card 111 ... LCD image display system 112 ... System controller (CPU) 113 ... Operation switch system 114 ... Operation display system 115 ... Strobe 116 ... Lens driver 117 ... Exposure control mechanism 118 ... Nonvolatile memory (EEPROM) 201 ... CPU 202 ... System memory 203 ... Magnetic disk device 204 ... Display controller 204a ... CRT 204b ... LCD 205 ... Keyboard controller 205a ... keyboard 205b ... mouse

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】解像度を目視測定するために用いられるく
さびチャートが撮像された画像の中から前記くさびチャ
ートを含む矩形領域画像を切り出す画像切り出し手段
と、 前記画像切り出し手段により切り出された矩形領域画像
の縦横の比率に基づいて該画像に所定の回転処理を施す
画像回転制御手段と、 前記画像回転制御手段により回転制御された矩形領域画
像を解析して前記くさびチャートの解像限界行位置を判
定し、その判定した行位置から限界解像度を算出する解
像度算出手段と、 を具備してなることを特徴とする解像度測定装置。
1. An image cropping means for cropping a rectangular area image including the wedge chart from an image of a wedge chart used for visually measuring the resolution, and a rectangular area image cropped by the image cropping means. Image rotation control means for performing a predetermined rotation process on the image based on the aspect ratio of the image, and a rectangular area image rotation-controlled by the image rotation control means is analyzed to determine the resolution limit row position of the wedge chart. And a resolution calculation unit that calculates a limit resolution from the determined row position.
【請求項2】前記画像回転制御手段は、前記矩形領域画
像の縦横の長短関係が常に一定となるように、前記矩形
領域画像に90度回転又は非回転の処理を施すものであ
ることを特徴とする請求項1記載の解像度測定装置。
2. The image rotation control means performs a 90-degree rotation or non-rotation process on the rectangular area image so that the vertical / horizontal relationship of the rectangular area image is always constant. The resolution measuring device according to claim 1.
【請求項3】前記画像回転制御手段は、前記矩形領域画
像を90度回転させる場合に、前記矩形領域画像の画像
パターンに基づいて左回転又は右回転を選択するもので
あることを特徴とする請求項2記載の解像度測定装置。
3. The image rotation control means, when rotating the rectangular area image by 90 degrees, selects left rotation or right rotation based on an image pattern of the rectangular area image. The resolution measuring device according to claim 2.
【請求項4】解像度を目視測定するために用いられるく
さびチャートが撮像された画像の中から前記くさびチャ
ートを含む矩形領域画像を切り出し、 この矩形領域画像の縦横の比率に基づいて前記矩形領域
画像に所定の回転処理を施した後に、この矩形領域画像
を解析して前記くさびチャートの解像限界行位置を判定
し、 その判定した行位置から限界解像度を算出することを特
徴とする解像度測定方法。
4. A rectangular area image including the wedge chart is cut out from an image in which a wedge chart used for visually measuring the resolution is cut out, and the rectangular area image is based on the aspect ratio of the rectangular area image. After performing a predetermined rotation processing on, the resolution measuring method characterized by analyzing the rectangular area image to determine the resolution limit row position of the wedge chart, and calculating the limit resolution from the determined row position. .
【請求項5】前記矩形領域画像の縦横の長短関係が常に
一定となるように、前記矩形領域画像に90度回転又は
非回転の処理を施すことを特徴とする請求項4記載の解
像度測定方法。
5. The resolution measuring method according to claim 4, wherein the rectangular area image is subjected to 90-degree rotation processing or non-rotation processing so that the vertical / horizontal length relationship of the rectangular area image is always constant. .
【請求項6】前記矩形領域画像を90度回転させる際
に、前記矩形領域画像の画像パターンに基づいて左回転
又は右回転を選択することを特徴とする請求項5記載の
解像度測定方法。
6. The resolution measuring method according to claim 5, wherein when the rectangular area image is rotated 90 degrees, left rotation or right rotation is selected based on an image pattern of the rectangular area image.
【請求項7】画像データを入力する入力手段と、 前記入力手段により入力された画像データの縦横の比率
に基づいて、当該画像に対して与える回転を制御する画
像回転制御手段と、 前記回転制御された画像データを出力する出力手段と、 を具備してなることを特徴とする画像処理装置。
7. Input means for inputting image data, image rotation control means for controlling rotation given to the image based on the aspect ratio of the image data input by said input means, said rotation control An image processing apparatus comprising: an output unit that outputs the generated image data.
【請求項8】画像データを入力する入力手段と、 前記入力手段により入力された画像データの中の処理対
象である矩形画像の縦横画素数の比率に基づいて、該矩
形画像に対して施す回転を制御する画像回転制御手段
と、 前記回転制御された画像データを出力する出力手段と、 を具備してなることを特徴とする画像処理装置。
8. An input unit for inputting image data, and a rotation applied to the rectangular image based on a ratio of vertical and horizontal pixel numbers of a rectangular image to be processed in the image data input by the input unit. An image processing apparatus, comprising: an image rotation control unit that controls the image rotation control unit; and an output unit that outputs the rotation-controlled image data.
【請求項9】画像データを入力する工程と、 入力された画像データの縦横の比率に基づいて、当該画
像に対して与える回転を制御する工程と、 回転制御された画像データを出力する工程と、 を含むことを特徴とする画像処理方法。
9. A step of inputting image data, a step of controlling a rotation given to the image based on a vertical and horizontal ratio of the input image data, and a step of outputting the rotation-controlled image data. An image processing method comprising:
【請求項10】画像データを入力する工程と、 入力された画像データの縦横の中の処理対象である矩形
画像の縦横画素数の比率に基づいて、該矩形画像に対し
て施す回転を制御する工程と、 回転制御された画像データを出力する工程と、 を含むことを特徴とする画像処理方法。
10. The step of inputting image data, and controlling the rotation applied to the rectangular image based on the ratio of the number of vertical and horizontal pixels of the rectangular image to be processed in the vertical and horizontal directions of the input image data An image processing method comprising: a step; and a step of outputting rotation-controlled image data.
JP2002054599A 2002-02-28 2002-02-28 Resolution measuring apparatus and measuring method Expired - Fee Related JP3986326B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002054599A JP3986326B2 (en) 2002-02-28 2002-02-28 Resolution measuring apparatus and measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002054599A JP3986326B2 (en) 2002-02-28 2002-02-28 Resolution measuring apparatus and measuring method

Publications (2)

Publication Number Publication Date
JP2003259400A true JP2003259400A (en) 2003-09-12
JP3986326B2 JP3986326B2 (en) 2007-10-03

Family

ID=28665708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002054599A Expired - Fee Related JP3986326B2 (en) 2002-02-28 2002-02-28 Resolution measuring apparatus and measuring method

Country Status (1)

Country Link
JP (1) JP3986326B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100896803B1 (en) 2007-07-30 2009-05-11 김대봉 Test chart for inspection apparatus of camera module
JP2013519936A (en) * 2010-02-11 2013-05-30 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for providing a plurality of application information
CN103731665A (en) * 2013-12-25 2014-04-16 广州计量检测技术研究院 Digital camera image quality comprehensive detection device and method
JP2017198985A (en) * 2016-04-28 2017-11-02 イズメディア カンパニー リミテッド Device and method for confirming table tilting

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106842804A (en) * 2016-12-28 2017-06-13 歌尔科技有限公司 A kind of TV Line parsing test patterns and its parsing method of testing
CN109862348A (en) * 2019-02-18 2019-06-07 深圳市同为数码科技股份有限公司 A kind of picture system parsing power test judgement method and device
CN110611808B (en) * 2019-08-27 2021-02-05 厦门亿联网络技术股份有限公司 Method and device for testing resolving power of camera

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100896803B1 (en) 2007-07-30 2009-05-11 김대봉 Test chart for inspection apparatus of camera module
JP2013519936A (en) * 2010-02-11 2013-05-30 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for providing a plurality of application information
US9575647B2 (en) 2010-02-11 2017-02-21 Samsung Electronics Co., Ltd. Method and apparatus for providing information of multiple applications
CN103731665A (en) * 2013-12-25 2014-04-16 广州计量检测技术研究院 Digital camera image quality comprehensive detection device and method
JP2017198985A (en) * 2016-04-28 2017-11-02 イズメディア カンパニー リミテッド Device and method for confirming table tilting

Also Published As

Publication number Publication date
JP3986326B2 (en) 2007-10-03

Similar Documents

Publication Publication Date Title
JP6467787B2 (en) Image processing system, imaging apparatus, image processing method, and program
TWI255642B (en) Method and system for assessing the photo quality of a captured image in a digital still camera
JP4747163B2 (en) Red-eye correction in human images
JP5291084B2 (en) Edge mapping incorporating panchromatic pixels
US20070183652A1 (en) Method for detecting a code with the aid of a mobile station
US20050220346A1 (en) Red eye detection device, red eye detection method, and recording medium with red eye detection program
JP2010525427A (en) Edge mapping using panchromatic pixels
US20200175663A1 (en) Image processing system, server apparatus, image processing method, and image processing program
JP2007074578A (en) Image processor, photography instrument, and program
EP2219366A1 (en) Image capturing device, image capturing method, and image capturing program
US20140184853A1 (en) Image processing apparatus, image processing method, and image processing program
JP2001324413A (en) Method and device for measuring mtf
JP2003259400A (en) Instrument and method for measuring resolution, and image processing apparatus and processing method
JP5223912B2 (en) Imaging apparatus and focus determination program
JP4493416B2 (en) Image processing method, apparatus, and program
JP2007258925A (en) Imaging apparatus, and method of acquiring image
JP4182937B2 (en) Image capturing apparatus, image processing method for image capturing apparatus, and program
JP4828728B2 (en) Resolution measuring apparatus and resolution measuring method
JP2005316958A (en) Red eye detection device, method, and program
EP3831060A1 (en) Method and system for mapping the non-uniformity of an image sensor
WO2022118801A1 (en) Hair evaluation method, program, computer, and hair evaluation system
JP2012042804A (en) Image processing apparatus and method
JP4222013B2 (en) Image correction apparatus, character recognition method, and image correction program
JP6641485B2 (en) Position specifying device and position specifying method
JP2006350642A (en) Image processing device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070601

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: 20070703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070710

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

Free format text: PAYMENT UNTIL: 20100720

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100720

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110720

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120720

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130720

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees