JPWO2020012600A1 - Image data storage system and image data storage method - Google Patents

Image data storage system and image data storage method Download PDF

Info

Publication number
JPWO2020012600A1
JPWO2020012600A1 JP2020529914A JP2020529914A JPWO2020012600A1 JP WO2020012600 A1 JPWO2020012600 A1 JP WO2020012600A1 JP 2020529914 A JP2020529914 A JP 2020529914A JP 2020529914 A JP2020529914 A JP 2020529914A JP WO2020012600 A1 JPWO2020012600 A1 JP WO2020012600A1
Authority
JP
Japan
Prior art keywords
image
unit
trial
image data
data storage
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
JP2020529914A
Other languages
Japanese (ja)
Other versions
JP7104786B2 (en
Inventor
雅史 天野
雅史 天野
勇太 横井
勇太 横井
恵市 小野
恵市 小野
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Publication of JPWO2020012600A1 publication Critical patent/JPWO2020012600A1/en
Application granted granted Critical
Publication of JP7104786B2 publication Critical patent/JP7104786B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
    • H05K13/08Monitoring manufacture of assemblages

Abstract

画像データ保存システムは、基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理部と、前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮部と、前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行部と、前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定部と、前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存部と、を備える。The image data storage system performs a predetermined image processing on the image data acquired by the anti-board working machine that performs a predetermined anti-board work on the substrate or the lossless compressed data obtained by losslessly compressing the image data to obtain a processing result. An image processing unit, an irreversible compression unit that irreversibly compresses the image data with a set image quality to create irreversible compressed data, and an irreversible compression unit that tries the image processing on the irreversible compressed data and obtains trial processing results. When the image processing trial unit to be obtained, the trial determination unit for determining whether or not the trial processing result matches the processing result within the tolerance, and the trial processing result match the processing result, It includes a data storage unit that stores the lossless compressed data.

Description

本明細書は、対基板作業機で取得された画像データを圧縮して保存する画像データ保存システム、および画像データ保存方法に関する。 The present specification relates to an image data storage system that compresses and stores image data acquired by a board working machine, and an image data storage method.

プリント配線が施された基板に対基板作業を実施して、回路基板を量産する技術が普及している。多くの場合、対基板作業を実施する複数種類の対基板作業機が列設されて対基板作業ラインが構築される。対基板作業機の代表例として、部品の装着作業を実施する部品装着機や、基板の検査作業を実施する基板検査機などがある。これらの対基板作業機は、カメラを用いて基板や部品を撮像し、取得した画像データを画像処理し、処理結果にしたがって対基板作業を進める。そして、基板の生産時に発生し得るエラーの原因究明やトレーサビリティのために、画像データが保存される。この種の画像データの利用に関する技術例が特許文献1、2に開示されている。 A technique for mass-producing circuit boards by performing board-to-board work on a printed circuit board has become widespread. In many cases, a plurality of types of board-to-board work machines for performing board-to-board work are arranged in a row to construct a board-to-board work line. Typical examples of anti-board working machines include a parts mounting machine that carries out parts mounting work and a board inspection machine that carries out board inspection work. These anti-board working machines use a camera to image a substrate or a component, perform image processing on the acquired image data, and proceed with the anti-board work according to the processing result. Then, the image data is saved for investigating the cause of an error that may occur during the production of the substrate and for traceability. Patent Documents 1 and 2 disclose technical examples relating to the use of this type of image data.

特許文献1に開示された外観検査システムは、検査対象の画像を検出する画像検出装置と、画像を処理して異常の有無を判定する情報処理装置と、を備える。さらに、実施形態には、画像圧縮に関する技術例が記載されている。すなわち、検査条件発生装置は、画像検出装置から送信された画像をいくつかの圧縮率で圧縮した画像を作成し、それぞれについて画像処理し、各画像処理結果を基準結果と比較して、適切な圧縮率を決定する。 The appearance inspection system disclosed in Patent Document 1 includes an image detection device that detects an image to be inspected, and an information processing device that processes the image to determine the presence or absence of an abnormality. Further, in the embodiment, a technical example regarding image compression is described. That is, the inspection condition generator creates an image obtained by compressing the image transmitted from the image detection device at several compression rates, performs image processing on each image, compares each image processing result with the reference result, and is appropriate. Determine the compression ratio.

また、特許文献2に開示された部品装着機は、採取ノズルに採取された部品を撮像して画像データを取得する撮像部と、撮像時の状況の重要性が高いか否かを判定する条件判定部と、重要性の高低に応じて可逆圧縮および非可逆圧縮を使い分けて画像データを保存する保存制御部と、を有する。これによれば、記憶部の記憶容量等に対する負荷を低減しつつ、保存後の用途に適した態様で画像データを保存できる、とされている。 Further, the component mounting machine disclosed in Patent Document 2 includes an imaging unit that captures an image of a component sampled by a sampling nozzle and acquires image data, and a condition for determining whether or not the situation at the time of imaging is highly important. It has a determination unit and a storage control unit that stores image data by properly using lossless compression and lossy compression according to the degree of importance. According to this, it is said that the image data can be stored in a mode suitable for the purpose after storage while reducing the load on the storage capacity of the storage unit and the like.

特開2004−226328号公報Japanese Unexamined Patent Publication No. 2004-226328 国際公開第2017/216950号International Publication No. 2017/216950

ところで、画像データを保存する記憶容量の節約等を目的として非可逆圧縮を行う場合に、画像品質が高いほどデータサイズが大きくなって、画像圧縮の効果が減少する。一方、画像品質が低いほど画像処理を行ったときの再現性が低下する。つまり、低い画像品質で非可逆圧縮して保存した画像データに再度の画像処理を行ったときに、当初の処理結果と一致しなくなり、保存の意義がなくなる。ここで、画像処理の再現性を担保できる保存時の画像品質は、撮像対象の種類や撮像条件などに依存するのが一般的であるため、一律に定めることが難しい。 By the way, when lossy compression is performed for the purpose of saving the storage capacity for storing image data, the higher the image quality, the larger the data size and the less effective the image compression. On the other hand, the lower the image quality, the lower the reproducibility when image processing is performed. That is, when the image data saved by lossy compression with low image quality is subjected to image processing again, the result does not match the original processing result, and the saving becomes meaningless. Here, since the image quality at the time of storage, which can guarantee the reproducibility of image processing, generally depends on the type of image pickup target, imaging conditions, and the like, it is difficult to uniformly determine the image quality.

本明細書では、画像データの伝送負荷軽減と記憶容量の節約を実現しつつ、保存した画像データに対する画像処理の再現性を確保できる画像データ保存システム、および画像データ保存方法を提供することを解決すべき課題とする。 The present specification solves the problem of providing an image data storage system and an image data storage method that can ensure the reproducibility of image processing for the stored image data while reducing the transmission load of the image data and saving the storage capacity. It is an issue to be done.

本明細書は、基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理部と、前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮部と、前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行部と、前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定部と、前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存部と、を備える画像データ保存システムを開示する。 In the present specification, image data acquired by a board-to-board working machine that performs a predetermined work-to-board work on a substrate, or an image obtained by performing predetermined image processing on lossy compression data obtained by lossy-compressing the image data to obtain a processing result. A processing unit, an irreversible compression unit that irreversibly compresses the image data with a set image quality to create irreversible compressed data, and an irreversible compression unit that tries the image processing on the irreversible compressed data to obtain a trial processing result. When the image processing trial unit, the trial determination unit for determining whether or not the trial processing result matches the processing result within the tolerance, and the trial processing result match the processing result, the said Disclosed is an image data storage system including a data storage unit for storing lossy compressed data.

また、本明細書は、基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理ステップと、前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮ステップと、前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行ステップと、前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定ステップと、前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存ステップと、を備える画像データ保存方法を開示する。 Further, in the present specification, the processing result is obtained by performing a predetermined image processing on the image data acquired by the anti-board working machine that performs a predetermined anti-board work on the substrate or the lossless compressed data obtained by losslessly compressing the image data. An image processing step to obtain, an irreversible compression step of irreversibly compressing the image data with a set image quality to create irreversible compressed data, and a trial processing result by trying the image processing on the irreversible compressed data. The image processing trial step for obtaining the above, the trial determination step for determining whether or not the trial processing result matches the processing result within the tolerance, and the case where the trial processing result matches the processing result. Discloses an image data storage method including a data storage step for storing the lossless compressed data.

本明細書で開示する画像データ保存システムや画像データ保存方法では、元の画像データを非可逆圧縮した非可逆圧縮データに所定の画像処理を試行して、試行処理結果が元の画像データの処理結果に一致している場合に、この非可逆圧縮データを保存する。したがって、保存した非可逆圧縮の画像データに対する画像処理の再現性を確保できる。加えて、非可逆圧縮を行うことにより、画像データの伝送負荷軽減と記憶容量の節約を実現できる。 In the image data storage system and the image data storage method disclosed in the present specification, a predetermined image processing is tried on the lossy compressed data obtained by irreversibly compressing the original image data, and the trial processing result is the processing of the original image data. Save this lossy compressed data if the results match. Therefore, the reproducibility of image processing for the stored lossy compressed image data can be ensured. In addition, by performing lossy compression, it is possible to reduce the transmission load of image data and save the storage capacity.

画像データ保存システムを含む対基板作業ラインの全体構成例を示す構成図である。It is a block diagram which shows the whole structure example of the work line with a substrate including the image data storage system. 第1実施形態の画像データ保存システムの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the image data storage system of 1st Embodiment. 画像データ保存システムを構成する部品装着機の側の動作を示す動作フローの図である。It is a figure of the operation flow which shows the operation of the component mounting machine which constitutes the image data storage system. 画像データ保存システムを構成するライン管理装置の側の動作を示す動作フローの図である。It is a figure of the operation flow which shows the operation on the side of the line management apparatus which constitutes an image data storage system. 第2実施形態の画像データ保存システムの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the image data storage system of 2nd Embodiment. 第2実施形態の画像データ保存システムを構成するライン管理装置の側の動作を示す動作フローの図である。It is a figure of the operation flow which shows the operation of the line management apparatus which constitutes the image data storage system of 2nd Embodiment. 第3実施形態の画像データ保存システムの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the image data storage system of 3rd Embodiment. 第4実施形態の画像データ保存システムの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the image data storage system of 4th Embodiment.

1.対基板作業ライン9の全体構成例
まず、第1実施形態の画像データ保存システム1を含む対基板作業ライン9の全体構成例について説明する。図1は、画像データ保存システム1を含む対基板作業ライン9の全体構成例を示す構成図である。対基板作業ライン9は、列設された複数の対基板作業機、および対基板作業機を管理および支援する管理支援装置などで構成される。図1に示される全体構成例において、対基板作業機である半田印刷機91、印刷検査機92、部品装着機群93、リフロー機95、および外観検査機96が列設されている。部品装着機群93は、複数の部品装着機94で構成される。
1. 1. Example of Overall Configuration of Work Line 9 for Substrate First, an example of overall configuration of the work line 9 for substrate including the image data storage system 1 of the first embodiment will be described. FIG. 1 is a configuration diagram showing an overall configuration example of a board-to-board work line 9 including an image data storage system 1. The board-to-board work line 9 is composed of a plurality of board-to-board work machines arranged in a row, a management support device for managing and supporting the board-to-board work machine, and the like. In the overall configuration example shown in FIG. 1, a solder printing machine 91, a printing inspection machine 92, a component mounting machine group 93, a reflow machine 95, and an appearance inspection machine 96, which are anti-board working machines, are arranged in a row. The component mounting machine group 93 is composed of a plurality of component mounting machines 94.

また、管理支援装置として、ライン管理装置97、生産プログラムサーバー98、および生産情報サーバー99が設けられる。対基板作業機と管理支援装置との間、および管理支援装置の相互間は、構内LAN9Aを用いて、データ伝送可能に接続される。基板は、最上流の半田印刷機91に搬入され、基板搬送装置(図示略、符号略)によって順番に下流側へ搬送され、最下流の外観検査機96から搬出される。基板は、それぞれの対基板作業機で所定の対基板作業が施される。それぞれの対基板作業機の対基板作業の概要について、以降で説明する。 Further, as the management support device, a line management device 97, a production program server 98, and a production information server 99 are provided. Data can be transmitted between the board-to-board work machine and the management support device and between the management support devices using the premises LAN 9A. The substrate is carried into the most upstream solder printing machine 91, is sequentially conveyed to the downstream side by a substrate conveying device (not shown, omitted by reference numerals), and is carried out from the most downstream visual inspection machine 96. The substrate is subjected to a predetermined anti-board work with each anti-board working machine. The outline of the board-to-board work of each board-to-board work machine will be described below.

半田印刷機91は、基板上の部品の装着位置である電極パッドにクリーム状半田を印刷する。印刷検査機92は、クリーム状半田の印刷状態を検査する。印刷検査機92は、検査用カメラを用いて基板の上面を撮像し、半田検査画像データを取得する。さらに、印刷検査機92は、半田検査画像データに所定の画像処理を行って処理結果を求め、処理結果に基づいて検査の合否を判定する。 The solder printing machine 91 prints cream-like solder on the electrode pads, which are the mounting positions of the components on the substrate. The printing inspection machine 92 inspects the printing state of the creamy solder. The printing inspection machine 92 uses an inspection camera to image the upper surface of the substrate and acquires solder inspection image data. Further, the printing inspection machine 92 performs predetermined image processing on the solder inspection image data to obtain the processing result, and determines the pass / fail of the inspection based on the processing result.

複数の部品装着機94は、基板に部品を装着する装着作業を分担する。部品装着機94は、基板カメラを用いて位置決めされた基板の位置マークの付近を撮像し、画像データを取得する。さらに、部品装着機94は、画像データに所定の画像処理を行い、処理結果として基板の位置を求める。また、部品装着機94は、部品カメラを用いて吸着ノズル(部品装着具の代表例)に保持された部品を撮像し、画像データを取得する。さらに、部品装着機94は、画像データに所定の画像処理を行い、処理結果として部品の保持姿勢を求める。基板の位置および部品の保持姿勢が精度よく求められることにより、部品の装着位置の精度が維持される。 The plurality of component mounting machines 94 share the mounting work of mounting the components on the board. The component mounting machine 94 takes an image of the vicinity of the position mark of the substrate positioned by using the substrate camera, and acquires image data. Further, the component mounting machine 94 performs predetermined image processing on the image data, and obtains the position of the substrate as the processing result. Further, the component mounting machine 94 uses a component camera to image a component held by a suction nozzle (a typical example of a component mounting tool) and acquires image data. Further, the component mounting machine 94 performs predetermined image processing on the image data, and obtains the holding posture of the component as the processing result. The accuracy of the mounting position of the component is maintained by accurately determining the position of the substrate and the holding posture of the component.

リフロー機95は、クリーム状半田を加熱溶融および冷却固化することにより、装着された部品の半田付けを確かなものとする。外観検査機96は、基板上に並ぶ部品の外観を検査する。外観検査機96は、検査用カメラを用いて基板の上面に装着された部品を撮像し、外観検査画像データを取得する。さらに、外観検査機96は、外観検査画像データに所定の画像処理を行って処理結果を求め、処理結果に基づいて検査の合否を判定する。なお、対基板作業ライン9の全体構成は、適宜変更することができ、例えば、部品装着機94の台数を増減したり、別種の対基板作業機を追加したりできる。 The reflow machine 95 ensures soldering of the mounted parts by heating, melting, and cooling and solidifying the creamy solder. The visual inspection machine 96 inspects the appearance of the parts arranged on the substrate. The visual inspection machine 96 uses an inspection camera to image a component mounted on the upper surface of the substrate, and acquires visual inspection image data. Further, the visual inspection machine 96 performs predetermined image processing on the visual inspection image data to obtain a processing result, and determines the pass / fail of the inspection based on the processing result. The overall configuration of the board-to-board work line 9 can be changed as appropriate. For example, the number of component mounting machines 94 can be increased or decreased, or another type of board-to-board work machine can be added.

生産プログラムサーバー98は、基板の種類ごとに異なる多数の生産プログラムを記憶している。生産プログラムは、それぞれの対基板作業機が実施する対基板作業の詳細仕様を記述したものである。例えば、生産プログラムの部品装着機94に関する記述は、装着する部品の種類、部品の供給を受ける位置、基板上の装着座標値、装着順序、および使用する部品装着具の種類などのデータを含む。生産情報サーバー99は、基板の生産に必要となる様々な生産情報を記憶している。例えば、部品データと呼ばれる生産情報は、部品の種類ごとに異なる形状の情報、電気的特性値の情報、および部品の取り扱い方法の情報などを含む。 The production program server 98 stores a large number of production programs that differ depending on the type of substrate. The production program describes the detailed specifications of the board-to-board work performed by each board-to-board work machine. For example, the description of the component mounting machine 94 in the production program includes data such as the type of component to be mounted, the position where the component is supplied, the mounting coordinate values on the substrate, the mounting order, and the type of component mounting tool to be used. The production information server 99 stores various production information required for the production of the substrate. For example, the production information called component data includes information on shapes different for each type of component, information on electrical characteristic values, information on how to handle the component, and the like.

ライン管理装置97は、主に、現在進行している対基板作業を管理する。ライン管理装置97は、まず、基板の生産プログラムを生産プログラムサーバー98からダウンロードするとともに、必要となる生産情報を生産情報サーバー99からダウンロードする。次に、ライン管理装置97は、対基板作業機に各々の生産プログラムを送信して、対基板作業を開始させる。さらに、ライン管理装置97は、対基板作業機の作業進捗状況に関する情報を随時受け取るとともに、必要に応じて対基板作業機に指令を発する。ライン管理装置97、生産プログラムサーバー98、および生産情報サーバー99は、対基板作業機にデータ伝送可能に接続された別機の例である。 The line management device 97 mainly manages the ongoing work on the board. The line management device 97 first downloads the production program of the board from the production program server 98, and also downloads the necessary production information from the production information server 99. Next, the line management device 97 transmits each production program to the board-to-board working machine to start the board-to-board work. Further, the line management device 97 receives information on the work progress status of the board-to-board work machine at any time, and issues a command to the board-to-board work machine as needed. The line management device 97, the production program server 98, and the production information server 99 are examples of separate machines connected to the board work machine so as to be able to transmit data.

2.第1実施形態の画像データ保存システム1の機能構成
第1実施形態の画像データ保存システム1の説明に移る。図2は、第1実施形態の画像データ保存システム1の機能構成を示すブロック図である。図示されるように、画像データ保存システム1の構成要素は、部品装着機94および別機であるライン管理装置97に分かれて設けられる。すなわち、部品装着機94は、画像処理部2を備える。一方、ライン管理装置97は、非可逆圧縮部3、画像処理試行部4、試行判定部5、試行繰り返し部6、およびデータ保存部7を備える。
2. Functional configuration of the image data storage system 1 of the first embodiment The description of the image data storage system 1 of the first embodiment will be given. FIG. 2 is a block diagram showing a functional configuration of the image data storage system 1 of the first embodiment. As shown in the figure, the components of the image data storage system 1 are separately provided by the component mounting machine 94 and the line management device 97 which is a separate machine. That is, the component mounting machine 94 includes an image processing unit 2. On the other hand, the line management device 97 includes a lossy compression unit 3, an image processing trial unit 4, a trial determination unit 5, a trial repetition unit 6, and a data storage unit 7.

また、ライン管理装置97は、一時記憶装置9B、および大容量のデータ記憶装置9Cを備える。非可逆圧縮部3、画像処理試行部4、試行判定部5、および試行繰り返し部6は、一時記憶装置9Bを用いて後述する各種の演算処理を行う。データ保存部7は、演算処理の結果に基づいて、最終的に選択した画像データを一時記憶装置9Bからデータ記憶装置9Cに転送し、保存する。 Further, the line management device 97 includes a temporary storage device 9B and a large-capacity data storage device 9C. The lossy compression unit 3, the image processing trial unit 4, the trial determination unit 5, and the trial repetition unit 6 perform various arithmetic processes described later using the temporary storage device 9B. The data storage unit 7 transfers and stores the finally selected image data from the temporary storage device 9B to the data storage device 9C based on the result of the arithmetic processing.

画像処理部2は、部品装着機94で取得された画像データに所定の画像処理を行って処理結果を得る。画像データは、部品装着具に保持された部品を撮像した画像データであり、基板の位置マークの付近を撮像した画像データであってもよい。なお、画像処理の対象は、元の画像データに限定されず、元の画像データを可逆圧縮した可逆圧縮データであってもよい。可逆圧縮データは、元の画像データに含まれる全情報を含みつつ、データサイズを小さくしたデータである。したがって、元の画像データおよび可逆圧縮データのどちらからでも、同じ処理結果が得られる。 The image processing unit 2 performs predetermined image processing on the image data acquired by the component mounting machine 94 to obtain a processing result. The image data is image data obtained by capturing an image of a component held by the component mounting tool, and may be image data obtained by capturing an image of the vicinity of a position mark on a substrate. The target of image processing is not limited to the original image data, and may be lossless compressed data obtained by losslessly compressing the original image data. Lossless compressed data is data in which the data size is reduced while including all the information contained in the original image data. Therefore, the same processing result can be obtained from both the original image data and the lossless compressed data.

画像処理部2は、元の画像データおよび処理結果をライン管理装置97の非可逆圧縮部3に転送する。なお、画像処理部2は、元の画像データに代えて、可逆圧縮データを転送してもよい。この場合、画像データの伝送負荷を軽減できる効果が生じる反面、可逆圧縮を行う手間が必要となる。 The image processing unit 2 transfers the original image data and the processing result to the lossy compression unit 3 of the line management device 97. The image processing unit 2 may transfer lossless compressed data instead of the original image data. In this case, while the effect of reducing the transmission load of image data is produced, it is necessary to take time and effort to perform lossless compression.

非可逆圧縮部3は、画像処理部2から受け取った画像データを設定された画像品質で非可逆圧縮して、非可逆圧縮データを作成する。非可逆圧縮の方式として、JPG方式(JPEG方式)を例示でき、これに限定されない。非可逆圧縮の方法は、JPEG 2000、JPEG XR、WebPなどの方式でもよい。画像品質は、0〜100%で表され、本第1実施形態では、最小で5%の刻み幅を用いる。また、画像品質の初期設定値として80%を採用する。画像品質の刻み幅および初期設定値は、自由に変更することができる。 The lossy compression unit 3 creates lossy compressed data by irreversibly compressing the image data received from the image processing unit 2 with a set image quality. As a lossy compression method, a JPG method (JPEG method) can be exemplified, and the method is not limited thereto. The method of lossy compression may be a method such as JPEG 2000, JPEG XR, or WebP. The image quality is represented by 0 to 100%, and in the first embodiment, a minimum step size of 5% is used. Further, 80% is adopted as the initial setting value of the image quality. The step size and default value of the image quality can be freely changed.

画像品質が高いほど、元の画像データからの情報減損量が少なく、データサイズが大きくなる。したがって、画像品質が高い非可逆圧縮データに再度の画像処理を試行して得られる試行処理結果は、元の画像データの処理結果に完全一致しやすく、あるいは、許容誤差以内で一致しやすい。逆に、画像品質が低いほど、元の画像データからの情報減損量が多くなって、データサイズが小さくなる。したがって、画像品質が低い非可逆圧縮データに再度の画像処理を試行して得られる試行処理結果は、元の画像データに一致しにくくなる。なお、画像品質100%の非可逆圧縮データは、情報減損量が皆無とは言えず、可逆圧縮データと比較して元の画像データの再現性が不確実となっている。 The higher the image quality, the smaller the amount of information impairment from the original image data and the larger the data size. Therefore, the trial processing result obtained by trying the image processing again on the lossy compressed data having high image quality tends to completely match the processing result of the original image data, or easily matches within the margin of error. On the contrary, the lower the image quality, the larger the amount of information impairment from the original image data, and the smaller the data size. Therefore, the trial processing result obtained by trying the image processing again on the lossy compressed data having low image quality is unlikely to match the original image data. The lossy compressed data with 100% image quality cannot be said to have no amount of information loss, and the reproducibility of the original image data is uncertain as compared with the lossless compressed data.

画像処理試行部4は、非可逆圧縮部3が作成した非可逆圧縮データに画像処理を試行して試行処理結果を得る。換言すると、画像処理試行部4は、画像処理部2と同一の画像処理プログラムを有して、これを実行する。 The image processing trial unit 4 attempts image processing on the lossy compressed data created by the lossy compression unit 3 and obtains a trial processing result. In other words, the image processing trial unit 4 has the same image processing program as the image processing unit 2 and executes the same.

試行判定部5は、画像処理試行部4が得た試行処理結果と、画像処理部2から受け取った処理結果とを比較して、一致しているか否かを判定する。一致の判定には、許容誤差が認められる。例えば、画像データの処理結果として部品の保持姿勢を求める場合に、部品の縦寸法、横寸法、回転角度などに許容誤差を設定しておく。また、画像処理にエラーが生じたときには、エラーの内容を表すエラーコードが処理結果および試行処理結果に含まれる。このエラーコードが相違している場合、試行判定部5は、処理結果と試行処理結果が一致していないと判定する。 The trial determination unit 5 compares the trial processing result obtained by the image processing trial unit 4 with the processing result received from the image processing unit 2 and determines whether or not they match. There is a margin of error in determining the match. For example, when the holding posture of a part is obtained as a result of processing image data, tolerances are set for the vertical dimension, the horizontal dimension, the rotation angle, and the like of the part. When an error occurs in image processing, an error code indicating the content of the error is included in the processing result and the trial processing result. If the error codes are different, the trial determination unit 5 determines that the processing result and the trial processing result do not match.

試行繰り返し部6は、試行判定部5の判定結果に基づき画像品質を変更設定する。試行繰り返し部6は、一致の判定結果が得られたときには画像品質を低く変更し、不一致の判定結果が得られたときには画像品質を高く変更する。さらに、試行繰り返し部6は、変更設定された画像品質を用いて、非可逆圧縮部3、画像処理試行部4、および試行判定部5を再度動作させる。 The trial repeating unit 6 changes and sets the image quality based on the determination result of the trial determination unit 5. The trial repeating unit 6 changes the image quality to a low level when a match determination result is obtained, and changes the image quality to a high level when a mismatch determination result is obtained. Further, the trial repeating unit 6 reactivates the lossy compression unit 3, the image processing trial unit 4, and the trial determination unit 5 using the changed and set image quality.

試行繰り返し部6は、始めのうちは画像品質の品質変更幅を大きく設定し、徐々に品質変更幅を小さく設定してゆく。これにより、少ない繰り返し回数で、適正な画像品質が判明する。具体的な品質変更幅は、最大幅の20%、中庸の10%、および最小幅の5%の3段階とする。また、試行繰り返し部6は、画像品質を変更設定する繰り返し回数に上限回数をもつ。品質変更幅の最小値、および繰り返し回数の上限回数は、部品装着機94の装着作業に対して画像データ保存システム1のデータ保存動作が遅れないことを条件として設定される。 The trial repeating unit 6 initially sets a large image quality quality change range, and gradually sets a small quality change range. As a result, an appropriate image quality can be found with a small number of repetitions. The specific quality change range is 20% of the maximum width, 10% of the medium width, and 5% of the minimum width. Further, the trial repeating unit 6 has an upper limit number of repetitions for changing and setting the image quality. The minimum value of the quality change width and the upper limit of the number of repetitions are set on condition that the data storage operation of the image data storage system 1 is not delayed with respect to the mounting work of the component mounting machine 94.

データ保存部7は、繰り返しの中で、試行処理結果が処理結果に一致している最も低い画像品質の非可逆圧縮データを選択し、データ記憶装置9Cに保存する。また、データ保存部7は、繰り返しの中で、全部の試行処理結果が処理結果に一致していない場合に、可逆圧縮データを保存する。 The data storage unit 7 selects the lossy compressed data having the lowest image quality whose trial processing result matches the processing result in the repetition, and stores it in the data storage device 9C. Further, the data storage unit 7 stores the lossless compressed data when all the trial processing results do not match the processing results in the repetition.

3.第1実施形態の画像データ保存システム1の動作および作用
次に、第1実施形態の画像データ保存システム1の動作および作用について説明する。画像データ保存システム1の動作は、部品装着機94の側の動作、およびライン管理装置97の側の動作に分かれる。図3は、画像データ保存システム1を構成する部品装着機94の側の動作を示す動作フローの図である。また、図4は、画像データ保存システム1を構成するライン管理装置97の側の動作を示す動作フローの図である。
3. 3. Operation and operation of the image data storage system 1 of the first embodiment Next, the operation and operation of the image data storage system 1 of the first embodiment will be described. The operation of the image data storage system 1 is divided into an operation on the component mounting machine 94 side and an operation on the line management device 97 side. FIG. 3 is a diagram of an operation flow showing the operation of the component mounting machine 94 constituting the image data storage system 1. Further, FIG. 4 is a diagram of an operation flow showing the operation of the line management device 97 constituting the image data storage system 1.

図3のステップS1で、部品装着機94は、基板を搬入する。このとき、前述したように、位置決めされた基板の位置マークの付近を撮像した画像データから、基板の位置が求められる。次のステップS2で、始めの吸着装着サイクルが設定される。吸着装着サイクルとは、吸着ノズルが部品を吸着し、部品カメラに移動して撮像され、基板に移動して当該の部品を装着する一連の作業手順である。 In step S1 of FIG. 3, the component mounting machine 94 carries in the substrate. At this time, as described above, the position of the substrate is obtained from the image data obtained by capturing the vicinity of the position mark of the positioned substrate. In the next step S2, the first suction mounting cycle is set. The suction mounting cycle is a series of work procedures in which a suction nozzle sucks a component, moves it to a component camera to take an image, moves it to a substrate, and mounts the component.

次のステップS3で、吸着ノズルによる部品の吸着動作が実行される。次のステップS4で、部品カメラによる撮像動作が実行されて、画像データが取得される。次のステップS5で、画像処理部2は、画像データに所定の画像処理を行い、処理結果として部品の保持姿勢を求める。この処理結果はステップS6で使用され、すなわち、吸着ノズルによる部品の装着動作が実行される。次のステップS7で、画像処理部2は、画像データおよび処理結果を非可逆圧縮部3に転送する。 In the next step S3, the suction operation of the component by the suction nozzle is executed. In the next step S4, the imaging operation by the component camera is executed, and the image data is acquired. In the next step S5, the image processing unit 2 performs predetermined image processing on the image data, and obtains the holding posture of the component as the processing result. This processing result is used in step S6, that is, the component mounting operation by the suction nozzle is executed. In the next step S7, the image processing unit 2 transfers the image data and the processing result to the lossy compression unit 3.

次のステップS8で、全ての吸着装着サイクルが終了したか否かが判定される。未終了の場合のステップS9で、次の吸着装着サイクルが設定される。この後、動作フローの実行は、ステップS3に戻される。ステップS3からステップS9までが繰り返され、全ての吸着装着サイクルが終了すると、動作フローの実行は、ステップS10に進められる。ステップS10で、部品装着機94は、装着作業が終了した基板を搬出する。 In the next step S8, it is determined whether or not all the suction mounting cycles have been completed. In step S9 when not completed, the next suction mounting cycle is set. After that, the execution of the operation flow is returned to step S3. When steps S3 to S9 are repeated and all the suction mounting cycles are completed, the execution of the operation flow proceeds to step S10. In step S10, the component mounting machine 94 carries out the board for which the mounting work has been completed.

次のステップS11で、装着作業の終了した基板が所定の生産枚数に到達したか否かが判定される。未到達の場合、動作フローの実行は、ステップS1に戻される。この後、ステップS1からステップS11までが繰り返され、所定の生産枚数に到達すると、動作フローは終了する。 In the next step S11, it is determined whether or not the substrate for which the mounting work has been completed has reached a predetermined number of production sheets. If not reached, the execution of the operation flow is returned to step S1. After that, steps S1 to S11 are repeated, and when a predetermined number of production sheets is reached, the operation flow ends.

一方、図4のステップS20で、ライン管理装置97は、画像処理部2から画像データおよび処理結果を受け取る。次のステップS31で、非可逆圧縮部3は、初期設定値の画像品質80%で画像データを非可逆圧縮して、非可逆圧縮データを作成する。次のステップS32で、画像処理試行部4は、画像品質80%の非可逆圧縮データに画像処理を試行して試行処理結果を得る。以降では、試行処理結果の後側に画像品質をかっこ付きで、例えば試行処理結果(80%)と表示する。次のステップS33で、試行判定部5は、試行処理結果(80%)と処理結果を比較して、一致しているか否かを判定する。 On the other hand, in step S20 of FIG. 4, the line management device 97 receives the image data and the processing result from the image processing unit 2. In the next step S31, the lossy compression unit 3 creates lossy compressed data by irreversibly compressing the image data at the default image quality of 80%. In the next step S32, the image processing trial unit 4 attempts image processing on lossy compressed data having an image quality of 80% and obtains a trial processing result. Hereinafter, the image quality is displayed in parentheses behind the trial processing result, for example, the trial processing result (80%). In the next step S33, the trial determination unit 5 compares the trial processing result (80%) with the processing result, and determines whether or not they match.

次のステップS34で、試行繰り返し部6は、適正な画像品質が判明したか否か判定する。初回のステップS34では、試行処理結果(80%)と処理結果とが一致しているか否かに関わりなく、適正な画像品質は判明しない。したがって、動作フローの実行は、ステップS35に分岐される。ステップS35で、試行繰り返し部6は、画像品質の変更設定が可能であるか否か判定する。詳細には、試行繰り返し部6は、繰り返し回数が上限回数に達しておらず、かつ、品質変更幅を変更設定して新しい試行条件が得られる場合に、変更設定が可能であると判定する。 In the next step S34, the trial repeating unit 6 determines whether or not an appropriate image quality is found. In the first step S34, the appropriate image quality cannot be determined regardless of whether or not the trial processing result (80%) and the processing result match. Therefore, the execution of the operation flow is branched to step S35. In step S35, the trial repeating unit 6 determines whether or not the image quality can be changed and set. Specifically, the trial repetition unit 6 determines that the change setting is possible when the number of repetitions has not reached the upper limit and the quality change width is changed and a new trial condition is obtained.

変更設定が可能である場合のステップS36で、試行繰り返し部6は、画像品質の変更設定を実施する。初回のステップS36で、試行処理結果(80%)と処理結果が一致していれば、試行繰り返し部6は、初期設定値の画像品質80%から最大幅の20%だけ低くして、画像品質60%を次の試行条件とする。また、試行処理結果(80%)と処理結果とが一致していなければ、試行繰り返し部6は、初期設定値の画像品質80%から最大幅の20%だけ高くして、画像品質100%を次の試行条件とする。この後、動作フローの実行は、ステップS31に戻される。 In step S36 when the change setting is possible, the trial repetition unit 6 implements the change setting of the image quality. If the trial processing result (80%) and the processing result match in the first step S36, the trial repeating unit 6 lowers the image quality from the initial setting value of 80% by 20% of the maximum width to obtain the image quality. 60% is the next trial condition. If the trial processing result (80%) and the processing result do not match, the trial repeating unit 6 increases the image quality of the initial setting value of 80% by 20% of the maximum width to increase the image quality of 100%. The following trial conditions are used. After that, the execution of the operation flow is returned to step S31.

2回目のステップS31で、非可逆圧縮部3は、画像品質60%または画像品質100%で画像データを非可逆圧縮して、非可逆圧縮データを作成する。以下、逐次変更設定された画像品質に対して、ステップS31からステップS36が繰り返される。 In the second step S31, the lossy compression unit 3 irreversibly compresses the image data with an image quality of 60% or an image quality of 100% to create lossy compressed data. Hereinafter, steps S31 to S36 are repeated for the image quality that has been sequentially changed and set.

例えば、初回の試行処理結果(80%)と処理結果とが一致せず、2回目の画像品質100%の試行処理結果(100%)と処理結果が比較され、一致していれば3回目の試行条件として画像品質90%が設定される。さらに、3回目の試行処理結果(90%)と処理結果が比較され、一致していれば4回目の試行条件として画像品質85%が設定される。4回目の試行処理結果(85%)と処理結果が比較されると、一致しているか否かに関係なく、新しい試行条件は得られなくなる。このケースの場合、4回目の試行処理結果(85%)と処理結果が一致していれば、適正な画像品質は85%であり、一致していなければ、適正な画像品質は90%となる。 For example, the first trial processing result (80%) and the processing result do not match, and the second trial processing result (100%) with 100% image quality is compared with the processing result, and if they match, the third time. Image quality of 90% is set as a trial condition. Further, the processing result is compared with the result of the third trial processing (90%), and if they match, the image quality of 85% is set as the condition for the fourth trial. When the processing result is compared with the result of the fourth trial processing (85%), new trial conditions cannot be obtained regardless of whether they match or not. In this case, if the processing result matches the fourth trial processing result (85%), the appropriate image quality is 85%, and if they do not match, the appropriate image quality is 90%. ..

なお、画像品質100%の試行処理結果(100%)と処理結果が一致していない場合には、非可逆圧縮による保存の意義がなくなる。この場合、可逆圧縮データの保存が選択される。ステップS34で適正な画像品質が判明したとき、およびステップS35で試行繰り返しが打ち切られたとき、動作フローの実行は、ステップS37に進められる。ステップS37で、データ保存部7は、試行処理結果が処理結果に一致している最も低い画像品質の非可逆圧縮データを選択し、データ記憶装置9Cに保存する。また、データ保存部7は、試行処理結果(100%)と処理結果が一致していない場合に、可逆圧縮データを保存する。 If the trial processing result (100%) with 100% image quality and the processing result do not match, the significance of storage by lossy compression is lost. In this case, saving the lossless compressed data is selected. When the appropriate image quality is found in step S34 and when the trial iteration is terminated in step S35, the execution of the operation flow proceeds to step S37. In step S37, the data storage unit 7 selects the lossy compressed data having the lowest image quality whose trial processing result matches the processing result, and stores it in the data storage device 9C. Further, the data storage unit 7 stores the lossless compressed data when the trial processing result (100%) and the processing result do not match.

第1実施形態の画像データ保存システム1では、元の画像データを非可逆圧縮した非可逆圧縮データに所定の画像処理を試行して、試行処理結果が元の画像データの処理結果に一致している場合に、この非可逆圧縮データを保存する。したがって、保存した非可逆圧縮の画像データに対する画像処理の再現性を確保できる。加えて、非可逆圧縮を行うことにより、画像データの伝送負荷軽減と記憶容量の節約を実現できる。 In the image data storage system 1 of the first embodiment, a predetermined image processing is tried on the lossy compressed data obtained by irreversibly compressing the original image data, and the trial processing result matches the processing result of the original image data. If so, save this lossy compressed data. Therefore, the reproducibility of image processing for the stored lossy compressed image data can be ensured. In addition, by performing lossy compression, it is possible to reduce the transmission load of image data and save the storage capacity.

4.第2実施形態の画像データ保存システム1A
次に、第2実施形態の画像データ保存システム1Aについて、第1実施形態との相違点を主にして説明する。図5は、第2実施形態の画像データ保存システム1Aの機能構成を示すブロック図である。図示されるように、第2実施形態では、ライン管理装置97の側に、指定圧縮部35および画像品質設定部8が追加されている。
4. Image data storage system 1A of the second embodiment
Next, the image data storage system 1A of the second embodiment will be mainly described with differences from the first embodiment. FIG. 5 is a block diagram showing a functional configuration of the image data storage system 1A of the second embodiment. As shown in the figure, in the second embodiment, the designated compression unit 35 and the image quality setting unit 8 are added to the side of the line management device 97.

第2実施形態において、部品装着機94の側の機能構成および動作は、第1実施形態と殆ど変らない。ただし、図3のステップS7で、画像処理部2は、画像データおよび処理結果に加え、付帯情報を非可逆圧縮部3に転送する。付帯情報は、画像データを取得するときの撮像対象の種類の情報および撮像条件の情報、ならびに、画像処理するときの画像データのデータサイズの情報などである。 In the second embodiment, the functional configuration and operation on the side of the component mounting machine 94 are almost the same as those in the first embodiment. However, in step S7 of FIG. 3, the image processing unit 2 transfers incidental information to the lossy compression unit 3 in addition to the image data and the processing result. The incidental information includes information on the type of image capture target and information on imaging conditions when acquiring image data, and information on the data size of image data when image processing is performed.

撮像対象の種類の情報は、部品や基板の種類などの条件を表している。撮像条件の情報は、部品カメラや基板カメラのシャッタースピードや絞り、照明などの条件を表している。これらの条件は、非可逆圧縮データに画像処理を試行したときの試行処理結果に大きく影響する。つまり、部品や基板の種類ならびに撮像条件は、保存する際の適正な画像品質を左右する。例えば、外形形状が単純な部品に対しては、ある程度低めの画像品質を設定してもよい。しかしながら、外形形状が複雑な部品に対して高めの画像品質を設定しないと、試行処理結果と処理結果が一致しなくなる。また、照明が暗めであったりすると、やはり高めの画像品質を設定する必要がある。 The information on the type of imaging target represents conditions such as the type of parts and substrates. The information on the imaging conditions represents conditions such as the shutter speed, aperture, and lighting of the component camera and the substrate camera. These conditions have a great influence on the trial processing result when the image processing is tried on the lossy compressed data. That is, the types of parts and substrates and the imaging conditions affect the appropriate image quality at the time of storage. For example, for a part having a simple outer shape, a somewhat low image quality may be set. However, unless a high image quality is set for a part having a complicated outer shape, the trial processing result and the processing result will not match. Also, if the lighting is dark, it is still necessary to set a higher image quality.

また、画像処理を行うときの画像データのデータサイズは一定でない、例えば、小形部品の保持姿勢を求めるために、部品カメラの全撮像視野にわたる画像データは必要でなく、一部視野の画像データが用いられる。データサイズの小さな画像データでは、非可逆圧縮を行っても、記憶容量を節約する効果は限定的である。第2実施形態では、上記した付帯情報を併せて保存するとともに、画像品質の初期設定値の設定に利用したり、画像処理試行の省略に利用したりする。 Further, the data size of the image data when performing image processing is not constant. For example, in order to obtain the holding posture of a small part, the image data over the entire imaging field of view of the component camera is not necessary, and the image data of a part of the field of view is used. Used. For image data with a small data size, the effect of saving storage capacity is limited even if lossy compression is performed. In the second embodiment, the above-mentioned incidental information is also stored, and is used for setting the initial setting value of the image quality or for omitting the image processing trial.

すなわち、画像品質設定部8は、過去に取得された画像データに関する撮像対象の種類および試行判定部の判定結果の少なくとも一方と、保存された非可逆圧縮データの画像品質または保存された可逆圧縮データとの対応関係に基づいて、今回取得された画像データを非可逆圧縮部3が非可逆圧縮するときの画像品質を設定する。換言すると、画像品質設定部8は、画像データが保存された過去事例を参考にして、今回行う非可逆圧縮の画像品質の初期設定値を設定する。 That is, the image quality setting unit 8 includes at least one of the type of imaging target and the determination result of the trial determination unit regarding the image data acquired in the past, and the image quality of the saved lossy compression data or the saved lossy compression data. Based on the correspondence with, the image quality when the lossy compression unit 3 irreversibly compresses the image data acquired this time is set. In other words, the image quality setting unit 8 sets the initial setting value of the image quality of the lossy compression performed this time with reference to the past case in which the image data is saved.

具体的に、画像品質設定部8は、今回取得された画像データの付帯情報と同じか近い過去事例をデータ記憶装置9Cの中から検索する。当該の過去事例が有る場合、画像品質設定部8は、そのときに保存された非可逆圧縮データの画像品質を今回の画像品質の初期設定値とする。また、当該の過去事例が無い場合、画像品質設定部8は、今回の画像品質の初期設定値を既定の80%とする。 Specifically, the image quality setting unit 8 searches the data storage device 9C for past cases that are the same as or close to the incidental information of the image data acquired this time. If there is such a past case, the image quality setting unit 8 sets the image quality of the lossy compressed data saved at that time as the initial setting value of the image quality this time. If there is no such past case, the image quality setting unit 8 sets the initial setting value of the image quality this time to 80% of the default.

例えば、今回の付帯情報が「部品種Pの画像データ」であり、画像品質設定部8は、過去事例を検索して「部品種Pの画像データが画像品質90%の非可逆圧縮データとして保存されている」ことを見つけられる場合がある。この場合、画像品質設定部8は、今回の画像品質の初期設定値を既定の80%でなく、90%に設定する。また例えば、今回の処理結果が「エラーコードE1」である場合に、画像品質設定部8は、過去事例のうち同じ「エラーコードE1」をもつ非可逆圧縮データの画像品質を、今回の画像品質の初期設定値とする。これにより、試行繰り返し部6の繰り返し回数が減少するので、繰り返しが打ち切られるおそれを低減できる。つまり、適正な画像品質が一層確実に得られる。 For example, the incidental information this time is "image data of part type P", and the image quality setting unit 8 searches past cases and saves "image data of part type P as lossy compressed data with 90% image quality". You may be able to find out that it has been done. In this case, the image quality setting unit 8 sets the initial setting value of the image quality this time to 90% instead of the default 80%. Further, for example, when the processing result of this time is "error code E1", the image quality setting unit 8 sets the image quality of the lossy compressed data having the same "error code E1" in the past cases as the image quality of this time. The default value of. As a result, the number of repetitions of the trial repetition unit 6 is reduced, so that the possibility that the repetition is terminated can be reduced. That is, an appropriate image quality can be obtained more reliably.

また、非可逆圧縮部3は、設定された画像品質で非可逆圧縮する画像データを選別するとともに、選別しなかった画像データに対して可逆圧縮、または固定された画像品質の非可逆圧縮を指定する。具体的に、非可逆圧縮部3は、所定のデータサイズを超える画像データを選別するとともに、データサイズ以下の画像データに対して可逆圧縮を指定する。なお、データサイズ以下の画像データに対する別法として、非可逆圧縮部3は、画像品質100%の非可逆圧縮を指定してもよい。 Further, the lossy compression unit 3 selects the image data to be lossy compressed with the set image quality, and designates the lossy compression or the fixed image quality lossy compression for the unselected image data. To do. Specifically, the lossy compression unit 3 selects image data exceeding a predetermined data size and designates lossless compression for image data having a data size or less. As another method for image data having a data size or less, the lossy compression unit 3 may specify lossy compression with 100% image quality.

非可逆圧縮部3は、選別しなかった画像データ、換言するとデータサイズ以下の画像データをそのまま指定圧縮部35に送る。指定圧縮部35は、非可逆圧縮部3が選別しなかった画像データに指定された圧縮を行い、可逆圧縮データまたは非可逆圧縮データを作成して、データ保存部7に送る。データ保存部7は、受け取った可逆圧縮データまたは非可逆圧縮データをデータ記憶装置9Cに保存する。このように、効果が限定的となるデータサイズ以下の画像データについては画像処理試行の繰り返しを省略して、データ処理の手順を簡素化することができる。 The lossy compression unit 3 sends the unselected image data, in other words, the image data having a data size or less, to the designated compression unit 35 as it is. The designated compression unit 35 performs the specified compression on the image data not selected by the lossy compression unit 3, creates the lossy compression data or the lossy compression data, and sends the image data to the data storage unit 7. The data storage unit 7 stores the received lossless compressed data or lossy compressed data in the data storage device 9C. As described above, it is possible to simplify the data processing procedure by omitting the repetition of the image processing trial for the image data having a data size smaller than the data size in which the effect is limited.

次に、第2実施形態の画像データ保存システム1を構成するライン管理装置97の側の動作について説明する。図6は、第2実施形態の画像データ保存システム1Aを構成するライン管理装置97の側の動作を示す動作フローの図である。図中のステップS21で、ライン管理装置97は、画像処理部2から画像データ、処理結果、および付帯情報を受け取る。 Next, the operation on the side of the line management device 97 constituting the image data storage system 1 of the second embodiment will be described. FIG. 6 is a diagram of an operation flow showing the operation of the line management device 97 constituting the image data storage system 1A of the second embodiment. In step S21 in the figure, the line management device 97 receives the image data, the processing result, and the incidental information from the image processing unit 2.

次のステップS22で、非可逆圧縮部3は、付帯情報を参照して、画像処理試行の対象であるか否かを判定する。換言すると、非可逆圧縮部3は、画像データが所定のデータサイズを超えているときに、画像処理試行の対象と判定する。画像処理試行の対象である場合のステップS23で、画像品質設定部8は、今回と同じか近い過去事例を検索し、その有無を判定する。 In the next step S22, the lossy compression unit 3 refers to the incidental information and determines whether or not it is the target of the image processing trial. In other words, the lossy compression unit 3 determines that the image processing is the target of the image processing trial when the image data exceeds a predetermined data size. In step S23 when the image processing trial is to be performed, the image quality setting unit 8 searches for past cases that are the same as or close to this time, and determines the presence or absence of the past cases.

当該の過去事例が有る場合のステップS24で、画像品質設定部8は、過去事例に基づいて画像品質の初期設定値を設定する。また、当該の過去事例が無い場合のステップS25で、画像品質設定部8は、画像品質の初期設定値を既定の80%とする。ステップS24およびステップS25が実行された後、第1実施形態と同様にステップS31からステップS36が実行される。続いて、ステップS37で、データ保存部7は、適正な画像品質の非可逆圧縮データと付帯情報をセットにして、データ記憶装置9Cに保存する。 In step S24 when there is such a past case, the image quality setting unit 8 sets the initial setting value of the image quality based on the past case. Further, in step S25 when there is no such past case, the image quality setting unit 8 sets the initial setting value of the image quality to 80% of the default. After steps S24 and S25 are executed, steps S31 to S36 are executed in the same manner as in the first embodiment. Subsequently, in step S37, the data storage unit 7 stores the lossy compressed data of appropriate image quality and the incidental information as a set in the data storage device 9C.

また、ステップS22で、画像処理試行の対象でない場合、動作フローの実行は、ステップS26に分岐される。ステップS26で、非可逆圧縮部3は、画像処理試行の対象でない画像データに対して可逆圧縮、または固定された画像品質の非可逆圧縮の圧縮方法を指定する。次のステップS27で、指定圧縮部35は、指定された圧縮方法で圧縮を実施する。この後、動作フローの実行は、ステップS37に合流される。 Further, in step S22, if it is not the target of the image processing trial, the execution of the operation flow is branched to step S26. In step S26, the lossy compression unit 3 specifies a lossless compression or a fixed image quality lossy compression compression method for image data that is not the target of an image processing trial. In the next step S27, the designated compression unit 35 performs compression by the designated compression method. After that, the execution of the operation flow is merged with step S37.

5.第3実施形態の画像データ保存システム1B
次に、第3実施形態の画像データ保存システム1Bについて、第1および第2実施形態との相違点を主にして説明する。図7は、第3実施形態の画像データ保存システム1Bの機能構成を示すブロック図である。図示されるように、第3実施形態では、部品装着機94の側に構成要件が集中し、ライン管理装置97の側では、単にデータ記憶装置9Cが利用される。
5. Image data storage system 1B of the third embodiment
Next, the image data storage system 1B of the third embodiment will be mainly described with differences from the first and second embodiments. FIG. 7 is a block diagram showing a functional configuration of the image data storage system 1B of the third embodiment. As shown in the figure, in the third embodiment, the configuration requirements are concentrated on the side of the component mounting machine 94, and the data storage device 9C is simply used on the side of the line management device 97.

部品装着機94は、並行動作可能な第1CPUコア941および第2CPUコア942を有する。つまり、部品装着機94は、実質的に2つのCPUを有する。第1CPUコア941は、画像データの取得作業を含む装着作業を制御する。そして、画像処理部2は、第1CPUコア941に設けられる。また、非可逆圧縮部3、画像処理試行部4、試行判定部5、試行繰り返し部6、およびデータ保存部7は、第2CPUコア942に設けられる。各部の機能および動作は、第1実施形態と同様であるので、説明は省略する。 The component mounting machine 94 has a first CPU core 941 and a second CPU core 942 that can operate in parallel. That is, the component mounting machine 94 has substantially two CPUs. The first CPU core 941 controls mounting work including image data acquisition work. The image processing unit 2 is provided in the first CPU core 941. Further, the lossy compression unit 3, the image processing trial unit 4, the trial determination unit 5, the trial repetition unit 6, and the data storage unit 7 are provided in the second CPU core 942. Since the functions and operations of the respective parts are the same as those in the first embodiment, the description thereof will be omitted.

第1CPUコア941および第2CPUコア942が並列動作するので、第3実施形態の画像データ保存システム1Bは、部品装着機94の装着作業を阻害しない。また、第3実施形態の画像データ保存システム1Bでは、第1実施形態と同様の効果が得られる。 Since the first CPU core 941 and the second CPU core 942 operate in parallel, the image data storage system 1B of the third embodiment does not interfere with the mounting work of the component mounting machine 94. Further, in the image data storage system 1B of the third embodiment, the same effect as that of the first embodiment can be obtained.

6.第4実施形態の画像データ保存システム1C
次に、第4実施形態の画像データ保存システム1Cについて、第1〜第3実施形態との相違点を主にして説明する。図8は、第4実施形態の画像データ保存システム1Cの機能構成を示すブロック図である。図示されるように、第4実施形態では、対基板作業機が変更されている。すなわち、画像処理部2は、印刷検査機92または外観検査機96に設けられる。換言すると、画像データ保存システム1Cは、半田検査画像データまたは外観検査画像データを保存対象とする。
6. Image data storage system 1C of the fourth embodiment
Next, the image data storage system 1C of the fourth embodiment will be mainly described with differences from the first to third embodiments. FIG. 8 is a block diagram showing a functional configuration of the image data storage system 1C of the fourth embodiment. As shown, in the fourth embodiment, the board working machine is modified. That is, the image processing unit 2 is provided in the print inspection machine 92 or the appearance inspection machine 96. In other words, the image data storage system 1C stores the solder inspection image data or the appearance inspection image data.

また、非可逆圧縮部3、画像処理試行部4、試行判定部5、試行繰り返し部6、およびデータ保存部7は、生産プログラムサーバー98または生産情報サーバー99に設けられる。これに限定されず、画像データ保存システムは、対基板作業機、および対基板作業機にデータ伝送可能に接続された任意の別機に分けて構成されてもよい。 Further, the lossy compression unit 3, the image processing trial unit 4, the trial determination unit 5, the trial repetition unit 6, and the data storage unit 7 are provided in the production program server 98 or the production information server 99. The image data storage system is not limited to this, and may be divided into a board-to-board working machine and an arbitrary separate machine connected to the board-to-board working machine so as to be able to transmit data.

7.実施形態の応用および変形
なお、第1および第4実施形態において、非可逆圧縮部3を対基板作業機の側に設けることも可能である。この場合、対基板作業機からライン管理装置97へと非可逆圧縮データを転送する。そして、試行判定部5の判定結果に対応して、試行繰り返し部6は、対基板作業機の非可逆圧縮部3に対し、異なる画像品質の非可逆圧縮データの転送を指示する。また、第1実施形態で説明した繰り返し回数の上限回数および品質変更幅の最小幅は、どちらか一方だけでもよいし、両方とも無くてもよい。ただし、次回の画像データが取得されるまでに、今回の画像データに対する演算処理を打ち切る必要が生じる。第1〜第4実施形態は、その他にも様々な応用や変形が可能である。
7. Application and Modification of the Embodiment In the first and fourth embodiments, it is also possible to provide the lossy compression unit 3 on the side of the substrate working machine. In this case, the lossy compressed data is transferred from the board working machine to the line management device 97. Then, in response to the determination result of the trial determination unit 5, the trial repetition unit 6 instructs the lossy compression unit 3 of the substrate working machine to transfer the lossy compressed data of different image qualities. Further, the upper limit of the number of repetitions and the minimum width of the quality change width described in the first embodiment may be either one or both. However, it is necessary to discontinue the arithmetic processing for the current image data by the time the next image data is acquired. The first to fourth embodiments can be applied and modified in various ways.

1、1A、1B、1C:画像データ保存システム 2:画像処理部 3:非可逆圧縮部 35:指定圧縮部 4:画像処理試行部 5:試行判定部 6:試行繰り返し部 7:データ保存部 8:画像品質設定部 9:対基板作業ライン 92:印刷検査機 94:部品装着機 941:第1CPUコア 942:第2CPUコア 96:外観検査機 97:ライン管理装置 98:生産プログラムサーバー 99:生産情報サーバー 9B:一時記憶装置 9C:データ記憶装置 1, 1A, 1B, 1C: Image data storage system 2: Image processing unit 3: Lossy compression unit 35: Designated compression unit 4: Image processing trial unit 5: Trial judgment unit 6: Trial repetition unit 7: Data storage unit 8 : Image quality setting unit 9: Work line for board 92: Printing inspection machine 94: Parts mounting machine 941: 1st CPU core 942: 2nd CPU core 96: Visual inspection machine 97: Line management device 98: Production program server 99: Production information Server 9B: Temporary storage device 9C: Data storage device

Claims (12)

基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理部と、
前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮部と、
前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行部と、
前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定部と、
前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存部と、
を備える画像データ保存システム。
An image processing unit that performs predetermined image processing on the image data acquired by the anti-board working machine that performs a predetermined anti-board work on the substrate, or lossless compression data obtained by losslessly compressing the image data, and obtains a processing result.
An irreversible compression unit that creates irreversible compressed data by irreversibly compressing the image data with the set image quality,
An image processing trial unit that tries the image processing on the lossy compressed data and obtains a trial processing result.
A trial determination unit that determines whether or not the trial processing result matches the processing result within the margin of error,
When the trial processing result matches the processing result, a data storage unit that stores the lossy compressed data and a data storage unit.
Image data storage system equipped with.
前記試行判定部の判定結果に基づき前記画像品質を変更設定して、前記非可逆圧縮部、前記画像処理試行部、および前記試行判定部を再度動作させる試行繰り返し部をさらに備える、
請求項1に記載の画像データ保存システム。
The image quality is changed and set based on the determination result of the trial determination unit, and the lossy compression unit, the image processing trial unit, and the trial repetition unit for operating the trial determination unit again are further provided.
The image data storage system according to claim 1.
前記試行繰り返し部は、前記画像品質を変更設定する繰り返し回数に上限回数をもち、または、前記画像品質を変更設定する品質変更幅に最小幅をもつ、請求項2に記載の画像データ保存システム。 The image data storage system according to claim 2, wherein the trial repeating unit has an upper limit of the number of repetitions for changing and setting the image quality, or has a minimum width for changing the quality for changing and setting the image quality. 前記データ保存部は、前記試行処理結果が前記処理結果に一致していない場合に、前記可逆圧縮データを保存する、請求項1〜3のいずれか一項に記載の画像データ保存システム。 The image data storage system according to any one of claims 1 to 3, wherein the data storage unit stores the lossless compressed data when the trial processing result does not match the processing result. 過去に取得された前記画像データに関する撮像対象の種類および前記試行判定部の判定結果の少なくとも一方と、保存された前記非可逆圧縮データの前記画像品質または保存された前記可逆圧縮データとの対応関係に基づいて、今回取得された前記画像データを前記非可逆圧縮部が非可逆圧縮するときの前記画像品質を設定する画像品質設定部をさらに備える、
請求項1〜4のいずれか一項に記載の画像データ保存システム。
Correspondence between at least one of the type of imaging target and the determination result of the trial determination unit regarding the image data acquired in the past and the image quality of the stored lossy compressed data or the stored reversible compressed data. An image quality setting unit for setting the image quality when the lossy compression unit irreversibly compresses the image data acquired this time is further provided.
The image data storage system according to any one of claims 1 to 4.
前記非可逆圧縮部は、設定された前記画像品質で非可逆圧縮する前記画像データを選別するとともに、選別しなかった前記画像データに対して可逆圧縮、または固定された前記画像品質の非可逆圧縮を指定し、
前記データ保存部は、前記非可逆圧縮部が選別しなかった前記画像データに指定された圧縮を行った前記可逆圧縮データまたは前記非可逆圧縮データを保存する、
請求項1〜5のいずれか一項に記載の画像データ保存システム。
The lossy compression unit selects the image data to be irreversibly compressed with the set image quality, and lossy compression or fixed lossy compression with respect to the unselected image data with the image quality. Specify,
The data storage unit stores the lossy compressed data or the lossy compressed data obtained by performing the specified compression on the image data not selected by the lossy compression unit.
The image data storage system according to any one of claims 1 to 5.
前記非可逆圧縮部は、所定のデータサイズを超える前記画像データを選別するとともに、前記データサイズ以下の前記画像データに対して前記可逆圧縮を指定する、請求項6に記載の画像データ保存システム。 The image data storage system according to claim 6, wherein the lossy compression unit selects the image data exceeding a predetermined data size and designates the lossy compression for the image data having the data size or less. 前記対基板作業機は、前記画像データの取得作業を含む前記対基板作業を制御する第1CPUコア、および前記第1CPUコアと並行動作可能な第2CPUコアを有し、
前記画像処理部は、前記第1CPUコアに設けられ、
前記非可逆圧縮部、前記画像処理試行部、前記試行判定部、および前記データ保存部は、前記第2CPUコアに設けられる、
請求項1〜7のいずれか一項に記載の画像データ保存システム。
The board-to-board working machine has a first CPU core that controls the board-to-board work including the image data acquisition work, and a second CPU core that can operate in parallel with the first CPU core.
The image processing unit is provided in the first CPU core.
The lossy compression unit, the image processing trial unit, the trial determination unit, and the data storage unit are provided in the second CPU core.
The image data storage system according to any one of claims 1 to 7.
前記画像処理部、前記非可逆圧縮部、前記画像処理試行部、前記試行判定部、および前記データ保存部は、前記対基板作業機、および前記対基板作業機にデータ伝送可能に接続された別機に分かれて設けられる、請求項1〜7のいずれか一項に記載の画像データ保存システム。 The image processing unit, the lossy compression unit, the image processing trial unit, the trial determination unit, and the data storage unit are separately connected to the anti-board working machine and the anti-board working machine so that data can be transmitted. The image data storage system according to any one of claims 1 to 7, which is provided separately for each machine. 前記画像処理部は、前記対基板作業機に設けられ、
前記非可逆圧縮部、前記画像処理試行部、前記試行判定部、および前記データ保存部は、前記別機に設けられる、
請求項9に記載の画像データ保存システム。
The image processing unit is provided on the substrate working machine.
The lossy compression unit, the image processing trial unit, the trial determination unit, and the data storage unit are provided in the separate machine.
The image data storage system according to claim 9.
前記画像処理部および前記非可逆圧縮部は、前記対基板作業機に設けられ、
前記画像処理試行部、前記試行判定部、および前記データ保存部は、前記別機に設けられる、
請求項9に記載の画像データ保存システム。
The image processing unit and the lossy compression unit are provided on the substrate working machine.
The image processing trial unit, the trial determination unit, and the data storage unit are provided in the separate machine.
The image data storage system according to claim 9.
基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理ステップと、
前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮ステップと、
前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行ステップと、
前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定ステップと、
前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存ステップと、
を備える画像データ保存方法。
An image processing step of performing a predetermined image processing on an image data acquired by an anti-board working machine that performs a predetermined anti-board work on a substrate or a lossless compressed data obtained by losslessly compressing the image data to obtain a processing result.
An irreversible compression step of creating irreversible compressed data by irreversibly compressing the image data with a set image quality,
An image processing trial step in which the image processing is tried on the lossy compressed data to obtain a trial processing result, and
A trial determination step for determining whether or not the trial processing result matches the processing result within the margin of error, and
A data saving step for saving the lossy compressed data when the trial processing result matches the processing result, and
Image data storage method including.
JP2020529914A 2018-07-12 2018-07-12 Image data storage system and image data storage method Active JP7104786B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/026331 WO2020012600A1 (en) 2018-07-12 2018-07-12 Image data storage system and image data storage method

Publications (2)

Publication Number Publication Date
JPWO2020012600A1 true JPWO2020012600A1 (en) 2021-07-01
JP7104786B2 JP7104786B2 (en) 2022-07-21

Family

ID=69142355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020529914A Active JP7104786B2 (en) 2018-07-12 2018-07-12 Image data storage system and image data storage method

Country Status (2)

Country Link
JP (1) JP7104786B2 (en)
WO (1) WO2020012600A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003098098A (en) * 2001-09-21 2003-04-03 Matsushita Electric Works Ltd Image processing device and image processing system
JP2004200893A (en) * 2002-12-17 2004-07-15 Fuji Xerox Co Ltd Encoder, encoding method, and encoding program
JP2007147354A (en) * 2005-11-25 2007-06-14 I-Pulse Co Ltd Inspection machine, inspection method and mounting line
JP2015188156A (en) * 2014-03-26 2015-10-29 富士通株式会社 Image processing device, image processing system, image processing method and image processing program
WO2017216950A1 (en) * 2016-06-17 2017-12-21 富士機械製造株式会社 Component-mounting device and component-mounting system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003098098A (en) * 2001-09-21 2003-04-03 Matsushita Electric Works Ltd Image processing device and image processing system
JP2004200893A (en) * 2002-12-17 2004-07-15 Fuji Xerox Co Ltd Encoder, encoding method, and encoding program
JP2007147354A (en) * 2005-11-25 2007-06-14 I-Pulse Co Ltd Inspection machine, inspection method and mounting line
JP2015188156A (en) * 2014-03-26 2015-10-29 富士通株式会社 Image processing device, image processing system, image processing method and image processing program
WO2017216950A1 (en) * 2016-06-17 2017-12-21 富士機械製造株式会社 Component-mounting device and component-mounting system

Also Published As

Publication number Publication date
JP7104786B2 (en) 2022-07-21
WO2020012600A1 (en) 2020-01-16

Similar Documents

Publication Publication Date Title
US20210035284A1 (en) System for creating learned model for component image recognition, and method for creating learned model for component image recognition
JP6018844B2 (en) Component mounting method, component mounting apparatus, and program
CN106104195B (en) Image processing apparatus and substrate production system
CN109315085B (en) Component mounting device and component mounting system
US9629292B2 (en) Electronic component mounting system and electronic component mounting method
US9661793B2 (en) Electronic component mounting system and electronic component mounting method
CN100508695C (en) Method and system for inspecting substrate for mounting components and method of producing substrate for mounting components
JP7104786B2 (en) Image data storage system and image data storage method
JPWO2018109948A1 (en) Board production line and board production machine
JP7139483B2 (en) Board-to-board work machine and board-to-board work method
JP5003610B2 (en) Board inspection method
KR20000004289A (en) Method for setting teaching data of pcb automatic test device and apparatus thereof
JP7061667B2 (en) Image data storage device and image data storage method
JP7153126B2 (en) Pass/Fail Judgment Device and Pass/Fail Judgment Method
JP7153127B2 (en) Pass/Fail Judgment Device and Pass/Fail Judgment Method
JP7165836B2 (en) PCB production machine
JP3478273B2 (en) Screen printing method
WO2023286155A1 (en) File management device for surface-mounted machine and surface-mounted machine
JP2023089800A (en) Process valuation device
JP2023052269A (en) Substrate production method
JP2022126715A (en) Component mounting machine
JP4440656B2 (en) Data creation method, data creation apparatus, screen printing inspection method, screen printing inspection apparatus, and screen printing machine
JP5725999B2 (en) Camera system
JP3478272B2 (en) Screen printing method
JP2004279304A (en) Image processing method and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211207

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20220125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220603

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: 20220705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220708

R150 Certificate of patent or registration of utility model

Ref document number: 7104786

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150