JP2014048799A - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
JP2014048799A
JP2014048799A JP2012189953A JP2012189953A JP2014048799A JP 2014048799 A JP2014048799 A JP 2014048799A JP 2012189953 A JP2012189953 A JP 2012189953A JP 2012189953 A JP2012189953 A JP 2012189953A JP 2014048799 A JP2014048799 A JP 2014048799A
Authority
JP
Japan
Prior art keywords
image
filter
calculation
captured
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.)
Granted
Application number
JP2012189953A
Other languages
Japanese (ja)
Other versions
JP6147971B2 (en
Inventor
Yoshiaki Abe
好晃 安部
Yutaka Ogura
豊 小倉
Tomomi Yamada
友美 山田
Raika Morita
玲香 森田
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.)
Juki Corp
Original Assignee
Juki Corp
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 Juki Corp filed Critical Juki Corp
Priority to JP2012189953A priority Critical patent/JP6147971B2/en
Priority to CN201310389086.7A priority patent/CN103673889B/en
Publication of JP2014048799A publication Critical patent/JP2014048799A/en
Application granted granted Critical
Publication of JP6147971B2 publication Critical patent/JP6147971B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To stabilize a filter calculation result using two or more captured images including a calculation target image even when a filter size is reduced.SOLUTION: An image processing device (6) for performing filter processing on a captured image comprises: an imaging unit (25) that images an object to be measured at different distances to acquire a plurality of captured images; and a calculation unit (26) that performs filter processing using two or more captured images including a calculation target image and another captured image among the plurality of captured images.

Description

本発明は、撮像画像に対してフィルタ処理を施す画像処理装置及び画像処理方法に関し、特に実装基板に並んだ半田ボールの高さ測定時のフィルタ処理に関するものである。   The present invention relates to an image processing apparatus and an image processing method for performing a filtering process on a captured image, and more particularly to a filtering process when measuring the height of solder balls arranged on a mounting board.

従来、この種の画像処理装置として、全焦点画像の生成時に7×7差分フィルタを用いてフィルタ処理するものが知られている(例えば、特許文献1参照)。特許文献1に記載の画像処理装置は、電子部品の実装装置に設けられており、吸着ノズルに保持された測定対象物をカメラに近付けることで、撮像距離の異なる複数の撮像画像を取得する。画像処理装置は、全ての撮像画像の画素を比較して、最も焦点の合った画素データを抽出する。この場合、画像処理装置は、7×7差分フィルタを実施して、複数の撮像画像の各画素においてフィルタ結果が最も高い値を示す画素データを選択することで、複数の撮像画像から全焦点画像を生成している。   2. Description of the Related Art Conventionally, as this type of image processing apparatus, an apparatus that performs filter processing using a 7 × 7 difference filter when generating an omnifocal image is known (for example, see Patent Document 1). The image processing apparatus described in Patent Document 1 is provided in an electronic component mounting apparatus, and acquires a plurality of captured images having different imaging distances by bringing a measurement object held by a suction nozzle closer to the camera. The image processing apparatus compares the pixels of all the captured images and extracts the pixel data with the best focus. In this case, the image processing apparatus performs a 7 × 7 differential filter and selects pixel data indicating the highest value of the filter result in each pixel of the plurality of captured images, so that the omnifocal image is obtained from the plurality of captured images. Is generated.

特開2011−082506号公報JP 2011-082506 A

ところで、特許文献1に記載の差分フィルタでは、各撮像画像において注目画素と隣接画素との差分が求められるため、フィルタサイズを大きくしてフィルタ計算に使用するデータ数を確保している。今後は、測定対象部品が小型になることが想定され、これに伴いフィルタサイズを小さくする必要がある。フィルタサイズが小さくなると、フィルタ計算に使用できるデータ数が少なくなり、フィルタ計算結果が安定せず測定精度が低下するという問題がある。また、BGA(Ball Grid Array)等の半田ボールの高さを測定する場合には、フィルタサイズが大きいと、ボールエッジの画素データが測定結果に強く影響して測定精度が安定しない。   By the way, in the differential filter described in Patent Document 1, since the difference between the target pixel and the adjacent pixel is obtained in each captured image, the filter size is increased to secure the number of data used for the filter calculation. In the future, it is assumed that the parts to be measured will be smaller, and it is necessary to reduce the filter size accordingly. When the filter size is reduced, the number of data that can be used for the filter calculation decreases, and there is a problem that the filter calculation result is not stable and the measurement accuracy is lowered. When measuring the height of a solder ball such as a BGA (Ball Grid Array), if the filter size is large, the pixel data of the ball edge strongly affects the measurement result, and the measurement accuracy is not stable.

本発明はこのような実情に鑑みてなされたものであり、フィルタサイズを小さくしても、フィルタ計算結果を安定させることができる画像処理装置及び画像処理方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an image processing apparatus and an image processing method capable of stabilizing the filter calculation result even when the filter size is reduced.

本発明の画像処理装置は、撮像画像に対してフィルタ処理を施す画像処理装置であって、異なる撮像距離で測定対象物を撮像して、複数の撮像画像を取得する撮像部と、前記複数の撮像画像のうち、計算対象画像及び他の撮像画像を含む2以上の撮像画像を用いてフィルタ処理を実施する算出部とを備えたことを特徴とする。   An image processing apparatus according to the present invention is an image processing apparatus that performs a filtering process on a captured image. The imaging unit captures a plurality of captured images by capturing a measurement object at different imaging distances; And a calculation unit that performs filter processing using two or more captured images including a calculation target image and another captured image among the captured images.

本発明の画像処理方法は、撮像画像に対してフィルタ処理を施す画像処理方法であって、異なる撮像距離で測定対象物を撮像して、複数の撮像画像を取得するステップと、前記複数の撮像画像のうち、計算対象画像及び他の撮像画像を含む2以上の撮像画像を用いてフィルタ処理を実施するステップとを有することを特徴とする。   The image processing method of the present invention is an image processing method for performing filtering on a captured image, imaging a measurement object at different imaging distances to obtain a plurality of captured images, and the plurality of imaging And a step of performing filter processing using two or more captured images including a calculation target image and other captured images among the images.

これらの構成によれば、計算対象画像を含む2以上の撮像画像を用いることで、フィルタ計算に使用するデータ数を増やすことができる。よって、フィルタサイズが小さくなっても、十分なデータ数を確保することができ、フィルタ計算結果が安定し測定精度が低下することがない。また、BGA等の半田ボールの高さを測定する際には、フィルタサイズを小さくしてボールエッジを除いたフィルタ処理であっても、十分なデータ数を確保できる。   According to these configurations, the number of data used for filter calculation can be increased by using two or more captured images including a calculation target image. Therefore, even when the filter size is reduced, a sufficient number of data can be secured, the filter calculation result is stable, and the measurement accuracy is not lowered. In addition, when measuring the height of a solder ball such as a BGA, a sufficient number of data can be secured even if the filter processing is performed by reducing the filter size and removing the ball edge.

