JP2023110671A - Image processing device and image processing method - Google Patents
Image processing device and image processing method Download PDFInfo
- Publication number
- JP2023110671A JP2023110671A JP2022012260A JP2022012260A JP2023110671A JP 2023110671 A JP2023110671 A JP 2023110671A JP 2022012260 A JP2022012260 A JP 2022012260A JP 2022012260 A JP2022012260 A JP 2022012260A JP 2023110671 A JP2023110671 A JP 2023110671A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- component
- target part
- image processing
- acquired
- 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
Links
- 238000003672 processing method Methods 0.000 title claims description 6
- 238000003384 imaging method Methods 0.000 claims abstract description 33
- 239000000284 extract Substances 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 10
- 238000000034 method Methods 0.000 description 18
- 230000008569 process Effects 0.000 description 16
- 230000003287 optical effect Effects 0.000 description 11
- 230000008859 change Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 230000001747 exhibiting effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Landscapes
- Supply And Installment Of Electrical Components (AREA)
- Image Analysis (AREA)
Abstract
Description
本明細書に開示する技術は、部品の画像データを処理する画像処理装置及び画像処理方法に関する。 The technology disclosed in this specification relates to an image processing device and an image processing method for processing image data of a component.
特許文献1には、撮像された部品の画像データに基づいて、部品の特徴部を示すテンプレートを作成する装置が開示されている。この装置でテンプレートを作成するときには、基板に搭載すべき角度に回転させた部品の画像データに対して、作業者が部品の外形を含む領域を設定する。そして、当該領域の部品の画像からテンプレートが作成される。 Patent Literature 1 discloses an apparatus that creates a template indicating the characteristic portion of a component based on the image data of the captured component. When creating a template with this device, an operator sets an area including the outer shape of the component for the image data of the component rotated at an angle to be mounted on the board. Then, a template is created from the images of the parts in the region.
部品を基板に対して実装する際には、実際に基板に実装される対象部品の画像データを取得し、取得した画像データと作成したテンプレートとを照合することにより、当該対象部品が正しい部品であるか否かが識別される。画像データの照合に失敗した場合(対象部品を認識できなかった場合)には、作成したテンプレートを修正する必要がある。本明細書では、対象部品の照合においてエラーが生じたときに、簡易に新たなテンプレートを生成することができる技術を提供する。 When mounting a component on a board, the image data of the target component to be actually mounted on the board is acquired, and by matching the acquired image data with the created template, the target component is confirmed to be the correct component. is identified. If the matching of the image data fails (if the target part cannot be recognized), it is necessary to correct the created template. This specification provides a technique that can easily generate a new template when an error occurs in matching target parts.
本明細書は、部品の画像データを処理する画像処理装置を開示する。前記画像処理装置は、対象部品を撮像する撮像部と、予め生成されており、前記対象部品の複数の特徴部を示す元テンプレートを記憶する記憶部と、前記撮像部により取得された前記対象部品の画像データと、前記記憶部に記憶された前記元テンプレートの前記複数の特徴部と、の一致率が所定の閾値よりも低い場合に、前記撮像部により取得された前記画像データから前記対象部品の複数の特徴部を抽出した新テンプレートを表示する表示部と、を備える。 This specification discloses an image processing device that processes image data of a component. The image processing apparatus includes an imaging unit for imaging a target part, a storage unit for storing an original template generated in advance and indicating a plurality of characteristic parts of the target part, and the target part acquired by the imaging unit. and the plurality of characteristic portions of the original template stored in the storage unit are lower than a predetermined threshold value, the target part is extracted from the image data acquired by the imaging unit and a display unit for displaying a new template obtained by extracting a plurality of characteristic portions of.
この画像処理装置では、元テンプレートの特徴部と対象部品の画像データとの一致率が所定の閾値よりも低いと判断された場合に、対象部品の画像データから特徴部を抽出した新テンプレートが表示される。すなわち、この画像処理装置では、対象部品の照合においてエラーが生じたときには、実際に実装される対象部品の画像データに基づいた新テンプレートが表示部に表示される。このため、上記の画像処理装置では、作業者が元テンプレートを修正する作業を必要としないため、作業効率が向上する。 In this image processing device, when it is determined that the matching rate between the feature part of the original template and the image data of the target part is lower than a predetermined threshold value, a new template in which the feature part is extracted from the image data of the target part is displayed. be done. In other words, in this image processing apparatus, when an error occurs in matching the target component, a new template based on the image data of the target component to be actually mounted is displayed on the display unit. Therefore, in the image processing apparatus described above, since the operator does not need to correct the original template, the working efficiency is improved.
また、本明細書は、部品の画像データを処理する画像処理方法を開示する。前記画像処理方法は、対象部品を撮像する撮像工程と、前記撮像工程により取得された前記対象部品の画像データと、予め準備されており、前記対象部品の複数の特徴部を示す元テンプレートの前記複数の特徴部と、の一致率が所定の閾値よりも低い場合に、取得された前記画像データから前記対象部品の複数の特徴部を抽出した新テンプレートを表示する表示工程と、を備える。 This specification also discloses an image processing method for processing image data of a component. The image processing method includes an image capturing step of capturing an image of a target component, image data of the target component acquired by the image capturing step, and an original template, which is prepared in advance and indicates a plurality of characteristic portions of the target component. a display step of displaying a new template obtained by extracting the plurality of characteristic portions of the target part from the acquired image data when a matching rate of the plurality of characteristic portions is lower than a predetermined threshold.
以下に説明する実施例の主要な特徴を列記しておく。なお、以下に記載する技術要素は、それぞれ独立した技術要素であって、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時の請求項に記載の組合せに限定されるものではない。 The main features of the embodiments described below are listed. It should be noted that the technical elements described below are independent technical elements, exhibiting technical usefulness alone or in various combinations, and are limited to the combinations described in the claims as filed. not a thing
本技術の一実施形態では、前記画像処理装置は、前記撮像部により取得された前記対象部品の画像データと、前記記憶部に記憶された前記元テンプレートの前記複数の特徴部と、の一致率を検出する制御部をさらに備えてもよい。前記制御部は、前記一致率が前記所定の閾値よりも低い場合に、前記撮像部により取得された前記画像データから前記対象部品の複数の特徴部を抽出した新テンプレートを生成してもよい。 In one embodiment of the present technology, the image processing device has a match rate between the image data of the target part acquired by the imaging unit and the plurality of feature parts of the original template stored in the storage unit. You may further have a control part which detects. The control unit may generate a new template by extracting a plurality of characteristic parts of the target part from the image data acquired by the imaging unit when the matching rate is lower than the predetermined threshold.
このような構成では、画像処理装置において新テンプレートを生成することができる。 With such a configuration, a new template can be generated in the image processing device.
本技術の一実施形態では、前記制御部は、前記撮像部により取得された前記画像データに対して、前記対象部品が存在する存在領域を設定してもよく、設定した前記存在領域内において前記対象部品の前記複数の特徴部を抽出してもよい。 In an embodiment of the present technology, the control unit may set an existence region in which the target part exists in the image data acquired by the imaging unit, and the The plurality of characteristic portions of the target part may be extracted.
このような構成では、画像データに対して対象部品が存在する存在領域を設定するので、対象部品が存在しない領域(例えば、対象部品の背景)における特定の部分を、特徴部であると誤って抽出してしまうことを抑制することができる。 In such a configuration, since the presence area where the target part exists is set for the image data, a specific part in the area where the target part does not exist (for example, the background of the target part) is mistakenly regarded as the characteristic part. Extraction can be suppressed.
本技術の一実施形態では、前記制御部は、前記撮像部により取得された前記画像データから前記対象部品の外形を抽出してもよく、抽出した前記外形に基づいて前記存在領域を設定してもよい。 In an embodiment of the present technology, the control unit may extract an outer shape of the target part from the image data acquired by the imaging unit, and set the existing region based on the extracted outer shape. good too.
このような構成では、画像データから対象部品の外形を抽出するので、精度良く存在領域を設定することができる。 With such a configuration, since the outline of the target component is extracted from the image data, the existing region can be set with high accuracy.
本技術の一実施形態では、前記制御部は、前記元テンプレートに含まれる前記対象部品の外形に基づいて、前記撮像部により取得された前記画像データに対して前記存在領域を設定してもよい。 In one embodiment of the present technology, the control unit may set the existing region for the image data acquired by the imaging unit based on the outline of the target part included in the original template. .
このような構成では、元テンプレートにおいて設定された存在領域に基づいて、画像データに対して対象部品の存在領域を設定する。元テンプレートにおける存在領域を流用するため、新テンプレートの生成処理の効率を向上させることができる。なお、対象部品は、元テンプレートと同じ種類の部品であることが一般的であり、元テンプレートと対象部品の画像データとの間で、存在領域が大きく変化することはない。 In such a configuration, the existence area of the target part is set for the image data based on the existence area set in the original template. Since the existing region in the original template is used, the efficiency of the new template generation processing can be improved. Note that the target component is generally of the same type as that of the original template, and the existence area does not change significantly between the original template and the image data of the target component.
本技術の一実施形態では、前記複数の特徴部は、前記対象部品の外形と交差する複数のシークラインを含んでもよい。 In an embodiment of the present technology, the plurality of features may include a plurality of seeklines that intersect a contour of the target part.
このような構成では、シークライン上の光学的特性に基づいて一致率が算出されるため、元テンプレートと対象部品の画像データとの照合を短時間で実行することができる。 With such a configuration, the matching rate is calculated based on the optical characteristics on the seek line, so the matching between the original template and the image data of the target part can be executed in a short time.
本技術の一実施形態では、前記画像処理装置は、前記表示部に表示された前記新テンプレートを修正する操作を作業者から受付可能な操作部をさらに備えてもよい。 In an embodiment of the present technology, the image processing device may further include an operation unit capable of accepting an operation from an operator to correct the new template displayed on the display unit.
このような構成では、例えば、表示部に表示された新テンプレートが適切ではないと作業者が判断した場合に、当該作業者によって新テンプレートを修正することができる。 With such a configuration, for example, when the operator determines that the new template displayed on the display unit is not appropriate, the operator can correct the new template.
(実施例)
以下、図面を参照して、実施例の部品実装機について説明する。図1に示すように、部品実装機10は、管理装置50に通信可能に接続されている。管理装置50は、複数の部品実装機10と通信可能に接続されており、複数の部品実装機10を管理している。管理装置50と、複数の部品実装機10によって部品実装ライン100が構成されている。管理装置50は、各部品実装機10の動作を制御することで、部品実装ライン100全体を制御している。すなわち、管理装置50は、複数の部品実装機10のそれぞれに対して、その部品実装機10で基板2に実装する部品4の種類及び位置等を特定し、それらを部品実装機10に指示する。複数の部品実装機10が管理装置50の指示に基づいて動作することで、基板2に必要な部品4が実装される。
(Example)
A component mounter according to an embodiment will be described below with reference to the drawings. As shown in FIG. 1, the
部品実装機10は、基板2に部品4を実装する装置である。部品実装機10は、電子部品装着装置やチップマウンタとも称される。図2に示すように、部品実装機10は、部品実装部22と、インタフェース装置24と、制御装置30を備えている。部品実装部22は、複数の部品フィーダ12と、フィーダ保持部14と、装着ヘッド16と、ヘッド移動装置18と、撮像装置19と、基板コンベア20を備えている。
A
各部品フィーダ12は、複数の部品4を収容する。部品フィーダ12は、フィーダ保持部14に着脱可能に取り付けられ、装着ヘッド16へ部品4を供給する。部品フィーダ12の具体的な構成は特に限定されない。各部品フィーダ12は、例えば、巻テープ上に複数の部品4を収容するテープ式フィーダや、トレイ上に複数の部品4を収容するトレイ式フィーダ等であってよい。
Each
フィーダ保持部14は、複数のスロットを備えており、各スロットには、部品フィーダ12を着脱可能に設置することができる。フィーダ保持部14は、部品実装機10に固定されたものであってもよいし、部品実装機10に対して着脱可能なものであってもよい。装着ヘッド16は、移動ベース17に固定されている。装着ヘッド16は、1又は複数のノズル6を着脱可能に保持し、ノズル6を用いて部品フィーダ12が供給する部品4を取り上げ、当該部品4を基板2上に実装する。このとき、ヘッド移動装置18が、部品フィーダ12及び基板2に対して、移動ベース17をX方向及びY方向に移動させる。これにより、装着ヘッド16が移動ベース17とともに移動し、複数の部品フィーダ12のうちの特定の部品フィーダ12から部品4が取り上げられ、基板2の予め定められた位置に部品4が実装される。基板コンベア20は、基板2の搬入、支持及び搬出を行う。
The
撮像装置19は、移動ベース17に取り付けられている。このため、装着ヘッド16が移動すると、撮像装置19も一体となって移動する。撮像装置19は、支持部19aとカメラ19bを備えている。カメラ19bは、装着ヘッド16の側方に配置されており、撮像光軸が下方を向くように配置されている。カメラ19bは、部品フィーダ12から供給される部品4を撮像する。すなわち、カメラ19bは、実装される前の(ノズル6に吸着される前の)部品4の上面を撮像する。カメラ19bにより取得された部品4の画像データは、制御装置30に送信される。
The
インタフェース装置24は、作業者に部品実装機10の各種の情報を提供する装置であるとともに、作業者からの指示や情報を受け付ける装置である。本実施例では、インタフェース装置24は、タッチパネルである。ただし、インタフェース装置24は、例えば、ディスプレイ等とキーボードやマウス等により構成されてもよい。
The
制御装置30は、管理装置50と通信可能に構成されている。図3に示すように、制御装置30は、メモリ32とCPU34を含むコンピュータにより構成されている。制御装置30には、部品実装部22と、インタフェース装置24が通信可能に接続されている。制御装置30は、管理装置50からの指示に従って、部品実装部22の各部の動作を制御することにより、基板2に対して部品4を実装する。
The
メモリ32には、管理装置50から送信される元テンプレート40(後述)が格納される。CPU34は、一致率検出部42と、新テンプレート生成部44を備える。一致率検出部42は、撮像装置19によって取得された部品4の画像データと元テンプレート40との一致率を検出する。新テンプレート生成部44は、一致率検出部42によって検出された一致率が所定の閾値より低い場合に、部品4の画像データに基づいて部品4の新たなテンプレートを生成する。CPU34(一致率検出部42及び新テンプレート生成部44)が実行する具体的な処理については、後述する。
The
図3に示すように、管理装置50は、インタフェース装置52と、制御装置60を備える。インタフェース装置52は、作業者に部品実装ライン100の各種の情報を提供する装置であるとともに、作業者からの指示や情報を受け付ける装置である。本実施例では、インタフェース装置52は、タッチパネルである。ただし、インタフェース装置52は、例えば、ディスプレイ等とキーボードやマウス等により構成されてもよい。
As shown in FIG. 3, the
制御装置60は、メモリ62及びCPU64を含むコンピュータにより構成されている。メモリ62には、生産プログラム66が記憶されている。生産プログラム66には、部品実装ライン100全体の動作が記述されており、CPU64は、生産プログラム66に従って、部品実装ライン100に組み込まれた各装置に対して、各装置が実行すべき動作を指示する。また、メモリ62には、複数の元テンプレート40が予め記憶されている。元テンプレート40は、部品4の上面の画像データであり、生産プログラム66の実行により生産される基板2に実装される部品4が正しい部品であるのか否かを照合するために利用される画像データ(いわゆる、マスタデータ)である。
The
図4は、インタフェース装置52に表示された元テンプレート40を示している。図4に示すように、元テンプレート40には、キャリパス70と、複数のシークライン72と、座標軸74が設定されている。キャリパス70は、元テンプレート40の中で、部品4が存在する存在領域を示す。キャリパス70は、例えば、元テンプレート40を作成する際に、部品4の画像データに対して作業者が設定することができる。各シークライン72は、設定されたキャリパス70の範囲内において、光学的特性(例えば、輝度)が大きく変化する箇所に配置されている。図4に示す例では、キャリパス70の範囲内において、部品4の部分4a(ドットハッチングにより示す部分)と部品4の背景との光学的特性の差は比較的小さい。一方で、部品4の部分4bと背景及び部分4aとの光学的特性の差は比較的大きい。このため、各シークライン72は、光学的特性が大きく変化する、部分4aと部分4bとの境界及び部分4bと背景との境界を含む位置に配置されている。メモリ62には、シークライン72上で光学的特性が変化する点の座標が部品4のエッジ位置(部品4の外形の座標)として記憶されている。座標軸74は、複数のシークライン72により検出した各エッジ位置に基づいて、部品4の中心が基準位置となるように設定されている。
FIG. 4 shows the
管理装置50は、生産プログラム66に基づいて、各部品実装機10に対して、それぞれの部品実装機10において実装される部品4に対応する元テンプレート40を、当該部品実装機10の制御装置30に送信する。
Based on the
部品4の実装処理では、各部品実装機10において、部品フィーダ12から供給される部品4が基板2に実装される。このとき、部品フィーダ12に収容された対象部品4が正しい部品であるのか否かを判断するために、部品フィーダ12に収容された対象部品4の画像データを取得し、元テンプレート40と照合する。一般的には、対象部品4と元テンプレート40が示す部品とが同一種類の部品であれば、両者の照合に成功する。しかしながら、例えば、対象部品4の外形や対象部品4に印刷された文字列(図4で示す例では「2RO」)の相対位置は、ロットにより異なる場合がある。この場合、両者が同一種類の部品であるにも関わらず、照合に失敗してしまうため、CPU34は対象部品4を認識することができない。本実施例の部品実装機10では、このような状況が生じた場合、制御装置30が、対象部品4の新たなテンプレート(以下、新テンプレートという)を生成する。以下では、図5及び図6を参照して、部品実装ライン100において、対象部品4の実装を開始する際に、制御装置30のCPU34が実行する処理について説明する。図5の処理は、例えば、作業者によって、実装開始の指示が入力されると開始される。なお、上述したように、管理装置50のメモリに生産プログラム66が入力されると、管理装置50は、生産プログラム66に基づいて、各部品実装機10に対して対応する元テンプレート40を送信する。このため、図5の処理が開始される段階では、制御装置30のメモリ32には、元テンプレート40が格納されている。
In the process of mounting the
S10において、CPU34は、撮像装置19によって対象部品4を撮像する。上述したように、実装処理を開始する前に、対象部品4が正しい部品であるのか否かを判断する必要がある。このため、S10では、部品フィーダ12から供給される(ノズル6に吸着される前の)対象部品4の上面を撮像する。
In S<b>10 , the
S12において、CPU34は、撮像装置19によって取得された対象部品4の上面の画像データと、元テンプレート40とを照合する。この照合は、例えば、対象部品4の画像データに対して元テンプレート40を重ね合わせ、元テンプレート40を当該画像データに対して相対的に移動、回転させることによって行われる。CPU34は、画像データと元テンプレート40の複数のシークライン72との一致率が上昇するように元テンプレート40を画像データに対して相対的に移動、回転させる。CPU34は、当該一致率の最大値を特定すると、S14に進む。
In S<b>12 , the
S14において、CPU34は、S12において特定した一致率が、所定の閾値以上であるか否かを判断する。CPU34は、特定した一致率が閾値以上である場合には、照合に成功したと判断する。すなわち、CPU34は、一致率が閾値以上である場合には、対象部品4が正しい部品であると判断する。所定の閾値は、特に限定されるものではないが、例えば、50%~100%とすることができる。所定の閾値は、作業者によって適宜設定可能である。CPU34は、一致率が所定の閾値以上である場合(S14でYES)、S16において、生産プログラム66に基づく実装処理を開始する。
In S14, the
一方、CPU34は、一致率が所定の閾値未満である場合(S14でNO)、照合に失敗したと判断する。すなわち、CPU34は、対象部品4を認識することができないと判断して、実装処理を開始することなく、S18に進む。なお、S12とS14の処理(照合処理と、一致率と閾値の比較処理)は同時に行ってもよい。すなわち、CPU34は、一致率を上昇させる過程で、当該一致率が所定の閾値以上となったことが判断された場合に、S14でYESと判断してもよい。すなわち、閾値が所定値以上であれば、一致率の最大値を特定する必要はない。
On the other hand, when the matching rate is less than the predetermined threshold (NO in S14), the
S18において、CPU34は、新テンプレート生成処理を実行する。新テンプレート生成処理は、S10において取得した対象部品4の画像データに対して実行される。S18は、図6に示すサブルーチンを実行することにより行われる。
In S18, the
図6のS40において、CPU34は、対象部品4の画像データにキャリパス80を設定する。図7に示すように、CPU34は、対象部品4の外形を抽出し、抽出した外形から所定距離だけ外側までの領域を含む範囲にキャリパス80を設定する。対象部品4の外形は、例えば、対象部品4の画像データの中で光学的特性が変化する点を抽出し、抽出した点群により画定される複数の領域の中から、最も面積が大きい領域を特定することにより決定される。なお、S40では、光学的特性の変化が比較的小さい箇所(図7に示す例では、対象部品4の部分4aと対象部品4の背景との境界)も抽出の対象となる。
In S40 of FIG. 6, the
S42において、CPU34は、対象部品4の画像データに対して、複数のシークライン82を配置する。図8に示すように、CPU34は、設定したキャリパス80の領域内において、光学的特性が大きく変化する点にシークライン82を配置する。具体的には、CPU34は、部分4aと部分4bとの境界及び部分4bと背景との境界を含む位置に各シークライン82を配置する。そして、S44において、CPU34は、図9に示すように、配置したシークライン82に基づいて対象部品4のエッジ位置を検出し、対象部品4の中心を基準位置とする座標軸84を設定する。これにより、図9に示す新テンプレート90が生成される。S42の処理を実行すると、CPU34は、新テンプレート生成処理のサブルーチンを終了し、図5のS20に進む。
In S<b>42 , the
S20において、CPU34は、対象部品4の照合エラーが生じていることを示す画像をインタフェース装置24に表示する。これにより、作業者は、対象部品4の照合に失敗したことを把握することができる。
In S<b>20 , the
S22において、CPU34は、新テンプレート90の編集画面を表示する操作入力を作業者から受け付けたか否かを判断する。編集画面は、生成された新テンプレート90を作業者が確認するための画面であるとともに、新テンプレート90を作業者が修正するための画面である。CPU34は、当該操作入力を受け付けたと判断する場合(S22でYES)、S24において、生成した新テンプレート90をインタフェース装置24に表示する。
In S<b>22 , the
S26において、CPU34は、新テンプレート90を修正する操作入力を作業者から受け付けたか否かを判断する。上述したように、新テンプレート90は、対象部品4の画像データに基づいて自動的に生成される。このため、生成された新テンプレート90を作業者が確認した結果、当該新テンプレート90が適切ではないと判断する場合もあり得る。このような場合、作業者は新テンプレート90を手動で修正することができる。例えば、作業者は、インタフェース装置24(タッチパネル)を操作することで、キャリパス80等の位置を修正することができる。CPU34は、新テンプレート90を修正する操作入力を受け付けた場合(S26でYES)、S28において、当該操作入力の内容に応じて、新テンプレート90を修正する。
In S26, the
S30において、CPU34は、新テンプレート90を反映する操作入力を作業者から受け付けたか否かを判断する。作業者は、表示された(もしくは修正した)新テンプレート90が適切であると判断すると、当該新テンプレート90を反映する操作入力を行う。CPU34は、新テンプレート90を反映する操作入力を受け付けた場合(S30でYES)、S32において、メモリ32に記憶されている元テンプレート40を新テンプレート90で上書きしてメモリ32に記憶する。その後、S34において、CPU34は、生産プログラム66に基づいて、実装処理を開始する。
In S30, the
以上に説明したように、本実施例では、CPU34が、元テンプレート40と対象部品4の画像データとの一致率が所定の閾値よりも低いと判断する場合(図5のS14でNO)に、対象部品4の画像データに複数のシークライン82を配置した新テンプレート90をインタフェース装置24に表示する。すなわち、本実施例では、対象部品4が元テンプレート40と一致しない場合には、実際に実装される対象部品4に基づいて自動的に新テンプレート90が表示される。このため、本実施例の部品実装機10では、作業者が元テンプレート40を修正する作業を必要としないため、作業効率が向上する。
As described above, in this embodiment, when the
また、本実施例では、CPU34が、対象部品4の画像データに対して、対象部品4が存在する存在領域を示すキャリパス80を設定するので、対象部品4が存在しない領域(例えば、対象部品4の背景)における特定の部分に対してシークライン82を配置してしまうことを抑制することができる。また、CPU34は、キャリパス80を設定する際に、対象部品4の画像データから対象部品4の外形を抽出するので、精度良くキャリパス80を設定することができる。
In addition, in this embodiment, the
また、本実施例では、元テンプレート40のシークライン72上の光学的特性に基づいて一致率が算出されるため、元テンプレート40と対象部品4の画像データとの照合を短時間で実行することができる。
Further, in this embodiment, since the match rate is calculated based on the optical characteristics of the seek
また、本実施例では、インタフェース装置24に表示された新テンプレート90を作業者により修正することができる。このため、自動的に生成された新テンプレート90が適切ではない場合には、当該作業者によって新テンプレート90を修正することができる。
Also, in this embodiment, the
なお、上述した実施例では、図6のS40において、対象部品4の外形を抽出することによりキャリパス80を設定した。しかしながら、S40の処理では、元テンプレート40において設定されたキャリパス70を流用してキャリパス80を設定してもよい。このように構成すると、対象部品4の外形を抽出する処理を省略することができるため、新テンプレート90の生成処理の効率を向上させることができる。なお、対象部品4は、元テンプレート40が示す部品と同一種類の部品であることが一般的であり、元テンプレート40と対象部品4の画像データとの間で、部品の存在領域が大きく変化することはない。
In the above-described embodiment, the
(対応関係)
部品実装機10が、「画像処理装置」の一例である。メモリ32が、「記憶部」の一例である。インタフェース装置24が、「表示部」及び「操作部」の一例である。CPU34が、「制御部」の一例である。
(correspondence relationship)
The
以上、本明細書に開示の技術の具体例を詳細に説明したが、これらは例示に過ぎず、請求の範囲を限定するものではない。請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。以下に、上記の実施例の変形例を列記する。 Although specific examples of the technology disclosed in this specification have been described above in detail, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. Modifications of the above embodiment are listed below.
上述した実施例では、元テンプレート40が管理装置50のメモリ62に記憶されていたが、制御装置30のメモリ32に予め記憶されていてもよい。
Although the
また、上述した実施例では、部品実装機10が画像処理装置として機能したが、部品実装機10は、画像処理装置の機能を備えていなくてもよい。すなわち、画像処理装置として機能する各構成(撮像部、記憶部、表示部)を、部品実装機10とは別個の装置に実装してもよい。また、部品実装機10の制御装置30が制御部(一致率検出部42と新テンプレート生成部44)として機能したが、部品実装機10とは別個の装置が制御部の機能を実行してもよい。
Further, in the above-described embodiment, the
また、上述した実施例では、新テンプレート90の編集画面が、作業者の操作入力に応じて表示されたが(S22でYES)、当該編集画面は、新テンプレート90の生成が完了したときに、自動的にインタフェース装置24に表示されてもよい。すなわち、図5のS20及びS22の処理は省略可能である。
In the above-described embodiment, the edit screen for the
また、上述した実施例では、新テンプレート90を修正する操作入力を受付可能に構成されていたが、新テンプレート90を修正するための操作部を備えていなくてもよい。すなわち、図5のS26及びS28は省略可能である。
Further, in the above-described embodiment, an operation input for correcting the
また、上述した実施例において、CPU34は、生成した新テンプレート90の検証を行ってもよい。この検証は、例えば、図5のS12の処理と逆の手順で行うことができる。すなわち、当該検証は、生成した新テンプレート90に対して対象部品4の画像データを重ね合わせ、当該画像データを新テンプレート90に対して相対的に移動、回転させることにより行ってもよい。CPU34は、新テンプレート90の複数のシークライン82と画像データとの一致率が上昇するように画像データを新テンプレート90に対して相対的に移動、回転させ、当該一致率が所定の値以上となることに応じて、検証に成功したと判断してもよい。
Moreover, in the embodiment described above, the
本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described in this specification or in the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims as of the filing. In addition, the techniques exemplified in this specification or drawings achieve multiple purposes at the same time, and achieving one of them has technical utility in itself.
4:対象部品
10:部品実装機
12:部品フィーダ
14:フィーダ保持部
16:装着ヘッド
19:撮像装置
20:基板コンベア
22:部品実装部
24:インタフェース装置
30:制御装置
40:元テンプレート
50:管理装置
60:制御装置
90:新テンプレート
4: Target Component 10: Component Mounting Machine 12: Component Feeder 14: Feeder Holding Unit 16: Mounting Head 19: Imaging Device 20: Board Conveyor 22: Component Mounting Unit 24: Interface Device 30: Control Device 40: Original Template 50: Management Device 60: Control Device 90: New Template
Claims (8)
対象部品を撮像する撮像部と、
予め生成されており、前記対象部品の複数の特徴部を示す元テンプレートを記憶する記憶部と、
前記撮像部により取得された前記対象部品の画像データと、前記記憶部に記憶された前記元テンプレートの前記複数の特徴部と、の一致率が所定の閾値よりも低い場合に、前記撮像部により取得された前記画像データから前記対象部品の複数の特徴部を抽出した新テンプレートを表示する表示部と、
を備える、画像処理装置。 An image processing device for processing image data of parts,
an imaging unit that images a target component;
a storage unit that stores an original template generated in advance and indicating a plurality of characteristic portions of the target part;
When the matching rate between the image data of the target part acquired by the imaging unit and the plurality of characteristic parts of the original template stored in the storage unit is lower than a predetermined threshold, the imaging unit a display unit that displays a new template obtained by extracting a plurality of characteristic portions of the target part from the acquired image data;
An image processing device comprising:
前記制御部は、前記一致率が前記所定の閾値よりも低い場合に、前記撮像部により取得された前記画像データから前記対象部品の複数の特徴部を抽出した新テンプレートを生成する、請求項1に記載の画像処理装置。 further comprising a control unit that detects a matching rate between the image data of the target part acquired by the imaging unit and the plurality of characteristic portions of the original template stored in the storage unit;
2. The control unit generates a new template by extracting a plurality of characteristic parts of the target part from the image data acquired by the imaging unit when the matching rate is lower than the predetermined threshold. The image processing device according to .
前記撮像部により取得された前記画像データに対して、前記対象部品が存在する存在領域を設定し、
設定した前記存在領域内において前記対象部品の前記複数の特徴部を抽出する、請求項2に記載の画像処理装置。 The control unit
setting an existing region in which the target part exists for the image data acquired by the imaging unit;
3. The image processing apparatus according to claim 2, wherein said plurality of characteristic portions of said target part are extracted within said set existing region.
対象部品を撮像する撮像工程と、
前記撮像工程により取得された前記対象部品の画像データと、予め準備されており、前記対象部品の複数の特徴部を示す元テンプレートの前記複数の特徴部と、の一致率が所定の閾値よりも低い場合に、取得された前記画像データから前記対象部品の複数の特徴部を抽出した新テンプレートを表示する表示工程と、
を備える、画像処理方法。 An image processing method for processing image data of a part,
an imaging step of imaging the target component;
A matching rate between the image data of the target part acquired by the imaging step and the plurality of feature parts of the original template prepared in advance and indicating the plurality of feature parts of the target part is higher than a predetermined threshold. a display step of displaying a new template obtained by extracting a plurality of characteristic portions of the target part from the acquired image data when the
An image processing method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022012260A JP2023110671A (en) | 2022-01-28 | 2022-01-28 | Image processing device and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022012260A JP2023110671A (en) | 2022-01-28 | 2022-01-28 | Image processing device and image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023110671A true JP2023110671A (en) | 2023-08-09 |
Family
ID=87546170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022012260A Pending JP2023110671A (en) | 2022-01-28 | 2022-01-28 | Image processing device and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023110671A (en) |
-
2022
- 2022-01-28 JP JP2022012260A patent/JP2023110671A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6310058B2 (en) | Image processing apparatus and substrate production system | |
US11354075B2 (en) | Non-transitory computer-readable medium storing computer-readable instructions that cause processor of print image control device to set print position, print image control device that sets print position, and control method of print image control device that sets print position | |
JP6571163B2 (en) | Recognition device | |
JP6916606B2 (en) | Mounting process optimization device | |
CN104885593A (en) | Component mounting machine and component mounting method | |
JP6646916B2 (en) | Image processing apparatus and image processing method for substrate | |
JP6956272B2 (en) | Trace support device | |
JP6734868B2 (en) | Image processing apparatus and image processing method for substrate | |
JP4324442B2 (en) | Component data generation device and electronic component mounting device | |
JP2023110671A (en) | Image processing device and image processing method | |
US20220087087A1 (en) | Management device, moving work device, mounting device, mounting system, and management method | |
JP6621639B2 (en) | Image processing apparatus for substrates | |
EP3370493B1 (en) | Base plate position searching device and component mounting machine | |
JP7126880B2 (en) | Image processing device, mounting device, image processing method, program | |
CN109997133B (en) | Information processing apparatus and information processing method | |
WO2022224645A1 (en) | Data creation system and installation system | |
JP6607740B2 (en) | Electronic component mounting machine and electronic component mounting method | |
JP2002050895A (en) | Method and apparatus for generating electronic part mounting data | |
JP2007305797A (en) | Method of inspecting mounted component | |
JP2019161249A (en) | Image processing device, mounting device, image processing method, and program | |
US20230111622A1 (en) | Image data generation device and component mounting system | |
KR101912791B1 (en) | Method for recognizing pattern of components | |
KR20160006481A (en) | Surface mounting device and method for displaying operation state thereof | |
JPWO2020170349A1 (en) | Visual inspection method, mounting machine | |
KR102482130B1 (en) | Method for recognizing component |