JPH06326930A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH06326930A
JPH06326930A JP5109546A JP10954693A JPH06326930A JP H06326930 A JPH06326930 A JP H06326930A JP 5109546 A JP5109546 A JP 5109546A JP 10954693 A JP10954693 A JP 10954693A JP H06326930 A JPH06326930 A JP H06326930A
Authority
JP
Japan
Prior art keywords
image pickup
image
picture
constituted
pixel
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
JP5109546A
Other languages
Japanese (ja)
Inventor
Katsutoshi Nishizaki
勝利 西崎
Yoshinobu Hiyamizu
由信 冷水
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.)
Koyo Seiko Co Ltd
Original Assignee
Koyo Seiko 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 Koyo Seiko Co Ltd filed Critical Koyo Seiko Co Ltd
Priority to JP5109546A priority Critical patent/JPH06326930A/en
Publication of JPH06326930A publication Critical patent/JPH06326930A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To pick up the image of the whole area of a subject to be checked, to expand a damage part and to improve resolution by providing a picture processor with a two-dimensional image pickup element, finely moving the image pickup element with a step shorter than a pitch between picture elements so as to locate it on plural image pickup positions and picking up the image of the subject to be checked by the image pickup element on each position. CONSTITUTION:The picture processor is constituted of the two-dimensional image pickup element 1, a moving device 2, a storage device 3, a picture processing part 4, and a control part 5. The element 1 is constituted of a picture element aggregate 7 consisting of plural picture elements arrayed in the X-axis and Y-axis directions and the device 2 is constituted of an X-axis direction moving piezo-electric actuator 8 and a Y-axis direction moving actuator 9. The processing part 4 is constituted of a computer e.g. for extracting required parts from plural data stored in the device 3 and synthesizing these extracted parts. The control part 5 is also constituted of a computer to control the operation of the device and the reading operation or the like of picture data picked up by the element 1. In such a constitution, an expansion frame F is arranged on an image pickup position.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、たとえば外観検査な
どの計測分野に応用される画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus applied to the field of measurement such as visual inspection.

【0002】[0002]

【従来の技術】この種の画像処理装置として、直交2軸
方向の複数の画素よりなる画素集合体を有する2次元撮
像素子を備えたものが知られている。
2. Description of the Related Art As an image processing apparatus of this type, there is known an image processing apparatus including a two-dimensional image pickup device having a pixel assembly composed of a plurality of pixels in two orthogonal axes.

【0003】2次元撮像素子の解像度は画素数により限
界が定められ、一般に、高精度の計測を実現するために
は、高倍率のレンズを用い、所望の領域だけを拡大して
撮像し、画像処理を施すという方法がとられる。
The resolution of a two-dimensional image pickup device is limited by the number of pixels, and in general, in order to realize highly accurate measurement, a high-magnification lens is used and only a desired region is magnified and imaged. A method of applying treatment is used.

【0004】[0004]

【発明が解決しようとする課題】上記のような画像処理
装置では、撮像する領域に対しきずなどの大きさの割合
が十分な場合は、装置全体を簡素化できて、非常に実用
的であるが、そうではない場合、すなわち被検物全域に
わたり撮像する必要があり、しかもきずなどの大きさが
被検物の大きさに対し十分に小さいような場合、解像度
に自ずと限界を生じる。
In the image processing apparatus as described above, when the ratio of the size of a flaw to the area to be imaged is sufficient, the entire apparatus can be simplified and is very practical. However, if this is not the case, that is, if it is necessary to image over the entire area of the object to be inspected and the size of the flaw or the like is sufficiently smaller than the size of the object to be inspected, the resolution will naturally be limited.

【0005】この発明の目的は、上記の問題を解決し、
あらゆる場合に所望の部分の解像度を十分に大きくでき
る画像処理装置を提供することにある。
The object of the present invention is to solve the above problems,
An object of the present invention is to provide an image processing device capable of sufficiently increasing the resolution of a desired portion in all cases.

【0006】[0006]

【課題を解決するための手段】この発明による画像処理
装置は、直交2軸方向の複数の画素よりなる画素集合体
を有する2次元撮像素子、上記2次元撮像素子を上記直
交2軸方向に微小移動させて複数の撮像位置に位置決め
する移動装置、上記複数の撮像位置において上記2次元
撮像素子で撮像された画像データを記憶しておく記憶装
置、上記記憶装置に記憶された複数の画像データの中か
ら所望の部分を抽出して合成する画像処理部、および上
記移動装置の動作と上記2次元撮像素子の撮像した画像
データの読み出し動作を制御する制御部を備えているも
のである。
SUMMARY OF THE INVENTION An image processing apparatus according to the present invention is a two-dimensional image sensor having a pixel group consisting of a plurality of pixels in the two orthogonal directions, and the two-dimensional image sensor is minute in the two orthogonal directions. A moving device that moves and positions it at a plurality of image capturing positions, a storage device that stores image data captured by the two-dimensional image sensor at the plurality of image capturing positions, and a plurality of image data stored in the storage device. An image processing unit for extracting and synthesizing a desired portion from the inside, and a control unit for controlling the operation of the moving device and the reading operation of the image data picked up by the two-dimensional image pickup device are provided.