また本発明の上記画像処理装置において、前記算出部は、前記計算対象画像の注目画素及び前記注目画素の周辺画素におけるフィルタ計算結果と、前記計算対象画像の前記注目画素を中心とした1列の画素及び当該計算対象画像の前記1列の画素に対応した前記他の撮像画像の1列の画素におけるフィルタ計算結果とを用いてフィルタ処理する。この構成によれば、計算対象画像内だけでなく、撮像距離の異なる複数の撮像画像を跨ぐようにフィルタを設定して、十分なデータ数を確保できる。   In the image processing apparatus of the present invention, the calculation unit includes a result of filter calculation in the target pixel of the calculation target image and a peripheral pixel of the target pixel, and a column of the calculation target image centered on the target pixel. Filter processing is performed using the pixel and the filter calculation result in one column of pixels of the other captured image corresponding to the one column of pixels of the calculation target image. According to this configuration, it is possible to secure a sufficient number of data by setting the filter so as to straddle a plurality of captured images with different imaging distances as well as within the calculation target image.

また本発明の上記画像処理装置において、前記算出部は、前記計算対象画像の注目画素及び前記注目画素の周辺画素におけるフィルタ計算結果と、前記他の撮像画像において前記計算対象画像の注目画素及び周辺画素に対応する画素におけるフィルタ計算結果とを用いてフィルタ処理する。この構成によれば、計算対象画像内の画素だけでなく、撮像距離の異なる他の撮像画像の画素を利用して、十分なデータ数を確保できる。   In the image processing apparatus of the present invention, the calculation unit includes a filter calculation result in a target pixel of the calculation target image and a peripheral pixel of the target pixel, and a target pixel and a peripheral of the calculation target image in the other captured image. Filter processing is performed using the filter calculation result in the pixel corresponding to the pixel. According to this configuration, it is possible to secure a sufficient number of data by using not only pixels in the calculation target image but also pixels of other captured images having different imaging distances.

また本発明の上記画像処理装置において、前記他の撮像画像は、前記計算対象画像よりも先に撮像された前画像及び前記計算対象画像よりも後に撮像された後画像である。この構成によれば、前後の撮像画像を用いてフィルタ計算に使用するデータ数を増やすことができる。   In the image processing apparatus of the present invention, the other captured images are a previous image captured before the calculation target image and a post image captured after the calculation target image. According to this configuration, it is possible to increase the number of data used for filter calculation using the front and rear captured images.

また本発明の上記画像処理装置において、前記算出部は、前記フィルタ処理後に、さらに追加でフィルタ処理を実施する際に、前記計算対象画像及び前記他の撮像画像を含む2以上の撮像画像の前回のフィルタ計算結果を用いる。この構成によれば、追加のフィルタ処理においても十分なデータ数を確保でき、追加のフィルタ計算結果を安定させることができる。   In the image processing apparatus according to the aspect of the invention, the calculation unit may perform the previous filtering process of two or more captured images including the calculation target image and the other captured images when performing additional filtering after the filtering. The filter calculation result is used. According to this configuration, a sufficient number of data can be secured even in the additional filter processing, and the additional filter calculation result can be stabilized.

また本発明の上記画像処理装置において、前記算出部は、前記計算対象画像と前記他の撮像画像とに対して重み付けをしてフィルタ処理を実施する。この構成によれば、撮像距離に応じて重みを調整することで、複数の撮像画像の撮像距離の違いを考慮して、より高精度のフィルタ計算結果を得ることができる。   In the image processing apparatus of the present invention, the calculation unit performs a filtering process by weighting the calculation target image and the other captured image. According to this configuration, by adjusting the weight according to the imaging distance, it is possible to obtain a more accurate filter calculation result in consideration of the difference in imaging distance between a plurality of captured images.

また本発明の上記画像処理装置は、前記複数の撮像画像に対するフィルタ計算結果に基づいて全焦点画像を生成する画像生成部を備えている。この構成によれば、フィルタサイズを小さくした場合であっても、高精度の全焦点画像を生成することができる。   The image processing apparatus of the present invention further includes an image generation unit that generates an omnifocal image based on a filter calculation result for the plurality of captured images. According to this configuration, a highly accurate omnifocal image can be generated even when the filter size is reduced.

本発明によれば、計算対象画像を含む2以上の撮像画像を用いることで、フィルタサイズを小さくしても、フィルタ計算結果を安定させることができる。   According to the present invention, by using two or more captured images including a calculation target image, the filter calculation result can be stabilized even if the filter size is reduced.

本実施の形態に係る実装装置の斜視図である。It is a perspective view of the mounting apparatus which concerns on this Embodiment. 本実施の形態に係る画像処理装置の模式図である。1 is a schematic diagram of an image processing apparatus according to the present embodiment. 比較例に係るフィルタサイズの説明図である。It is explanatory drawing of the filter size which concerns on a comparative example. 比較例に係るフィルタカーブの一例を示す図である。It is a figure which shows an example of the filter curve which concerns on a comparative example. 本実施の形態に係るフィルタ処理の説明図である。It is explanatory drawing of the filter process which concerns on this Embodiment. 本実施の形態に係るフィルタ処理の説明図である。It is explanatory drawing of the filter process which concerns on this Embodiment. 本実施の形態に係るフィルタカーブの一例を示す図である。It is a figure which shows an example of the filter curve concerning this Embodiment.

以下、本発明の実施の形態について添付図面を参照して詳細に説明する。図1は、本実施の形態に係る実装装置の斜視図である。なお、以下においては、本発明の画像処理装置を電子部品の実装装置に適用する場合について説明するが、この構成に限定されない。本発明の画像処理装置を他の加工装置に適用してもよい。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a perspective view of the mounting apparatus according to the present embodiment. In the following, a case where the image processing apparatus of the present invention is applied to an electronic component mounting apparatus will be described, but the present invention is not limited to this configuration. The image processing apparatus of the present invention may be applied to other processing apparatuses.

図1に示すように、実装装置1は、フィーダ3から供給された電子部品31(図2参照)を、実装ヘッド4によって基台2上の基板32に実装するように構成されている。基台2上には、実装ヘッド4をX軸方向及びY軸方向に移動させる実装ヘッド移動機構5が設けられている。実装ヘッド移動機構5は、基台2の四隅に立設された支柱部11により支持されており、基台2上面から所定の高さで実装ヘッド4をX軸方向及びY軸方向に移動させる。   As shown in FIG. 1, the mounting apparatus 1 is configured to mount an electronic component 31 (see FIG. 2) supplied from the feeder 3 on a substrate 32 on the base 2 by the mounting head 4. A mounting head moving mechanism 5 that moves the mounting head 4 in the X-axis direction and the Y-axis direction is provided on the base 2. The mounting head moving mechanism 5 is supported by support columns 11 erected at the four corners of the base 2, and moves the mounting head 4 in the X-axis direction and the Y-axis direction at a predetermined height from the upper surface of the base 2. .

実装ヘッド移動機構5は、支柱部11上に支持されたY軸方向に平行なY軸テーブル13及びスライドガイド14と、Y軸テーブル13及びスライドガイド14上に支持されたX軸方向に平行なX軸テーブル15とを有している。X軸テーブル15には、実装ヘッド4がX軸方向に移動可能に支持されている。また、Y軸テーブル13上及びX軸テーブル15上には、それぞれ電源ケーブル等の各種ケーブルが収容されるケーブルベア(登録商標)16、17が設けられている。   The mounting head moving mechanism 5 includes a Y-axis table 13 and a slide guide 14 that are parallel to the Y-axis direction supported on the support column 11, and an X-axis direction that is supported on the Y-axis table 13 and the slide guide 14. And an X-axis table 15. The mounting head 4 is supported by the X-axis table 15 so as to be movable in the X-axis direction. Also, on the Y-axis table 13 and the X-axis table 15 are provided cable bears (registered trademark) 16 and 17 that accommodate various cables such as a power cable.

