Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4195955B2 - Image processing system and data editing method thereof - Google Patents
[go: Go Back, main page]

JP4195955B2 - Image processing system and data editing method thereof - Google Patents

Image processing system and data editing method thereof Download PDF

Info

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
Application number
JP36568999A
Other languages
Japanese (ja)
Other versions
JP2001184480A (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.)
Panasonic Corp
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Corp
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Works Ltd filed Critical Panasonic Corp
Priority to JP36568999A priority Critical patent/JP4195955B2/en
Publication of JP2001184480A publication Critical patent/JP2001184480A/en
Application granted granted Critical
Publication of JP4195955B2 publication Critical patent/JP4195955B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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 ROM 13 and a RAM 14 provided in the image processing apparatus 1, and the data transferred via the communication application PR2 of the computer apparatus 2 is converted into an image. The data management program PR1 provided in the processing device 1 distributes the data to a predetermined area of the physical memory M according to the type of data.
[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 claim 1 is an image processing unit that performs image processing on an image to be processed under a set condition, an image processing apparatus having a memory that stores the image and the image processing condition as data, and image processing An instruction operation unit for instructing writing and reading of the data to and from the memory, wherein the computer device is capable of bidirectional data transmission with the device. Larger storage capacity than the memory In an image processing system comprising a computer device having storage means capable of storing the data, Dividing the data into individually identifiable data elements; For an image to be processed, an image unit that is a single image is handled as a data element, and for image processing conditions, a setting unit that is a condition necessary for performing a series of image processing is handled as a data element. Writing and reading to and from the memory and the storage means and data transmission in units of data elements, the storage means Used for a series of image processing Combine the combination of image unit and setting unit Store as one file, The image processing apparatus is provided with data management means for reading a required data element instructed from the computer apparatus from the memory and transferring it to the computer apparatus, and writing the data element transferred from the computer apparatus to a required location in the memory. And stored in the storage means in the computer device The file The data element of Editing means for editing in units is provided.
[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]
Claim 2 The invention according to Claim 1 In the invention, the editing means has a function of overwriting for each data element, a function of adding a data element to one file, and a function of deleting each data element. According to this configuration, data can be easily edited by replacing, adding, or deleting each data element.
[0015]
Claim 3 The invention according to Claim 1 or claim 2 In the invention, the editing means has a function of allowing a new file to be newly constructed using data elements in the file when a plurality of files exist in the storage means. According to this configuration, when a plurality of files exist in the storage unit, a new file can be generated from the existing file, and the condition setting of the image processing apparatus can be performed without being connected to the image processing apparatus. Become. If this function is used, even if the computer apparatus cannot be connected to the image processing apparatus, setting of setting conditions for the image processing apparatus can be considered if a plurality of files exist in the computer apparatus.
[0016]
Claim 4 The present invention relates to an image processing unit that performs image processing on an image to be processed under set conditions, an image processing apparatus that includes a memory that stores images and image processing conditions as data, and an image processing apparatus. An instruction operation unit for instructing writing and reading of the data to and from the memory; Larger storage capacity than the memory A data editing method for an image processing system comprising a computer device having storage means capable of storing the data, Dividing the data into individually identifiable data elements; For an image to be processed, an image unit that is a single image is handled as a data element, and for image processing conditions, a setting unit that is a condition necessary for performing a series of image processing is handled as a data element. Writing and reading to and from the memory and the storage means and data transmission in units of data elements, the storage means Stores a combination of image units and setting units used for a series of image processing as a single file, The image processing apparatus reads a required data element instructed from the computer apparatus from the memory and transfers it to the computer apparatus, and writes the data element transferred from the computer apparatus to a required location in the memory. Stored in storage means The file The data element of It is characterized by editing in units.
[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 Claim 4 In the invention, the editing may include a function of overwriting for each data element, a function of adding a data element to one file, and a function of deleting each data element. According to this method, data can be easily edited by replacing, adding, or deleting each data element.
[0021]
Claim 6 The invention according to Claim 4 or claim 5 In the present invention, when there are a plurality of files in the storage means, another file can be newly constructed by using the data element in the file by the editing. According to this method, when a plurality of files exist in the storage unit, a new file can be generated from the existing file, and the condition setting of the image processing apparatus can be performed without being connected to the image processing apparatus. Become. If this function is used, even if the computer apparatus cannot be connected to the image processing apparatus, setting of setting conditions for the image processing apparatus can be considered if a plurality of files exist in the computer apparatus.
[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 image processing device 1 and a computer device (usually using a personal computer) 2. Data transmission is possible through the transmission path 3. In the illustrated example, a wired transmission path 3 is used.
[0024]
The image processing apparatus 1 includes a TV camera 11 that captures an object, and includes two sets of image memories 12a and 12b that store an original image (digitized gray image) captured by the TV camera 11. The images stored in the image memories 12 a and 12 b are subjected to appropriate image processing by the CPU 10 that operates according to the programs stored in the ROM 13 and the RAM 14, and the results are stored in the RAM 14. In addition, a display image memory that can be connected to a display device 15 such as a CRT so as to display an original image, an image being processed, a processing result, and the like, and holds an image to be displayed on the display device 15 16a, 16b, a lookup table 16c, and an overlay memory 16d are also provided in the image processing apparatus 1. As described for the conventional configuration, the input device 17 is provided for setting image processing conditions, and the conditions set by the input device 17 are stored in the RAM 14. The CPU 10, the image memories 12 a and 12 b, the ROM 13, the RAM 14, and the input device 17 constitute an image processing unit. In addition, the image processing apparatus 1 is provided with a communication interface 18 for data transmission with the computer apparatus 2. The communication interface 18 employs an RS-232C standard interface generally used in the computer apparatus 2. However, the communication interface standard is not limited to the RS-232C standard, and can be appropriately selected as long as bidirectional data transmission is possible.
[0025]
The ROM 13 and the RAM 14 are provided in a series of address spaces (that is, a part of the continuous address space is assigned to the address of the ROM 13 and the other part is assigned to the RAM 14), and the memory map is as shown in FIG. become. The ROM 13 (FIG. 2A) and the RAM 14 (FIG. 2B) store a system program and a customization program as programs. The customization program is set when the function of the image processing apparatus 1 is improved or the specification is changed. The ROM 13 stores device settings, inspection procedure settings, and templates, and the RAM 14 stores inspection procedure settings, templates, and images. By using a rewritable ROM 13 such as an EEPROM, the device settings can be changed. In addition, the required data and programs are copied from the ROM 13 to the RAM 14 when the power is turned on, so that the data and programs in the RAM 14 are used during operation. Further, data related to the device settings set in the ROM 13 is assigned as each parameter of the program when the power is turned on. The RAM 14 is also provided with a stack area and a work area used during processing.
[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 computer apparatus 2 to a physical memory M including a ROM 13 and a RAM 14. It has a function of developing and storing, and a function of collecting data stored in the ROM 13 and the RAM 14 in accordance with an instruction from the computer device 2 and delivering it to the communication interface 18. The data management program PR1 can be activated by operating the input device 17 of the image processing apparatus 1. For example, the data management program PR1 can be activated by selecting it from a menu displayed on the display device 15. That is, instead of an instruction from the computer apparatus 2, the data management program PR 1 can be started from the image processing apparatus 1 and necessary data can be transferred to the computer apparatus 2.
[0027]
On the other hand, as shown in FIG. 1, the computer device 2 includes a CPU 20 that operates according to a program stored in a memory constituting a part of the storage device 21, and displays an input device 22 such as a keyboard and a mouse and a display such as a CRT. A device 23 is provided. That is, a display operation unit is configured by the input device 22 and the display device 23. The storage device 21 also includes a hard disk device or a magneto-optical disk device having a storage capacity sufficiently larger than the physical memory of the image processing apparatus 1 as storage means. The computer apparatus 2 is provided with a communication interface 24 for data transmission to and from the image processing apparatus 1. The communication interface 24 employs an RS-232C standard interface generally used in the computer apparatus 2. ing. However, the standard of the communication interface is not limited to the RS-232C standard, and can be appropriately selected as long as bidirectional data transmission with the image processing apparatus 1 is possible.
[0028]
In the computer apparatus 2, a communication application PR 2 is provided. The communication application PR 2 collects necessary data stored in the physical memory M and collects the data management program PR 1 of the image processing apparatus 1. A function of instructing the computer apparatus 2 to transfer the processed data. The communication application PR 2 also has a function of storing data transferred from the image processing apparatus 1 in the storage device (hard disk device or the like) 21. This function is called a backup function. Here, the storage device 21 stores a series of data collected by using the backup function once as a single file.
[0029]
Further, the communication application PR2 reads out the data instructed by using the input device 22 and the display device 23 from the data stored in the storage device 21 from the storage device 21 and passes it to the communication interface 24. A function of transferring to the image processing apparatus 1. This function is called a restore function.
[0030]
The computer apparatus 2 is also provided with an editing application PR3 that functions as an editing unit. The editing application PR3 can add, delete, and overwrite data stored in the storage device 21, and can newly create a file. It is also possible to create. These functions will be described later.
[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 image processing apparatus 1 and the computer apparatus 2, one data element is transmitted at a time, and at least one data element is transmitted by one communication. . The data management program PR1 reads / writes data from / to the physical memory M for each data element, and the communication application PR2 reads / writes data from / to the storage device 21 for each data element.
[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 image processing apparatus 1, and the data elements U1 and U3 or the data elements U2 and U3 are transmitted between the image processing apparatus 1 and the computer apparatus 2. Shall.
[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 computer apparatus 2 requests the image processing apparatus 1 to transfer the data elements U1, U3, the data management program PR1 collects the data elements U1, U3 from the physical memory M, and performs data communication to the computer apparatus 2 To the communication application PR2. Here, the communication application PR2 stores the data elements U1 and U3 in the storage device 21 as one file. Next, when the data elements U2 and U3 are requested in the same manner, the data elements U2 and U3 are stored in the storage device 21 as one file. However, in both files the data element U3 Data elements because U2 Is added to the previous file, the file F1 having all the data elements U1 to U3 can be created. If the data element U2 is deleted from the file including the data elements U2 and U3, the file F2 having only the data element U3 can be created. In this way, duplication of data can be avoided by extracting and adding only data elements that do not exist in the file stored in the storage device 21 when data transmission is performed a plurality of times. Further, by deleting the data element U2 added to the other file F1, the capacity of the file F2 is reduced. Here, by leaving the same data element U3 in the storage device 21, the redundancy can be increased, and the data element U3 of any one of the files F1 and F2 can be repaired.
[0034]
The above-described function is for backup. In the case of restoration, if a necessary data element is read from the storage device 21 and transferred to the image processing apparatus 1, the data management application PR1 of the image processing apparatus 1 physically converts the data element. The data is expanded and stored in the memory M.
[0035]
Furthermore, when creating a new file, the data elements U1 and U2 included in the file stored in the storage device 21 are appropriately combined to create a new data element combination that does not exist in the other files F1 and F2. A file F3 can be created. In this case, since a new file F3 is created using data elements already stored in the storage device 21, communication with the image processing apparatus 1 is not necessary. The file F3 created in this way can be transferred to the image processing apparatus 1. In addition, even if the data elements constitute the file stored in the storage device 21, the data elements already existing in the physical memory M of the image processing apparatus 1 do not need to be transferred. It is also possible to transfer only a part of the data elements for each data element. For example, the file F3 includes data elements U1 and U2, but if the data element U1 already exists in the image processing apparatus 1, only the data element U2 may be transferred to the image processing apparatus 1.
[0036]
In the following, a process of transferring data from the image processing apparatus 1 to the computer apparatus 2 and storing it in the storage apparatus 21 (backup), a process of editing the data stored in the storage apparatus 21 (editing), and an image process from the computer apparatus 2 A procedure and a specific example of processing (restoration) for transferring data to the apparatus 1 and expanding it in the physical memory M will be described.
[0037]
The backup is performed according to the procedure shown in FIG. First, the computer apparatus 2 establishes a connection with the image processing apparatus 1 and starts communication (S1). Next, data elements to be collected from the image processing apparatus 1 are designated using the input device 22 and the display device 23 in the computer device 2 (S2). Thereafter, a transfer command including the designated data element is created (S3), and a transfer request is made to the image processing apparatus 1 (S4). In this embodiment, as shown in FIG. 5 and FIG. 6, 256 kinds of inspection procedure settings as data elements, 64 kinds of templates, and 64 images can be registered in the computer apparatus 2. In the illustrated example, “(set)” indicates that the content has already been set. Thus, as shown in FIG. 5, if No. 2 and No. 4 are specified from the inspection procedure setting, No. 2 is specified from the template, and No. 63 and No. 64 are specified from the image, as shown in FIG. In addition, the data management program PR1 of the image processing apparatus 1 can collect data (S5) and transfer data (S6), and can receive the data element designated by the computer apparatus 2. The data elements received by the computer device 2 in this way are collected into one file (backup file) F10 and stored in the storage device 21 (S7). After the file F10 is stored in the storage device 21, the communication is terminated (S8), and the backup process is terminated. In FIG. 6, only the designated data elements are different, and the processing procedure is the same. For the following description, the file stored in FIG. 6 is F11. In addition, if the backup process is performed a plurality of times by specifying different data elements, all the required data elements of the image processing apparatus 1 can be stored in the computer apparatus 2 while shortening the transfer time per time. It is. For example, all data elements of the image processing apparatus 1 can be collected.
[0038]
When the backup process is performed a plurality of times, a plurality of files are stored in the storage device 21. Editing processing is performed on these files. In the present embodiment, as an editing function, in addition to the above-described addition, deletion, and new creation, overwriting is possible. In editing, as shown in FIG. 7, first, a file to be edited is selected as a copy source and a copy destination (S1). In other words, it selects which file contents are added or overwritten to which file. When deleting, it is not necessary to specify the copy destination file. When creating a new file, the newly created file becomes the copy destination file, and a new file is created by combining the data elements of the existing file. Can do.
[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 storage device 21.
[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 storage device 21 are overwritten by specifying a required data element by the editing application PR3. FIG. 8A shows a case where the inspection procedure setting 3 of the file F11 is overwritten with the inspection procedure setting 4 of the file F10, and the image 2 of the file F11 is overwritten with the image 64 of the file F10. By this processing, the inspection procedure setting 3 in the file F11 is replaced with the inspection procedure setting 4, and the image 2 is replaced with the image 64.
[0041]
Further, when adding the inspection procedure setting 2 of the file F10, the template 2 and the image 64 to the file F11, as shown in FIG. 8B, the file F11 in which the specified data element is added to the contents of the file F11. Will be generated.
[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 computer apparatus 2 establishes a connection with the image processing apparatus 1 and starts communication (S1). Next, a data element is selected from a file stored in the storage device 21 using the input device 22 and the display device 23 in the computer device 2. At this time, each data element is arranged in an area in which data elements of the same type in the physical memory M of the image processing apparatus 1 are stored, but it is specified in which order the data elements are arranged in each area of the physical memory M (S2). For example, the inspection setting procedure 3 can be arranged at the fifth position in the region. Thereafter, a restore command including the designated data element is created (S3) and transferred to the image processing apparatus 1 (S4).
[0044]
The image processing apparatus 1 that has received the restore instruction and the data element to be restored from the computer apparatus 2 checks the data arrangement restriction (S5). For example, it is checked whether or not the data of the restore file cannot be arranged because the data already exists in the designated area, or whether or not the memory capacity is insufficient. If an inconvenience is found in this inspection, an error (such as an overwrite warning or a write prohibition error) is notified to the computer apparatus 2.
[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 template 2, and the image 64 exists in the storage device 21, these data elements are transferred to the image processing device 1. Here, it is assumed that these data elements are added from another file F10 by editing (that is, a file F11 obtained by adding data elements from the file F10 to the file F11 described above is assumed. ). However, whether or not the file F11 is edited is not an essential problem, and any file may be used as long as it includes the data element.
[0047]
Thus, when these data elements are transferred to the image processing apparatus 1 and restored to the physical memory M, the data elements are written in the inspection procedure setting area, template area, and image area of the physical memory M, respectively. .
[0048]
As described above, data is divided into relatively small data elements and handled, and only necessary data elements are transferred between the computer apparatus 2 and the image processing apparatus 1. Time can be shortened. That is, the data transmission time can be shortened without using a high-speed communication interface.
[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 storage device 21 can be reduced and file management becomes easy. Furthermore, since data is managed in units of data elements, even if some data is damaged, other data can be used, and the robustness of the backup file itself is improved. This makes it possible to take measures against partial damage of the backup file.
[0050]
By the way, in this embodiment, when there are a plurality of files in the storage device 21 of the computer apparatus 2 as described above, it becomes possible to create a new file by combining data elements constituting the file. ing. For example, as shown in FIG. 11, when files F10 and F11 exist, it is possible to create a new file F12 by extracting appropriate data elements from both files F10 and F11. The data element can be transferred to the image processing apparatus 1 as shown in FIG. That is, if a plurality of files exist in the storage device 21 of the computer device 2, the files can be edited without being connected to the image processing device 1. Therefore, for example, even when a worker who has knowledge of setting the image processing apparatus 1 is in an environment where the computer apparatus 2 is present but cannot be connected to the image processing apparatus 1, a new setting of the image processing apparatus 1 can be considered. become.
[0051]
【The invention's effect】
Invention according to claim 1 According to the configuration of Since the required data instructed from the computer apparatus is transmitted to the computer apparatus for each data element and the data element transmitted from the computer apparatus is written in a required portion of the memory, all data set in the memory of the image processing apparatus is stored in the computer apparatus. Can transmit only the required data elements instructed by the computer device without transmitting to the computer, and all the time required for data transmission between the image processing device and the computer device is transmitted. As compared with the case, there is an advantage that 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.
[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]
Claim 2 Inventions related to Hen The collection means has a function for overwriting for each data element, a function for adding a data element to one file, and a function for deleting each data element, and replacing, adding or deleting each data element. By doing so, there is an advantage that data can be easily edited.
[0055]
Claim 3 Inventions related to Hen When the collecting means has a plurality of files in the storage means, it has a function of making it possible to newly construct another file using data elements in the file, and there are a plurality of files in the storage means. Sometimes a new file can be generated from an existing file, and it is possible to set the conditions of the image processing device without connecting to the image processing device. With this function, the computer device can be connected to the image processing device. If there are a plurality of files in the computer device even in a place where it cannot be performed, there is an advantage that it is possible to consider setting conditions of the image processing device.
[0056]
Claim 4 According to the configuration of the invention, since the required data instructed from the computer apparatus is transmitted to the computer apparatus for each data element and the data element transmitted from the computer apparatus is written in the required location of the memory, Data transmission between the image processing apparatus and the computer apparatus can be performed without transmitting all data to be set in the memory between the image processing apparatus and the computer apparatus, and only necessary data elements instructed by the computer apparatus can be transmitted. Compared with the case where all the data is transmitted, the time required for this is shortened. As a result, there is an advantage that 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.
[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]
Claim 6 Inventions related to Is When there are multiple files in the memory Hen It is possible to create a new file from the existing file when there are multiple files in the storage means. This makes it possible to set the conditions of the image processing apparatus without connecting to the image processing apparatus. By using this function, a plurality of files exist in the computer apparatus even in a place where the computer apparatus cannot be connected to the image processing apparatus. If so, there is an advantage that the setting of the setting conditions of the image processing apparatus can be considered.
[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)

設定された条件で処理対象となる画像に画像処理を施す画像処理部および画像と画像処理の条件とをデータとして記憶するメモリを有した画像処理装置と、画像処理装置と双方向にデータ伝送が可能であるコンピュータ装置であって前記メモリに対して前記データの書込および読出を指示する指示操作部および前記メモリよりも記憶容量が大きく前記データが保存可能である記憶手段を有したコンピュータ装置とからなる画像処理システムにおいて、前記データを個々に指定可能なデータ要素に分割し、処理対象となる画像については1枚の画像である画像単位をデータ要素として扱うとともに、画像処理の条件については一連の画像処理を行うのに必要な条件である設定単位をデータ要素として扱い、前記メモリおよび前記記憶手段に対する書込および読出ならびにデータ伝送をデータ要素単位で行い、前記記憶手段には一連の画像処理に用いる画像単位と設定単位との組み合わせをまとめて1つのファイルとして格納し、前記画像処理装置には前記コンピュータ装置から指示された所要のデータ要素を前記メモリから読み出してコンピュータ装置に転送するとともにコンピュータ装置から転送されたデータ要素を前記メモリの所要箇所に書き込むデータ管理手段が設けられ、前記コンピュータ装置には前記記憶手段に格納された前記ファイルを前記データ要素単位で編集する編集手段が設けられていることを特徴とする画像処理システム。An image processing unit that performs image processing on an image to be processed under the set conditions, an image processing device having a memory that stores the image and image processing conditions as data, and bidirectional data transmission with the image processing device A computer apparatus having an instruction operation unit for instructing writing and reading of the data to and from the memory and a storage unit having a storage capacity larger than that of the memory and capable of storing the data; In the image processing system, the data is divided into individually designable data elements, and for an image to be processed, an image unit that is one image is treated as a data element, and a series of image processing conditions are set. The setting unit, which is a condition necessary for performing image processing, is treated as a data element, and the memory and the storage means Performs writing and reading as well as data transmission in a data element basis, wherein the storage means is stored as a single file together a combination of image units and setting unit for use in a series of image processing, the in the image processing apparatus Data management means for reading a required data element instructed from a computer device from the memory and transferring the data element to the computer device and writing the data element transferred from the computer device to a required location of the memory is provided. the image processing system characterized by editing means for editing said file stored in said storage means in units of said data elements is provided. 前記編集手段は、データ要素ごとに上書きする機能と、1つのファイルにデータ要素を追加する機能と、データ要素ごとに削除する機能とを備えることを特徴とする請求項1記載の画像処理システム。The image processing system according to claim 1 , wherein the editing unit has a function of overwriting for each data element, a function of adding a data element to one file, and a function of deleting each data element . 前記編集手段は前記記憶手段に複数個のファイルが存在するときにはファイル内のデータ要素を用いて別のファイルを新規に構成可能とする機能を備えることを特徴とする請求項1または請求項2記載の画像処理システム。 3. The function according to claim 1, wherein said editing means has a function of enabling a new file to be newly constructed using a data element in the file when a plurality of files exist in said storage means. Image processing system. 設定された条件で処理対象となる画像に画像処理を施す画像処理部および画像と画像処理の条件とをデータとして記憶するメモリを有した画像処理装置と、画像処理装置と双方向にデータ伝送が可能であるコンピュータ装置であって前記メモリに対して前記データの書込および読出を指示する指示操作部および前記メモリよりも記憶容量が大きく前記データが保存可能である記憶手段を有したコンピュータ装置とからなる画像処理システムのデータ編集方法であり、前記データを個々に指定可能なデータ要素に分割し、処理対象となる画像については1枚の画像である画像単位をデータ要素として扱うとともに、画像処理の条件については一連の画像処理を行うのに必要な条件である設定単位をデータ要素として扱い、前記メモリおよび前記記憶手段に対する書込および読出ならびにデータ伝送をデータ要素単位で行い、前記記憶手段には一連の画像処理に用いる画像単位と設定単位との組み合わせをまとめて1つのファイルとして格納し、前記画像処理装置では前記コンピュータ装置から指示された所要のデータ要素を前記メモリから読み出してコンピュータ装置に転送するとともにコンピュータ装置から転送されたデータ要素を前記メモリの所要箇所に書き込み、前記コンピュータ装置では前記記憶手段に格納された前記ファイルを前記データ要素の単位で編集することを特徴とする画像処理システムのデータ編集方法。An image processing unit that performs image processing on an image to be processed under set conditions, an image processing apparatus having a memory that stores the image and image processing conditions as data, and bidirectional data transmission with the image processing apparatus A computer apparatus having an instruction operation unit for instructing writing and reading of the data to and from the memory and a storage unit having a storage capacity larger than that of the memory and capable of storing the data; A data editing method for an image processing system comprising: dividing the data into individually designable data elements, and handling an image unit, which is a single image, as a data element for an image to be processed; As for the condition, the setting unit, which is a condition necessary for performing a series of image processing, is treated as a data element, and the memory and the Writing to and reading from the storage unit and data transmission are performed in units of data elements, and the storage unit stores a combination of image units and setting units used for a series of image processing as one file, and the image processing apparatus Then, the required data element instructed from the computer device is read from the memory and transferred to the computer device, and the data element transferred from the computer device is written to the required location in the memory, and the computer device stores it in the storage means. A data editing method for an image processing system, wherein the file is edited in units of the data elements. 前記編集として、データ要素ごとに上書きする機能と、1つのファイルにデータ要素を追加する機能と、データ要素ごとに削除する機能とが可能であることを特徴とする請求項4記載の画像処理システムのデータ編集方法。 5. The image processing system according to claim 4, wherein the editing includes a function of overwriting for each data element, a function of adding a data element to one file, and a function of deleting each data element. Data editing method. 前記記憶手段に複数個のファイルが存在するときには、前記編集によりファイル内のデータ要素を用いて別のファイルを新規に構成可能であることを特徴とする請求項4または請求項5記載の画像処理システムのデータ編集方法。 6. The image processing according to claim 4, wherein when there are a plurality of files in the storage unit, another file can be newly constructed by using the data element in the file by the editing. data editing how the system.
JP36568999A 1999-12-22 1999-12-22 Image processing system and data editing method thereof Expired - Fee Related JP4195955B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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