【0007】[0007]

【作用】2次元撮像素子は、画素間ピッチより小さいス
テップ量で微小移動させられて、複数の撮像位置に位置
決めされる。そして、各撮像位置において、2次元撮像
素子により被検物が撮像され、画像データが記憶装置に
記憶される。このとき、被検物全域を撮像することがで
きる。記憶装置に記憶された複数の画像データの中から
所望の部分を抽出して合成することにより、所望の部分
だけが拡大され、その解像度が高められる。したがっ
て、きずなどの大きさが被検物の大きさに対し十分に小
さいような場合でも、被検物全域を撮像し、しかもきず
などの所望の部分を十分に拡大して、解像度を十分に高
めることができる。
The two-dimensional image pickup device is finely moved by a step amount smaller than the inter-pixel pitch and positioned at a plurality of image pickup positions. Then, the object is imaged by the two-dimensional imaging element at each imaging position, and the image data is stored in the storage device. At this time, the entire area of the object to be inspected can be imaged. By extracting and synthesizing a desired portion from the plurality of image data stored in the storage device, only the desired portion is enlarged and its resolution is enhanced. Therefore, even when the size of a flaw or the like is sufficiently smaller than the size of the test object, the entire area of the test object is imaged and a desired portion such as a flaw is sufficiently enlarged to provide a sufficient resolution. Can be increased.

【0008】[0008]

【実施例】以下、図面を参照して、この発明の実施例に
ついて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0009】図1は、画像処理装置の概略構成を示して
いる。
FIG. 1 shows a schematic structure of an image processing apparatus.

【0010】図1において、画像処理装置は、CCD撮
像素子(2次元撮像素子)(1) 、移動装置(2) 、記憶装
置(3) 、画像処理部(4) および制御部(5) を備えてい
る。
In FIG. 1, the image processing apparatus includes a CCD image pickup device (two-dimensional image pickup device) (1), a moving device (2), a storage device (3), an image processing unit (4) and a control unit (5). I have it.

【0011】撮像素子(1) は、図2および図3に詳細に
示すように、直交2軸方向すなわちX軸方向(横方向)
およびY軸方向(縦方向)の複数の画素(6) よりなる画
素集合体(7) を有する。図2は画素集合体(7) の全体を
示し、図3はその一部を拡大して示している。X、Y両
方向の画素(6) の数はそれぞれ512であり、画素(6)
の位置はY軸方向の段アドレス[Y](0〜511)と
X軸方向の列アドレス[X](0〜511)を用いて表
わされる。列アドレス[X]は右にいくにつれて、段ア
ドレス[Y]は下にいくにつれてそれぞれ大きくなる。
また、X、Y両方向の画素間ピッチpはそれぞれ等し
い。
The image pickup device (1) is, as shown in detail in FIGS. 2 and 3, orthogonal two-axis directions, that is, the X-axis direction (lateral direction).
And a pixel aggregate (7) including a plurality of pixels (6) in the Y-axis direction (vertical direction). FIG. 2 shows the whole pixel assembly (7), and FIG. 3 shows a part of it in an enlarged scale. The number of pixels (6) in both the X and Y directions is 512, respectively.
The position of is expressed using the column address [Y] (0 to 511) in the Y-axis direction and the column address [X] (0 to 511) in the X-axis direction. The column address [X] increases toward the right, and the column address [Y] increases toward the bottom.
The pixel pitches p in both the X and Y directions are equal.

【0012】移動装置(2) は、撮像素子(1) をX軸方向
およびY軸方向に微小移動させて複数の撮像位置に位置
決めするものであり、たとえば、X軸方向移動用圧電ア
クチュエータ(8) およびY軸方向移動用アクチュエータ
(9) を備えている。
The moving device (2) is for moving the image pickup device (1) minutely in the X-axis direction and the Y-axis direction to position it at a plurality of image pickup positions. For example, a piezoelectric actuator (8) for moving in the X-axis direction is used. ) And an actuator for moving in the Y-axis direction
(9) is provided.

【0013】記憶装置(3) は、複数の撮像位置において
撮像素子(1) で撮像された画像データを記憶しておくも
のであり、取り込み用フレームメモリなどを備えてい
る。
The storage device (3) stores image data picked up by the image pickup device (1) at a plurality of image pickup positions, and includes a frame memory for capturing.

