JPH05167835A - Magnification varying method in image input device - Google Patents

Magnification varying method in image input device

Info

Publication number
JPH05167835A
JPH05167835A JP3350744A JP35074491A JPH05167835A JP H05167835 A JPH05167835 A JP H05167835A JP 3350744 A JP3350744 A JP 3350744A JP 35074491 A JP35074491 A JP 35074491A JP H05167835 A JPH05167835 A JP H05167835A
Authority
JP
Japan
Prior art keywords
line sensor
ccd line
image processing
optical device
processing 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.)
Pending
Application number
JP3350744A
Other languages
Japanese (ja)
Inventor
Hiroshi Okino
弘 沖野
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.)
Tescon Co Ltd
Original Assignee
Tescon 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 Tescon Co Ltd filed Critical Tescon Co Ltd
Priority to JP3350744A priority Critical patent/JPH05167835A/en
Publication of JPH05167835A publication Critical patent/JPH05167835A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To save a cost and handling time by enabling a conventional image processing part to be used as it is by using a CCD line sensor with high resolution in a magnification varying method for an optical device used as an image input device and equipped with the CCD line sensor. CONSTITUTION:This device is the image input device provided with an image processing part which obtains image data by scanning a reflected light of a beam of light by the optical device and A/D-converting an electrical signal from the optical device, and the magnification of the optical device 2a can be varied by using a CCD line sensor 3a with high resolution in which the number of elements of the CCD line sensor is multiplied by prescribed number, using the image processing part 5 as it is, selecting the image data obtained from a scan object arbitrarily by a fetch step switching part 6 interposed between the CCD line sensor 3a with high resolution and the memory of the image processing part 5, and fetching it in the memory of the image processing part 5.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリント基板の実装検
査装置等の画像入力装置として用いられ、CCDライン
センサーを備えた光学装置の倍率可変方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of varying the magnification of an optical device used as an image input device such as a mounting inspection device for a printed circuit board and having a CCD line sensor.

【0002】[0002]

【従来の技術】従来、画像入力装置において、図5に示
すように、走査対象物(例えば実装プリント基板)1か
らの反射光を走査する光学装置2にCCDラインセンサ
ー3を使用して、解像度を高めるには、レンズ4を交換
して焦点距離を変える方法や、CCDラインセンサー3
の素子数の多いものに変える方法などがあった。
2. Description of the Related Art Conventionally, in an image input device, as shown in FIG. 5, a CCD line sensor 3 is used as an optical device 2 for scanning reflected light from an object to be scanned (for example, a mounted printed circuit board), and a resolution is set. In order to increase the distance, the method of changing the focal length by changing the lens 4 and the CCD line sensor 3
There was a method to change to the one with a large number of elements.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
レンズ4を交換する方法では、交換の手間と調節作業が
必要となり、また、画像入力装置に交換用レンズを添付
したりオプションとしたりする等コストアップとなる。
However, the method of replacing the lens 4 described above requires labor and adjustment work for replacement, and costs such as attaching a replacement lens to the image input device or making it an option. It will be up.

【0004】また、図6乃至図8に示すように、例えば
素子数2048個のCCDラインセンサー3を使用して
いて、これを図7に示すような2倍の素子数4096個
のCCDラインセンサー3aに交換して解像度を上げる
と、これに伴い図8に示す画像処理部5も前記CCDラ
インセンサー3a用に高解像度処理用の別基板を容易し
なければならない。
Further, as shown in FIGS. 6 to 8, a CCD line sensor 3 having, for example, 2048 elements is used, and this is doubled as shown in FIG. When the resolution is increased by replacing the CCD line sensor 3a with the image processing section 5a, the image processing section 5 shown in FIG. 8 must be provided with another substrate for high resolution processing for the CCD line sensor 3a.

【0005】前記画像処理部5は、前記CCDラインセ
ンサー3の電気信号をビデオアンプを介してA/D変換
して64階調のデジタルデータをメモリーに書き込むも
のである。この場合、図8でCCDラインセンサーBと
メモリーBがあるのは、この光学装置2がX−Yの2方
向に移動して走査するようにしてあるからである。
The image processing section 5 A / D-converts the electric signal of the CCD line sensor 3 via a video amplifier to write digital data of 64 gradations in a memory. In this case, the CCD line sensor B and the memory B are provided in FIG. 8 because the optical device 2 moves in two directions of XY and scans.

