JP4195955B2 - Image processing system and data editing method thereof - Google Patents
Image processing system and data editing method thereof Download PDFInfo
- Publication number
- JP4195955B2 JP4195955B2 JP36568999A JP36568999A JP4195955B2 JP 4195955 B2 JP4195955 B2 JP 4195955B2 JP 36568999 A JP36568999 A JP 36568999A JP 36568999 A JP36568999 A JP 36568999A JP 4195955 B2 JP4195955 B2 JP 4195955B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- image processing
- file
- image
- data element
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、双方向にデータ伝送が可能な画像処理装置とコンピュータ装置とを備える画像処理システムおよびそのデータ編集方法に関するものである。
【0002】
【従来の技術】
従来より、TVカメラなどにより撮像した対象物の画像に、各種の画像処理を施すことによって、対象物の外観を検査したり、対象物の位置を特定したりする画像処理装置が提供されている。この種の画像処理装置は、主として生産ラインにおいて物品の汚れや傷の有無の欠陥検査、あるいは部品の取付位置の検査などの各種外観検査に用いられている。ところで、画像処理には、濃淡画像を2値化する2値化処理、濃淡画像から微分絶対値(濃度の変化率)や微分方向値(一般には濃度変化が最大の方向またはその方向に直交する方向)を求める微分処理、エッジを求める処理、エッジの画素幅を一定にする細線化処理、重心や慣性主軸を求める位置検出処理、テンプレートとの類似度を求めるサーチ処理あるいはパターンマッチング処理など各種処理があり、汎用に使用可能な画像処理装置では、これらの各種処理を適宜に選択するとともに各処理を適用する順序を設定できるようになっている。つまり、検査手順が設定可能になっている。また、たとえば2値化処理の濃度に対する閾値などはパラメータ(機器設定)として設定されることになる。さらに、テンプレート処理やサーチ処理ではテンプレートの設定が必要である。これらのパラメータ、検査手順、テンプレートは画像処理装置に対して画像処理の条件として設定される。
【0003】
上述した画像処理の条件は画像処理装置において設定することが可能であるが、設定内容の管理やバックアップを行うために、画像処理装置との間でデータ伝送が可能なコンピュータ装置を接続した画像処理システムが提案されている。
【0004】
また、欠陥検査などでは画像処理装置で処理された画像と検査結果との対照によって欠陥が生じた原因の抽出が可能になることがあるから、画像処理装置では画像についても履歴をとることができる程度の数は保持される。しかしながら、一般に画像処理装置において画像を格納する記憶手段は物理メモリのみであるから多数の画像を保持することはできず、充分な数の画像を保持するためにもコンピュータ装置の記憶装置を利用するのが望ましい。
【0005】
すなわち、画像処理装置とコンピュータ装置との間で双方向にデータ伝送可能とした画像処理システムが提案されており(たとえば、特開平2−21376号公報)、画像処理装置とコンピュータ装置との間では、画像処理の条件および画像をデータとして伝送することが可能になっている。ここに、画像処理装置からコンピュータ装置にデータを転送して記憶装置に保存することをバックアップ、記憶装置に格納されたデータをコンピュータ装置から画像処理装置に転送して画像処理装置の物理メモリに格納することをリストアと呼ぶ。
【0006】
【発明が解決しようとする課題】
ところで、上述した画像処理システムでは、画像処理装置とコンピュータ装置との間で、画像処理の条件(機器設定、検査手順設定、テンプレート)と画像とからなるデータを一括して伝送しており、バックアップに際しては種類ごとに記憶装置に保存し、リストアに際しては種類ごとに定められている領域に格納するようになっている。
【0007】
つまり、図13に示すように、画像処理装置1に設けたROM13およびRAM14からなる物理メモリMにデータを格納するのであって、コンピュータ装置2の通信アプリケーションPR2を介して転送されたデータを、画像処理装置1に設けたデータ管理プログラムPR1がデータの種類に応じて物理メモリMの所定領域に振り分けるのである。
【0008】
このようにデータを一括して伝送することは、データ量が少ない場合にはとくに問題にならないが、最近では画像処理の複雑化に伴って画像処理装置内のメモリ容量が増大しており、また検査履歴を用いて欠陥の生じた原因を精度よく抽出しようとすれば多数の画像が必要になるから、このこともメモリ容量の増大につながっている。したがって、結局は画像処理装置とコンピュータ装置との間で授受するデータ量が増大し、データの伝送に要する時間が長くなってきているのが現状である。
【0009】
本発明は上記事由に鑑みて為されたものであり、その目的は、画像処理装置とコンピュータ装置との間でのデータの伝送に要する時間の短縮が可能であるとともに、画像処理装置を接続せずにコンピュータ装置のみでもデータの編集が可能である画像処理システムおよびそのデータ編集方法を提供することにある。
【0010】
【課題を解決するための手段】
請求項1に係る発明は、設定された条件で処理対象となる画像に画像処理を施す画像処理部および画像と画像処理の条件とをデータとして記憶するメモリを有した画像処理装置と、画像処理装置と双方向にデータ伝送が可能であるコンピュータ装置であって前記メモリに対して前記データの書込および読出を指示する指示操作部および前記メモリよりも記憶容量が大きく前記データが保存可能である記憶手段を有したコンピュータ装置とからなる画像処理システムにおいて、前記データを個々に指定可能なデータ要素に分割し、処理対象となる画像については1枚の画像である画像単位をデータ要素として扱うとともに、画像処理の条件については一連の画像処理を行うのに必要な条件である設定単位をデータ要素として扱い、前記メモリおよび前記記憶手段に対する書込および読出ならびにデータ伝送をデータ要素単位で行い、前記記憶手段には一連の画像処理に用いる画像単位と設定単位との組み合わせをまとめて1つのファイルとして格納し、前記画像処理装置には前記コンピュータ装置から指示された所要のデータ要素を前記メモリから読み出してコンピュータ装置に転送するとともにコンピュータ装置から転送されたデータ要素を前記メモリの所要箇所に書き込むデータ管理手段が設けられ、前記コンピュータ装置には前記記憶手段に格納された前記ファイルを前記データ要素の単位で編集する編集手段が設けられているものである。
【0011】
この構成によれば、コンピュータ装置から指示された所要のデータをデータ要素ごとにコンピュータ装置に伝送するとともにコンピュータ装置から伝送されたデータ要素をメモリの所要箇所に書き込むから、画像処理装置のメモリに設定する全データをコンピュータ装置との間で伝送せずに、コンピュータ装置から指示された所要のデータ要素のみを伝送することができ、画像処理装置とコンピュータ装置との間でのデータの伝送に要する時間が全データを伝送する場合に比較すると短くなり、結果的にデータの転送時間を短くすることができる。とくに、コンピュータ装置が編集手段を備えていることによって、画像処理装置から修正の必要なデータ要素のみを抽出してコンピュータ装置において修正することができるから、画像処理装置からコンピュータ装置へのデータの転送に要する時間が短くなる。また、記憶手段に格納されたデータをコンピュータ装置で編集するから、画像処理装置との間でデータ伝送を行わない状態で記憶手段に格納されたデータを再編成することができ、この間にはデータの伝送を行わないから、データの転送の時間が不要になる。さらに、コンピュータ装置から画像処理装置へは所要のデータ要素のみを転送すればよいから、この場合にも全データを転送する場合よりも転送時間を短くすることができる。また、画像処理装置のデータのバックアップを行う際に、コンピュータ装置の記憶手段にすでに同じ内容のデータ要素が存在していれば、そのデータ要素を流用することでデータ要素の転送を省略することができ、それだけ画像処理装置からコンピュータ装置へのデータの転送時間を短くすることができる。
【0012】
コンピュータ装置の記憶装置は一般には画像処理装置のメモリよりも記憶容量が大きいから、画像処理装置に格納されているデータよりも容量の大きいデータを記憶装置に格納することが可能であって、冗長度を大きくとることが可能になる。たとえば、画像処理装置で一連の画像処理に用いるデータを記憶装置に複数組格納している場合であれば、内容の重複するデータ要素が存在する可能性があるから、一部のデータ要素が破損しても他の同じ内容のデータ要素によって修復可能になることもある。あるいはまた、複数台の画像処理装置のデータをコンピュータ装置で一括して管理する場合に、共通するデータ要素を削除すれば複数組のデータを圧縮した形で記憶手段に格納することができる。しかも、複数台の画像処理装置で用いるデータを編集して一元化すればデータの管理が容易になる。
【0013】
その上、一連の画像処理に用いるデータ要素の集合をファイルとして一括管理するからデータの管理が容易である。
【0014】
請求項2に係る発明は、請求項1の発明において、前記編集手段が、データ要素ごとに上書きする機能と、1つのファイルにデータ要素を追加する機能と、データ要素ごとに削除する機能とを備えるものである。この構成によれば、データ要素ごとに置き換えたり追加したり削除したりすることによって、データを容易に編集することができる。
【0015】
請求項3に係る発明は、請求項1または請求項2の発明において、前記編集手段が前記記憶手段に複数個のファイルが存在するときにはファイル内のデータ要素を用いて別のファイルを新規に構成可能とする機能を備えるものである。この構成によれば、記憶手段に複数個のファイルが存在するときに既存のファイルから新たなファイルを生成することができ、画像処理装置と接続することなく画像処理装置の条件設定などが可能になる。この機能を用いれば、コンピュータ装置を画像処理装置に接続できない場所であってもコンピュータ装置に複数のファイルが存在していれば、画像処理装置の設定条件の設定を検討することが可能になる。
【0016】
請求項4に係る発明は、設定された条件で処理対象となる画像に画像処理を施す画像処理部および画像と画像処理の条件とをデータとして記憶するメモリを有した画像処理装置と、画像処理装置と双方向にデータ伝送が可能であるコンピュータ装置であって前記メモリに対して前記データの書込および読出を指示する指示操作部および前記メモリよりも記憶容量が大きく前記データが保存可能である記憶手段を有したコンピュータ装置とからなる画像処理システムのデータ編集方法であり、前記データを個々に指定可能なデータ要素に分割し、処理対象となる画像については1枚の画像である画像単位をデータ要素として扱うとともに、画像処理の条件については一連の画像処理を行うのに必要な条件である設定単位をデータ要素として扱い、前記メモリおよび前記記憶手段に対する書込および読出ならびにデータ伝送をデータ要素単位で行い、前記記憶手段には一連の画像処理に用いる画像単位と設定単位との組み合わせをまとめて1つのファイルとして格納し、前記画像処理装置では前記コンピュータ装置から指示された所要のデータ要素を前記メモリから読み出してコンピュータ装置に転送するとともにコンピュータ装置から転送されたデータ要素を前記メモリの所要箇所に書き込み、前記コンピュータ装置では前記記憶手段に格納された前記ファイルを前記データ要素の単位で編集することを特徴とする。
【0017】
この方法によれば、コンピュータ装置から指示された所要のデータをデータ要素ごとにコンピュータ装置に伝送するとともにコンピュータ装置から伝送されたデータ要素をメモリの所要箇所に書き込むから、画像処理装置のメモリに設定する全データをコンピュータ装置との間で伝送せずに、コンピュータ装置から指示された所要のデータ要素のみを伝送することができ、画像処理装置とコンピュータ装置との間でのデータの伝送に要する時間が全データを伝送する場合に比較すると短くなり、結果的にデータの転送時間を短くすることができる。とくに、コンピュータ装置でデータの編集ができるから、画像処理装置から修正の必要なデータ要素のみを抽出してコンピュータ装置において修正することができるから、画像処理装置からコンピュータ装置へのデータの転送に要する時間が短くなる。また、記憶手段に格納されたデータをコンピュータ装置で編集するから、画像処理装置との間でデータ伝送を行わない状態で記憶手段に格納されたデータを再編成することができ、この間にはデータの伝送を行わないから、データの転送の時間が不要になる。さらに、コンピュータ装置から画像処理装置へは所要のデータ要素のみを転送すればよいから、この場合にも全データを転送する場合よりも転送時間を短くすることができる。また、画像処理装置のデータのバックアップを行う際に、コンピュータ装置の記憶手段にすでに同じ内容のデータ要素が存在していれば、そのデータ要素を流用することでデータ要素の転送を省略することができ、それだけ画像処理装置からコンピュータ装置へのデータの転送時間を短くすることができる。
【0018】
コンピュータ装置の記憶装置は一般には画像処理装置のメモリよりも記憶容量が大きいから、画像処理装置に格納されているデータよりも容量の大きいデータを記憶装置に格納することが可能であって、冗長度を大きくとることが可能になる。たとえば、画像処理装置で一連の画像処理に用いるデータを記憶装置に複数組格納している場合であれば、内容の重複するデータ要素が存在する可能性があるから、一部のデータ要素が破損しても他の同じ内容のデータ要素によって修復可能になることもある。あるいはまた、複数台の画像処理装置のデータをコンピュータ装置で一括して管理する場合に、共通するデータ要素を削除すれば複数組のデータを圧縮した形で記憶手段に格納することができる。しかも、複数台の画像処理装置で用いるデータを編集して一元化すればデータの管理が容易になる。
【0019】
その上、一連の画像処理に用いるデータ要素の集合をファイルとして一括管理するからデータの管理が容易である。
【0020】
請求項5に係る発明は、請求項4の発明において、前記編集として、データ要素ごとに上書きする機能と、1つのファイルにデータ要素を追加する機能と、データ要素ごとに削除する機能とが可能であることを特徴とする。この方法によれば、データ要素ごとに置き換えたり追加したり削除したりすることによって、データを容易に編集することができる。
【0021】
請求項6に係る発明は、請求項4または請求項5の発明において、前記記憶手段に複数個のファイルが存在するときには、前記編集によりファイル内のデータ要素を用いて別のファイルを新規に構成可能であることを特徴とする。この方法によれば、記憶手段に複数個のファイルが存在するときに既存のファイルから新たなファイルを生成することができ、画像処理装置と接続することなく画像処理装置の条件設定などが可能になる。この機能を用いれば、コンピュータ装置を画像処理装置に接続できない場所であってもコンピュータ装置に複数のファイルが存在していれば、画像処理装置の設定条件の設定を検討することが可能になる。
【0022】
なお、画像処理装置における画像処理とは、画像内の対象物の外観からの良否判定(異物の付着、汚れ、欠損などについての良否判定)、あるいは画像内の対象物の位置検出などを意味する。また、画像処理装置において設定される条件とは、画像処理部を構成する各処理機能(たとえば、画素濃度の2値化、微分、エッジ検出、パターンマッチングなど)の各種パラメータ(たとえば、2値化であれば閾値、微分であれば微分の対象画素を8近傍とするか16近傍とするかなど)と、各処理機能の使用手順(どの処理機能をどのような順番で組み合わせるか)と、処理対象となる画像に対するテンプレートとを含む。
【0023】
【発明の実施の形態】
以下に説明する画像処理システムは、図1に示すように、画像処理装置1とコンピュータ装置(通常はパーソナルコンピュータを使用する)2とからなり、画像処理装置1とコンピュータ装置2との間では適宜の伝送路3によってデータ伝送可能になっている。図示例では有線の伝送路3を用いている。
【0024】
画像処理装置1は、対象物を撮像するTVカメラ11を備え、TVカメラ11により撮像された原画像(デジタル化された濃淡画像)を格納する2組の画像メモリ12a,12bを備える。画像メモリ12a,12bに格納された画像は、ROM13およびRAM14に格納されたプログラムに従って動作するCPU10により適宜の画像処理が施され、その結果がRAM14に格納される。また、原画像、処理中の画像、処理結果などを表示することができるようにCRTなどの表示装置15が接続可能であって、表示装置15に表示するための画像を保持する表示用画像メモリ16a,16bやルックアップテーブル16c、オーバーレイメモリ16dも画像処理装置1に設けられている。従来構成としても説明したように、画像処理の条件の設定などのために入力装置17が設けられており、入力装置17で設定された条件はRAM14に格納される。上述したCPU10、画像メモリ12a,12b、ROM13、RAM14、入力装置17により画像処理部が構成される。また、画像処理装置1にはコンピュータ装置2との間でデータ伝送を行うために通信インタフェース18が設けられる。この通信インタフェース18は、コンピュータ装置2において一般に使用されているRS−232C規格のインタフェースを採用している。ただし、通信インタフェースの規格はRS−232C規格に限らず双方向にデータ伝送が可能であれば適宜に選択することができる。
【0025】
ROM13およびRAM14は一連のアドレス空間内に設けられており(つまり、連続したアドレス空間の一部分がROM13のアドレスに割り当てられ、他部分がRAM14に割り当てられている)、メモリマップはたとえば図2のようになる。ROM13(図2(a))およびRAM14(図2(b))には、プログラムとしてシステムプログラムおよびカスタマイズ用プログラムとが格納される。カスタマイズ用プログラムは画像処理装置1の機能向上や仕様変更などの際に設定される。また、ROM13には機器設定、検査手順設定、テンプレートが格納され、RAM14には検査手順設定、テンプレート、画像が格納される。ROM13にはEEPROMのように書換可能なものを用いることで、機器設定の変更が可能になっている。また、電源投入時にROM13からRAM14に所要のデータおよびプログラムが複写されることにより、動作中にはRAM14のデータおよびプログラムが使用される。また、ROM13に設定された機器設定に関するデータは電源投入時にプログラムの各パラメータとして割り付けられる。RAM14には、処理中に使用されるスタックエリアおよびワークエリアも設けられる。
【0026】
ところで、図3に示すように、カスタマイズ用プログラムはデータ管理手段として機能するデータ管理プログラムPR1を含み、データ管理プログラムPR1は、コンピュータ装置2から伝送されるデータをROM13およびRAM14よりなる物理メモリMに展開して格納する処理や、コンピュータ装置2からの指示に従ってROM13やRAM14に格納されているデータを収集して通信インタフェース18に引き渡す機能を有している。データ管理プログラムPR1は、画像処理装置1の入力装置17の操作によって起動することが可能であり、たとえば表示装置15に表示されるメニューからデータ管理プログラムPR1を選択して起動することができる。つまり、コンピュータ装置2からの指示ではなく、画像処理装置1からデータ管理プログラムPR1を起動し、所要のデータをコンピュータ装置2に転送することが可能になっている。
【0027】
一方、コンピュータ装置2は、図1に示すように、記憶装置21の一部を構成するメモリに格納されたプログラムに従って動作するCPU20を備え、キーボードやマウスのような入力装置22およびCRTなどの表示装置23を備える。つまり、入力装置22および表示装置23により表示操作部が構成されている。また、記憶装置21は記憶手段として画像処理装置1の物理メモリよりも充分に大きい記憶容量を有するハードディスク装置あるいは光磁気ディスク装置なども含む。コンピュータ装置2には画像処理装置1との間でデータ伝送を行うために通信インタフェース24が設けられ、通信インタフェース24としては、コンピュータ装置2において一般に使用されているRS−232C規格のインタフェースを採用している。ただし、通信インタフェースの規格はRS−232C規格に限らず画像処理装置1との間で双方向にデータ伝送が可能であれば適宜に選択することができる。
【0028】
コンピュータ装置2においては、通信アプリケーションPR2が設けられており、通信アプリケーションPR2は、画像処理装置1のデータ管理プログラムPR1に対して、物理メモリMに格納されている所要のデータを収集するとともに、収集したデータをコンピュータ装置2に転送するように指示する機能を有している。また、通信アプリケーションPR2は、画像処理装置1から転送されたデータを記憶装置(ハードディスク装置など)21に格納する機能も有している。この機能をバックアップ機能と呼ぶ。ここにおいて、記憶装置21においては、バックアップ機能を1回用いて収集した一連のデータを一つのファイルとしてまとめて記憶するようになっている。
【0029】
さらに、通信アプリケーションPR2は、記憶装置21に格納されているデータのうち入力装置22および表示装置23を用いて指示されたデータを記憶装置21から読み出して通信インタフェース24に引き渡し、通信インタフェース24を介して画像処理装置1に転送する機能を有する。この機能をリストア機能と呼ぶ。
【0030】
コンピュータ装置2には、編集手段として機能する編集アプリケーションPR3も設けられており、編集アプリケーションPR3では、記憶装置21に格納されているデータの追加・削除・上書きが可能であり、また新規にファイルを作成することも可能になっている。これらの機能については後述する。
【0031】
ところで、本実施形態においては、データを所定のまとまりごとにデータ要素として分割した形で扱うようになっている。ここで、所定のまとまりとは、画像処理の条件については一連の画像処理を行うのに必要な条件(設定単位という)であり、画像については1枚の画像(画像単位という)を意味する。つまり、画像処理装置1とコンピュータ装置2との間でのデータ伝送の際であれば、1つのデータ要素は一括して伝送するようにし、1回の通信で少なくとも1個のデータ要素を伝送する。また、データ管理プログラムPR1は物理メモリMに対してデータ要素ごとにデータの読出と書込とを行い、通信アプリケーションPR2は記憶装置21に対してデータ要素ごとに読出と書込とを行う。
【0032】
図3においては編集アプリケーションPR3において、最上段のファイルF1が追加、中段のファイルF2が削除、最下段のファイルF3が新規作成の場合をそれぞれ示している。いま、画像処理装置1において物理メモリMに3種類のデータ要素U1〜U3が存在し、画像処理装置1とコンピュータ装置2との間でデータ要素U1,U3またはデータ要素U2,U3の伝送を行うものとする。
【0033】
ここで、図3に従って編集アプリケーションPR3の機能を用いて追加、削除、新規作成を順に行う場合について説明する。まず、コンピュータ装置2から画像処理装置1に対してデータ要素U1,U3の転送が要求されると、データ管理プログラムPR1は物理メモリMからデータ要素U1,U3を収集してデータ通信によりコンピュータ装置2の通信アプリケーションPR2に引き渡す。ここで、通信アプリケーションPR2は、記憶装置21にデータ要素U1,U3を1つのファイルとして格納する。次に、同様にしてデータ要素U2,U3が要求されると、データ要素U2,U3が1つのファイルとして記憶装置21に格納される。ただし、両ファイルにおいてはデータ要素U3が共通であるから、データ要素U2を先のファイルに追加すれば、すべてのデータ要素U1〜U3を持つファイルF1を作成することができる。また、データ要素U2,U3を含むファイルからデータ要素U2を削除すれば、データ要素U3のみのファイルF2を作成することができる。このように、複数回のデータ伝送を行ったときに記憶装置21に格納されているファイルに存在しないデータ要素のみを抽出して追加すれば、データの重複を避けることができる。また、他のファイルF1に追加したデータ要素U2を削除することで、ファイルF2の容量は小さくなる。ここで、記憶装置21に同じデータ要素U3を残しておくことで、冗長度を大きくすることができ、いずれかのファイルF1,F2のデータ要素U3が破壊されても修復できることになる。
【0034】
上述した機能はバックアップの場合であるが、リストアの場合には必要なデータ要素を記憶装置21から読み出して画像処理装置1に転送すれば、画像処理装置1のデータ管理アプリケーションPR1がデータ要素を物理メモリMに展開して保存することになる。
【0035】
さらに、新規作成の際には、記憶装置21に格納されているファイルに含まれるデータ要素U1,U2を適宜に組み合わせることで、他のファイルF1,F2にはないデータ要素の組み合わせを有する新たなファイルF3を作成することができる。この場合には、記憶装置21にすでに格納されているデータ要素を用いて新たなファイルF3を作成するから、画像処理装置1との通信は不要である。こうして作成されたファイルF3は画像処理装置1に転送することが可能である。また、記憶装置21に格納されたファイルを構成するデータ要素であっても、画像処理装置1の物理メモリMにすでに存在しているデータ要素については、転送する必要がないから、ファイルを構成するデータ要素のうちの一部のみをデータ要素ごとに転送することも可能になっている。たとえば、ファイルF3はデータ要素U1,U2からなるが、画像処理装置1においてデータ要素U1が既存であれば、データ要素U2のみを画像処理装置1に転送してもよい。
【0036】
以下に、画像処理装置1からコンピュータ装置2にデータを転送して記憶装置21に格納する処理(バックアップ)、記憶装置21に格納されたデータを編集する処理(編集)、コンピュータ装置2から画像処理装置1にデータを転送して物理メモリMに展開する処理(リストア)について、それぞれ手順と具体例を示す。
【0037】
バックアップは、図4に示す手順で行われる。まず、コンピュータ装置2によって画像処理装置1との接続を確立して通信を開始する(S1)。次に、コンピュータ装置2において入力装置22および表示装置23を用いて画像処理装置1から収集すべきデータ要素を指定する(S2)。その後、指定したデータ要素を含む転送命令を作成して(S3)、画像処理装置1に対して転送を要求する(S4)。なお本実施形態においては、図5、図6に示すように、データ要素としての検査手順設定が256通り、テンプレートが64通り、画像が64枚までコンピュータ装置2に登録可能になっている。図示例において「(設定済)」とあるのは、すでに内容が設定されていることを示す。しかして、図5にあるように、検査手順設定から2番と4番とを指定し、テンプレートから2番を指定し、画像から63番と64番とを指定すれば、図4に示すように、画像処理装置1のデータ管理プログラムPR1がデータの収集(S5)と、データの転送(S6)とを行い、コンピュータ装置2において指定したデータ要素を受け取ることができる。こうしてコンピュータ装置2が受け取ったデータ要素は1つのファイル(バックアップファイル)F10にまとめられ、記憶装置21に格納される(S7)。記憶装置21へのファイルF10の保存後には通信を終了して(S8)、バックアップの処理が終了する。なお、図6は指定したデータ要素が異なるだけであって処理手順は同様である。以下での説明のために、図6において保存されたファイルはF11とする。また、異なるデータ要素を指定してバックアップの処理を複数回行えば、1回当たりの転送時間を短くしながらも、画像処理装置1の所要のデータ要素をコンピュータ装置2にすべて保存することが可能である。たとえば、画像処理装置1のすべてのデータ要素を収集することも可能である。
【0038】
バックアップの処理が複数回行われると、記憶装置21には複数のファイルが保存される。編集の処理は、これらのファイルに対して施される。本実施形態では、編集の機能として、上述した追加、削除、新規作成のほか上書きも可能になっている。編集に際しては、図7に示すように、まず編集の対象となるファイルをコピー元とコピー先として選択する(S1)。つまり、どのファイルの内容をどのファイルに追加ないし上書きするかを選択する。削除の場合はコピー先のファイルの指定は不要であり、新規作成の場合は新規に作成されるファイルがコピー先のファイルになり、既存のファイルのデータ要素を組み合わせて新規のファイルを作成することができる。
【0039】
次にコピー元のファイルからデータ要素を選択し(S2)、さらにどのような編集を行うかを選択する(S3)。つまり、上書き・追加・削除が選択される。ここで、コピー元のファイルで選択したデータ要素は、コピー先のファイルの同種類のデータ要素になる。コピー元のファイルにおいてデータ要素として機器設定、検査設定手順、テンプレート、画像のそれぞれを選択すれば、コピー先のファイルにおいて機器設定、検査設定手順、テンプレート、画像の各対応領域にデータ要素が書き込まれる。このようにして編集されたファイルは記憶装置21に保存される。
【0040】
以下に、編集の具体例を示す。まず、記憶装置21に格納された2個のファイルF10,F11に対して、編集アプリケーションPR3によって所要のデータ要素を指定して上書きを行う場合について説明する。図8(a)はファイルF11の検査手順設定3をファイルF10の検査手順設定4で上書きし、ファイルF11の画像2をファイルF10の画像64で上書きする場合を示している。この処理によって、ファイルF11の検査手順設定3が検査手順設定4に置換されるとともに画像2が画像64に置換される。
【0041】
また、ファイルF11にファイルF10の検査手順設定2とテンプレート2と画像64とを追加する場合には、図8(b)に示すように、ファイルF11の内容に指定したデータ要素を追加したファイルF11が生成されることになる。
【0042】
図8(c)はファイルF11からデータ要素である検査手順設定3を削除する場合を示している。
【0043】
リストアは、図9に示す手順の処理になる。まず、コンピュータ装置2によって画像処理装置1との接続を確立して通信を開始する(S1)。次に、コンピュータ装置2において入力装置22および表示装置23を用いて記憶装置21に格納してあるファイルからデータ要素を選択する。このとき、各データ要素は画像処理装置1の物理メモリMの同種類のデータ要素を格納した領域に配置されるが、データ要素を物理メモリMの各領域の中でどの順に配置するかを指定することもできる(S2)。たとえば、検査設定手順3を領域内で5番目の位置に配置することが可能である。その後、指定したデータ要素を含むリストアの命令を作成して(S3)、画像処理装置1に対して転送する(S4)。
【0044】
コンピュータ装置2からリストアの命令およびリストアするデータ要素を受け取った画像処理装置1では、データ配置制限の検査を行う(S5)。たとえば、指定された領域にすでにデータが存在しているなどでリストアファイルのデータを配置することができない状態になっていないか、あるいはメモリ容量が不足していないかなどの検査が行われる。もし、この検査で不都合が発見されると、コンピュータ装置2にエラー(上書き警告や書込み禁止エラーなど)の通知が行われる。
【0045】
データ配置制限の検査で不都合が発見されなければ、データ管理プログラムPR1は、データ要素を物理メモリMに配置する(S6)。こうしてデータ要素が物理メモリMに配置された後、通信を終了して(S7)、リストアの処理が終了する。
【0046】
いま、図10に示すように、検査手順設定4、テンプレート2、画像64を含むファイルF11が記憶装置21に存在するときに、これらのデータ要素を画像処理装置1に転送するものする。ここで、これらのデータ要素は編集によって他のファイルF10から追加されたものを想定している(つまり、上述したファイルF11にファイルF10からデータ要素を追加して得たファイルF11を想定している)。ただし、ファイルF11が編集されたものか否かは本質的な問題ではなく、上記データ要素を含むものであればどのファイルを用いてもよい。
【0047】
しかして、これらのデータ要素を画像処理装置1に転送して物理メモリMにリストアすると、各データ要素が物理メモリMの検査手順設定の領域、テンプレートの領域、画像の領域にそれぞれ書き込まれるのである。
【0048】
以上説明したように、データを比較的小さい容量のデータ要素に分割して扱うようにし、しかもコンピュータ装置2と画像処理装置1との間で必要なデータ要素のみを転送するから、1回の通信時間を短くすることができる。つまり、高速な通信インタフェースを用いることなくデータの伝送時間を短くすることができる。
【0049】
また、変更されたデータのみの転送が可能になるので、伝送するデータ量を格段に減少させることができる。また、伝送するデータ量の低減が可能になるので、記憶装置21に格納するファイルの容量も小さくなってファイル管理が容易になる。さらに、データ要素単位でデータの管理を行うから、一部のデータが破損しても他のデータは使用可能となり、バックアップファイル自体の堅牢度が向上する。これにより、バックアップファイルの部分的破損対策が可能になる。
【0050】
ところで、本実施形態では、上述したようにコンピュータ装置2の記憶装置21に複数のファイルが存在する場合には、ファイルを構成するデータ要素を組み合わせることで新規にファイルを作成することが可能になっている。たとえば、図11に示すように、ファイルF10,F11が存在するときに、両ファイルF10,F11から適宜のデータ要素を抽出して新たなファイルF12を作成することが可能になるのである。このようにして作成したファイルF12からも図12に示すようにデータ要素を画像処理装置1に転送することが可能になる。つまり、コンピュータ装置2の記憶装置21に複数のファイルが存在していれば、画像処理装置1と接続しなくてもファイルを編集することが可能になる。したがって、たとえば画像処理装置1を設定する知識を有する作業員がコンピュータ装置2はあるが画像処理装置1とは接続できない環境にいる場合でも、画像処理装置1の新たな設定を検討することが可能になる。
【0051】
【発明の効果】
請求項1に係る発明の構成によれば、コンピュータ装置から指示された所要のデータをデータ要素ごとにコンピュータ装置に伝送するとともにコンピュータ装置から伝送されたデータ要素をメモリの所要箇所に書き込むから、画像処理装置のメモリに設定する全データをコンピュータ装置との間で伝送せずに、コンピュータ装置から指示された所要のデータ要素のみを伝送することができ、画像処理装置とコンピュータ装置との間でのデータの伝送に要する時間が全データを伝送する場合に比較すると短くなり、結果的にデータの転送時間を短くすることができるという利点がある。とくに、コンピュータ装置が編集手段を備えていることによって、画像処理装置から修正の必要なデータ要素のみを抽出してコンピュータ装置において修正することができるから、画像処理装置からコンピュータ装置へのデータの転送に要する時間が短くなる。また、記憶手段に格納されたデータをコンピュータ装置で編集するから、画像処理装置との間でデータ伝送を行わない状態で記憶手段に格納されたデータを再編成することができ、この間にはデータの伝送を行わないから、データの転送の時間が不要になる。さらに、コンピュータ装置から画像処理装置へは所要のデータ要素のみを転送すればよいから、この場合にも全データを転送する場合よりも転送時間を短くすることができる。また、画像処理装置のデータのバックアップを行う際に、コンピュータ装置の記憶手段にすでに同じ内容のデータ要素が存在していれば、そのデータ要素を流用することでデータ要素の転送を省略することができ、それだけ画像処理装置からコンピュータ装置へのデータの転送時間を短くすることができる。
【0052】
コンピュータ装置の記憶装置は一般に画像処理装置のメモリよりも記憶容量が大きいから、画像処理装置に格納されているデータよりも容量の大きいデータを記憶装置に格納することが可能であって、冗長度を大きくとることが可能になる。たとえば、画像処理装置で一連の画像処理に用いるデータを記憶装置に複数組格納している場合であれば、内容の重複するデータ要素が存在する可能性があるから、一部のデータ要素が破損しても他の同じ内容のデータ要素によって修復可能になることもある。あるいはまた、複数台の画像処理装置のデータをコンピュータ装置で一括して管理する場合に、共通するデータ要素を削除すれば複数組のデータを圧縮した形で記憶手段に格納することができる。しかも、複数台の画像処理装置で用いるデータを編集して一元化すればデータの管理が容易になる。
【0053】
その上、一連の画像処理に用いるデータ要素の集合をファイルとして一括管理するからデータの管理が容易であるという利点がある。
【0054】
請求項2に係る発明は、編集手段が、データ要素ごとに上書きする機能と、1つのファイルにデータ要素を追加する機能と、データ要素ごとに削除する機能とを備えるものであり、データ要素ごとに置き換えたり追加したり削除したりすることによって、データを容易に編集することができるという利点がある。
【0055】
請求項3に係る発明は、編集手段が前記記憶手段に複数個のファイルが存在するときにはファイル内のデータ要素を用いて別のファイルを新規に構成可能とする機能を備えるものであり、記憶手段に複数個のファイルが存在するときに既存のファイルから新たなファイルを生成することができ、画像処理装置と接続することなく画像処理装置の条件設定などが可能になり、この機能を用いれば、コンピュータ装置を画像処理装置に接続できない場所であってもコンピュータ装置に複数のファイルが存在していれば、画像処理装置の設定条件の設定を検討することが可能になるという利点がある。
【0056】
請求項4に係る発明の構成によれば、コンピュータ装置から指示された所要のデータをデータ要素ごとにコンピュータ装置に伝送するとともにコンピュータ装置から伝送されたデータ要素をメモリの所要箇所に書き込むから、画像処理装置のメモリに設定する全データをコンピュータ装置との間で伝送せずに、コンピュータ装置から指示された所要のデータ要素のみを伝送することができ、画像処理装置とコンピュータ装置との間でのデータの伝送に要する時間が全データを伝送する場合に比較すると短くなり、結果的にデータの転送時間を短くすることができるという利点がある。とくに、コンピュータ装置でデータの編集ができるから、画像処理装置から修正の必要なデータ要素のみを抽出してコンピュータ装置において修正することができるから、画像処理装置からコンピュータ装置へのデータの転送に要する時間が短くなる。また、記憶手段に格納されたデータをコンピュータ装置で編集するから、画像処理装置との間でデータ伝送を行わない状態で記憶手段に格納されたデータを再編成することができ、この間にはデータの伝送を行わないから、データの転送の時間が不要になる。さらに、コンピュータ装置から画像処理装置へは所要のデータ要素のみを転送すればよいから、この場合にも全データを転送する場合よりも転送時間を短くすることができる。また、画像処理装置のデータのバックアップを行う際に、コンピュータ装置の記憶手段にすでに同じ内容のデータ要素が存在していれば、そのデータ要素を流用することでデータ要素の転送を省略することができ、それだけ画像処理装置からコンピュータ装置へのデータの転送時間を短くすることができる。
【0057】
コンピュータ装置の記憶装置は一般に画像処理装置のメモリよりも記憶容量が大きいから、画像処理装置に格納されているデータよりも容量の大きいデータを記憶装置に格納することが可能であって、冗長度を大きくとることが可能になる。たとえば、画像処理装置で一連の画像処理に用いるデータを記憶装置に複数組格納している場合であれば、内容の重複するデータ要素が存在する可能性があるから、一部のデータ要素が破損しても他の同じ内容のデータ要素によって修復可能になることもある。あるいはまた、複数台の画像処理装置のデータをコンピュータ装置で一括して管理する場合に、共通するデータ要素を削除すれば複数組のデータを圧縮した形で記憶手段に格納することができる。しかも、複数台の画像処理装置で用いるデータを編集して一元化すればデータの管理が容易になる。
【0058】
その上、一連の画像処理に用いるデータ要素の集合をファイルとして一括管理するからデータの管理が容易であるという利点がある。
【0059】
請求項5に係る発明は、編集として、データ要素ごとに上書きする機能と、1つのファイルにデータ要素を追加する機能と、データ要素ごとに削除する機能とが可能であることを特徴とし、データ要素ごとに置き換えたり追加したり削除したりすることによって、データを容易に編集することができるという利点がある。
【0060】
請求項6に係る発明は、記憶手段に複数個のファイルが存在するときには、編集によりファイル内のデータ要素を用いて別のファイルを新規に構成可能であることを特徴とし、記憶手段に複数個のファイルが存在するときに既存のファイルから新たなファイルを生成することができ、画像処理装置と接続することなく画像処理装置の条件設定などが可能になり、この機能を用いれば、コンピュータ装置を画像処理装置に接続できない場所であってもコンピュータ装置に複数のファイルが存在していれば、画像処理装置の設定条件の設定を検討することが可能になるという利点がある。
【図面の簡単な説明】
【図1】本発明の実施の形態を示すブロック図である。
【図2】同上に用いる物理メモリのメモリマップを示す図である。
【図3】同上におけるデータ要素の流れを示す動作説明図である。
【図4】同上におけるバックアップの処理手順を示す動作説明図である。
【図5】同上におけるバックアップによるデータ要素の流れを示す動作説明図である。
【図6】同上におけるバックアップによるデータ要素の流れを示す動作説明図である。
【図7】同上における編集の処理手順を示す動作説明図である。
【図8】同上における編集によるデータ要素の流れを示す動作説明図である。
【図9】同上におけるリストアの処理手順を示す動作説明図である。
【図10】同上におけるリストアによるデータ要素の流れを示す動作説明図である。
【図11】同上において複数のファイルから新規にファイルを生成するときのデータ要素の流れを示す動作説明図である。
【図12】図11におけるファイルからのリストアによるデータ要素の流れを示す動作説明図である。
【図13】従来のデータの流れを示す動作説明図である。
【符号の説明】
1 画像処理装置
2 コンピュータ装置
10 CPU
11 TVカメラ
13 ROM
14 RAM
18 通信インタフェース
20 CPU
21 記憶装置
22 入力装置
23 表示装置
PR1 データ管理プログラム
PR2 通信アプリケーション
PR3 編集アプリケーション
U1〜U3 データ要素
F1〜F3 ファイル
F10〜F12 ファイル[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing system including an image processing apparatus capable of bidirectional data transmission and a computer apparatus, and a data editing method thereof.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there has been provided an image processing apparatus that inspects the appearance of an object or specifies the position of the object by performing various types of image processing on the image of the object captured by a TV camera or the like. . This type of image processing apparatus is mainly used for various appearance inspections such as inspection of defects on the production line for the presence or absence of dirt or scratches on the product, or inspection of mounting positions of components. By the way, in the image processing, binarization processing for binarizing a grayscale image, a differential absolute value (density change rate) or a differential direction value (generally a direction where the density change is maximum or orthogonal to the direction from the grayscale image. Various processing such as differentiation processing to obtain (direction), processing to obtain edge, thinning processing to make the pixel width of edge constant, position detection processing to obtain center of gravity and principal axis of inertia, search processing to obtain similarity to template, or pattern matching processing In an image processing apparatus that can be used for general purposes, it is possible to appropriately select these various processes and set the order in which the processes are applied. That is, the inspection procedure can be set. In addition, for example, a threshold value for the density of the binarization process is set as a parameter (device setting). Further, template setting is required for template processing and search processing. These parameters, inspection procedure, and template are set as image processing conditions for the image processing apparatus.
[0003]
The image processing conditions described above can be set in the image processing apparatus, but in order to manage the settings and backup, the image processing is performed by connecting a computer device capable of data transmission with the image processing apparatus. A system has been proposed.
[0004]
In addition, in defect inspection and the like, it may be possible to extract the cause of the defect by comparing the image processed by the image processing apparatus with the inspection result, and therefore the image processing apparatus can also take a history of the image. The number of degrees is retained. However, in general, the storage means for storing images in the image processing apparatus is only a physical memory, so it cannot hold a large number of images, and a storage device of a computer device is also used to hold a sufficient number of images. Is desirable.
[0005]
That is, there has been proposed an image processing system capable of bidirectional data transmission between an image processing apparatus and a computer apparatus (for example, JP-A-2-21376), and between an image processing apparatus and a computer apparatus. The image processing conditions and the image can be transmitted as data. Here, backup is performed to transfer data from the image processing apparatus to the computer apparatus and stored in the storage apparatus, and data stored in the storage apparatus is transferred from the computer apparatus to the image processing apparatus and stored in the physical memory of the image processing apparatus. This is called restoration.
[0006]
[Problems to be solved by the invention]
By the way, in the image processing system described above, data consisting of image processing conditions (device settings, inspection procedure settings, templates) and images are collectively transmitted between the image processing apparatus and the computer apparatus, and backup is performed. At that time, each type is stored in a storage device, and at the time of restoration, it is stored in an area defined for each type.
[0007]
That is, as shown in FIG. 13, data is stored in a physical memory M composed of a
[0008]
Such a batch transmission of data is not particularly problematic when the amount of data is small, but recently the memory capacity in the image processing apparatus has increased with the complexity of image processing, If the inspection history is used to accurately extract the cause of the defect, a large number of images are required. This also increases the memory capacity. Therefore, the amount of data exchanged between the image processing apparatus and the computer apparatus is eventually increased, and the time required for data transmission is increasing.
[0009]
The present invention has been made in view of the above-described reasons, and an object of the present invention is to reduce the time required for data transmission between the image processing apparatus and the computer apparatus and to connect the image processing apparatus. It is another object of the present invention to provide an image processing system capable of editing data only by a computer apparatus and a data editing method thereof.
[0010]
[Means for Solving the Problems]
The invention according to
[0011]
According to this configuration, the required data instructed from the computer device is transmitted to the computer device for each data element, and the data element transmitted from the computer device is written to the required location in the memory, so that it is set in the memory of the image processing device. Time required to transmit data between the image processing apparatus and the computer apparatus, without transmitting all the data to be transmitted between the image processing apparatus and the computer apparatus. Compared with the case of transmitting all data, the data transfer time can be shortened. In particular, since the computer apparatus includes the editing means, only the data elements that need to be corrected can be extracted from the image processing apparatus and corrected in the computer apparatus, so that data transfer from the image processing apparatus to the computer apparatus is possible. Takes less time. In addition, since the data stored in the storage means is edited by the computer device, the data stored in the storage means can be reorganized without data transmission with the image processing apparatus. Therefore, the data transfer time is not required. Furthermore, since only necessary data elements need to be transferred from the computer apparatus to the image processing apparatus, the transfer time can be shortened in this case as compared with the case of transferring all data. Further, when the data of the image processing apparatus is backed up, if there is already a data element having the same contents in the storage means of the computer apparatus, the transfer of the data element may be omitted by diverting the data element. Therefore, the data transfer time from the image processing apparatus to the computer apparatus can be shortened accordingly.
[0012]
Since the storage device of a computer device generally has a larger storage capacity than the memory of the image processing device, it is possible to store data having a larger capacity than the data stored in the image processing device in the storage device, and it is redundant. It becomes possible to take a large degree. For example, in the case where a plurality of sets of data used for a series of image processing are stored in the storage device in the image processing device, there may be data elements with overlapping contents, and some data elements are damaged. But it can be repaired by other data elements of the same content. Alternatively, when data of a plurality of image processing apparatuses are collectively managed by a computer apparatus, a plurality of sets of data can be stored in the storage means in a compressed form by deleting common data elements. Moreover, if data used by a plurality of image processing apparatuses is edited and unified, data management becomes easy.
[0013]
Moreover, Since a set of data elements used for a series of image processing is collectively managed as a file, data management is easy.
[0014]
[0015]
[0016]
[0017]
According to this method, the required data instructed from the computer device is transmitted to the computer device for each data element, and the data element transmitted from the computer device is written to the required location in the memory, so that it is set in the memory of the image processing device. Time required to transmit data between the image processing apparatus and the computer apparatus, without transmitting all the data to be transmitted between the image processing apparatus and the computer apparatus. Compared with the case of transmitting all data, the data transfer time can be shortened. In particular, since the data can be edited by the computer device, only the data elements that need to be corrected can be extracted from the image processing device and can be corrected by the computer device, so that it is necessary to transfer the data from the image processing device to the computer device. Time is shortened. In addition, since the data stored in the storage means is edited by the computer device, the data stored in the storage means can be reorganized without data transmission with the image processing apparatus. Therefore, the data transfer time is not required. Furthermore, since only necessary data elements need to be transferred from the computer apparatus to the image processing apparatus, the transfer time can be shortened in this case as compared with the case of transferring all data. Further, when the data of the image processing apparatus is backed up, if there is already a data element having the same contents in the storage means of the computer apparatus, the transfer of the data element may be omitted by diverting the data element. Therefore, the data transfer time from the image processing apparatus to the computer apparatus can be shortened accordingly.
[0018]
Since the storage device of a computer device generally has a larger storage capacity than the memory of the image processing device, it is possible to store data having a larger capacity than the data stored in the image processing device in the storage device, and it is redundant. It becomes possible to take a large degree. For example, in the case where a plurality of sets of data used for a series of image processing are stored in the storage device in the image processing device, there may be data elements with overlapping contents, and some data elements are damaged. But it can be repaired by other data elements of the same content. Alternatively, when data of a plurality of image processing apparatuses are collectively managed by a computer apparatus, a plurality of sets of data can be stored in the storage means in a compressed form by deleting common data elements. Moreover, if data used by a plurality of image processing apparatuses is edited and unified, data management becomes easy.
[0019]
Moreover, Since a set of data elements used for a series of image processing is collectively managed as a file, data management is easy.
[0020]
Claim 5 The invention according to
[0021]
[0022]
Note that image processing in the image processing apparatus means quality determination from the appearance of an object in the image (quality determination regarding adhesion of foreign matter, dirt, defects, etc.) or position detection of the object in the image. . The conditions set in the image processing apparatus are various parameters (for example, binarization) of each processing function (for example, binarization of pixel density, differentiation, edge detection, pattern matching, etc.) constituting the image processing unit. If so, threshold, and if differentiation, the target pixel of differentiation should be 8 or 16), the usage procedure of each processing function (which processing functions are combined in what order), and processing And a template for the target image.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
As shown in FIG. 1, the image processing system described below includes an
[0024]
The
[0025]
The
[0026]
As shown in FIG. 3, the customization program includes a data management program PR1 that functions as data management means. The data management program PR1 transfers data transmitted from the
[0027]
On the other hand, as shown in FIG. 1, the
[0028]
In the
[0029]
Further, the communication application PR2 reads out the data instructed by using the
[0030]
The
[0031]
By the way, in this embodiment, data is handled in a form divided into data elements for each predetermined unit. Here, the predetermined unit is a condition (referred to as a setting unit) necessary for performing a series of image processing for the image processing condition, and means one image (referred to as an image unit) for the image. That is, in the case of data transmission between the
[0032]
FIG. 3 shows a case where the uppermost file F1 is added, the middle file F2 is deleted, and the lowermost file F3 is newly created in the editing application PR3. Now, there are three types of data elements U1 to U3 in the physical memory M in the
[0033]
Here, a case where addition, deletion, and new creation are sequentially performed using the function of the editing application PR3 will be described with reference to FIG. First, when the
[0034]
The above-described function is for backup. In the case of restoration, if a necessary data element is read from the
[0035]
Furthermore, when creating a new file, the data elements U1 and U2 included in the file stored in the
[0036]
In the following, a process of transferring data from the
[0037]
The backup is performed according to the procedure shown in FIG. First, the
[0038]
When the backup process is performed a plurality of times, a plurality of files are stored in the
[0039]
Next, a data element is selected from the copy source file (S2), and what kind of editing is to be performed is selected (S3). That is, overwrite / add / delete is selected. Here, the data element selected in the copy source file is the same type of data element in the copy destination file. If device settings, inspection setting procedures, templates, and images are selected as data elements in the copy source file, the data elements are written in the corresponding areas of the device settings, inspection setting procedures, templates, and images in the copy destination file. . The file edited in this way is stored in the
[0040]
A specific example of editing is shown below. First, a case will be described in which two files F10 and F11 stored in the
[0041]
Further, when adding the inspection procedure setting 2 of the file F10, the
[0042]
FIG. 8C shows a case where the inspection procedure setting 3 which is a data element is deleted from the file F11.
[0043]
Restoration is performed according to the procedure shown in FIG. First, the
[0044]
The
[0045]
If no inconvenience is found in the data placement restriction check, the data management program PR1 places the data element in the physical memory M (S6). After the data elements are thus arranged in the physical memory M, the communication is terminated (S7), and the restoration process is terminated.
[0046]
Now, as shown in FIG. 10, when a file F 11 including the inspection procedure setting 4, the
[0047]
Thus, when these data elements are transferred to the
[0048]
As described above, data is divided into relatively small data elements and handled, and only necessary data elements are transferred between the
[0049]
Also, since only changed data can be transferred, the amount of data to be transmitted can be significantly reduced. Further, since the amount of data to be transmitted can be reduced, the capacity of the file stored in the
[0050]
By the way, in this embodiment, when there are a plurality of files in the
[0051]
【The invention's effect】
Invention according to
[0052]
Since the storage device of a computer device generally has a larger storage capacity than the memory of the image processing device, it is possible to store data having a larger capacity than the data stored in the image processing device in the storage device. It becomes possible to take large. For example, in the case where a plurality of sets of data used for a series of image processing are stored in the storage device in the image processing device, there may be data elements with overlapping contents, and some data elements are damaged. But it can be repaired by other data elements of the same content. Alternatively, when data of a plurality of image processing apparatuses are collectively managed by a computer apparatus, a plurality of sets of data can be stored in the storage means in a compressed form by deleting common data elements. Moreover, if data used by a plurality of image processing apparatuses is edited and unified, data management becomes easy.
[0053]
Moreover, Since a set of data elements used for a series of image processing is collectively managed as a file, there is an advantage that data management is easy.
[0054]
[0055]
[0056]
[0057]
Since the storage device of a computer device generally has a larger storage capacity than the memory of the image processing device, it is possible to store data having a larger capacity than the data stored in the image processing device in the storage device. It becomes possible to take large. For example, in the case where a plurality of sets of data used for a series of image processing are stored in the storage device in the image processing device, there may be data elements with overlapping contents, and some data elements are damaged. But it can be repaired by other data elements of the same content. Alternatively, when data of a plurality of image processing apparatuses are collectively managed by a computer apparatus, a plurality of sets of data can be stored in the storage means in a compressed form by deleting common data elements. Moreover, if data used by a plurality of image processing apparatuses is edited and unified, data management becomes easy.
[0058]
Moreover, Since a set of data elements used for a series of image processing is collectively managed as a file, there is an advantage that data management is easy.
[0059]
Claim 5 Inventions related to Hen As a collection, it is possible to have a function to overwrite each data element, a function to add a data element to one file, and a function to delete each data element. By deleting the data, there is an advantage that data can be easily edited.
[0060]
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a diagram showing a memory map of a physical memory used in the above.
FIG. 3 is an operation explanatory diagram showing the flow of data elements in the above.
FIG. 4 is an operation explanatory diagram showing a backup processing procedure in the above.
FIG. 5 is an operation explanatory diagram showing a flow of data elements by backup in the same as above.
FIG. 6 is an operation explanatory diagram showing the flow of data elements by backup in the same as above.
FIG. 7 is an operation explanatory view showing the editing processing procedure in the above.
FIG. 8 is an operation explanatory diagram showing a flow of data elements by editing in the same as above.
FIG. 9 is an operation explanatory diagram showing a restoration processing procedure in the above.
FIG. 10 is an operation explanatory diagram showing a flow of data elements by restoration in the same as above.
FIG. 11 is an operation explanatory diagram showing the flow of data elements when a new file is generated from a plurality of files in the same as above.
12 is an operation explanatory diagram showing a flow of data elements by restoration from the file in FIG. 11. FIG.
FIG. 13 is an operation explanatory diagram showing a conventional data flow.
[Explanation of symbols]
1 Image processing device
2 Computer equipment
10 CPU
11 TV camera
13 ROM
14 RAM
18 Communication interface
20 CPU
21 Storage device
22 Input device
23 Display device
PR1 data management program
PR2 communication application
PR3 editing application
U1-U3 data elements
F1-F3 files
F10 to F12 files
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP36568999A JP4195955B2 (en) | 1999-12-22 | 1999-12-22 | Image processing system and data editing method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP36568999A JP4195955B2 (en) | 1999-12-22 | 1999-12-22 | Image processing system and data editing method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001184480A JP2001184480A (en) | 2001-07-06 |
| JP4195955B2 true JP4195955B2 (en) | 2008-12-17 |
Family
ID=18484872
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP36568999A Expired - Fee Related JP4195955B2 (en) | 1999-12-22 | 1999-12-22 | Image processing system and data editing method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4195955B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4200272B2 (en) * | 2002-06-25 | 2008-12-24 | パナソニック電工株式会社 | Image processing apparatus, image processing system including the same, and image processing method |
| JP6979860B2 (en) * | 2017-11-21 | 2021-12-15 | 株式会社キーエンス | Image processing system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2772013B2 (en) * | 1989-01-25 | 1998-07-02 | 株式会社東芝 | Medical image transmission system |
| JPH11304449A (en) * | 1998-04-23 | 1999-11-05 | Matsushita Electric Works Ltd | Image processing device |
| JP2000357116A (en) * | 1999-06-15 | 2000-12-26 | Matsushita Electric Works Ltd | Method and system for data transfer of image processor |
-
1999
- 1999-12-22 JP JP36568999A patent/JP4195955B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001184480A (en) | 2001-07-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2005309995A (en) | Device and method for managing information, and program | |
| US4964039A (en) | Apparatus for processing code data associated with management data including identification data | |
| JP4195955B2 (en) | Image processing system and data editing method thereof | |
| US5249288A (en) | Process for accommodating bad disk pages in an electronic printing system | |
| US7788232B2 (en) | File management program for overwriting file | |
| US7404083B2 (en) | Image signal analysis for watermark detection and decoding | |
| CN102947805B (en) | Data administrator and data managing method | |
| JP2009020802A (en) | Document processing system, document input-output device, and document input-output program | |
| CN100525369C (en) | Image forming apparatus | |
| JP4623361B2 (en) | Information processing apparatus and method, and program | |
| JP2000357116A (en) | Method and system for data transfer of image processor | |
| JP4897359B2 (en) | MEMORY MANAGEMENT DEVICE, MEMORY MANAGEMENT METHOD, AND PROGRAM | |
| JP3795204B2 (en) | File management apparatus, computer system, file management method, and recording medium | |
| JPH0140376B2 (en) | ||
| US5345581A (en) | Process for replacing storage media in electronic printing systems | |
| JP4834339B2 (en) | Data sharing method, client device, and server device | |
| JPH10333943A (en) | Trace log processing method for computer system and its processing device | |
| JP6278078B2 (en) | Information processing apparatus and program | |
| JP4119203B2 (en) | File processing program | |
| CN101669095B (en) | Information reproducing method and information reproducing device | |
| JP2005346306A (en) | Storage device, image forming apparatus, and file server | |
| JP3987561B2 (en) | Information file device, information file recording method, and storage medium | |
| US20060156058A1 (en) | Data management apparatus, data management method and data management program | |
| JPS62154173A (en) | electronic image file system | |
| JPH04328649A (en) | Method and device for temporarily storing deleted data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041208 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080123 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080129 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080331 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080527 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080626 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20080804 |
|
| 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: 20080826 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080908 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111010 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111010 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |