JPH1139463A - Image reader and image checking device using it - Google Patents

Image reader and image checking device using it

Info

Publication number
JPH1139463A
JPH1139463A JP19377897A JP19377897A JPH1139463A JP H1139463 A JPH1139463 A JP H1139463A JP 19377897 A JP19377897 A JP 19377897A JP 19377897 A JP19377897 A JP 19377897A JP H1139463 A JPH1139463 A JP H1139463A
Authority
JP
Japan
Prior art keywords
image
read
reading
white reference
unit
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.)
Withdrawn
Application number
JP19377897A
Other languages
Japanese (ja)
Inventor
Tsutomu Imai
努 今井
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.)
D S GIKEN KK
Original Assignee
D S GIKEN KK
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 D S GIKEN KK filed Critical D S GIKEN KK
Priority to JP19377897A priority Critical patent/JPH1139463A/en
Publication of JPH1139463A publication Critical patent/JPH1139463A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image reader and an image reading method which perform accurate shading compensation and an image checking device which performs accurate image checking. SOLUTION: A color CCD camera is moved so that its field angle range can be located at field angle positions AV1 to AV4 like (b) and margin parts of a reference article and an object are repeatedly read as a margin read area RA. And image signals of a full white reference image WW are acquired by collecting image signals of partial white reference images PW1 to PW4 which eliminate edge excesses of images of respectively acquired margin read areas RA. After shading compensation of each CCD of the color CCD camera is performed by using image signals of the full white reference image WW that is acquired in this way, the reference article and the objects are read and image check is performed.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、被読取り物の画
像を読み取って画像信号を生成する画像読取り装置およ
びそれを用いた画像検査装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image reading apparatus which reads an image of an object to be read and generates an image signal, and an image inspection apparatus using the same.

【0002】[0002]

【従来の技術】従来からの画像読取り装置では照明灯に
より読み取り位置に配置された原稿を照射し、原稿で反
射された光が結像レンズを介して電荷結像素子(CC
D)を複数個直線状(1次元)配列したラインセンサに
導いて原稿の画像を読み取り、ラインセンサは画像に応
じた値を電気信号として出力する。
2. Description of the Related Art In a conventional image reading apparatus, a document placed at a reading position is illuminated by an illumination lamp, and light reflected by the document is passed through an image forming lens to form a charge imaging device (CC).
D) is guided to a line sensor having a plurality of linear (one-dimensional) arrangements to read an image of a document, and the line sensor outputs a value corresponding to the image as an electric signal.

【0003】ところで、上記のような構成においてライ
ンセンサを構成する複数のCCDについて考えると、各
CCDはCCDごとに感度等の特性が異なるのが一般的
である。従って、このように特性の異なるCCDを複数
個配列したラインセンサで画像を読み取った際には主走
査方向(CCDの配列方向)に正確な画像の読み取りを
行うことができないことになり、画像劣化等の要因とな
る。
By the way, considering a plurality of CCDs constituting a line sensor in the above configuration, each CCD generally has different characteristics such as sensitivity for each CCD. Therefore, when an image is read by a line sensor having a plurality of CCDs having different characteristics, an accurate image cannot be read in the main scanning direction (CCD array direction). And so on.

【0004】そこで、主走査方向について画像を正確に
読み取るようにするために、従来より各CCDごとの感
度等の特性を補正する処理(シェーディング補正)が行
われている。
Therefore, in order to accurately read an image in the main scanning direction, processing for correcting characteristics such as sensitivity of each CCD (shading correction) has been conventionally performed.

【0005】ここで従来のシェーディング補正について
説明する。
Here, conventional shading correction will be described.

【0006】シェーディグ補正として最も普及している
方法では、原稿載置台の端部に白基準板を配置しておい
てそれを撮像手段で読取るのであるが、画像検査装置
(製版過程で使用される検版装置など)では、より正確
なシェーディング補正を行うために、固定された単一の
白基準板ではなく、様々な白さや素材の複数の無地用紙
を予め用意しておき、原稿の用紙の白さや素材に近いも
のを選択して読み取り位置に配置するということが行わ
れている。これらは印刷に使用される用紙などであるた
めに厳密な意味での「板」ではないが、シェーディング
補正における通常の用語を利用して、以下「白基準板」
と呼ぶことにする。
[0006] In the most widespread method for shading correction, a white reference plate is arranged at the end of a document table and read by an image pickup means. In order to perform more accurate shading correction, instead of a single fixed white reference plate, a plurality of plain papers of various whiteness and materials are prepared in advance, and the original paper It has been practiced to select something close to whiteness or material and place it at the reading position. These are not `` plates '' in a strict sense because they are paper used for printing, etc., but using the usual term in shading correction, the following "white reference plate"
I will call it.

【0007】このような白基準板を選択して配置した
後、照明灯を点灯させた状態で白基準板を読み取り、得
られたデータをメモリに格納する。次に、照明灯を消灯
した状態で読み取りを行い、得られたデータをメモリに
格納する。照明灯を消灯した状態で読み取りを行うとい
うことは、光が全くCCDに導かれない状態を読み取る
ことであるため、CCDごとの暗電流(オフセット)に
応じた値を検出することになる。
After selecting and arranging such a white reference plate, the white reference plate is read while the illumination lamp is turned on, and the obtained data is stored in a memory. Next, reading is performed with the illumination lamp turned off, and the obtained data is stored in the memory. Reading in a state in which the illumination lamp is turned off means reading a state in which no light is guided to the CCD, and therefore, a value corresponding to a dark current (offset) for each CCD is detected.

【0008】各CCDごとの暗電流と白基準板を読み取
った電流との間の出力差(各CCDごとのダイナミック
レンジ)を共通にする出力値の規格化のための設定を行
う。そして、実際の原稿の画像読み取りに際しては、こ
のようにしてあらかじめ得られているシェーディング補
正情報を使用して、撮像手段の各CCDからの出力信号
にする各CCDごとに異なるオフセットレベルの補正が
なされる。
[0008] The setting for normalizing the output value to make the output difference (dynamic range for each CCD) common between the dark current for each CCD and the current read from the white reference plate is performed. Then, when actually reading the image of the original, the offset levels which are different for each CCD to be output signals from each CCD of the image pickup means are corrected using the shading correction information obtained in advance in this way. You.

【0009】[0009]

【発明が解決しようとする課題】ところで、原稿の用紙
は元々の色が黄色等の白以外の色であったり、黄ばみや
変質等の発生により完全な白ではないことが多く、その
ため予め用意されていた白基準板を基準としてシェーデ
ィング補正を行ってもそれらは原稿の用紙とは厳密には
異なるため、正確なシェーディング補正を行うことがで
きなかった。
By the way, the original paper is often not originally white, such as yellow, or a color other than white, or is not completely white due to the occurrence of yellowing, deterioration, and the like. Even if the shading correction is performed on the basis of the white reference plate, the shading correction is strictly different from that of the original document, so that accurate shading correction cannot be performed.

【0010】また、例えば、白基準として原稿の余白部
分を白基準として利用することも考えられるが、その場
合でも原稿中に十分な広さの余白があることは少なく白
基準として利用することは困難であった。
Further, for example, it is conceivable to use a blank portion of a document as a white reference as a white reference. It was difficult.

【0011】この発明は、従来技術における上述の問題
の克服を意図しており、正確なシェーディング補正が行
える画像読取り装置およびこれを用いることにより正確
な画像検査を行うことができる画像検査装置を提供する
ことを目的とする。
The present invention intends to overcome the above-mentioned problems in the prior art, and provides an image reading apparatus capable of performing accurate shading correction and an image inspection apparatus capable of performing accurate image inspection by using the same. The purpose is to do.

【0012】[0012]

【課題を解決するための手段】上記の目的を達成するた
め、この発明の請求項1の装置は、被読取り物の画像を
読み取って画像信号を生成する画像読取り装置であっ
て、被読取り物を保持する被読取り物保持手段と、被読
取り物の画像を読み取って、画像信号を生成する撮像手
段と、被読取り物保持手段と撮像手段とを相対的に移動
させる移動手段と、被読取り物の余白部分を含む被読取
り領域を指定する被読取り領域指定手段と、被読取り物
と撮像手段とを相対的に移動させつつ被読取り領域を読
み取るように移動手段および撮像手段を制御する制御手
段と、読み取りにより得られた画像信号を記憶する記憶
手段と、画像信号のうち余白部分に相当する画像信号に
基づいて撮像手段についての白基準画像信号を生成する
白基準画像信号生成手段と、白基準画像信号を基にシェ
ーディング補正を行うシェーディング補正手段と、を備
える。
According to a first aspect of the present invention, there is provided an image reading apparatus for reading an image of an object to be read and generating an image signal. Object holding means for holding the object, image pickup means for reading an image of the object to read, and generating an image signal; moving means for relatively moving the object holding means and the image pickup means; Read area specifying means for specifying an area to be read including a blank portion, and control means for controlling the moving means and the image pickup means to read the read area while relatively moving the object to be read and the image pickup means; and Storage means for storing an image signal obtained by reading, and white reference image signal generation for generating a white reference image signal for the imaging means based on an image signal corresponding to a margin portion of the image signal Comprises a stage, on the basis of the white reference image signal and a shading correction unit that performs shading correction, a.