【0006】このように、高解像度にすべく光学装置2
の倍率を可変するには、手間がかかりコストもアップす
ると言った欠点が存在した。
In this way, the optical device 2 has a high resolution.
There was a drawback in that changing the magnification of was troublesome and costly.

【0007】本発明は、上記の課題に鑑みてなされたも
ので、高解像度のCCDラインセンサーを使用しても従
来の画像処理部をそのまま使用できるにしてコストを低
減するとともに、手間の掛からない光学装置の倍率可変
方法を提供することを目的とする。
The present invention has been made in view of the above problems, and even if a high-resolution CCD line sensor is used, the conventional image processing unit can be used as it is to reduce the cost and save the labor. An object of the present invention is to provide a method for varying the magnification of an optical device.

【0008】[0008]

【課題を解決するための手段】本発明の上記課題を解決
し上記目的を達成するための要旨は、光源から所定角度
で走査対象物へ照射された光線の反射光をCCDライン
センサーとレンズからなるカメラを備えた光学装置で走
査し、該光学装置からの電気信号をA/D変換して画像
データを得る画像処理部を有した画像入力装置であっ
て、前記CCDラインセンサーの素子数を所定倍にした
高解像度CCDラインセンサーを用い、かつ前記画像処
理部はそのままにし、高解像度CCDラインセンサーと
前記画像処理部のメモリとの間に介在させた取り込みス
テップ切換部により、走査対象物から得られた画像デー
タを任意に選択して前記画像処理部のメモリに取り込
み、光学装置の倍率を可変させることに存する。
The object of the present invention to solve the above-mentioned problems and achieve the above-mentioned object is to provide a CCD line sensor and a lens with which reflected light of a light beam emitted from a light source to a scanning object at a predetermined angle is reflected. An image input device having an image processing unit that scans with an optical device equipped with a camera and A / D-converts an electrical signal from the optical device to obtain image data. A high resolution CCD line sensor that has a predetermined magnification is used, and the image processing unit is left as it is, and a capture step switching unit interposed between the high resolution CCD line sensor and the memory of the image processing unit is used to scan the object to be scanned. It consists in arbitrarily selecting the obtained image data into the memory of the image processing unit and changing the magnification of the optical device.

【0009】[0009]

【作用】本発明の倍率可変方法によれば、画像入力装置
のCCDラインセンサーを高解像度のものに交換して、
かつ取り込みステップ切換部を設けるだけで、画像処理
部はもとのままにしておきながら、メモリには前記高解
像度CCDラインセンサーの任意の素子の電気信号をA
/D変換して書き込むものである。これにより、画像入
力装置の解像度が向上し、また、メモリ取り込み開始箇
所を任意に変更すれば、主走査方向における任意の範囲
の画像データを取り込むことができる。
According to the variable magnification method of the present invention, the CCD line sensor of the image input device is replaced with a high resolution one,
In addition, only by providing the capturing step switching unit, the electric signal of any element of the high resolution CCD line sensor is stored in the memory while leaving the image processing unit as it is.
/ D conversion and writing. As a result, the resolution of the image input device is improved, and the image data in an arbitrary range in the main scanning direction can be captured by arbitrarily changing the memory capture start position.

【0010】[0010]

【実施例】次に、本発明について図面を参照して説明す
る。図1は、本発明の一実施例を示すブロック図であ
る。図において、符号3aは素子数が4096個のCC
Dラインセンサー、6は取り込みステップ切換部、7は
CCDクロック発生部、8はメモリーコントロール、9
は取り込みステップ切換装置を各々示し、従来と対応す
る部分には同一符号を付けてある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, reference numeral 3a indicates a CC having 4096 elements.
D line sensor, 6 capture step switching unit, 7 CCD clock generating unit, 8 memory control, 9
Indicate the capture step switching devices, respectively, and the portions corresponding to the conventional ones are designated by the same reference numerals.

【0011】本発明においては、一実施例として、従来
素子数2048個のCCDラインセンサー3を使用した
場合の画像処理部5をそのまま使用する。そして解像度
を、例えば、2倍に高めるために、素子数4096個の
高解像度CCDラインセンサー3aを、図4に示すよう
に、光学装置2aに備える。
In the present invention, as an embodiment, the image processing unit 5 in the case of using the CCD line sensor 3 having the conventional number of 2048 elements is used as it is. In order to double the resolution, for example, a high resolution CCD line sensor 3a having 4096 elements is provided in the optical device 2a as shown in FIG.