【0014】画像処理部(4) は、記憶装置(3) に記憶さ
れた複数の画像データの中から所望の部分を抽出して合
成するものであり、たとえばコンピュータにより構成さ
れている。画像処理部(4) には、上記のように合成され
たデータを記憶しておくための合成用フレームメモリな
どが設けられている。
The image processing section (4) is for extracting a desired part from a plurality of image data stored in the storage device (3) and synthesizing it, and is constituted by a computer, for example. The image processing unit (4) is provided with a synthesizing frame memory for storing the data synthesized as described above.

【0015】制御部(5) は、移動装置(2) の動作と撮像
素子(1) の撮像した画像データの読み出し動作などを制
御するものであり、たとえばコンピュータにより構成さ
れている。
The control section (5) controls the operation of the moving device (2) and the reading operation of the image data picked up by the image pickup element (1), and is constituted by, for example, a computer.

【0016】画像処理部(4) と制御部(5) は、共通のコ
ンピュータによって構成されてもよい。
The image processing unit (4) and the control unit (5) may be configured by a common computer.

【0017】この実施例においては、撮像素子(1) は、
移動装置(2) により、4つの撮像位置に位置決めされ
る。図4は4つの撮像位置における1つの画素(6) の位
置を示している。撮像素子(1) は、第1撮像位置(初期
位置)に位置決めされた後、Y軸方向下方に移動させら
れて第2撮像位置に位置決めされ、第2撮像位置からX
軸方向右方に移動させられて第3撮像位置に位置決めさ
れ、第3撮像位置からY軸方向上方に移動させられて第
4撮像位置に位置決めされ、第4撮像位置からX軸方向
左方に移動させられて第1撮像位置に戻される。撮像素
子(1) のX軸方向およびY軸方向の移動ステップ量は、
画素間ピッチpの半分(p/2)である。以下の説明に
おいて、符号aは第1撮像位置、符号bは第2撮像位
置、符号cは第3撮像位置、符号dは第4撮像位置を表
わすことにする。そして、図4において、符号aが付さ
れた実線は第1撮像位置にある画素(6) 、符号bが付さ
れた破線は第2撮像位置にある画素(6) 、符号cが付さ
れた破線は第3撮像位置にある画素(6) 、符号dが付さ
れた破線は第4撮像位置にある画素(6) を示している。
In this embodiment, the image sensor (1) is
It is positioned at four imaging positions by the moving device (2). FIG. 4 shows the position of one pixel (6) at four image pickup positions. The imaging element (1) is positioned at the first imaging position (initial position), then moved downward in the Y-axis direction to be positioned at the second imaging position, and is moved from the second imaging position to the X position.
It is moved to the right in the axial direction and is positioned at the third imaging position, is moved upward from the third imaging position in the Y-axis direction to be positioned at the fourth imaging position, and is moved leftward from the fourth imaging position in the X-axis direction. It is moved and returned to the first imaging position. The movement step amount of the image sensor (1) in the X-axis direction and the Y-axis direction is
It is half the pixel pitch p (p / 2). In the following description, the symbol a represents the first image capturing position, the symbol b represents the second image capturing position, the symbol c represents the third image capturing position, and the symbol d represents the fourth image capturing position. In FIG. 4, the solid line with the symbol a is the pixel (6) at the first image capturing position, the broken line with the symbol b is the pixel (6) at the second image capturing position, and the symbol c is attached. The broken line shows the pixel (6) at the third image pickup position, and the broken line with the reference sign d shows the pixel (6) at the fourth image pickup position.

【0018】次に、図5および図6のフローチャートを
参照し、上記の画像処理装置の動作の1例を説明する。
なお、図5は動作の前半部、図6は後半部を示してい
る。
Next, an example of the operation of the above image processing apparatus will be described with reference to the flow charts of FIGS.
5 shows the first half of the operation, and FIG. 6 shows the second half.