【0013】また、この発明の請求項2の装置は、請求
項1の画像読取り装置であって、制御手段は、被読取り
物と撮像手段とを相対的に移動させつつ被読取り領域を
撮像手段で繰り返し読み取るように移動手段および撮像
手段を制御し、記憶手段は、繰り返し読み取りにより得
られた複数の画像信号を記憶するものであり、白基準画
像信号生成手段は、複数の画像信号のうち余白部分に相
当する画像信号を集めて撮像手段の全画角に相当する白
基準画像信号を生成するものであることを特徴とする。
According to a second aspect of the present invention, there is provided the image reading apparatus according to the first aspect, wherein the control means moves the object to be read and the imaging means relative to each other to image the area to be read. The moving means and the imaging means are controlled so as to be repeatedly read in the storage means, and the storage means stores a plurality of image signals obtained by the repeated reading. An image signal corresponding to the portion is collected to generate a white reference image signal corresponding to the entire angle of view of the imaging means.

【0014】また、この発明の請求項3の装置は、請求
項2の画像読取り装置において、全画角を分割して得ら
れる複数の区画につき、繰り返し読み取りのそれぞれに
おいて余白部分を全画角の異なる区画で撮像して複数の
画像信号を得ることを特徴とする。
According to a third aspect of the present invention, in the image reading apparatus according to the second aspect, a margin portion of each of the plurality of sections obtained by dividing the entire angle of view is repeatedly set to a margin of the full angle of view. It is characterized in that a plurality of image signals are obtained by imaging in different sections.

【0015】また、この発明の請求項4の装置は、請求
項3の画像読取り装置において、全画角を複数の区画に
分割するための分割数を操作指定する分割数操作指定手
段、をさらに備える。
According to a fourth aspect of the present invention, in the image reading apparatus of the third aspect, a division number operation designating means for designating the number of divisions for dividing the entire angle of view into a plurality of sections is further provided. Prepare.

【0016】また、この発明の請求項5の装置は、請求
項1ないし請求項4のうちのいずれかの画像読取り装置
であって、撮像手段が次元的に配列された撮像素子を備
えるものであることを特徴とする。
According to a fifth aspect of the present invention, there is provided the image reading apparatus according to any one of the first to fourth aspects, wherein the imaging means includes an imaging element in which the imaging means is arranged in a dimension. There is a feature.

【0017】また、この発明の請求項6の装置は、請求
項1ないし請求項5のうちのいずれかの画像読取り装置
において、移動手段が撮像手段と被読み取り物保持手段
とを互いの距離を一定に保ちつつ2次元的に移動させる
ものであって、さらに、撮像手段に対して固定された位
置に配置されて、被読み取り物を照明する照明手段を備
える。
According to a sixth aspect of the present invention, in the image reading apparatus of any one of the first to fifth aspects, the moving means moves the imaging means and the object holding means to each other. The moving means is two-dimensionally moved while being kept constant, and is further provided with an illuminating means which is arranged at a position fixed with respect to the imaging means and illuminates the object to be read.

【0018】また、この発明の請求項7の装置は、請求
項6の画像読取り装置において、照明手段が、撮像手段
の画角の周囲を囲むように設けられた環状照明手段であ
ることを特徴とする。
According to a seventh aspect of the present invention, in the image reading apparatus of the sixth aspect, the illuminating means is an annular illuminating means provided so as to surround a periphery of an angle of view of the imaging means. And

【0019】さらに、この発明の請求項8の装置は、複
数の被読取り物の画像を読み取り、それらの画像を相互
に比較して検査する画像検査装置であって、請求項1な
いし請求項7のうちのいずれかの画像読取り装置と、撮
像手段によって複数の被読取り物を読取って得られる複
数の被検査画像信号に対してシェーディング補正に応じ
た信号変換を行う信号変換手段と、信号変換を施した後
の複数の被検査画像信号を比較することによって複数の
被読取り物上の画像の不一致箇所を検出する差異検出手
段と、差異検出手段による検出結果を表示する表示手段
と、を備える。
Furthermore, the apparatus according to claim 8 of the present invention is an image inspection apparatus for reading images of a plurality of objects to be read and inspecting the images by comparing the images with each other. Any one of the image reading apparatus, a signal conversion unit that performs signal conversion according to shading correction on a plurality of inspection image signals obtained by reading a plurality of objects to be read by an imaging unit, and a signal conversion unit. The image processing apparatus includes: a difference detection unit configured to detect a mismatched portion of an image on a plurality of reading objects by comparing a plurality of inspection image signals after the application; and a display unit configured to display a detection result by the difference detection unit.

【0020】なお、この発明における「白」とは、光学
的に厳密な意味での白だけでなく、被読み取り物の生地
の色や背景色などを含む用語である。
The term "white" in the present invention is a term that includes not only white in an optically strict sense, but also the color of the fabric of the object to be read and the background color.

【0021】また、「余白部分」とは、画像領域の外周
にある部分だけでなく、画像領域の中であっても被読み
取り物の生地ないしは背景色が出ているような領域をも
含む。
The "margin portion" includes not only a portion on the outer periphery of the image area, but also an area in the image area where the material or background color of the object to be read appears.

【0022】[0022]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

[1.実施の形態の機構的構成と装置配列]まず、この
発明の実施の形態である画像検査装置の概要を説明す
る。
[1. Mechanical Configuration and Apparatus Arrangement of Embodiment] First, an outline of an image inspection apparatus according to an embodiment of the present invention will be described.

【0023】図1はこの発明の1つの実施の形態である
画像検査装置1のうちの画像読取り装置1aの外観斜視
図である。同図および図3、図4においては、水平面を
X−Y面とし、鉛直方向をZ軸方向とする3次元座標系
X−Y−Zが定義されている。
FIG. 1 is an external perspective view of an image reading apparatus 1a of an image inspection apparatus 1 according to one embodiment of the present invention. 3 and 4, a three-dimensional coordinate system XYZ is defined in which a horizontal plane is an XY plane and a vertical direction is a Z-axis direction.

【0024】この画像検査装置1は製版用の検版装置と
して構成されており、校正刷り(初校PS1,再校PS
2…)、原版フィルムF1,F2…や印刷版P1,P2
…等を相互に比較検査することができ、たとえば初校P
S1と再校PS2との比較検査を行い、再校の段階で初
校からの修正が正しく行われているかどうかを知るため
に使用される。そこで、この実施の形態における被読取
り物Sはこれらの校正刷りを検査対象として説明する。
The image inspection apparatus 1 is configured as a plate inspection apparatus for plate making, and includes proof printing (first school PS1, second school PS).
2)), original films F1, F2 ... and printing plates P1, P2
… Etc. can be compared with each other.
This is used for performing a comparison inspection between S1 and the re-establishment PS2 and determining whether corrections from the first school have been correctly performed at the re-entry stage. Therefore, the object S to be read in this embodiment will be described with these proofs as inspection targets.