【0012】そして、CCDクロック発生部7と、メモ
リーコントロール8と、取り込みステップ切換装置9を
備えた取り込みステップ切換部6を設ける。前記CCD
クロック発生部7により、クロックの周波数を2倍にし
て高解像度CCDラインセンサー3aを走査可能にし、
メモリーコントロール8で画像処理部5のメモリに64
階調のデジタルデータの書き込みを制御する。
A CCD clock generator 7, a memory controller 8, and a capture step switching unit 6 having a capture step switching device 9 are provided. The CCD
The clock generator 7 doubles the clock frequency to enable scanning of the high resolution CCD line sensor 3a,
64 in the memory of the image processing unit 5 by the memory control 8.
Controls writing of gradation digital data.

【0013】このような構成の画像入力装置によれば、
図4に示すように走査対象物1の主走査範囲であるL1
の範囲における反射光が光学装置2aの高解像度CCD
ラインセンサー3aで走査され、画像処理部5のビデオ
アンプを介してA/D変換部で64階調のデジタルデー
タに変換される。そして、取り込みステップ切換装置9
で、画像データの取り込みを一個おきにするように設定
されると、メモリーコントロール8により図2に示す高
解像度CCDラインセンサー3aの一個おきの素子1
0,11,…14,…の2048個の64階調デジタル
データが取り込まれ、メモリに書き込まれる。
According to the image input device having such a configuration,
As shown in FIG. 4, L 1 which is the main scanning range of the scanning object 1
High-resolution CCD of the optical device 2a
It is scanned by the line sensor 3a and is converted into digital data of 64 gradations by the A / D conversion unit via the video amplifier of the image processing unit 5. Then, the capturing step switching device 9
Then, when it is set so that every other image data is fetched, every other element 1 of the high resolution CCD line sensor 3a shown in FIG.
2048 64 gradation digital data of 0, 11, ... 14, ... are fetched and written in the memory.

【0014】そして、光学装置2aによる走査が2方向
に行われる場合には、上述と同様にしてCCDラインセ
ンサーBが使用されメモリBに書き込まれる。その後、
バリュー演算部等を介して走査対象物1の部品等の有無
等が判定される。
When scanning by the optical device 2a is performed in two directions, the CCD line sensor B is used and written in the memory B in the same manner as described above. afterwards,
The presence / absence of a component or the like of the scan target 1 is determined via the value calculation unit or the like.

【0015】また、前記取り込みステップ切換部9が画
像データの取り込みを連続的に行うように設定される
と、図3に示すように、メモリーコントロール8により
高解像度CCDラインセンサー3aの素子15,16,
17,18,19,…20,21…と連続した2048
個の64階調デジタルデータが取り込まれ、メモリに書
き込まれる。
When the fetching step switching unit 9 is set to continuously fetch image data, the elements 15, 16 of the high resolution CCD line sensor 3a are controlled by the memory control 8 as shown in FIG. ,
2048 which is continuous with 17, 18, 19, ... 20, 21 ...
The individual 64 gradation digital data are fetched and written in the memory.

【0016】これは、図4に示すように、主走査範囲L
1の半分であるL2の範囲の画像データが読み込まれたこ
とになる。もちろん解像度は2048個の素子のCCD
ラインセンター3を使用したときの2倍である。更に、
メモリーコントロール8により、画像処理部5のメモリ
に書き込む主走査範囲L1の開始箇所を変更すれば、例
えば図3に示す素子21から後の2048個の64階調
デジタルデータから取り込むようにすれば、図4に示す
3の範囲の画像データを取り込むことになる。
This is the main scanning range L as shown in FIG.
This means that the image data in the range of L 2 which is half of 1 has been read. Of course, the resolution is a CCD with 2048 elements
It is twice as much as when the line center 3 is used. Furthermore,
If the start position of the main scanning range L 1 to be written in the memory of the image processing unit 5 is changed by the memory control 8, for example, it can be read from 2048 64 gradation digital data after the element 21 shown in FIG. , The image data in the range of L 3 shown in FIG.