【0019】まず、図2に示すような拡大枠(F) の設定
が行われる(ステップ1)。拡大枠(F) の設定は、拡大
する部分の列アドレスの最小値Xs および最大値Xe
ならびに段アドレスの最小値Ys および最大値Ye に所
望の値を設定することにより行われる。そして、撮像素
子(1) が第1撮像位置に位置決めされ、撮像位置を表わ
す変数Nに1が設定される(ステップ2)。次に、第N
位置において撮像素子(1) で被検物が撮像され、その画
像データが取り込まれて、記憶装置(3) の取り込み用フ
レームメモリのfrm[0][0]〜frm[511]
[511]に記憶される(ステップ3)。frm[y]
[x]は取り込み用フレームメモリの各メモリ単位を表
わし、[X]は列アドレス、[Y]は段アドレスを表わ
している。frm[Y][X]には、列アドレス
[X]、段アドレス[Y]の画素(6) の輝度データが記
憶される。次に、Nの値が調べられ(ステップ4)、こ
れが1であれば、ステップ5に進む。ステップ4におい
てNの値が1でなければ、ステップ6に進み、Nの値が
2であれば、ステップ7に進む。ステップ6においてN
の値が2でなければ、ステップ8に進み、Nの値が3で
あれば、ステップ9に進む。ステップ8においてNの値
が3でなければ、ステップ10に進む。ステップ5では、
変数iおよびjにそれぞれ0が設定され、ステップ11に
進む。ステップ7では、iに0が、jに1が設定され、
ステップ11に進む。ステップ9では、iおよびjにそれ
ぞれ1が設定され、ステップ11に進む。ステップ10で
は、iに1が、jに0が設定され、ステップ11に進む。
ステップ11では、変数YにYs が、変数nに0が設定さ
れる。次に、変数XにXs が、変数mに0が設定される
(ステップ12)。次に、frm[Y][X]の輝度デー
タがmem[2n+j][2m+i]に設定される(ス
テップ13)。mem[Y][X]は拡大表示のための合
成用フレームメモリの各メモリ単位を表わし、[X]は
列アドレス、[Y]は段アドレスを表わしている。
First, the enlargement frame (F) as shown in FIG. 2 is set (step 1). The enlargement frame (F) is set by the minimum value X s and the maximum value X e of the column address of the portion to be enlarged.
And the minimum value Y s and the maximum value Y e of the stage address are set to desired values. Then, the image pickup device (1) is positioned at the first image pickup position, and 1 is set to the variable N representing the image pickup position (step 2). Next, the Nth
The object is imaged by the image sensor (1) at the position, the image data is captured, and frm [0] [0] to frm [511] of the frame memory for capturing of the storage device (3).
It is stored in [511] (step 3). frm [y]
[X] represents each memory unit of the frame memory for capturing, [X] represents a column address, and [Y] represents a column address. The frm [Y] [X] stores the luminance data of the pixel (6) at the column address [X] and the stage address [Y]. Next, the value of N is checked (step 4), and if it is 1, the process proceeds to step 5. If the value of N is not 1 in step 4, the process proceeds to step 6, and if the value of N is 2, the process proceeds to step 7. N in step 6
If the value of is not 2, the process proceeds to step 8, and if the value of N is 3, the process proceeds to step 9. If the value of N is not 3 in step 8, proceed to step 10. In step 5,
The variables i and j are each set to 0, and the process proceeds to step 11. In step 7, i is set to 0 and j is set to 1,
Go to step 11. In step 9, i and j are set to 1, and the process proceeds to step 11. In step 10, i is set to 1 and j is set to 0, and the process proceeds to step 11.
At step 11, the variable Y is set to Y s and the variable n is set to 0. Next, X s is set to the variable X and 0 is set to the variable m (step 12). Next, the luminance data of frm [Y] [X] is set to mem [2n + j] [2m + i] (step 13). mem [Y] [X] represents each memory unit of the compositing frame memory for enlarged display, [X] represents a column address, and [Y] represents a column address.

【0020】次に、XとXe が比較され(ステップ1
4)、XがXe より小さければ、ステップ15に進んで、
X+1がXに設定されるとともに、m+1がmに設定さ
れ、ステップ13に戻る。ステップ15においてXがXe
上であれば、ステップ16に進んで、YとYe が比較さ
れ、YがYe より小さければ、ステップ17に進んで、Y
+1がYに設定されるとともに、n+1がnに設定さ
れ、ステップ12に戻る。ステップ16においてYがYe
上であれば、ステップ18に進んで、Nと4が比較され、
Nが4より小さければ、ステップ19に進んで、撮像素子
(1) の微小移動が行われるとともに、N+1がNに設定
され、ステップ3に戻る。ステップ18においてNが4以
上であれば、ステップ20に進んで、合成用フレームメモ
リ(mem[Y][X])を用いて拡大枠(F) 内の画像
データの拡大表示が行われ、処理が終了する。
Next, X and X e are compared (step 1
4) If X is less than X e , go to step 15,
X + 1 is set to X and m + 1 is set to m, and the process returns to step 13. If X is greater than or equal to X e in step 15, the process proceeds to step 16, Y and Y e are compared, and if Y is smaller than Y e , the process proceeds to step 17 and Y
+1 is set to Y and n + 1 is set to n, and the process returns to step 12. If Y is greater than or equal to Y e in step 16, then step 18 is entered and N and 4 are compared,
If N is less than 4, proceed to step 19
The minute movement of (1) is performed, N + 1 is set to N, and the process returns to step 3. If N is 4 or more in step 18, the process proceeds to step 20, and the image data in the enlargement frame (F) is enlarged and displayed by using the composing frame memory (mem [Y] [X]), and the processing is performed. Ends.