【0025】この画像検査装置1では、本体2の上面に
透明ガラス板3が取り付けられており、この透明ガラス
板3上に校正刷り(初校PS1,再校PS2…)、原版
フィルムF1,F2…や印刷版P1,P2…などの被読
取り物Sを載置可能となっている。また、本体2の上面
には、透明ガラス板3より若干大きな平面サイズを有す
るカバー部材4のY側端部が透明ガラス板3の(+Y)
側で揺動自在に連結されており、作業者が透明ガラス板
3の上に校正刷り、原版フィルムおよび印刷版のいずれ
かの被読取り物Sを載置し、カバー部材4を透明ガラス
板3上に倒すと、当該シート状の被読取り物Sが透明ガ
ラス板3とカバー部材4との間に挟まれ、保持される。
このようにこの実施の形態では、透明ガラス板3とカバ
ー部材4とで校正刷り等の被読取り物Sを保持する被読
取り物保持手段が構成されている。
In the image inspection apparatus 1, a transparent glass plate 3 is mounted on the upper surface of the main body 2, and proof printing (first school PS1, second school PS2...) And original films F1, F2 are provided on the transparent glass plate 3. , And printing plates P1, P2,... On the upper surface of the main body 2, the Y-side end of the cover member 4 having a plane size slightly larger than the transparent glass plate 3 is set to (+ Y) of the transparent glass plate 3.
The operator oscillates on the side, and an operator places the object S to be read out of the proof printing, the original film and the printing plate on the transparent glass plate 3, and attaches the cover member 4 to the transparent glass plate 3. When folded up, the sheet-like object S is sandwiched between the transparent glass plate 3 and the cover member 4 and held.
As described above, in this embodiment, the transparent glass plate 3 and the cover member 4 constitute a reading object holding unit that holds the reading object S such as a proof print.

【0026】図2はこの画像検査装置1の電気的構成を
光学的構成および機構的構成の制御系とともに示す図で
ある。
FIG. 2 is a diagram showing an electrical configuration of the image inspection apparatus 1 together with a control system having an optical configuration and a mechanical configuration.

【0027】この装置は、制御手段、白基準画像信号生
成手段、シェーディング補正手段、信号変換手段および
差異検出手段として機能する制御演算装置61としてC
PUおよびメモリを有するコンピュータユニットを備え
ている。この制御演算装置61の入出力装置としては、
カラーCRT62,キーボード63,マウス64,モノ
クロプロッタ65およびカラープリンタ66が設けられ
ており、後述のようにカラーCRT62,キーボード6
3,マウス64により被読取り領域指定手段が形成さ
れ、カラーCRT62、モノクロプロッタ65およびカ
ラープリンタ66はそれぞれ表示手段として機能する。
また、制御演算装置61は音声ユニットコントローラ6
7を介して音声ユニット68を制御して作業者に対して
音声メッセージを伝える。また、制御演算装置61は照
明コントローラ69を介して丸型蛍光灯22の点灯・消
灯制御できる。また、撮像手段であるカラーCCDカメ
ラ40で得られるRGB3色成分の画像信号は画像入力
回路70に与えられ、適当な画像処理を受けた後、制御
演算装置61に送られる。また、制御演算装置61は、
モータコントローラ71を介してレンズ駆動用モータ8
1(後で詳述する)を制御できるとともに、モータコン
トローラ72を介してX駆動用およびY駆動用パルスモ
ータ14a,14bをそれぞれ制御できる。さらに、記
憶手段として機能する外部記録媒体として、磁気ディス
ク73が制御演算装置61に電気的に接続されている。
This apparatus comprises a control arithmetic unit 61 serving as a control unit, a white reference image signal generation unit, a shading correction unit, a signal conversion unit and a difference detection unit.
A computer unit having a PU and a memory is provided. As an input / output device of the control operation device 61,
A color CRT 62, a keyboard 63, a mouse 64, a monochrome plotter 65, and a color printer 66 are provided.
3. A read area designation unit is formed by the mouse 64, and the color CRT 62, the monochrome plotter 65, and the color printer 66 each function as a display unit.
In addition, the control arithmetic unit 61 is a voice unit controller 6
A voice message is transmitted to the operator by controlling the voice unit 68 via. Further, the control arithmetic unit 61 can control the turning on and off of the round fluorescent lamp 22 via the illumination controller 69. Further, the image signals of the three RGB components obtained by the color CCD camera 40 as the image pickup means are given to the image input circuit 70, subjected to appropriate image processing, and then sent to the control arithmetic unit 61. In addition, the control operation device 61
Motor 8 for driving the lens via the motor controller 71
1 (described later in detail), and the X-drive and Y-drive pulse motors 14a and 14b can be controlled via the motor controller 72, respectively. Further, a magnetic disk 73 is electrically connected to the control arithmetic unit 61 as an external recording medium functioning as a storage unit.

【0028】つぎに、この装置の主要部について説明し
ていく。
Next, the main part of this apparatus will be described.

【0029】図3はカバー部材4を透明ガラス板3上に
倒した状態での、図1の画像読取り装置1aの断面図で
ある。本体2の内部において、底面側にベースフレーム
5が配置されており、このベースフレーム5上に移動手
段であるXY駆動機構10が設けられている。このXY
駆動機構10は、同図に示すように、X方向に伸びたX
駆動ユニット11aと、Y方向に伸びたY駆動ユニット
11bとで構成されており、それら各ユニットは透明ガ
ラス板3に平行に設けられている。
FIG. 3 is a sectional view of the image reading apparatus 1a of FIG. 1 in a state where the cover member 4 is laid on the transparent glass plate 3. Inside the main body 2, a base frame 5 is arranged on the bottom surface side, and an XY drive mechanism 10 as a moving means is provided on the base frame 5. This XY
As shown in FIG. 3, the drive mechanism 10 has an X extending in the X direction.
It is composed of a drive unit 11a and a Y drive unit 11b extending in the Y direction, and these units are provided in parallel with the transparent glass plate 3.

【0030】X駆動ユニット11aでは、ボールネジ1
2aの一方端が図示を省略するベアリングで回転自在に
軸支されるとともに、他方端がX駆動用パルスモータ
(図示省略)に連結されている。また、このボールネジ
12aの中間部には、結合ブロック13aが螺合されて
いる。さらに、この結合ブロック13a上にY駆動ユニ
ット11bが固定されている。なお、このY駆動ユニッ
ト11bの基本構成はX駆動ユニット11aと同一であ
るため、ここでは、その説明を省略する。
In the X drive unit 11a, the ball screw 1
One end of 2a is rotatably supported by a bearing (not shown) and the other end is connected to an X drive pulse motor (not shown). A coupling block 13a is screwed into an intermediate portion of the ball screw 12a. Further, a Y drive unit 11b is fixed on the coupling block 13a. The basic configuration of the Y drive unit 11b is the same as that of the X drive unit 11a, and a description thereof will be omitted.

【0031】このように構成されたXY駆動機構10で
は、X駆動用およびY駆動用パルスモータ14a,14
bを制御することで、Y駆動ユニット11bのボールネ
ジ(図示省略)に螺合された結合ブロック13bをXお
よびY方向に2次元的に、しかも透明ガラス板3と平行
に移動させることができ、したがって、カラーCCDカ
メラ40を透明ガラス板3との距離を一定に保ちながら
2次元的に移動させることができる。
In the XY drive mechanism 10 constructed as described above, the X drive and Y drive pulse motors 14a and 14
By controlling b, the coupling block 13b screwed to the ball screw (not shown) of the Y drive unit 11b can be moved two-dimensionally in the X and Y directions and in parallel with the transparent glass plate 3, Therefore, the color CCD camera 40 can be moved two-dimensionally while keeping the distance from the transparent glass plate 3 constant.

【0032】図4は、構造体50の構成を示す斜視図で
ある。同図に示すように、2次元的に移動自在な結合ブ
ロック13bには、照明ユニット20と、光学系30
と、カラーCCDカメラ40とを一体化してなる構造体
50が取り付けられている。
FIG. 4 is a perspective view showing the structure of the structure 50. As shown in the drawing, the illumination unit 20 and the optical system 30 are provided in the two-dimensionally movable coupling block 13b.
And a structure 50 formed by integrating the color CCD camera 40.

【0033】照明ユニット20では、円筒状の本体カバ
ー21内に環状照明手段である丸型蛍光灯22が収めら
れており、照明コントローラ69により点灯・消灯が制
御される。この丸型蛍光灯22を点灯すると、丸型蛍光
灯22からの照明光ILが本体カバー21の上部に設け
られた開口部23を通過し、さらに透明ガラス板3を透
過して被読取り物Sの一部に入射する。このように、こ
の実施の形態では、丸型蛍光灯22により照明光ILを
被読取物Sの一部を局部的に照明しているので、照明領
域での照度分布を均一化することができる。
In the illumination unit 20, a circular fluorescent lamp 22 as an annular illumination means is accommodated in a cylindrical main body cover 21, and the lighting controller 69 controls the turning on and off. When the round fluorescent lamp 22 is turned on, the illumination light IL from the round fluorescent lamp 22 passes through the opening 23 provided on the upper part of the main body cover 21 and further passes through the transparent glass plate 3 to read the object S to be read. Incident on a part of. As described above, in this embodiment, the illumination light IL locally illuminates a part of the object S to be read by the round fluorescent lamp 22, so that the illuminance distribution in the illumination area can be made uniform. .