実装ヘッド移動機構5は、不図示のモータによってX軸テーブル15に沿って実装ヘッド4をX軸方向に移動させる。また、実装ヘッド移動機構5は、不図示のモータによってX軸テーブル15と共に実装ヘッド4をY軸テーブル13及びスライドガイド14に沿ってY軸方向に移動させる。このような構成により、実装ヘッド4は、基板32の上方を水平移動され、フィーダ3から供給された電子部品31を基板32の所望の位置に搬送することが可能となっている。   The mounting head moving mechanism 5 moves the mounting head 4 in the X-axis direction along the X-axis table 15 by a motor (not shown). Further, the mounting head moving mechanism 5 moves the mounting head 4 together with the X-axis table 15 in the Y-axis direction along the Y-axis table 13 and the slide guide 14 by a motor (not shown). With such a configuration, the mounting head 4 is moved horizontally above the substrate 32 and can transport the electronic component 31 supplied from the feeder 3 to a desired position on the substrate 32.

実装ヘッド4は、電子部品31を吸着可能な吸着ノズル21を有している。吸着ノズル21は、不図示のθモータによってZ軸回りに回転され、不図示のZ軸モータによってZ軸方向に上下動される。実装ヘッド4は、各吸着ノズル21を個別に駆動させることにより、フィーダ3から複数の電子部品31を吸着できるように構成されている。なお、実装ヘッド4のノズルは、フィーダ3から電子部品31を取り出し可能であればよく、例えば、グリッパーノズルで構成されていてもよい。   The mounting head 4 has a suction nozzle 21 that can suck the electronic component 31. The suction nozzle 21 is rotated around the Z axis by a not-shown θ motor and is moved up and down in the Z-axis direction by a not-shown Z-axis motor. The mounting head 4 is configured so that a plurality of electronic components 31 can be sucked from the feeder 3 by individually driving the suction nozzles 21. In addition, the nozzle of the mounting head 4 should just be able to take out the electronic component 31 from the feeder 3, and may be comprised with the gripper nozzle, for example.

また、吸着ノズル21の近傍には、ティーチング用の撮像部22及び不図示のハイトセンサが設けられている。撮像部22は、フィーダ3の受け渡し位置に送り出された電子部品31や基板32のマークを撮像する。撮像部22の撮像画像に基づいて、X軸方向及びY軸方向における電子部品31の吸着位置(保持位置)や基板32の実装位置が調整される。ハイトセンサは、電子部品31や基板32に向けて光を照射し、反射光を受光することで高さ測定する。ハイトセンサの測定結果により、Z軸方向における電子部品31の吸着位置や基板32の実装位置が調整される。   Further, in the vicinity of the suction nozzle 21, an imaging unit 22 for teaching and a height sensor (not shown) are provided. The imaging unit 22 images the marks of the electronic component 31 and the substrate 32 sent to the delivery position of the feeder 3. Based on the captured image of the imaging unit 22, the suction position (holding position) of the electronic component 31 and the mounting position of the substrate 32 in the X-axis direction and the Y-axis direction are adjusted. The height sensor measures the height by irradiating light toward the electronic component 31 and the substrate 32 and receiving reflected light. Depending on the measurement result of the height sensor, the suction position of the electronic component 31 and the mounting position of the substrate 32 in the Z-axis direction are adjusted.

基台2上には、高精度の部品認識を行う画像処理装置6(図2参照)の撮像部25が設けられている。撮像部25は、吸着ノズル21に吸着された電子部品31を下側から撮像する。画像処理装置6は、撮像部25の撮像画像に基づいて電子部品31の全焦点画像を生成し、吸着ノズル21に対する電子部品31の位置ズレ量や電子部品31の不良等を検査する。また、基台2上には、実装ヘッド4の下方に基板32を位置付ける基板搬送部7が設けられている。基板搬送部7は、X軸方向に延在する搬送ベルト等により、X軸方向における一端側から部品実装前の基板32を取り込み、他端側から部品実装後の基板32を搬出する。   On the base 2, an imaging unit 25 of an image processing apparatus 6 (see FIG. 2) that performs highly accurate component recognition is provided. The imaging unit 25 images the electronic component 31 sucked by the suction nozzle 21 from below. The image processing device 6 generates an omnifocal image of the electronic component 31 based on the captured image of the imaging unit 25 and inspects the positional displacement amount of the electronic component 31 with respect to the suction nozzle 21 and the defect of the electronic component 31. On the base 2, a substrate transport unit 7 that positions the substrate 32 below the mounting head 4 is provided. The board transport unit 7 takes in the board 32 before component mounting from one end side in the X-axis direction and transports the board 32 after component mounting from the other end side by a transport belt or the like extending in the X-axis direction.

基台2には、基台2上に設けられた各部を覆うカバー8が設けられている。カバー8の一部には、実装装置1に対する指示を受け付ける操作パネル9が設けられている。操作パネル9には、実装装置1の各種処理に関する設定画面やオペレータに対する報知情報が表示される。オペレータは、カバー8の正面に立って操作パネル9に指先で直に触れることで、実装装置1の動作条件等の設定を実施する。実装装置1には、実装装置1の各種処理を実行するプロセッサや、メモリ等が設けられている。メモリは、用途に応じてROM(Read Only Memory)、RAM(Random Access Memory)等の一つ又は複数の記憶媒体で構成される。   The base 2 is provided with a cover 8 that covers each part provided on the base 2. A part of the cover 8 is provided with an operation panel 9 that receives instructions for the mounting apparatus 1. The operation panel 9 displays setting screens related to various processes of the mounting apparatus 1 and notification information for the operator. The operator sets the operating conditions and the like of the mounting apparatus 1 by standing in front of the cover 8 and directly touching the operation panel 9 with a fingertip. The mounting apparatus 1 is provided with a processor that executes various processes of the mounting apparatus 1, a memory, and the like. The memory is composed of one or a plurality of storage media such as a ROM (Read Only Memory) and a RAM (Random Access Memory) depending on the application.

図2を参照して、画像処理装置について説明する。図2は、本実施の形態に係る画像処理装置の模式図である。なお、本実施の形態では、測定対象物としてBGAのボールを例示して説明するが、この構成に限定されない。画像処理装置は、例えば、測定対象物としてICのリードを測定することも可能である。   The image processing apparatus will be described with reference to FIG. FIG. 2 is a schematic diagram of the image processing apparatus according to the present embodiment. In the present embodiment, a BGA ball is described as an example of the measurement object, but the present invention is not limited to this configuration. For example, the image processing apparatus can also measure an IC lead as a measurement object.