【0021】図7は、撮像素子(1) が第1〜4撮像位置
に位置決めされたときの、拡大枠(F) 内にある画素(6)
の位置を表わしている。この場合、X軸方向に3列、Y
軸方向に3段の画素(6) を含む部分を拡大枠(F) とし、
最上段の3列の画素(6) に左から順に1、2、3の番号
を付け、中段の3列の画素(6) に左から順に4、5、6
の番号を付け、最下段の3列の画素(6) に左から順に
7、8、9の番号を付けている。各画素(6) に付された
2桁の符号のうち、上位の1〜9の数字は画素(6) の番
号、下位のa、b、cおよびdの英字は前述した撮像位
置を表わしている。図8は、合成用フレームメモリを画
素(6) に対応させて表わしたものである。図8の上側の
6つのメモリ単位(10)の上の0〜5の数字は列アドレ
ス、左側の6つのメモリ単位(10)の左の0〜5の数字は
段アドレスを表わしている。また、各メモリ単位(10)内
には、それに記憶される輝度データが示されている。輝
度データは、英字Iに、画素(6) の番号および撮像位置
を表わす2桁の添字を付して表わしている。
FIG. 7 shows pixels (6) in the enlargement frame (F) when the image sensor (1) is positioned at the first to fourth image pickup positions.
Represents the position of. In this case, 3 columns in the X-axis direction, Y
The portion including the pixel (6) of three steps in the axial direction is the expansion frame (F),
Pixels (6) in the top 3 rows are numbered 1, 2 and 3 from the left, and pixels (6) in the middle 3 rows are 4, 5 and 6 in order from the left.
The pixels (6) in the bottom three columns are numbered 7, 8 and 9 from the left. Of the two-digit code assigned to each pixel (6), the upper digits 1 to 9 represent the pixel (6) number, and the lower letters a, b, c, and d represent the above-mentioned imaging position. There is. FIG. 8 shows the composing frame memory corresponding to the pixel (6). The numbers 0 to 5 above the upper six memory units (10) in FIG. 8 represent column addresses, and the numbers 0 to 5 on the left of the left six memory units (10) represent column addresses. In addition, the brightness data stored in each memory unit (10) is shown. The luminance data is represented by the letter I with a two-digit subscript indicating the number of the pixel (6) and the imaging position.

【0022】図5および図6のフローチャートの動作を
実行することにより、4つの撮像位置において取り込ま
れた拡大枠(F) 内の画素(6) の輝度データが合成され、
合成データが図8に示すように合成用フレームメモリに
記憶される。
By executing the operations of the flowcharts of FIGS. 5 and 6, the luminance data of the pixel (6) in the enlargement frame (F) taken in at the four image pickup positions are combined,
The combined data is stored in the combining frame memory as shown in FIG.