【0034】被読取物Sの照明領域で反射した光は光学
系30によりカラーCCDカメラ40に導かれる。この
光学系30は可動レンズ群を含む複数のレンズ群で構成
され、レンズ駆動用モータ81が可動レンズ群を駆動
し、光軸OA方向に移動させることで、光学系30の倍
率を変更することが可能となっている。
The light reflected from the illumination area of the object S is guided to the color CCD camera 40 by the optical system 30. The optical system 30 includes a plurality of lens groups including a movable lens group, and a lens driving motor 81 drives the movable lens group to move the movable lens group in the direction of the optical axis OA, thereby changing the magnification of the optical system 30. Is possible.

【0035】また、カラーCCDカメラ40は内部に2
次元的に配列された撮像素子であるCCDを備えてお
り、2次元画像の画像信号を生成することができる。
The color CCD camera 40 has two
It has a CCD which is an image pickup device arranged in a dimension, and can generate an image signal of a two-dimensional image.

【0036】このように構成された構造体50では、照
明ユニット20により透明ガラス板3上に載置された被
読取物Sを局部的に均一照明するとともに、光学系30
により照明範囲の画像を適当に変倍し、当該画像をカラ
ーCCDカメラ40で撮像する。しかも、この構造体5
0は結合ブロック13bに取り付けられているため、上
記のようにして被読取物Sの局部的な画像を撮像しなが
らモータコントローラによりX駆動用およびY駆動用パ
ルスモータを制御して2次元的に構造体50を移動させ
て被読取物S上の全体画像を読み取ることができる。
In the structure 50 configured as described above, the reading unit S placed on the transparent glass plate 3 is locally and uniformly illuminated by the illumination unit 20, and the optical system 30 is illuminated.
, The image of the illumination range is appropriately scaled, and the image is captured by the color CCD camera 40. Moreover, this structure 5
0 is attached to the coupling block 13b, so that the X- and Y-drive pulse motors are controlled by the motor controller while capturing the local image of the object S to be read in the two-dimensional manner as described above. The whole image on the reading target S can be read by moving the structure 50.

【0037】また、構造体50には照明ユニット20も
設けられているため照明ユニット20はカラーCCDカ
メラ40によって常に固定された位置にあり、撮像位置
に拘わらず常に均一な照明のもとに撮像を行うことがで
き、さらに、前述のようにXY駆動機構10のXおよび
Y駆動ユニット11a,11bならびに透明ガラス板3
とが平行に設けられているのでカラーCCDカメラ40
と被読取り物Sとの距離が撮像位置に拘わらず常に一定
であるので、常に撮像条件を一定にすることができる。
したがって、後述のようにカラーCCDカメラ40を移
動しつつ余白読取り領域RA(「被読取り領域」に相
当)を繰返し読み取っても常に同じ条件で部分白基準画
像信号を生成することができ、正確なシェーディング補
正を行うことができるのである。
Further, since the lighting unit 20 is also provided in the structure 50, the lighting unit 20 is always at a fixed position by the color CCD camera 40, and the image is always taken under uniform illumination regardless of the image taking position. And the X and Y drive units 11a and 11b of the XY drive mechanism 10 and the transparent glass plate 3 as described above.
Are provided in parallel, so that the color CCD camera 40
Since the distance between the object and the object to be read S is always constant irrespective of the imaging position, the imaging condition can always be kept constant.
Therefore, even if the color CCD camera 40 is moved and the margin reading area RA (corresponding to the “read area”) is repeatedly read while moving the color CCD camera 40, a partial white reference image signal can always be generated under the same conditions, and an accurate white reference image signal can be generated. Shading correction can be performed.

【0038】以上のような装置構成によりこの実施の形
態では初校および再校等の画像を撮像しそれらを比較す
ることによって画像検査を行うが、この装置ではその前
にシェーディング補正を行っている。そして、そのシェ
ーディング補正に際して白に当たる読取りの出力信号
(最大出力信号)である全体白基準画像信号を得るため
に、初校や再校等の余白部分を読み取っている。
In this embodiment, the image inspection is performed by taking images of the first school and the second school and comparing them with the above-mentioned apparatus configuration. In this apparatus, shading correction is performed before this. . In order to obtain an entire white reference image signal which is a read output signal (maximum output signal) corresponding to white at the time of the shading correction, a blank portion such as a first school or a re-school is read.

【0039】図5は余白読取り領域RAを指定するため
の指定画面を示した図である。図中では後述する余白読
取り領域RAが矩形として表わされている。このような
余白読取り領域RAをカラーCCDカメラ40により読
み取り、全体白基準画像信号を得るのである。
FIG. 5 is a diagram showing a designation screen for designating the margin reading area RA. In the figure, a margin reading area RA described later is represented as a rectangle. Such a blank reading area RA is read by the color CCD camera 40 to obtain an entire white reference image signal.

【0040】ただし、この装置では原稿の余白部分の大
きさにより作業者がカラーCCDカメラ40の全画角の
分割数の指定を行うことができるようになっている。す
なわち、図中の分割数指定ボックスDBにおいて画角の
横方向(X方向)および縦方向(Y方向)の分割数指定
キーKX1〜KX5,KY1〜KY5のそれぞれいずれかを
作業者がマウス64によりクリックして反転表示させる
ことによって分割数を指定する。すると指定した分割数
に応じた大きさの余白読取り領域RAに相当する矩形が
カラーCRT62画面上に表示され、作業者はそれをマ
ウス64によりドラッグすることで所望の位置に移動で
きる。また、余白読取り領域RAに相当する矩形が表示
画面の周縁部に達したり、作業者がキーボード63のカ
ーソルキーを操作すると表示領域DAが移動する。そし
て、余白読取り領域RAを確定する場合には確定キーD
Kをクリックし、さらにその後に位置を変更したい場合
にはキャンセルキーCKをクリックする。
In this apparatus, however, the operator can specify the number of divisions of the full angle of view of the color CCD camera 40 according to the size of the margin of the document. That is, in the division number designation box DB in the figure, the operator uses the mouse 64 to select one of the horizontal (X direction) and vertical (Y direction) division number designation keys KX1 to KX5 and KY1 to KY5 of the angle of view. Click to highlight and specify the number of divisions. Then, a rectangle corresponding to the margin reading area RA having a size corresponding to the designated number of divisions is displayed on the color CRT 62 screen, and the operator can move it to a desired position by dragging it with the mouse 64. The display area DA moves when a rectangle corresponding to the margin reading area RA reaches the periphery of the display screen, or when an operator operates a cursor key on the keyboard 63. When the margin reading area RA is determined, the determination key D
Click K, and then click the cancel key CK if you want to change the position.

【0041】このようにして、余白読取り領域RAが確
定すると作業者は読取り実行キーRKをクリックする。
すると、カラーCCDカメラ40は、横および縦方向の
分割数がそれぞれ「1」である場合には、その余白読取
り領域RAの示す領域を全体余白読取り領域として1度
だけ読取り、逆に横および縦方向の分割数のいずれかま
たは両方が「2」以上である場合には余白読取り領域R
Aをとして繰返し読み取る。
When the margin reading area RA is determined in this way, the operator clicks the reading execution key RK.
Then, when the number of divisions in the horizontal and vertical directions is “1”, the color CCD camera 40 reads the area indicated by the margin reading area RA only once as the entire margin reading area, and conversely, reads the horizontal and vertical directions. If one or both of the number of divisions in the direction is “2” or more, the margin reading area R
Read repeatedly as A.

【0042】すなわち、原稿中に全体白基準画像として
読み取るのに十分な大きさの余白がある場合には、それ
をカラーCCDカメラ40で読み取った画像信号を全体
白基準画像信号とするが、十分な大きさの余白がない場
合には、カラーCCDカメラ40の全画角を複数の区画
に等分割したうちのほぼ1区画分の大きさの被読取り物
S中の余白部分を繰返し読み取ることにより、カラーC
CDカメラ40のCCD配列の前記各区画に対する部分
白基準画像信号を得て、それらの信号を制御演算装置6
1によりソフトウェア的に寄せ集めて全体白基準画像信
号を得ている。
That is, when there is a margin large enough to be read as a whole white reference image in the original, the image signal read by the color CCD camera 40 is used as the whole white reference image signal. When there is no large margin, by repeatedly reading a blank portion in the reading object S having a size of approximately one section, which is obtained by equally dividing the entire angle of view of the color CCD camera 40 into a plurality of sections. , Color C
A partial white reference image signal for each of the sections of the CCD array of the CD camera 40 is obtained, and these signals are processed by the control arithmetic unit 6
1 collects the whole white reference image signal by software.