図2に示すように、画像処理装置6は、撮像対象物としての電子部品31を撮像する撮像部25と、撮像画像に対してフィルタ処理を施す算出部26と、フィルタ計算結果に基づいて全焦点画像を生成する画像生成部27とを有している。電子部品31は、いわゆるBGAであり、基板36上にボール(半田ボール)35をグリッド上に並べて形成される。撮像部25は、光軸をZ軸に一致させるように撮像面を上方に向けて基台2上に設けられている。この場合、吸着ノズル21によって電子部品31が撮像部25の光軸に沿って上下動されることで、電子部品31と撮像部25との撮像距離が調整される。撮像部25は、電子部品31が光軸に沿って上下動されることで、電子部品31を異なる撮像距離で撮像する。   As shown in FIG. 2, the image processing device 6 includes an imaging unit 25 that captures an electronic component 31 as an imaging target, a calculation unit 26 that performs a filter process on the captured image, and a filter calculation result. And an image generation unit 27 that generates a focus image. The electronic component 31 is a so-called BGA, and is formed by arranging balls (solder balls) 35 on a substrate 36 on a grid. The imaging unit 25 is provided on the base 2 with the imaging surface facing upward so that the optical axis coincides with the Z axis. In this case, the imaging distance between the electronic component 31 and the imaging unit 25 is adjusted by moving the electronic component 31 up and down along the optical axis of the imaging unit 25 by the suction nozzle 21. The imaging unit 25 images the electronic component 31 at different imaging distances by moving the electronic component 31 up and down along the optical axis.

算出部26は、撮像部25によって撮像された各撮像画像に対してフィルタ処理を実施する。ここでは、詳細は後述するが、計算対象画像だけでなく、計算対象画像と計算対象画像の前画像及び後画像とを用いてフィルタ処理が実施される。これにより、フィルタサイズの小サイズ化に伴うデータ数の減少を、計算対象画像の前画像及び後画像で補っている。画像生成部27は、各撮像画像に対するフィルタ計算結果に基づき、複数の撮像画像において同一位置の画素データを比較する。そして、複数の撮像画像の全画素について、最も焦点の合った画素データを抽出して1つの全焦点画像を生成する。   The calculation unit 26 performs filter processing on each captured image captured by the imaging unit 25. Here, although the details will be described later, the filter processing is performed using not only the calculation target image but also the calculation target image and the previous and subsequent images of the calculation target image. As a result, the decrease in the number of data accompanying the reduction in the filter size is compensated for by the front image and the rear image of the calculation target image. The image generation unit 27 compares pixel data at the same position in a plurality of captured images based on the filter calculation result for each captured image. Then, for all the pixels of the plurality of captured images, pixel data that is most focused is extracted to generate one omnifocal image.

このように構成された画像処理装置6では、操作パネル9(図1参照)から電子部品31の設定、撮像範囲の設定、撮像間隔の設定等が行われる。ここで、撮像範囲とは、撮像部25に対して最も遠い撮像位置から最も近い撮像位置までの範囲を示している。撮像間隔とは、撮像範囲の中で撮像部25が撮像する間隔を示している。このように、撮像範囲及び撮像間隔が設定されることで、撮像部25によって撮像距離の異なる複数の撮像画像が取得される。例えば、撮像範囲が1mm、撮像間隔が0.05mmに設定されることで、撮像部25によって計21の撮像画像が取得される。   In the image processing apparatus 6 configured as described above, the setting of the electronic component 31, the setting of the imaging range, the setting of the imaging interval, and the like are performed from the operation panel 9 (see FIG. 1). Here, the imaging range indicates a range from the farthest imaging position to the nearest imaging position with respect to the imaging unit 25. The imaging interval indicates an interval at which the imaging unit 25 captures an image within the imaging range. Thus, by setting the imaging range and the imaging interval, the imaging unit 25 acquires a plurality of captured images having different imaging distances. For example, a total of 21 captured images are acquired by the imaging unit 25 by setting the imaging range to 1 mm and the imaging interval to 0.05 mm.

そして、撮像部25の上方に電子部品31が搬送され、撮像部25によって撮像範囲の上限位置で電子部品31が撮像される。続いて、吸着ノズル21によって電子部品31が一定の撮像間隔で撮像範囲の下限位置まで下降され、撮像間隔に合わせて撮像部25に電子部品31が撮像される。このようにして、撮像部25によって撮像距離の異なる複数の撮像画像が取得される。複数の撮像画像は、メモリに記憶される。各撮像画像は、算出部26によってメモリから読み出されてフィルタ処理が施される。ここでは、複数の撮像画像の全画素に対してフィルタ処理が実施され、画素毎にフィルタ計算結果が計算される。   Then, the electronic component 31 is conveyed above the imaging unit 25, and the electronic component 31 is imaged at the upper limit position of the imaging range by the imaging unit 25. Subsequently, the electronic component 31 is lowered to the lower limit position of the imaging range at a constant imaging interval by the suction nozzle 21, and the electronic component 31 is imaged on the imaging unit 25 in accordance with the imaging interval. In this way, a plurality of captured images with different imaging distances are acquired by the imaging unit 25. The plurality of captured images are stored in the memory. Each captured image is read from the memory by the calculation unit 26 and subjected to a filtering process. Here, the filter processing is performed on all the pixels of the plurality of captured images, and the filter calculation result is calculated for each pixel.

複数の撮像画像において、同一位置の画素のフィルタ計算結果が画像生成部27によって比較される。そして、最もフィルタ計算結果の高い画素が抽出され、電子部品31の全焦点画像が生成される。電子部品31の全焦点画像により、吸着中心と部品中心との位置ズレ量や電子部品31の良否判定等が検査される。電子部品31の位置ズレ量は、例えば、全焦点画像から電子部品31のエッジを検出すること行われる。電子部品31の良否判定は、例えば、ボール35の高さが許容値以内か否かで判定される。なお、画像処理装置6の算出部26及び画像生成部27は、上記したプロセッサやメモリ等で構成される。   The image generation unit 27 compares the filter calculation results of pixels at the same position in a plurality of captured images. Then, the pixel with the highest filter calculation result is extracted, and an omnifocal image of the electronic component 31 is generated. Based on the omnifocal image of the electronic component 31, the positional deviation amount between the suction center and the component center, the quality determination of the electronic component 31, and the like are inspected. The positional deviation amount of the electronic component 31 is performed by detecting the edge of the electronic component 31 from the omnifocal image, for example. Whether the electronic component 31 is good or bad is determined based on, for example, whether or not the height of the ball 35 is within an allowable value. Note that the calculation unit 26 and the image generation unit 27 of the image processing apparatus 6 include the above-described processor, memory, and the like.

ここで、図3から図7を参照して、本発明の特徴部分であるフィルタ処理について詳細に説明する。図3は、比較例に係るフィルタ処理の説明図である。図4は、比較例に係るフィルタカーブの一例を示す図である。図5及び図6は、本実施の形態に係るフィルタ処理の説明図である。図7は、本実施の形態に係るフィルタカーブの一例を示す図である。なお、ここではBGAのボールの高さを測定する場合について説明する。また、図4及び図7においては、縦軸がフィルタ計算結果、横軸が撮像距離をそれぞれ示している。   Here, with reference to FIG. 3 to FIG. 7, the filtering process which is a characteristic part of the present invention will be described in detail. FIG. 3 is an explanatory diagram of the filter processing according to the comparative example. FIG. 4 is a diagram illustrating an example of a filter curve according to a comparative example. 5 and 6 are explanatory diagrams of the filter processing according to the present embodiment. FIG. 7 is a diagram illustrating an example of a filter curve according to the present embodiment. Here, a case where the height of a BGA ball is measured will be described. 4 and 7, the vertical axis indicates the filter calculation result, and the horizontal axis indicates the imaging distance.