【0023】すなわち、まず、撮像素子(1) が第1撮像
位置に位置決めされ、第1撮像位置にある画素(6) の輝
度データが取り込み用フレームメモリに取り込まれる。
このとき、拡大枠(F) 内については、1a〜9aの画素(6)
の輝度データI1a〜I9aが対応するフレームメモリのメ
モリ単位に記憶される。そして、1a〜9aの画素の輝度デ
ータI1a〜I9aが拡大枠(F) に対応する合成用フレーム
メモリの縦横1つおきのメモリ単位、すなわち、アドレ
ス[0][0]、[0][2]、[0][4]、[2]
[0]、[2][2]、[2][4]、[4][0]、
[4][2]、[4][4]のメモリ単位(10)にそれぞ
れ記憶される。次に、撮像素子(1) が第2撮像位置に位
置決めされ、同様に、第2撮像位置にある1b〜9bの画素
(6) の輝度データI1b〜I9bが、取り込み用フレームメ
モリの対応するメモリ単位、および拡大枠(F) に対応す
る合成用フレームメモリの縦横1つおきのメモリ、すな
わち、アドレス[1][0]、[1][2]、[1]
[4]、[3][0]、[3][2]、[3][4]、
[5][0]、[5][2]、[5][4]のメモリ単
位(10)にそれぞれ記憶される。次に、撮像素子(1) が第
3撮像位置に位置決めされ、同様に、第3撮像位置にあ
る1c〜9cの画素(6) の輝度データI1c〜I9cが、取り込
み用フレームメモリの対応するメモリ単位、および拡大
枠(F) に対応する合成用フレームメモリの縦横1つおき
のメモリ、すなわち、アドレス[1][1]、[1]
[3]、[1][5]、[3][1]、[3][3]、
[3][5]、[5][1]、[5][3]、[5]
[5]のメモリ単位(10)にそれぞれ記憶される。最後
に、撮像素子(1) が第4撮像位置に位置決めされ、同様
に、第4撮像位置にある1d〜9dの画素(6) の輝度データ
1d〜I9dが、取り込み用フレームメモリの対応するメ
モリ単位、および拡大枠(F) に対応する合成用フレーム
メモリの縦横1つおきのメモリ、すなわち、アドレス
[0][1]、[0][3]、[0][5]、[2]
[1]、[2][3]、[2][5]、[4][1]、
[4][3]、[4][5]のメモリ単位(10)にそれぞ
れ記憶される。このように、各撮像位置における画素
(6) の輝度データは合成用フレームメモリの縦横1つお
きのメモリ単位(10)に記憶され、第2撮像位置にある画
素(6) の輝度データは第1撮像位置にある画素(6) の輝
度データが記憶されたメモリ単位(10)のすぐ下にあるメ
モリ単位(10)に記憶され、第3撮像位置にある画素(6)
の輝度データは第2撮像位置にある画素(6) の輝度デー
タが記憶されたメモリ単位(10)のすぐ右にあるメモリ単
位(10)に記憶され、第4撮像位置にある画素(6) の輝度
データは第2撮像位置にある画素(6) の輝度データが記
憶されたメモリ単位(10)のすぐ上にあるメモリ単位(10)
に記憶される。したがって、合成用フレームメモリに記
憶された合成データは、画素(6) を図4のように現実の
画素間ピッチpの半分(p/2)のピッチで配列したと
仮定したときの画像データと同じである。そして、4つ
の撮像位置における画素(6) の間のピッチが現実のピッ
チpの半分であるから、合成用フレームメモリに記憶さ
れた合成データは実際の画素集合体(7) の2倍の解像度
を有し、これを用いて表示を行えば、拡大枠(F) 内の画
像を縦横2倍に拡大した画像が得られる。
That is, first, the image pickup device (1) is positioned at the first image pickup position, and the luminance data of the pixel (6) at the first image pickup position is fetched in the frame memory for fetching.
At this time, within the enlargement frame (F), the pixels (6) of 1a to 9a
The luminance data I 1a to I 9a of are stored in the corresponding memory unit of the frame memory. The luminance data I 1a to I 9a of the pixels 1a to 9a correspond to the enlargement frame (F), and the vertical and horizontal every other memory unit of the composing frame memory, that is, the addresses [0], [0], and [0]. [2], [0] [4], [2]
[0], [2] [2], [2] [4], [4] [0],
It is stored in the memory unit (10) of [4] [2], [4] [4], respectively. Next, the image pickup device (1) is positioned at the second image pickup position, and similarly, the pixels 1b to 9b at the second image pickup position are arranged.
The luminance data I 1b to I 9b of (6) are the memory unit corresponding to the capture frame memory, and the vertical and horizontal alternate memory of the composing frame memory corresponding to the expansion frame (F), that is, the address [1]. [0], [1], [2], [1]
[4], [3] [0], [3] [2], [3] [4],
It is stored in the memory unit (10) of [5] [0], [5] [2], [5] [4], respectively. Next, the image pickup device (1) is positioned at the third image pickup position, and similarly, the luminance data I 1c to I 9c of the pixels (6) 1c to 9c at the third image pickup position correspond to the frame memory for capturing. Memory unit, and every other vertical and horizontal memory of the composition frame memory corresponding to the expansion frame (F), that is, addresses [1], [1], [1]
[3], [1] [5], [3] [1], [3] [3],
[3] [5], [5] [1], [5] [3], [5]
It is stored in the memory unit (10) of [5]. Finally, the image pickup device (1) is positioned at the fourth image pickup position, and similarly, the luminance data I 1d to I 9d of the pixels (6) 1d to 9d at the fourth image pickup position correspond to the capture frame memory. Memory unit, and every other vertical and horizontal memory of the compositing frame memory corresponding to the expansion frame (F), that is, addresses [0] [1], [0] [3], [0] [5], [ 2]
[1], [2] [3], [2] [5], [4] [1],
It is stored in the memory unit (10) of [4] [3], [4] [5], respectively. In this way, the pixels at each imaging position
The luminance data of (6) is stored in every other vertical and horizontal memory units (10) of the composition frame memory, and the luminance data of the pixel (6) at the second imaging position is the pixel (6) at the first imaging position. The pixel (6) at the third imaging position is stored in the memory unit (10) immediately below the memory unit (10) in which the luminance data of is stored.
Luminance data is stored in the memory unit (10) immediately to the right of the memory unit (10) in which the luminance data of the pixel (6) at the second imaging position is stored, and the pixel (6) at the fourth imaging position is stored. The luminance data of is the memory unit (10) immediately above the memory unit (10) in which the luminance data of the pixel (6) at the second imaging position is stored.
Memorized in. Therefore, the composite data stored in the composition frame memory is the same as the image data when it is assumed that the pixels (6) are arranged at a pitch of half (p / 2) of the actual inter-pixel pitch p as shown in FIG. Is the same. Since the pitch between the pixels (6) at the four image pickup positions is half the actual pitch p, the composite data stored in the composition frame memory has twice the resolution of the actual pixel aggregate (7). If the image is displayed using this, an image in which the image in the enlargement frame (F) is enlarged twice in the vertical and horizontal directions can be obtained.