【0043】図6は画像検査装置1による余白読取り領
域RAの繰返し読取り概念を示す図である。以下、図6
を例に分割読取りとそれにより部分白基準画像信号の生
成処理について説明する。
FIG. 6 is a view showing the concept of repeatedly reading the margin reading area RA by the image inspection apparatus 1. Hereinafter, FIG.
Will be described as an example, and a process of generating a partial white reference image signal by divisional reading will be described.

【0044】図6(a)においてカラーCCDカメラ4
0の全画角に相当する大きさの全体白基準画像WWに対
して部分白基準画像PW1〜PW4がその1/4の大き
さとなっている。すなわち、この例では横および縦方向
の分割数が「2」(2×2分割)である場合を示してい
る。
In FIG. 6A, the color CCD camera 4
The partial white reference images PW1 to PW4 are 1 / of the size of the entire white reference image WW having a size corresponding to the full angle of view of 0. That is, this example shows a case where the number of divisions in the horizontal and vertical directions is “2” (2 × 2 division).

【0045】図6(b)は繰返し読取りの際の余白読取
り領域RAに対するカラーCCDカメラ40の画角位置
AV1〜AV4を表わしている。図示のように各画角位
置AV1〜AV4のそれぞれに対して余白読取り領域R
Aは全画角の4隅の区画に位置している。図7はこの様
子を示した図である。なお、図7に示すように、余白読
取り領域RAは各部分白基準画像PW1〜PW4の領域
より僅かに大きくなっている。これは、読取り位置と画
面に表示された矩形とが必ずしも一致しないため、余白
読取り領域RAの指定の際にカラーCRT62の画面上
に表示される領域およびそれに対応する余白読取り領域
RAを必要な部分白基準画像PW1〜PW4の領域の大
きさより僅かに大きめにしておき、必要な部分白基準画
像信号が足りなくなることを防ぐためである。そのた
め、実際の全体白基準画像信号を生成する場合には余分
な余白読取り領域RAと部分白基準画像PW1〜PW4
の領域との間の削除領域DA1〜DA4の画像信号を削
除して部分白基準画像PW1〜PW4の画像信号を寄せ
集めている。
FIG. 6B shows the angle-of-view positions AV1 to AV4 of the color CCD camera 40 with respect to the blank reading area RA during repeated reading. As shown in the figure, a margin reading area R is provided for each of the angle-of-view positions AV1 to AV4.
A is located in the four corner sections of the full angle of view. FIG. 7 is a diagram showing this state. As shown in FIG. 7, the margin reading area RA is slightly larger than the areas of the respective partial white reference images PW1 to PW4. This is because the reading position does not always match the rectangle displayed on the screen, and when the margin reading area RA is designated, the area displayed on the screen of the color CRT 62 and the corresponding margin reading area RA are required. This is because the area of the white reference image PW1 to PW4 is set slightly larger than the size of the area to prevent a necessary partial white reference image signal from becoming insufficient. Therefore, when an actual whole white reference image signal is generated, an extra blank reading area RA and partial white reference images PW1 to PW4 are used.
And the image signals of the partial white reference images PW1 to PW4 are collected by deleting the image signals of the deletion areas DA1 to DA4 between these areas.

【0046】また、前述のように、この装置ではカラー
CCDカメラ40の全画角の複数区画による分割数を図
5のような選択画面により異なるものとして指定するこ
とができる。図8はその他の分割数の例を示す図であ
る。すなわち、この装置では図8(a)に示した全体白
基準画像WWを9分割(3×3分割)のように横および
縦方向の分割数を「1」〜「5」の範囲で等しく指定す
ることもできるし、図8(b)に示した全体白基準画像
WWを6分割(2×3分割)のように縦および横方向の
分割数を「1」〜「5」の範囲で異なる数に指定するこ
ともできる。
As described above, in this apparatus, the number of divisions of the color CCD camera 40 by a plurality of sections of the entire angle of view can be designated as different on a selection screen as shown in FIG. FIG. 8 is a diagram illustrating another example of the number of divisions. That is, in this apparatus, the number of divisions in the horizontal and vertical directions is equally specified in the range of "1" to "5", such as dividing the entire white reference image WW shown in FIG. Alternatively, the number of divisions in the vertical and horizontal directions may be different in the range of “1” to “5”, such as dividing the entire white reference image WW shown in FIG. 8B into six (2 × 3). It can also be specified as a number.

【0047】そして、このようにして得られた全体白基
準画像信号を用いて制御演算装置61によりシェーディ
ング補正をソフトウェア的に行うのである。
The shading correction is performed by software using the control arithmetic unit 61 using the whole white reference image signal obtained as described above.

【0048】[2.実施の形態の処理手順]つぎに、こ
の実施の形態におけるシェーディング補正処理すなわち
白基準画像信号の生成およびシェーディング補正の手順
について、そのフローチャートである図9を用いて説明
する。
[2. Processing Procedure of Embodiment] Next, the procedure of the shading correction processing, that is, the generation of the white reference image signal and the shading correction in this embodiment will be described with reference to the flowchart of FIG.

【0049】まず、被読取り物Sのプリスキャンが行わ
れ(ステップS1)、その後、カラーCRT62の画面
に表示領域の画像が表示される(ステップS2)。
First, a pre-scan of the object S is performed (step S1), and thereafter, an image of the display area is displayed on the screen of the color CRT 62 (step S2).

【0050】そして、上述のようにして作業者が余白読
取り領域RAを移動させながら全体白基準画像信号を一
回の読取りで得ることができる十分な余白が被読取り物
S中にあるかどうかを判断する(ステップS3)。
Then, as described above, while moving the margin reading area RA, it is determined whether or not there is a sufficient margin in the read object S for obtaining the entire white reference image signal by one reading. A judgment is made (step S3).

【0051】そして、十分な余白がある場合には、作業
者がその余白部分に上記の余白読取り領域RAを確定
し、それによりカラーCCDカメラ40によりその領域
が読取られ(ステップS4)、全体白基準画像信号が生
成される(ステップS5)。
If there is a sufficient margin, the operator determines the above-mentioned margin reading area RA in the margin, and the area is read by the color CCD camera 40 (step S4), and the entire white is read. A reference image signal is generated (Step S5).

【0052】逆に、十分な余白がない場合には、まず、
作業者が上述のようにして全体白基準画像WWの分割数
および余白読取り領域RAを指定し、読取りの実行を指
示する(ステップS6)。すると、それにより余白読取
り領域RAが繰返し読取られる(ステップS7)。そし
て、ステップS6において得られた余白読取り領域RA
の画像信号中の部分白基準画像信号を集めて全体白基準
画像信号が生成される(ステップS8)。
Conversely, if there is not enough blank space,
The operator designates the number of divisions of the entire white reference image WW and the margin reading area RA as described above, and instructs to execute reading (step S6). Then, the blank reading area RA is repeatedly read (step S7). Then, the margin reading area RA obtained in step S6
The whole white reference image signal is generated by collecting the partial white reference image signals in the image signal (step S8).

【0053】以上により、全体白基準画像信号が準備で
きたので、つぎに、カラーCRT62に全体白基準画像
WWが表示され(ステップS9)、全体白基準画像WW
中に文字や絵柄等の余白以外の画像が含まれておらず、
それで全体白基準画像WWを確定してよいかどうかを作
業者が判断する(ステップS10)。そして、文字や絵
柄等が含まれていて全体白基準画像WWを確定すること
ができなければ全体白基準画像信号を再生成するために
ステップS2に戻り、再び、ステップS2〜ステップS
10の処理を繰返す。逆に、文字や絵柄等が含まれてお
らず全体白基準画像WWを確定することができれば、そ
の全体白基準画像信号を用いてシェーディング補正が行
われるのである(ステップS11)。なお、ステップS
11のシェーディング補正そのものについては従来より
行われている方法を利用可能である。
As described above, the whole white reference image signal is prepared. Next, the whole white reference image WW is displayed on the color CRT 62 (step S9), and the whole white reference image WW is displayed.
There is no image other than margins such as characters and pictures in it,
Then, the operator determines whether the entire white reference image WW may be determined (step S10). Then, if the entire white reference image WW cannot be determined due to the inclusion of characters, pictures, and the like, the process returns to step S2 to regenerate the entire white reference image signal, and steps S2 to S2 are performed again.
Step 10 is repeated. Conversely, if the entire white reference image WW can be determined without including characters or pictures, shading correction is performed using the entire white reference image signal (step S11). Step S
For the eleventh shading correction itself, a conventionally used method can be used.