本実施の形態に係るフィルタ処理について説明する前に、比較例に係るフィルタ処理について説明する。図3Aに示すように、ボール35の高さを測定する場合には、ボール35の中心付近の画素を計算対象の画素として使用することが望ましい。図3Bに示すように、フィルタサイズを7×7に設定した場合には、データ数を多く確保できるため、フィルタ計算結果が安定する。このため、図4Aに示すように、フィルタ計算結果をグラフに表わしたフィルタカーブが滑らかになり、ボール35の高さが精度よく測定される。   Before describing the filter processing according to the present embodiment, the filter processing according to the comparative example will be described. As shown in FIG. 3A, when measuring the height of the ball 35, it is desirable to use a pixel near the center of the ball 35 as a pixel to be calculated. As shown in FIG. 3B, when the filter size is set to 7 × 7, a large number of data can be secured, so that the filter calculation result is stable. For this reason, as shown in FIG. 4A, the filter curve representing the filter calculation result in a graph becomes smooth, and the height of the ball 35 is accurately measured.

しかしながら、フィルタ枠39内には、ボールエッジ37付近の画素データが含まれているため、ボールエッジ高さを含むボール35の高さが測定される。よって、ボール35の中心付近の高さを測定したいにも関わらず、ボールエッジ37付近の画素データが強調されてしまい、本来必要なボール35の高さを測定することができない。一方で図3Cに示すように、フィルタサイズを3×3に設定した場合には、フィルタ枠39内からボールエッジ37を排除できるが、データ数が十分に確保できないためフィルタ計算結果が安定しない。このため、図4Bに示すように、フィルタカーブに凹凸ができ、ボール35の高さを精度よく測定することができない。   However, since the filter frame 39 includes pixel data near the ball edge 37, the height of the ball 35 including the ball edge height is measured. Therefore, although it is desired to measure the height near the center of the ball 35, the pixel data near the ball edge 37 is emphasized, and the originally required height of the ball 35 cannot be measured. On the other hand, as shown in FIG. 3C, when the filter size is set to 3 × 3, the ball edge 37 can be excluded from the filter frame 39, but the filter calculation result is not stable because a sufficient number of data cannot be secured. For this reason, as shown in FIG. 4B, the filter curve is uneven, and the height of the ball 35 cannot be accurately measured.

そこで、本実施の形態においては、計算対象画像だけでなく、前画像及び後画像をフィルタ処理に用いることで、データ数を増加させてフィルタ計算結果を安定させている。以下、本実施の形態に係るフィルタ処理について説明する。図5に示すように、複数の撮像画像は、同一対象を異なる撮像距離で撮像したものなので、高さ方向(Z軸方向)に並べて考えることができる。このとき、中段の撮像画像は計算対象画像、上段の撮像画像は計算対象画像よりも先に撮像された前画像、下段の撮像画像は計算対象画像よりも後に撮像された後画像を示している。なお、図5では各撮像画像の1部分のみを表示しており、番号が振られた各要素は撮像画像の画素を示している。   Therefore, in the present embodiment, not only the calculation target image but also the previous image and the subsequent image are used for the filter processing, thereby increasing the number of data and stabilizing the filter calculation result. Hereinafter, filter processing according to the present embodiment will be described. As shown in FIG. 5, since the plurality of captured images are obtained by capturing the same object at different imaging distances, they can be considered side by side in the height direction (Z-axis direction). At this time, the middle-stage captured image indicates the calculation target image, the upper-stage captured image indicates the previous image captured before the calculation target image, and the lower-stage captured image indicates the subsequent image captured after the calculation target image. . In FIG. 5, only one part of each captured image is displayed, and each numbered element indicates a pixel of the captured image.

上記した比較例に係るフィルタ処理では、計算対象画像である9画素(10番−18番)だけを使用して、14番画素である注目画素を中心としたフィルタ処理がされている。本実施の形態では、このフィルタ処理に加え、前画像の9画素(19番−27番)と後画像の9画素(1番−9番)もフィルタ処理に含められる。具体的には、図5に示すように、比較例に係るフィルタ処理と同様に、XY平面で注目画素(14番)を中心として3×3フィルタを設定する。これにより、注目画素(14番)と周辺画素(10番−13番、15番−18番)とから、XY平面におけるフィルタ計算結果が求められる。   In the filter processing according to the comparative example described above, only the 9 pixels (10th to 18th) which are calculation target images are used, and the filter processing is performed centering on the target pixel which is the 14th pixel. In the present embodiment, in addition to this filtering process, 9 pixels (19th to 27th) of the previous image and 9 pixels (1st to 9th) of the subsequent image are also included in the filtering process. Specifically, as shown in FIG. 5, similarly to the filter processing according to the comparative example, a 3 × 3 filter is set around the target pixel (14th) on the XY plane. Thereby, the filter calculation result in the XY plane is obtained from the target pixel (No. 14) and the peripheral pixels (No. 10-13, No. 15-18).

また、図6Aに示すように、YZ平面で注目画素(14番)を中心とした3×3フィルタを設定する。これにより、注目画素(14番)と周辺画素(2番、5番、8番、11番、17番、20番、23番、26番)とから、YZ平面におけるフィルタ計算結果が求められる。さらに、図6Bに示すように、XZ平面で注目画素(14番)を中心とした3×3フィルタを設定する。これにより、注目画素(14番)と周辺画素(4番−6番、13番、15番、22番−24番)とから、XZ平面におけるフィルタ計算結果が求められる。そして、XY平面におけるフィルタ計算結果、YZ平面におけるフィルタ計算結果、XZ平面におけるフィルタ計算結果の平均値が算出される。   Also, as shown in FIG. 6A, a 3 × 3 filter centered on the pixel of interest (14th) in the YZ plane is set. Thereby, the filter calculation result in the YZ plane is obtained from the pixel of interest (No. 14) and the peripheral pixels (No. 2, No. 5, No. 8, No. 11, No. 17, No. 20, No. 23, No. 26). Further, as shown in FIG. 6B, a 3 × 3 filter centered on the pixel of interest (No. 14) in the XZ plane is set. Thereby, the filter calculation result in the XZ plane is obtained from the pixel of interest (No. 14) and the peripheral pixels (No. 4-6, No. 13, No. 15, No. 22-24). Then, an average value of the filter calculation result on the XY plane, the filter calculation result on the YZ plane, and the filter calculation result on the XZ plane is calculated.