【0024】記憶装置(3) には、少なくとも1つの取り
込み用フレームメモリが設けられればよい。取り込み用
フレームメモリが1つだけ設けられている場合は、撮像
素子(1) の位置を変えて撮像するたびに取り込み用フレ
ームメモリの内容が更新されるので、撮像素子(1) を4
つの撮像位置に位置決めして一連の撮像を行ったときに
1つの拡大枠(F) の内容しか拡大表示することができ
ず、他の拡大枠について拡大表示を行いたいときには、
再び撮像を行う必要がある。取り込み用フレームメモリ
を4つ設けて、各撮像位置における画像データを別々の
取り込み用フレームメモリに記憶するようにすれば、撮
像素子(1) を4つの撮像位置に位置決めして一連の撮像
を行った後に、撮像を行わなくても、4つの取り込み用
フレームメモリに記憶された画像データを用いて、任意
の拡大枠について何度でも拡大表示ができる。
The storage device (3) may be provided with at least one frame memory for capturing. If only one frame memory for capture is provided, the contents of the frame memory for capture are updated each time the image sensor (1) is moved to a different position and the image sensor (1) is replaced by four.
If you can only magnify the contents of one magnifying frame (F) when you perform a series of images by positioning at one imaging position, and you want to magnify the other magnifying frames,
It is necessary to take an image again. If four capturing frame memories are provided and the image data at each image capturing position is stored in a separate capturing frame memory, the image sensor (1) is positioned at four image capturing positions to perform a series of image capturing. After that, the image data stored in the four frame memories for capturing can be used to enlarge and display an arbitrary enlargement frame as many times as necessary without taking an image.

【0025】上記実施例では、撮像素子(1) を画素間ピ
ッチpの半分のピッチで移動させるようにしたので、解
像度を2倍にすることができるが、撮像素子(1) の移動
のピッチをさらに小さくすることにより、さらに解像度
を高めることができる。また、上記実施例では、説明の
都合上、撮像素子(1) の画素(6) 間の不感領域の幅を画
素(6) の幅とほぼ等しいように表示しているが、不感領
域の幅が画素(6) の幅より小さい場合でも、処理は同様
である。
In the above embodiment, since the image pickup device (1) is moved at a pitch half the pixel pitch p, the resolution can be doubled. However, the movement pitch of the image pickup device (1) is increased. By further reducing, the resolution can be further increased. Further, in the above embodiment, for the sake of explanation, the width of the dead area between the pixels (6) of the image sensor (1) is displayed to be almost equal to the width of the pixel (6). Even if is smaller than the width of the pixel (6), the processing is similar.

【0026】[0026]

【発明の効果】この発明の画像処理装置によれば、上述
のように、きずなどの大きさが被検物の大きさに対し十
分に小さいような場合でも、被検物全域を撮像し、しか
もきずなどの所望の部分を十分に拡大して、解像度を十
分に高めることができる。また、市販の2次元撮像素子
を移動させる機構を付加するだけでよく、特別なハード
ウェアを必要とせず、比較的簡単なアルゴリズムで画面
の任意の領域の拡大表示ができる。
According to the image processing apparatus of the present invention, as described above, even when the size of a flaw or the like is sufficiently smaller than the size of the test object, the entire test object is imaged, Moreover, it is possible to sufficiently enlarge a desired portion such as a flaw and sufficiently improve the resolution. Further, it is only necessary to add a mechanism for moving a commercially available two-dimensional image pickup device, no special hardware is required, and enlarged display of an arbitrary area of the screen can be performed by a relatively simple algorithm.

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

【図1】この発明の実施例を示す画像処理装置の構成図
である。
FIG. 1 is a configuration diagram of an image processing apparatus showing an embodiment of the present invention.

【図2】2次元撮像素子の画素集合体を示す説明図であ
る。
FIG. 2 is an explanatory diagram showing a pixel aggregate of a two-dimensional image sensor.

【図3】図2の画素集合体の一部を拡大して示す説明図
である。
FIG. 3 is an explanatory diagram showing a part of the pixel aggregate of FIG. 2 in an enlarged manner.