【0054】以上が、シェーディング補正処理の手順で
ある。
The above is the procedure of the shading correction processing.

【0055】さらに、この装置では以上のようなシェー
ディング補正処理を初校、再校等の被読取り物Sの読取
りに際して行い、それらの画像を比較して検版処理を行
っている。図10はこの実施の形態の検版処理のフロー
チャートである。以下、図10を用いて検版処理の手順
について説明していく。
Further, in this apparatus, the above-described shading correction processing is performed when reading the read object S such as the first school and the second school, and the images are compared to perform the plate inspection processing. FIG. 10 is a flowchart of the plate inspection process according to this embodiment. Hereinafter, the procedure of the plate inspection process will be described with reference to FIG.

【0056】まず、作業者が初校PS1等の基準物を透
明ガラス板3上にセットし(ステップS21)、実行を
指示する。すると、基準物に対して図9を用いて説明し
た手順により第1のシェーディング補正処理が行われる
(ステップS22)。
First, the operator sets a reference object such as the first school PS1 on the transparent glass plate 3 (step S21) and instructs execution. Then, the first shading correction process is performed on the reference object according to the procedure described with reference to FIG. 9 (step S22).

【0057】つぎに、作業者が基準物の読み取りを指示
すると、基準物の読み取りが実行される(ステップS2
3)。ここにおいては、カラーCCDカメラ40によっ
て読み取られた画像信号に対して第1のシェーディング
補正処理に対応する信号変換が行われる。このようにし
て得られた基準物の画像信号は磁気ディスク73に保存
される。
Next, when the operator instructs to read the reference object, the reference object is read (step S2).
3). Here, signal conversion corresponding to the first shading correction process is performed on the image signal read by the color CCD camera 40. The image signal of the reference object thus obtained is stored on the magnetic disk 73.

【0058】同様にして、作業者が再校PS2等の対象
物を透明ガラス板3上にセットし(ステップS24)、
実行を指示すると図9の手順により第2のシェーディン
グ補正処理が行われ(ステップS25)、続いて対象物
の読取りが実行され(ステップS26)、その画像信号
は磁気ディスク73に保存される。そして第2のシェー
ディング補正処理に対応する信号変換が行われる。な
お、対象物の用紙の色や材質等が同じか、ほぼ同じであ
る場合には作業者の指定により、対象物についての第2
のシェーディング補正処理を省略し、基準物についての
第1のシェーディング補正処理の結果を利用することも
できるようになっている。
Similarly, the operator sets an object such as the re-establishment PS2 on the transparent glass plate 3 (step S24).
When the execution is instructed, the second shading correction processing is performed according to the procedure of FIG. 9 (step S25), and then the reading of the object is executed (step S26), and the image signal is stored in the magnetic disk 73. Then, signal conversion corresponding to the second shading correction processing is performed. If the color or material of the target object is the same or almost the same, the second
Can be omitted, and the result of the first shading correction process for the reference object can be used.

【0059】このようにして基準物および対象物の読み
取り処理が完了すると、アライメント処理を実行する
(ステップS27)。この処理は、作業者がカラーCR
T62上に表示された画像を見ながらマウス64を操作
して基準物および対象物を重ね合わせるための基準とな
る座標であるアライメント基準座標を設定し、それらが
両画像で互いに重なり合うように両画像全体を重ね合わ
せて、両画像の一致・不一致の比較が可能となるように
するのである。
When the process of reading the reference object and the target object is completed, an alignment process is performed (step S27). This process is performed by the operator using the color CR.
The user operates the mouse 64 while looking at the image displayed on T62 to set the alignment reference coordinates, which are the coordinates for superimposing the reference object and the target object, so that the two images overlap each other so that they overlap each other. The entire image is superimposed so that the comparison between the coincidence and the non-coincidence of the two images can be performed.

【0060】上記のようにしてアライメント処理が完了
すると、検版処理(ステップS28)を行う。検版処理
では、作業者が「しきい値」,「ゴミ取りサイズ」,
「表示形式」,…などの検版条件を設定すると、基準物
(初校)と対象物(再校)との差異を検出する差異検出
処理が実行される。すなわち、基準物および対象物の画
像データがそれぞれ複数の区画に分割され、分割された
領域ごとに基準物と対象物の画像が局部的にマッチング
されながら両画像の差が計算され、その差が上記設定さ
れた「しきい値」と比較される。そして、差がしきい値
より大きい場合には、当該分割領域において差異がある
ものと判別される。これにより、基準物と対象物との間
で一致する一致箇所と、不一致となる不一致箇所とがそ
れぞれ検出される。そして、上記設定された「表示形
式」にしたがって差異表示画像が作成される。さらに、
基準物と対象物の差がしきい値以上の画像データが連結
したブロックを抽出する処理である輪郭抽出処理が行わ
れる。そして、得られたブロックの輪郭を構成する画素
の数がカウントされ、設定されたゴミ取りサイズと比較
され、ゴミ取りサイズより大きいブロックについては、
そのブロックを取り囲む枠の4隅のX,Y座標が求めら
れ、磁気ディスク73に格納される。
When the alignment process is completed as described above, a plate inspection process (step S28) is performed. In the plate inspection process, the worker sets the “threshold”, “garbage removal size”,
When plate inspection conditions such as “display format”,... Are set, a difference detection process for detecting a difference between the reference object (first school) and the target object (re-school) is executed. That is, the image data of the reference object and the object is divided into a plurality of sections, and the image of the reference object and the image of the object are locally matched for each of the divided areas, and the difference between the two images is calculated. The value is compared with the set “threshold value”. If the difference is larger than the threshold value, it is determined that there is a difference in the divided area. As a result, a matching part that matches between the reference object and the target object and a mismatching part that does not match are detected. Then, a difference display image is created according to the set “display format”. further,
A contour extraction process, which is a process of extracting a block in which image data having a difference between the reference object and the target object equal to or larger than a threshold value, is extracted. Then, the number of pixels constituting the outline of the obtained block is counted and compared with the set dust removal size. For a block larger than the dust removal size,
The X and Y coordinates of the four corners of the frame surrounding the block are obtained and stored on the magnetic disk 73.

【0061】検版処理が完了すると、上記の差異表示画
像や枠等が表示された検版結果がカラーCRT62の画
面に表示されたり、モノクロプロッタ65やカラープリ
ンタ66により出力用紙に出力されたり(ステップS2
9)することによって検版処理を終了する。
When the plate inspection process is completed, the plate inspection result on which the above-mentioned difference display image, frame, and the like are displayed is displayed on the screen of the color CRT 62, or is output to output paper by the monochrome plotter 65 or the color printer 66 ( Step S2
9) to end the plate inspection process.

【0062】以上、説明したように、この発明の実施の
形態によれば、被読取り物Sの余白部分を含む白基準領
域をカラーCCDカメラ40により読み取って、白基準
画像信号を生成し、それをもとにシェーディング補正を
行うため、予め用意された被読取り物Sとは異なる白基
準板等を読み取って生成された白基準画像信号を用いる
のに比べて正確なシェーディング補正を行うことができ
る。
As described above, according to the embodiment of the present invention, the color CCD camera 40 reads the white reference area including the blank portion of the reading object S, and generates a white reference image signal. , The shading correction can be performed more accurately than using a white reference image signal generated by reading a white reference plate or the like different from the read object S prepared in advance. .

【0063】また、カラーCCDカメラ40を移動させ
つつ余白読取り領域RAを繰り返し読み取り、それによ
り得られた複数の画像信号のうち余白部分に相当する部
分白基準画像信号を集めてカラーCCDカメラ40の全
画角に相当する全体白基準画像信号を生成し、それを用
いてシェーディング補正を行うので、被読取り物Sに十
分な余白がない場合でも余白を余白読取り領域RAとし
て繰返し読み取ることにより正確なシェーディング補正
を行うことができる。
Further, while moving the color CCD camera 40, the margin reading area RA is repeatedly read, and a partial white reference image signal corresponding to a margin portion among a plurality of image signals obtained by the reading is gathered to obtain the color CCD camera 40. Since the entire white reference image signal corresponding to the entire angle of view is generated and the shading correction is performed using the signal, even when the read object S does not have a sufficient blank space, the blank space is repeatedly read as the blank space reading area RA to obtain an accurate image. Shading correction can be performed.