このように、計算対象画像内だけでなく、撮像距離の異なる複数の撮像画像を跨ぐようにフィルタを設けてデータ数を増加させている。この場合、注目画素(14番)を中心とした1列の画素と、この1列の画素に対応する前画像及び後画像の1列の画素とにフィルタを設定する構成であればよく、YZ平面及びXZ平面のフィルタに限定されない。例えば、XZ平面をZ軸回りに±45度回転させた平面でフィルタを設定してもよい。これにより、注目画素(14番)と周辺画素(3番、5番、7番、12番、16番、21番、23番、25番)とから求めたフィルタ計算結果、注目画素(14番)と周辺画素(1番、5番、9番、10番、18番、19番、23番、27番)とから求めたフィルタ計算結果を使用できる。よって、さらにデータ数を増やすことができ、フィルタ計算結果を安定させることができる。   In this way, the number of data is increased by providing a filter so as to straddle not only the calculation target image but also a plurality of captured images having different imaging distances. In this case, it is sufficient if the filter is set to one column of pixels centering on the target pixel (No. 14) and one column of pixels of the previous image and the subsequent image corresponding to the one column of pixels. The filter is not limited to a plane or XZ plane. For example, the filter may be set by a plane obtained by rotating the XZ plane by ± 45 degrees around the Z axis. As a result, the filter calculation result obtained from the target pixel (14th) and the peripheral pixels (3, 5, 7, 12, 16, 16, 21, 23, 25), the target pixel (14th) ) And surrounding pixels (No. 1, 5, 9, 10, 10, 18, 19, 23, 27) can be used. Therefore, the number of data can be further increased, and the filter calculation result can be stabilized.

なお、計算対象画像と同様に、前画像及び後画像に対してXY平面に平行なフィルタを設定してもよい。すなわち、計算対象画像の注目画素及び周辺画素におけるフィルタ計算結果と、前画像及び後画像の計算対象画像の注目画素及び周辺画素に対応する画素におけるフィルタ計算結果とを用いてフィルタ処理してもよい。図5の例では、計算対象画像の9画素(10番−18番)のフィルタ計算結果と、前画像の9画素(19番−27番)のフィルタ計算結果と、後画像の9画素(1番−9番)のフィルタ計算結果とを平均するようにする。また、XY平面に平行なフィルタとXY平面に垂直なフィルタとを組み合わせてもよい。このようなフィルタの設定によりデータ数を増加させることができる。   Similar to the calculation target image, a filter parallel to the XY plane may be set for the previous image and the subsequent image. In other words, the filter processing may be performed using the filter calculation result for the target pixel and the peripheral pixels of the calculation target image and the filter calculation result for the pixel corresponding to the target pixel and the peripheral pixels of the calculation target image of the previous image and the subsequent image. . In the example of FIG. 5, the filter calculation result of 9 pixels (10th to 18th) of the calculation target image, the filter calculation result of 9 pixels (19th to 27th) of the previous image, and 9 pixels (1 No. 9) and the filter calculation result of No. 9) are averaged. A filter parallel to the XY plane and a filter perpendicular to the XY plane may be combined. By setting such a filter, the number of data can be increased.

なお、上記説明では、計算対象画像と共に前画像及び後画像をフィルタ処理に用いる構成としたが、この構成に限定されない。計算対象画像と共に前画像及び後画像のいずれかをフィルタ処理に用いてもよい。また、前画像は、計算対象画像よりも1つ前に撮像された画像に限らず、さらに前に撮像された画像でもよい。同様に、後画像は、計算対象画像よりも1つ後に撮像された画像に限らず、さらに後に撮像された画像でもよい。また、計算対象画像と共に複数の前画像及び/又は複数の後画像をフィルタ処理に用いてもよい。このように、フィルタに使用する画素数を多くすることで、データ数を増加させることができるが、計算コストに応じて調整することが好ましい。   In the above description, the previous image and the subsequent image are used for the filter process together with the calculation target image. However, the present invention is not limited to this configuration. Either the previous image or the rear image may be used for the filter processing together with the calculation target image. Further, the previous image is not limited to the image captured immediately before the calculation target image, and may be an image captured further before. Similarly, the post-image is not limited to the image captured immediately after the calculation target image, and may be an image captured after that. Further, a plurality of previous images and / or a plurality of subsequent images may be used for the filter processing together with the calculation target image. Thus, although the number of data can be increased by increasing the number of pixels used for the filter, it is preferable to adjust according to the calculation cost.

また、計算対象画像と前画像及び後画像とでフィルタ処理の重み付けを変えてもよい。例えば、前画像及び後画像の画素データを計算対象画像の画素データよりも重み付けを低くしてもよい。通常は、図5に示される27画素に平均化フィルタを掛ける場合、全ての画素のフィルタ係数を「1」として27で除算する。平均化フィルタで重み付けを変える場合には、計算対象画像の9画素のフィルタ係数を「1」とし、前画像及び後画像の18画素のフィルタ係数を「0.5」として27で除算する。この場合、計算対象画像から撮像位置が離れるにつれて、前画像及び後画像の画素データの重み付けを低くしてもよい。   Further, the weighting of the filter processing may be changed between the calculation target image, the previous image, and the subsequent image. For example, the pixel data of the previous image and the rear image may be weighted lower than the pixel data of the calculation target image. Normally, when 27 pixels shown in FIG. 5 are subjected to the averaging filter, the filter coefficient of all the pixels is set to “1” and divided by 27. When the weighting is changed by the averaging filter, the filter coefficient of 9 pixels of the calculation target image is set to “1”, and the filter coefficient of 18 pixels of the previous image and the subsequent image is set to “0.5” and divided by 27. In this case, the weighting of the pixel data of the previous image and the subsequent image may be lowered as the imaging position moves away from the calculation target image.

また、2つの前画像、2つの後画像、計算対象画像からなる連続した計5つの撮像画像でフィルタ処理する場合にも重み付けを設定することも可能である。例えば、計算対象画像の9画素のフィルタ係数を「1」とし、計算対象画像に隣接する前画像及び後画像の18画素のフィルタ係数を「0.5」とし、最前の前画像及び最奥の後画像の18画素のフィルタ係数を「0.1」として27で除算する。   Also, weighting can be set when filtering is performed with a total of five captured images including two previous images, two subsequent images, and a calculation target image. For example, the filter coefficient of 9 pixels of the calculation target image is “1”, the filter coefficient of 18 pixels of the previous image and the rear image adjacent to the calculation target image is “0.5”, and the foremost front image and the backmost image The filter coefficient of 18 pixels of the subsequent image is divided by 27 with “0.1”.

また、フィルタ係数の大きさは、注目画素からの距離に応じて変更することも可能である。例えば、注目画素(14番)に対してZ軸方向に隣接する2画素(5番、23番)についてはフィルタ係数を「0.5」とし、斜めに隣接する8画素(1番、3番、7番、9番、19番、21番、25番、27番)についてはフィルタ係数を「0.3」としてもよい。   Further, the size of the filter coefficient can be changed according to the distance from the target pixel. For example, with respect to the pixel of interest (No. 14), for the two pixels (No. 5, No. 23) adjacent in the Z-axis direction, the filter coefficient is set to “0.5”, and the 8 pixels (No. 1, No. 3, No. 3) are diagonally adjacent , 7, 9, 19, 21, 25, 27), the filter coefficient may be set to “0.3”.

また、上記説明では、平面状にフィルタを設定する構成としたが、この構成に限定されない。フィルタは直線状に設定されてもよい。例えば、Z軸方向に並んだ3画素(5番、14番、23番)でフィルタ処理してもよい。また、計算対象画像でX軸方向に並んだ3画素(13番−15番)のフィルタ計算結果と、前画像でX軸方向に並んだ3画素(22番−24番)のフィルタ計算結果と、後画像でX軸方向に並んだ3画素(4番−6番)のフィルタ計算結果とを平均してもよい。   Moreover, in the said description, it was set as the structure which sets a filter in planar shape, However, It is not limited to this structure. The filter may be set linearly. For example, filtering may be performed with 3 pixels (5th, 14th, and 23rd) arranged in the Z-axis direction. Further, the filter calculation result of 3 pixels (13th to 15th) arranged in the X-axis direction in the calculation target image, and the filter calculation result of 3 pixels (22th to 24th) arranged in the X-axis direction in the previous image In addition, the filter calculation results of the three pixels (No. 4 to No. 6) arranged in the X-axis direction in the subsequent image may be averaged.