【図4】1つの画素の移動の状態を示す説明図である。FIG. 4 is an explanatory diagram showing a moving state of one pixel.

【図5】画像処理動作の1例の前半部を示すフローチャ
ートである。
FIG. 5 is a flowchart showing a first half part of an example of an image processing operation.

【図6】画像処理動作の1例の後半部を示すフローチャ
ートである。
FIG. 6 is a flowchart showing the latter half of an example of the image processing operation.

【図7】拡大枠内の画素の移動の状態を示す説明図であ
る。
FIG. 7 is an explanatory diagram showing a state of movement of pixels in the enlargement frame.

【図8】合成用フレームメモリとこれに記憶された合成
データの1例を示す説明図である。
FIG. 8 is an explanatory diagram showing an example of a composition frame memory and composition data stored therein.

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

(1) CCD撮像素子(2次元撮像素子) (2) 移動装置 (3) 記憶装置 (4) 画像処理部 (5) 制御部 (6) 画素 (7) 画素集合体 (1) CCD image pickup device (two-dimensional image pickup device) (2) Moving device (3) Storage device (4) Image processing unit (5) Control unit (6) Pixel (7) Pixel assembly

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】直交2軸方向の複数の画素よりなる画素集
合体を有する2次元撮像素子、 上記2次元撮像素子を上記直交2軸方向に微小移動させ
て複数の撮像位置に位置決めする移動装置、 上記複数の撮像位置において上記2次元撮像素子で撮像
された画像データを記憶しておく記憶装置、 上記記憶装置に記憶された複数の画像データの中から所
望の部分を抽出して合成する画像処理部、 および上記移動装置の動作と上記2次元撮像素子の撮像
した画像データの読み出し動作を制御する制御部を備え
ている画像処理装置。
1. A two-dimensional image pickup device having a pixel aggregate composed of a plurality of pixels in two orthogonal axes, and a moving device for finely moving the two-dimensional image pickup device in the two orthogonal directions to position a plurality of image pickup positions. A storage device for storing image data captured by the two-dimensional image sensor at the plurality of image capturing positions; an image for extracting and combining a desired portion from the plurality of image data stored in the storage device An image processing apparatus comprising: a processing unit; and a control unit that controls the operation of the moving device and the operation of reading the image data captured by the two-dimensional image sensor.
JP5109546A 1993-05-11 1993-05-11 Picture processor Withdrawn JPH06326930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5109546A JPH06326930A (en) 1993-05-11 1993-05-11 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5109546A JPH06326930A (en) 1993-05-11 1993-05-11 Picture processor

Publications (1)

Publication Number Publication Date
JPH06326930A true JPH06326930A (en) 1994-11-25

Family

ID=14512994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5109546A Withdrawn JPH06326930A (en) 1993-05-11 1993-05-11 Picture processor

Country Status (1)

Country Link
JP (1) JPH06326930A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010052891A1 (en) * 2008-11-04 2010-05-14 株式会社ニコン Surface inspection device
US8046474B2 (en) 2004-03-19 2011-10-25 Fujitsu Limited Method, apparatus, programs and storage medium for transferring data between different types of terminals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046474B2 (en) 2004-03-19 2011-10-25 Fujitsu Limited Method, apparatus, programs and storage medium for transferring data between different types of terminals
WO2010052891A1 (en) * 2008-11-04 2010-05-14 株式会社ニコン Surface inspection device

Similar Documents

Publication Publication Date Title
CA1284375C (en) Electronic mosaic imaging process
EP2796918A2 (en) Image processing apparatus and image processing method
EP0130569B1 (en) Scanning imaging apparatus and method
US20100123780A1 (en) Method and device for monitoring a printed image on a moving material web
JPH06325162A (en) Image processor
JP4759415B2 (en) Image display device and image display method
JPH06326930A (en) Picture processor
JPH05333271A (en) Method and device for recognizing three-dimensional substance
JPH05164969A (en) Method and device for observing sample
US6816202B1 (en) Picture frame generating circuit and digital television system using the same
JP2864523B2 (en) Display device
JP2005266718A (en) Microscopic image photographing system
JP3158291B2 (en) Display device
JP5005482B2 (en) Pattern search method and apparatus
KR100257743B1 (en) Method of obtaining the high resolution image using the low resolution ccd camera
JPH0496739A (en) Image display device
JP2002199281A (en) Image processing apparatus
JPS60103779A (en) Picture signal processor
JPH0816808A (en) Picture display device/method
JP3420779B2 (en) Image display device for electronic endoscope
JPH01162482A (en) Picture input device
JPS58177635A (en) Ct image display apparatus
JPH0736437A (en) Picture data processor
JPH06105232A (en) Picture synthesis device
JP2000125222A (en) On-screen display device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000801