【0064】また、シェーディング補正を行って画像検
査を行うので、各CCDごとに出力値に不均一がないの
で正確な画像検査を行うことができる。
Further, since the image inspection is performed by performing the shading correction, an accurate image inspection can be performed since there is no nonuniform output value for each CCD.

【0065】また、被読取り物Sの用紙等の色が完全な
白でないことによって狭められていたCCDの出力レン
ジを以上のようなシェーディング補正によって広げるこ
とができるので、基準物と対象物の画像の差異をより高
精度で検出できる。
Further, the output range of the CCD, which has been narrowed because the color of the paper or the like of the object S is not completely white, can be expanded by the above-described shading correction. Can be detected with higher accuracy.

【0066】さらに、基準物と対象物とで用紙が異な
り、CCDによる出力値のレンジが互いに異なる場合で
も上記のようなシェーディング補正により同一の出力レ
ンジに変換することができるのでより正確な画像検査を
行うことができる。
Further, even when the reference object and the object are different in paper and the output value ranges by the CCD are different from each other, the same output range can be converted by the shading correction as described above, so that more accurate image inspection can be performed. It can be performed.

【0067】[3.変形例]この実施の形態ではカラー
CCDカメラ40に2次元的なCCD配列を備え、2次
元的に画像を読み取るものとしたが、この発明はこれに
限られず、1次元配列のCCD等のラインセンサをその
直線配列方向に垂直に移動させながら、画像を読み取る
スキャナにおいて、被読取り物Sの余白部分がそのCC
Dの配列幅の一部のみの場合にもラインセンサのCCD
の配列方向に被読取り物を移動させつつ読み取る等によ
り、その余白部分の繰返し読取りを行いそれによる部分
白基準画像信号を集めて直線状の全体白基準画像信号を
もとにシェーディング補正を行ってもよい。
[3. Modified Example] In this embodiment, the color CCD camera 40 is provided with a two-dimensional CCD array and two-dimensionally reads an image. However, the present invention is not limited to this. In a scanner that reads an image while moving the sensor vertically in the linear array direction, a blank portion of the object S
Line sensor CCD even when only a part of the array width of D
By moving the object to be read in the array direction and reading it, etc., the blank portion is repeatedly read, and the partial white reference image signal resulting therefrom is collected, and shading correction is performed based on the linear whole white reference image signal. Is also good.

【0068】また、この実施の形態ではカラーCCDカ
メラ40を移動させて余白読取り領域RAの繰返し読取
りを行うものとしたが、透明ガラス板3とカバー部材4
を一体として移動させたり、被読み取り物S自体を移動
させる等としてもよい。
In this embodiment, the color CCD camera 40 is moved to repeatedly read the margin reading area RA.
May be moved integrally, or the object S to be read itself may be moved.

【0069】また、この実施の形態では被読取り領域を
部分白基準画像の領域より大きいものとし、削除領域の
画像信号をそれぞれ削除するものとしたが、この発明は
これに限られず、隣接する部分白基準画像信号の重なる
部分のうち一方を削除したり、余白読取り領域を部分白
基準画像の領域と同じ大きさとするなどしてもよい。
Further, in this embodiment, the read area is set to be larger than the area of the partial white reference image, and the image signals of the delete areas are deleted. However, the present invention is not limited to this, and the present invention is not limited to this. One of the overlapping portions of the white reference image signal may be deleted, or the margin reading area may have the same size as the area of the partial white reference image.

【0070】さらに、この実施の形態では画像検査装置
1が画像読取り装置1aを備えるものとしたが、画像読
取り装置単体もこの発明の範囲に含まれる。
Further, in this embodiment, the image inspection apparatus 1 includes the image reading apparatus 1a, but the image reading apparatus alone is also included in the scope of the present invention.

【0071】[0071]

【発明の効果】以上説明したように、請求項1ないし請
求項8の発明によれば、被読取り物の余白部分を含む被
読取り領域を撮像手段により読み取って、白基準画像信
号を生成し、それをもとにシェーディング補正を行うた
め、予め用意された被読取り物とは異なる白基準板等を
読み取って生成された白基準画像信号を用いるのに比べ
て正確なシェーディング補正を行うことができる。
As described above, according to the first to eighth aspects of the present invention, a reading area including a blank portion of an object to be read is read by the imaging means to generate a white reference image signal. Since the shading correction is performed based thereon, it is possible to perform more accurate shading correction than using a white reference image signal generated by reading a white reference plate or the like different from a prepared object to be read in advance. .

【0072】また、請求項2ないし請求項4の発明によ
れば、被読取り物と撮像手段とを相対的に移動させつつ
被読取り領域を撮像手段によって繰り返し読み取り、そ
れにより得られた複数の画像信号のうち余白部分に相当
する画像信号を集めて撮像手段の全画角に相当する白基
準画像信号を生成し、それを用いてシェーディング補正
を行うので、被読取り物中に十分な余白がない場合でも
正確なシェーディング補正を行うことができる。
According to the second to fourth aspects of the present invention, the area to be read is repeatedly read by the image pickup means while the object to be read and the image pickup means are relatively moved, and a plurality of images obtained thereby are obtained. An image signal corresponding to a blank portion of the signal is collected to generate a white reference image signal corresponding to the entire angle of view of the imaging unit, and shading correction is performed using the signal, so that there is not enough blank space in the object to be read. Even in this case, accurate shading correction can be performed.

【0073】さらに、請求項8の発明によれば、請求項
1ないし請求項7のうちのいずれかの発明を用いて、撮
像手段によって複数の被読取り物を読み取って得られる
複数の被検査画像信号に対してシェーディング補正に応
じた信号変換を行い、その後の複数の被検査画像信号を
比較することによって複数の被読取り物上の画像の不一
致箇所を検出するので、正確なシェーディング補正によ
り、正確な画像検査を行うことができる。
According to an eighth aspect of the present invention, a plurality of inspection images obtained by reading a plurality of objects by an imaging means using any one of the first to seventh aspects of the invention. Performs signal conversion in accordance with shading correction on the signal, and then detects a mismatched portion of an image on a plurality of reading objects by comparing a plurality of image signals to be inspected thereafter. Image inspection can be performed.

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

【図1】本発明の実施の形態である画像検査装置の部分
外観斜視図である。
FIG. 1 is a partial external perspective view of an image inspection apparatus according to an embodiment of the present invention.

【図2】画像検査装置の電気的構成を光学的構成および
機構的構成の制御系とともに示す図である。
FIG. 2 is a diagram illustrating an electrical configuration of the image inspection apparatus together with a control system of an optical configuration and a mechanical configuration.

【図3】画像検査装置の部分断面図である。FIG. 3 is a partial cross-sectional view of the image inspection apparatus.

【図4】構造体の構成を示す斜視図である。FIG. 4 is a perspective view showing a configuration of a structure.

【図5】余白読取り領域を指定するための指定画面を示
した図である。
FIG. 5 is a diagram showing a designation screen for designating a margin reading area.

【図6】余白読取り領域の繰返し読取り概念を示す図で
ある。
FIG. 6 is a diagram showing a concept of repeatedly reading a margin reading area.

【図7】各画角の位置に対する余白読取り領域の位置関
係を示した図である。
FIG. 7 is a diagram illustrating a positional relationship of a margin reading area with respect to a position of each angle of view.

【図8】画角の分割数の例を示す図である。FIG. 8 is a diagram showing an example of the number of divisions of the angle of view.

【図9】シェーディング補正および白基準画像信号生成
処理のフローチャートである。
FIG. 9 is a flowchart of shading correction and white reference image signal generation processing.

【図10】画像検査のフローチャートである。FIG. 10 is a flowchart of an image inspection.

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