また、上記したフィルタ処理後に、さらに追加でフィルタ処理が行われてもよい。すなわち、各画素の画素データに変えて、各画素におけるフィルタ計算結果に対して、上記したようなフィルタ処理を実施する。この構成により、追加のフィルタ処理においても十分なデータ数を確保でき、フィルタ計算結果を安定させることができる。   Further, after the above-described filter processing, additional filter processing may be performed. That is, instead of the pixel data of each pixel, the filter processing as described above is performed on the filter calculation result in each pixel. With this configuration, a sufficient number of data can be secured even in the additional filter processing, and the filter calculation result can be stabilized.

上記したフィルタ処理によって、図7に示すように、画素データのデータ数を増加させることで滑らかなフィルタカーブを得ることができる。フィルタカーブは、実線W1で囲まれた箇所で曲線的に変化しており、この曲線部分では撮像距離に対してフィルタ計算結果の変化量が小さくなりながら推移している。この曲線部分の変曲点付近では、計算対象画像のデータ値に対して前画像及び後画像のデータ値の影響が大きいため、データ数を少なくしてもよい。   As shown in FIG. 7, a smooth filter curve can be obtained by increasing the number of pieces of pixel data by the above-described filter processing. The filter curve changes in a curved line at a portion surrounded by the solid line W1, and the curve part changes while the amount of change in the filter calculation result is small with respect to the imaging distance. In the vicinity of the inflection point of the curved portion, the data value of the previous image and the subsequent image is greatly affected by the data value of the calculation target image, and therefore the number of data may be reduced.

逆に、フィルタカーブは、破線W2で囲まれた箇所で直線的に変化しており、この直線部分では撮像距離に対してフィルタ計算結果の変化量が一定に推移している。この曲線部分では、計算対象画像のデータ値に対して前画像及び後画像のデータ値の影響が小さいため、データ数を増加してもよい。このように、フィルタカーブの変化量に応じて、データ数を調整することも可能である。また、データ数を調整する代わりにフィルタ係数を変更してもよいし、データ数の調整とフィルタ係数の変更を併用することも可能である。   On the other hand, the filter curve changes linearly at a portion surrounded by a broken line W2, and the amount of change in the filter calculation result is constant with respect to the imaging distance in this straight line portion. In this curve portion, the influence of the data values of the previous image and the subsequent image on the data value of the calculation target image is small, so the number of data may be increased. Thus, the number of data can be adjusted according to the amount of change in the filter curve. Further, instead of adjusting the number of data, the filter coefficient may be changed, or the adjustment of the number of data and the change of the filter coefficient may be used in combination.

以上のように、本実施の形態に係る画像処理装置によれば、計算対象画像を含む2以上の撮像画像を用いることで、フィルタ計算に使用するデータ数を増やすことができる。よって、フィルタサイズが小さくなっても、十分なデータ数を確保することができ、フィルタ計算結果が安定し測定精度が低下することがない。また、BGA等のボール35の高さを測定する際には、フィルタサイズを小さくしてボールエッジ37を除いたフィルタ処理であっても、十分なデータ数を確保できる。   As described above, according to the image processing apparatus according to the present embodiment, the number of data used for filter calculation can be increased by using two or more captured images including a calculation target image. Therefore, even when the filter size is reduced, a sufficient number of data can be secured, the filter calculation result is stable, and the measurement accuracy is not lowered. Further, when the height of the ball 35 such as BGA is measured, a sufficient number of data can be ensured even if the filter processing is performed by removing the ball edge 37 by reducing the filter size.

なお、本発明は上記実施の形態に限定されず、種々変更して実施することが可能である。上記実施の形態において、添付図面に図示されている大きさや形状等については、これに限定されず、本発明の効果を発揮する範囲内で適宜変更することが可能である。その他、本発明の目的の範囲を逸脱しない限りにおいて適宜変更して実施することが可能である。   In addition, this invention is not limited to the said embodiment, It can change and implement variously. In the above-described embodiment, the size, shape, and the like illustrated in the accompanying drawings are not limited to this, and can be appropriately changed within a range in which the effects of the present invention are exhibited. In addition, various modifications can be made without departing from the scope of the object of the present invention.

例えば、本実施の形態では、フィルタ計算結果を用いて全焦点画像を生成する構成を例示して説明したが、この構成に限定されない。本実施の形態に係るフィルタ処理は、他の画像処理に用いられてもよい。   For example, in the present embodiment, the configuration for generating the omnifocal image using the filter calculation result has been described as an example, but the configuration is not limited to this configuration. The filter processing according to the present embodiment may be used for other image processing.

以上説明したように、本発明は、フィルタサイズを小さくしても、フィルタ計算結果を安定させることができるという効果を有し、特に、測定対象物の全焦点画像を生成する画像処理装置及び画像処理方法に有用である。   As described above, the present invention has an effect that the filter calculation result can be stabilized even when the filter size is reduced, and in particular, an image processing apparatus and an image that generate an omnifocal image of a measurement object. Useful for processing methods.

1 実装装置
6 画像処理装置
21 吸着ノズル
22 撮像部
25 撮像部
26 算出部
27 画像生成部
31 電子部品
35 ボール
36 基板
37 ボールエッジ
39 フィルタ枠
DESCRIPTION OF SYMBOLS 1 Mounting apparatus 6 Image processing apparatus 21 Suction nozzle 22 Imaging part 25 Imaging part 26 Calculation part 27 Image generation part 31 Electronic component 35 Ball 36 Substrate 37 Ball edge 39 Filter frame

Claims (8)