【0017】このようにして主走査範囲L1内におい
て、画像データの取り込み範囲を任意に変更することが
できる。そして光学装置2aをX−Yの2方向もしくは
一方向の副走査方向に一定速度で移動させ、走査対象物
1の画像データを取り込み、その後の処理系に画像デー
タを引き渡すものである。
In this way, the range of capturing image data can be arbitrarily changed within the main scanning range L 1 . Then, the optical device 2a is moved at a constant speed in the sub-scanning direction of two directions of XY or one direction, the image data of the scanning object 1 is taken in, and the image data is delivered to the subsequent processing system.

【0018】上記一実施例では、素子数4096個のC
CDラインセンサーを使用し、従来の解像度の低い処理
系の画像処理部をそのまま使用して、解像度を2倍にし
た場合を説明したが、勿論これに限定されず、任意の素
子数のCCDラインセンサーに対して複数倍の素子数の
高解像度CCDラインセンサーを備えて、取り込みステ
ップ切換部で所要ステップおきに画像データを取り込ん
だり、もしくは適宜の箇所から連続的に画像データを取
り込んだりして、前記高解像度CCDラインセンサーに
応じた倍率の解像度に可変できるものである。
In the above embodiment, C having 4096 elements is used.
The case where the CD line sensor is used and the resolution is doubled by using the image processing unit of the conventional low-resolution processing system as it is has been described, but the present invention is not limited to this and the CCD line having an arbitrary number of elements can be used. Equipped with a high resolution CCD line sensor with a multiple number of elements for the sensor, the image capture step switching unit captures image data at every required step, or continuously captures image data from an appropriate location, The resolution can be varied according to the magnification of the high resolution CCD line sensor.

【0019】[0019]

【発明の効果】以上説明したように、本発明の画像入力
装置における倍率可変方法は、CCDラインセンサーの
素子数を所定倍にした高解像度CCDラインセンサーを
用い、かつ画像処理部はそのままにし、前記高解像度C
CDラインセンサーと前記画像処理部のメモリとの間に
介在させた取り込みステップ切換部により、走査対象物
から得られた画像データを任意に選択して前記画像処理
部のメモリに取り込み、光学装置の倍率を可変させるこ
ととしたので、CCDラインセンサーを高解像度のもの
に変えても画像処理部は変更する必要がないのでコスト
の低減となる。
As described above, the method of varying the magnification in the image input apparatus of the present invention uses the high resolution CCD line sensor in which the number of CCD line sensor elements is set to a predetermined number, and the image processing unit is left as it is. The high resolution C
A capture step switching unit interposed between the CD line sensor and the memory of the image processing unit arbitrarily selects image data obtained from the scanning object and captures it in the memory of the image processing unit. Since the magnification is variable, it is not necessary to change the image processing unit even if the CCD line sensor is changed to a high resolution one, which reduces the cost.

【0020】また、取り込みステップ切換部の設定によ
り主走査範囲内における画像データの取り込み範囲を任
意に変更できるので、走査対象物が大小異なるものであ
る場合に容易に対応でき、しかも光学装置のレンズの交
換や焦点距離を調整する必要もなく高解像度の画像デー
タを得ることができる。
Further, since the capturing range of the image data within the main scanning range can be arbitrarily changed by setting the capturing step switching section, it is possible to easily cope with the case where the scanning object is different in size and the lens of the optical device. It is possible to obtain high-resolution image data without the need to replace or adjust the focal length.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】高解像度CCDラインセンサーの正面図であ
る。
FIG. 2 is a front view of a high resolution CCD line sensor.

【図3】同じく高解像度CCDラインセンサーの正面図
である。
FIG. 3 is a front view of a high resolution CCD line sensor of the same.

【図4】光学装置の使用状態を示す説明図である。FIG. 4 is an explanatory diagram showing a usage state of the optical device.

【図5】従来例における光学装置の使用状態を示す説明
図である。
FIG. 5 is an explanatory diagram showing a usage state of an optical device in a conventional example.

【図6】従来例におけるCCDラインセンサーの正面図
である。
FIG. 6 is a front view of a CCD line sensor in a conventional example.

【図7】高解像度CCDラインセンサーの正面図であ
る。
FIG. 7 is a front view of a high resolution CCD line sensor.

【図8】従来例における光学装置と画像処理部のブロッ
ク図である。
FIG. 8 is a block diagram of an optical device and an image processing unit in a conventional example.

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