1 画像検査装置 1a 画像読取り装置 3 透明ガラス板 4 カバー部材 10 XY駆動機構 22 丸型蛍光灯 40 カラーCCDカメラ 61 制御演算装置 73 磁気ディスク PW1〜PW4 部分白基準画像 RA 余白読取り領域 S 被読取り物 WW 全体白基準画像 DESCRIPTION OF SYMBOLS 1 Image inspection apparatus 1a Image reading apparatus 3 Transparent glass plate 4 Cover member 10 XY drive mechanism 22 Round fluorescent lamp 40 Color CCD camera 61 Control arithmetic unit 73 Magnetic disk PW1-PW4 Partial white reference image RA Margin reading area S Object to be read WW Whole white reference image

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 被読取り物の画像を読み取って画像信号
を生成する画像読取り装置であって、 被読取り物を保持する被読取り物保持手段と、 被読取り物の画像を読み取って、画像信号を生成する撮
像手段と、 前記被読取り物保持手段と前記撮像手段とを相対的に移
動させる移動手段と、 被読取り物の余白部分を含む被読取り領域を指定する被
読取り領域指定手段と、 前記被読取り物と前記撮像手段とを相対的に移動させつ
つ前記被読取り領域を読み取るように前記移動手段およ
び前記撮像手段を制御する制御手段と、 前記読み取りにより得られた画像信号を記憶する記憶手
段と、 前記画像信号のうち前記余白部分に相当する画像信号に
基づいて前記撮像手段についての白基準画像信号を生成
する白基準画像信号生成手段と、 前記白基準画像信号を基にシェーディング補正を行うシ
ェーディング補正手段と、を備えることを特徴とする画
像読取り装置。
1. An image reading apparatus for reading an image of an object to be read to generate an image signal, comprising: an object holding means for holding an object to be read; an image of the object to be read; Imaging means for generating; moving means for relatively moving the object-to-be-readed object holding means and the image-taking means; area-to-be-reading specifying means for specifying an area to be read including a blank portion of the object to be read; Control means for controlling the moving means and the image pickup means so as to read the area to be read while relatively moving the object to be read and the image pickup means; and storage means for storing an image signal obtained by the reading. A white reference image signal generation unit configured to generate a white reference image signal for the imaging unit based on an image signal corresponding to the margin portion of the image signal; Image reading apparatus characterized by comprising: a shading correction means for performing shading correction based on the signal.
【請求項2】 請求項1の画像読取り装置であって、 前記制御手段は、前記被読取り物と前記撮像手段とを相
対的に移動させつつ前記被読取り領域を前記撮像手段で
繰り返し読み取るように前記移動手段および前記撮像手
段を制御し、 前記記憶手段は、前記繰り返し読み取りにより得られた
複数の画像信号を記憶するものであり、 白基準画像信号生成手段は、前記複数の画像信号のうち
前記余白部分に相当する画像信号を集めて前記撮像手段
の全画角に相当する白基準画像信号を生成するものであ
ることを特徴とする画像読取り装置。
2. The image reading apparatus according to claim 1, wherein the control unit moves the object to be read and the imaging unit relatively, and reads the area to be read repeatedly by the imaging unit. Controlling the moving means and the imaging means, the storage means stores a plurality of image signals obtained by the repeated reading, the white reference image signal generating means, the An image reading apparatus for collecting an image signal corresponding to a margin portion and generating a white reference image signal corresponding to a full angle of view of the image pickup means.
【請求項3】 請求項2の画像読取り装置において、 前記全画角を分割して得られる複数の区画につき、前記
繰り返し読み取りのそれぞれにおいて前記余白部分を前
記全画角の異なる区画で撮像して前記複数の画像信号を
得ることを特徴とする画像読取り装置。
3. The image reading apparatus according to claim 2, wherein, for a plurality of sections obtained by dividing the full angle of view, in each of the repeated readings, the blank portion is imaged in a section having a different full angle of view. An image reading apparatus for obtaining the plurality of image signals.
【請求項4】 請求項3の画像読取り装置において、 前記全画角を前記複数の区画に分割するための分割数を
操作指定する分割数操作指定手段、をさらに備えること
を特徴とする画像読取り装置。
4. The image reading apparatus according to claim 3, further comprising: a division number operation designating means for designating a division number for dividing the full angle of view into the plurality of sections. apparatus.
【請求項5】 請求項1ないし請求項4のうちのいずれ
かの画像読取り装置であって、 前記撮像手段が2次元的に配列された撮像素子を備える
ものであることを特徴とする画像読取り装置。
5. An image reading apparatus according to claim 1, wherein said image pickup means includes an image pickup device arranged two-dimensionally. apparatus.
【請求項6】 請求項1ないし請求項5のうちのいずれ
かの画像読取り装置において、 前記移動手段が前記撮像手段と前記被読み取り物保持手
段とを互いの距離を一定に保ちつつ2次元的に移動させ
るものであって、さらに、 前記撮像手段に対して固定された位置に配置されて、前
記被読み取り物を照明する照明手段を備えることを特徴
とする画像読取り装置。
6. The image reading apparatus according to claim 1, wherein the moving unit is configured to two-dimensionally maintain the distance between the imaging unit and the object holding unit at a constant distance. An image reading apparatus further comprising: an illuminating unit that is arranged at a position fixed to the imaging unit and illuminates the object to be read.
【請求項7】 請求項6の画像読取り装置において、 前記照明手段が、 前記撮像手段の画角の周囲を囲むように設けられた環状
照明手段であることを特徴とする画像読取り装置。
7. The image reading apparatus according to claim 6, wherein said illumination means is an annular illumination means provided so as to surround the angle of view of said imaging means.
【請求項8】 複数の被読取り物の画像を読み取り、そ
れらの画像を相互に比較して検査する画像検査装置であ
って、 請求項1ないし請求項7のうちのいずれかの画像読取り
装置と、 前記撮像手段によって複数の被読取り物を読取って得ら
れる複数の被検査画像信号に対して前記シェーディング
補正に応じた信号変換を行う信号変換手段と、 前記信号変換を施した後の前記複数の被検査画像信号を
比較することによって前記複数の被読取り物上の画像の
不一致箇所を検出する差異検出手段と、 前記差異検出手段による検出結果を表示する表示手段
と、を備えることを特徴とする画像検査装置。
8. An image inspection apparatus for reading images of a plurality of objects to be read and comparing the images with each other for inspection, wherein the image reading apparatus according to any one of claims 1 to 7 is provided. A signal conversion unit that performs signal conversion according to the shading correction on a plurality of inspection image signals obtained by reading a plurality of objects to be read by the imaging unit; and the plurality of the plurality of image signals after performing the signal conversion. A difference detection unit that detects a mismatched portion of the images on the plurality of reading objects by comparing the image signals to be inspected; and a display unit that displays a detection result by the difference detection unit. Image inspection equipment.
JP19377897A 1997-07-18 1997-07-18 Image reader and image checking device using it Withdrawn JPH1139463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19377897A JPH1139463A (en) 1997-07-18 1997-07-18 Image reader and image checking device using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19377897A JPH1139463A (en) 1997-07-18 1997-07-18 Image reader and image checking device using it

Publications (1)

Publication Number Publication Date
JPH1139463A true JPH1139463A (en) 1999-02-12

Family

ID=16313654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19377897A Withdrawn JPH1139463A (en) 1997-07-18 1997-07-18 Image reader and image checking device using it

Country Status (1)

Country Link
JP (1) JPH1139463A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8085451B2 (en) 2006-12-11 2011-12-27 Brother Kogyo Kabushiki Kaisha Image reading apparatus
JP2016224190A (en) * 2015-05-28 2016-12-28 オリンパス株式会社 Microscope device, shading correction device, shading correction method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8085451B2 (en) 2006-12-11 2011-12-27 Brother Kogyo Kabushiki Kaisha Image reading apparatus
JP2016224190A (en) * 2015-05-28 2016-12-28 オリンパス株式会社 Microscope device, shading correction device, shading correction method, and program

Similar Documents

Publication Publication Date Title
US7016109B2 (en) Microscopic image capture apparatus and microscopic image capturing method
US6466302B1 (en) Scanning system with document previewing
KR20080012249A (en) Image reproducing device and control method thereof
US5067020A (en) Dual sensor film scanner having coupled optics and a video viewfinder
JPH1139463A (en) Image reader and image checking device using it
JPS5875961A (en) Picture input device
JPS6055867B2 (en) Hand scanner type image input device
US4794462A (en) Method and system for patching an original at a desired angular orientation on a scanner input drum or an original patching sheet and extracting original trimming data
JPS6299769A (en) Picture editing and input device for analog copying machine
JPH11225291A (en) Image reader
JP3856926B2 (en) Imaging apparatus and image reading apparatus
JP2599645B2 (en) Image scanning device
JPH11144036A (en) Image pickup device
JPH0534867B2 (en)
JPH09247362A (en) Image input device
JPH11177804A (en) Image processor
JPH0658524B2 (en) Document angle / magnification calculator
JPH11195104A (en) Device for reading picture and method for compositing picture data and computer readable record medium recording program for compositing picture data
JPS62293879A (en) Automatic input system for original size
JPH10210231A (en) Image reader
JPH10222645A (en) Method for reading picture and device therefor
JPH0253010A (en) Picture reader
JPH03124161A (en) Picture input device
JPH03179880A (en) Picture reading and reproducing device
JPH0237871A (en) Picture reader

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20041005