撮像画像に対してフィルタ処理を施す画像処理装置であって、
異なる撮像距離で測定対象物を撮像して、複数の撮像画像を取得する撮像部と、
前記複数の撮像画像のうち、計算対象画像及び他の撮像画像を含む2以上の撮像画像を用いてフィルタ処理を実施する算出部とを備えたことを特徴とする画像処理装置。
An image processing apparatus that performs a filtering process on a captured image,
An imaging unit that images a measurement object at different imaging distances and obtains a plurality of captured images;
An image processing apparatus comprising: a calculation unit that performs filter processing using two or more captured images including a calculation target image and another captured image among the plurality of captured images.
前記算出部は、前記計算対象画像の注目画素及び前記注目画素の周辺画素におけるフィルタ計算結果と、前記計算対象画像の前記注目画素を中心とした1列の画素及び当該計算対象画像の前記1列の画素に対応した前記他の撮像画像の1列の画素におけるフィルタ計算結果とを用いてフィルタ処理することを特徴とする請求項1に記載の画像処理装置。   The calculation unit includes a filter calculation result in a target pixel of the calculation target image and a peripheral pixel of the target pixel, a column of pixels centered on the target pixel of the calculation target image, and the one column of the calculation target image. The image processing apparatus according to claim 1, wherein a filter process is performed using a filter calculation result in a column of pixels of the other captured image corresponding to the other pixel. 前記算出部は、前記計算対象画像の注目画素及び前記注目画素の周辺画素におけるフィルタ計算結果と、前記他の撮像画像において前記計算対象画像の注目画素及び周辺画素に対応する画素におけるフィルタ計算結果とを用いてフィルタ処理することを特徴とする請求項1又は請求項2に記載の画像処理装置。   The calculation unit includes a filter calculation result in a target pixel of the calculation target image and a peripheral pixel of the target pixel, and a filter calculation result in a pixel corresponding to the target pixel of the calculation target image and the peripheral pixel in the other captured image. The image processing apparatus according to claim 1, wherein the image processing apparatus performs filtering processing using a filter. 前記他の撮像画像は、前記計算対象画像よりも先に撮像された前画像及び前記計算対象画像よりも後に撮像された後画像であることを特徴とする請求項1から請求項3のいずれかに記載の画像処理装置。   The said other captured image is the back image imaged after the front image imaged before the said calculation object image, and the said calculation object image, The any one of Claims 1-3 characterized by the above-mentioned. An image processing apparatus according to 1. 前記算出部は、前記フィルタ処理後に、さらに追加でフィルタ処理を実施する際に、前記計算対象画像及び前記他の撮像画像を含む2以上の撮像画像の前回のフィルタ計算結果を用いることを特徴とする請求項1から請求項4のいずれかに記載の画像処理装置。   The calculation unit uses a previous filter calculation result of two or more captured images including the calculation target image and the other captured images when performing additional filter processing after the filter processing. The image processing apparatus according to any one of claims 1 to 4. 前記算出部は、前記計算対象画像と前記他の撮像画像とに対して重み付けをしてフィルタ処理を実施することを特徴とする請求項1から請求項5のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the calculation unit weights the calculation target image and the other captured image to perform filter processing. 前記複数の撮像画像に対するフィルタ計算結果に基づいて全焦点画像を生成する画像生成部を備えたことを特徴とする請求項1から請求項6のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising an image generation unit configured to generate an omnifocal image based on a filter calculation result for the plurality of captured images. 撮像画像に対してフィルタ処理を施す画像処理方法であって、
異なる撮像距離で測定対象物を撮像して、複数の撮像画像を取得するステップと、
前記複数の撮像画像のうち、計算対象画像及び他の撮像画像を含む2以上の撮像画像を用いてフィルタ処理を実施するステップとを有することを特徴とする画像処理方法。
An image processing method for performing filter processing on a captured image,
Imaging a measurement object at different imaging distances to obtain a plurality of captured images;
An image processing method comprising: performing a filtering process using two or more captured images including a calculation target image and another captured image among the plurality of captured images.
JP2012189953A 2012-08-30 2012-08-30 Image processing apparatus and image processing method Active JP6147971B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012189953A JP6147971B2 (en) 2012-08-30 2012-08-30 Image processing apparatus and image processing method
CN201310389086.7A CN103673889B (en) 2012-08-30 2013-08-30 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012189953A JP6147971B2 (en) 2012-08-30 2012-08-30 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2014048799A true JP2014048799A (en) 2014-03-17
JP6147971B2 JP6147971B2 (en) 2017-06-14

Family

ID=50312172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012189953A Active JP6147971B2 (en) 2012-08-30 2012-08-30 Image processing apparatus and image processing method

Country Status (2)

Country Link
JP (1) JP6147971B2 (en)
CN (1) CN103673889B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6470935B2 (en) * 2014-09-29 2019-02-13 Juki株式会社 Electronic component mounting equipment
JP2019021709A (en) * 2017-07-13 2019-02-07 Juki株式会社 Electronic component mounting apparatus and electronic component mounting method
JP6918611B2 (en) * 2017-07-13 2021-08-11 Juki株式会社 Electronic component mounting device and electronic component mounting method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11295826A (en) * 1998-04-15 1999-10-29 Univ Tokyo Image processing method using plural images and plural-image simultaneous pickup type camera apparatus used in the same
JP2000251060A (en) * 1999-03-04 2000-09-14 Ricoh Co Ltd Image synthesizing processing method and recording medium
JP2012023340A (en) * 2010-06-15 2012-02-02 Juki Corp Electronic component mounting device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2952687B2 (en) * 1990-07-11 1999-09-27 ジーイー横河メディカルシステム株式会社 Image processing device
JPH0981724A (en) * 1995-09-20 1997-03-28 Canon Inc Image processor and its method
CN102364297B (en) * 2010-06-15 2016-09-28 Juki株式会社 Electronic component mounting apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11295826A (en) * 1998-04-15 1999-10-29 Univ Tokyo Image processing method using plural images and plural-image simultaneous pickup type camera apparatus used in the same
JP2000251060A (en) * 1999-03-04 2000-09-14 Ricoh Co Ltd Image synthesizing processing method and recording medium
JP2012023340A (en) * 2010-06-15 2012-02-02 Juki Corp Electronic component mounting device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
児玉和也,外1名: ""3次元フィルタリングに基づく焦点合わせの異なる多数枚の画像群からの全焦点画像の生成"", 映像情報メディア学会誌, vol. 第60巻,第7号, JPN6016025737, 1 July 2006 (2006-07-01), pages 1077 - 1084, ISSN: 0003353703 *

Also Published As

Publication number Publication date
JP6147971B2 (en) 2017-06-14
CN103673889B (en) 2018-11-09
CN103673889A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
JP6123984B2 (en) Method and apparatus for generating a three-dimensional model of a target area using an image forming system
TWI547162B (en) Camera system and method for aligning components with footprint on printed circuit board
US8004659B2 (en) Vision measuring machine and focusing method thereof
JP2012229964A (en) Image forming device, image forming method, and part mounting apparatus
JP6176789B2 (en) Electronic component inspection equipment
JP2011180084A (en) Picked-up image processor of component mounting machine
CN108627512B (en) Three-dimensional detection device and method for three-dimensional detection
JP6571116B2 (en) Inspection support device
JP6147971B2 (en) Image processing apparatus and image processing method
JP5759271B2 (en) Electronic component mounting equipment
JP5580220B2 (en) Radiation inspection apparatus and radiation inspection method
JP5081967B2 (en) Screen mask measuring device and printing device
JP2008196974A (en) Device and method for measuring height of projection object
JP2019011960A (en) Electronic component conveying device and electronic component inspection device
JP6031265B2 (en) Parts inspection device
JP2003294419A (en) Measuring instrument for infinitesimal dimension
JP2012068188A (en) Adjustment method
TW201937176A (en) Prober
JP2019219357A (en) Imaging apparatus, imaging method, and imaging program
KR20140060113A (en) Inspection apparatus for substrate
US11009541B2 (en) Electronic component handler and electronic component tester
JP2016128781A (en) Appearance inspection device
JP4401210B2 (en) Electronic component mounting equipment
WO2018185876A1 (en) Component mounting device, component recognition method, appearance inspection device, and appearance inspection method
CN116643445A (en) X-ray photographing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150717

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160629

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160901

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170317

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170425

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170518

R150 Certificate of patent or registration of utility model

Ref document number: 6147971

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150