3a 素子数が4096個のCCDラインセンサー、4
レンズ、5 画像処理部、6 取り込みステップ切換
部、7 CCDクロック発生部、8 メモリーコントロ
ール、9 取り込みステップ切換装置。
3a CCD line sensor with 4096 elements, 4
Lens, 5 image processing unit, 6 capture step switching unit, 7 CCD clock generating unit, 8 memory control, 9 capture step switching device.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G01N 21/88 F 8304−2J G06F 15/64 325 B 8840−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification number Office reference number FI technical display location G01N 21/88 F 8304-2J G06F 15/64 325 B 8840-5L

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 光源から所定角度で走査対象物へ照射さ
れた光線の反射光をCCDラインセンサーとレンズから
なるカメラを備えた光学装置で走査し、該光学装置から
の電気信号をA/D変換して画像データを得る画像処理
部を有した画像入力装置であって、前記CCDラインセ
ンサーの素子数を所定倍にした高解像度CCDラインセ
ンサーを用い、かつ前記画像処理部はそのままにし、高
解像度CCDラインセンサーと前記画像処理部のメモリ
との間に介在させた取り込みステップ切換部により、走
査対象物から得られた画像データを任意に選択して前記
画像処理部のメモリに取り込み、光学装置の倍率を可変
させることを特徴としてなる画像入力装置における倍率
可変方法。
1. An optical device equipped with a camera composed of a CCD line sensor and a lens scans the reflected light of a light beam emitted from a light source to a scanning object at a predetermined angle, and an electric signal from the optical device is converted into an A / D signal. An image input device having an image processing unit for converting to obtain image data, wherein a high resolution CCD line sensor in which the number of elements of the CCD line sensor is set to a predetermined number is used, and the image processing unit is left unchanged. The image data obtained from the scanning object is arbitrarily selected by the capture step switching unit interposed between the resolution CCD line sensor and the memory of the image processing unit and captured in the memory of the image processing unit, and the optical device A method for changing the magnification in an image input device, characterized in that the magnification is changed.
JP3350744A 1991-12-12 1991-12-12 Magnification varying method in image input device Pending JPH05167835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3350744A JPH05167835A (en) 1991-12-12 1991-12-12 Magnification varying method in image input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3350744A JPH05167835A (en) 1991-12-12 1991-12-12 Magnification varying method in image input device

Publications (1)

Publication Number Publication Date
JPH05167835A true JPH05167835A (en) 1993-07-02

Family

ID=18412568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3350744A Pending JPH05167835A (en) 1991-12-12 1991-12-12 Magnification varying method in image input device

Country Status (1)

Country Link
JP (1) JPH05167835A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100483191B1 (en) * 2001-07-03 2005-04-14 가시오게산키 가부시키가이샤 Digital Camera With Electronic Zooming Function and Image Processing Method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100483191B1 (en) * 2001-07-03 2005-04-14 가시오게산키 가부시키가이샤 Digital Camera With Electronic Zooming Function and Image Processing Method

Similar Documents

Publication Publication Date Title
US5581301A (en) Image processing apparatus with adjustable low-pass optical filter characteristics
JP2002330336A (en) Apparatus and method for capturing image
JPH05167835A (en) Magnification varying method in image input device
JPH0865567A (en) Image pickup device
JPH06296252A (en) Video camera device
JP3465910B2 (en) Automatic focusing method
JP3386491B2 (en) Automatic focusing method
JPH0614241A (en) Electronic zoom device
JPH09139806A (en) Image information reader
JPH0918763A (en) Image pickup device and video signal processing unit
KR19990040455A (en) Image recognition device
JP3382969B2 (en) Automatic focusing method
JPH03198486A (en) Image pickup device
JP2002077874A (en) Image pickup device and method
JP2741211B2 (en) Image input device
JP2689609B2 (en) Video camera equipment
JPH07177299A (en) Adjusting system for image handling device
JPH08242373A (en) Method and device for shading correction of one-dimensional sensor
JPH05192895A (en) Visual instrument of robot
WO2000063832A1 (en) Method of scanning a color image and the device for its implementation
JPS6326777A (en) Pattern recognizing device
JPH01115267A (en) Image reader
JPH02302174A (en) Magnification reduction monitor in copying machine
JPH09325012A (en) Picture measuring device and imaging device used for the device
JPH0414825B2 (en)