JP4510231B2 - Image processing apparatus, image processing apparatus control method, and storage medium - Google Patents
Image processing apparatus, image processing apparatus control method, and storage medium Download PDFInfo
- Publication number
- JP4510231B2 JP4510231B2 JP2000163200A JP2000163200A JP4510231B2 JP 4510231 B2 JP4510231 B2 JP 4510231B2 JP 2000163200 A JP2000163200 A JP 2000163200A JP 2000163200 A JP2000163200 A JP 2000163200A JP 4510231 B2 JP4510231 B2 JP 4510231B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- image
- image data
- unit
- processing
- 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
Description
【0001】
本発明は、画像データを入力する画像入力手段と、前記画像入力手段から入力された画像データを記憶する記憶手段と、前記記憶手段に記憶された画像データの判定処理を行う判定処理手段とを有する画像処理装置並びに画像処理装置の制御方法および記憶媒体に関するものである。
【0002】
【従来の技術】
従来の画像処理装置は、画像入力装置から読み込んだ画像に対するパターンマッチングをソフトウェアで行なう場合には、高速化をはかるために、画像入力装置から画像処理装置内の制御装置(CPU)からメモリヘ画像データを転送するジョブ(画像データ転送ジョブ)と、メモリに転送された画像データに対するパターンマッチングを行うジョブ(パターンマッチングジョブ)とを並行して処理をしていた。
【0003】
【発明が解決しようとする課題】
しかし上記従来の画像処理装置では、画像入力装置と上記メモリとCPUとが制御ユニット内で同一バス上に接続されていたために、上述した各ジョブ(画像データ転送ジョブ,パターンマッチングジョブ)の性能がバスのアクセス性能以上にはならないために、効率的なデータ転送処理を行なうことができないという問題点があった。
【0004】
本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、画像入力手段からの画像転送を妨げることなく画像データの判定処理を効率良く行うことができ、結果として、従来では難しかった偽造防止等に使用できるソフトウェアでのパターンマッチング処理を高速、かつ効率的に行うことができる仕組を提供することである。
【0005】
【課題を解決するための手段】
本発明は、画像データを入力する画像入力手段(図1に示すリーダ装置200)と、前記画像入力手段から入力された画像データを記憶する記憶手段(図3に示すDRAM116)と、前記記憶手段に記憶された画像データに、あるパターンがあるか判断するパターンマッチング処理をプログラムを用いて行う処理手段(図4に示すプロセッサコア(CPU)401(図3に示すCPU112))とを有する画像処理装置において、前記画像入力手段と第1のバス(図4に示すGBus404)を介して接続され、前記判定処理手段と第2のバス(図4に示すSCBus)を介して接続され、前記第1のバスと、又は前記第2のバスと前記記憶手段との接続を切り替え制御するものであり、前記第1のバスを使用した画像入力手段からの画像転送中に、前記第2のバスを使用して前記判定処理手段により、前記記憶手段に転送された画像データの前記パターンマッチング処理が行えるように前記第1のバスと、又は前記第2のバスと前記記憶手段との接続を切り換え制御(図7のステップS1005)する制御手段(図4に示したシステムバスブリッジ(SBB)402(図3に示したバスコントローラ113))と、前記記憶手段に記憶された画像データ中に前記あるパターンがあると判断されると即座に、前記画像入力手段による画像データの入力動作の中止を指示する指示手段とを有するものである。
【0008】
【発明の実施の形態】
図1は、本発明の一実施形態を示す画像処理装置を適用可能な画像入出力システムの全体構成を示す図である。
【0009】
図において、200はリーダ部(画像入力装置)で、原稿画像を光学的に読み取り、画像データに変換する。リーダ部200は、原稿を読取るための機能を持つスキャナユニット210と、原稿用紙を搬送するための機能を持つ原稿給紙ユニット250とで構成される。
【0010】
300はプリンタ部(画像出力装置)で、記録紙を搬送し、その上に画像データを可視画像として印字して装置外に排紙する。プリンタ部300は、複数種類の記録紙カセットを持つ給紙ユニット310と、画像データを記録紙に転写、定着させる機能を持つマーキングユニット320と、印字された記録紙をソート、ステイプルして機外へ出力する機能を持つ排紙ユニット330とで構成される。110は制御装置で、リーダ部200,プリンタ部300と電気的に接続され、さらにネットワーク400を介してホストコンピュータ(PC)1401,1402と接続されている。制御装置110は、リーダ部200を制御して、原稿の画像データを読込み、プリンタ部300を制御して画像データを記録用紙等の記録媒体に出力してコピー機能を提供する。また、リーダ部200から読取った画像データをコードデータに変換し、ネットワーク400(例えば、Ethernet)を介してホストコンピュータヘ送信するスキャナ機能、ホストコンピュータからネットワーク400を介して受信したコードデータを画像データに変換し、プリンタ部300に出力するプリンタ機能等を提供する。
【0011】
150は操作部で、制御装置110に接続され、液晶タッチパネルで構成され、画像入出力システムを操作するためのユーザI/Fを提供する。
【0012】
図2は、図1に示したリーダ部200及びプリンタ部300の構成を示す断面図であり、図1と同一のものには同一の符号を付してある。
【0013】
リーダ部200において、原稿給送ユニット250は、原稿を先頭順に1枚ずつプラテンガラス211上へ給送し、原稿の読み取り動作終了後、プラテンガラス211上の原稿を排出するものである。原稿がプラテンガラス211上に搬送されると、ランプ212を点灯し、そして光学ユニット213の移動を開始させて、原稿を露光走査する。
【0014】
この時の原稿からの反射光は、ミラー214、215、216、及びレンズ217によってCCDイメージセンサ(以下CCDという)218ヘ導かれる。このように、走査された原稿の画像はCCD218によって読み取られる。CCD218から出力される画像データは、所定の処理が施された後、図1に示した制御装置110へ転送される。
【0015】
プリンタ部300において、321はレーザドライバで、レーザ発光部322を駆動するものであり、制御装置110から出力された画像データに応じたレーザ光をレーザ発光部322に発光させる。このレーザ光は感光ドラム323に照射され、感光ドラム323にはレーザ光に応じた潜像が形成される。この感光ドラム323の潜像の部分には現像器324によって現像剤が付着される。
【0016】
そして、レーザ光の照射開始と同期したタイミングで、カセット311及びカセット312のいずれかから記録紙を給紙して転写部325へ搬送し、感光ドラム323に付着された現像剤を記録紙に転写する。現像剤の乗った記録紙は定着部326に搬送され、定着部326の熱と圧力により現像剤は記録紙に定着される。定着部326を通過した記録紙は排出ローラ327によって排出され、排紙ユニット330は排出された記録紙を束ねて記録紙の仕分けをしたり、仕分けされた記録紙のステイプルを行う。
【0017】
また、両面記録が設定されている場合は、排出ローラ327のところまで記録紙を搬送した後、排出ローラ327の回転方向を逆転させ、フラッパ328によって再給紙搬送路329へ導く。再給紙搬送路329へ導かれた記録紙は上述したタイミングで転写部325へ給紙される。
【0018】
〔制御装置の説明〕
図3は、図1に示した制御装置110の機能構成を説明するブロック図である。
【0019】
図において、111はメインコントローラで、主にCPU112と、バスコントローラ113、各種I/Fコントローラ回路とから構成される。
【0020】
CPU112とバスコントローラ113は、制御装置110全体の動作を制御するものであり、CPU112は、ROM114からROMI/F115を経由して読込んだプログラムに基づいて動作する。また、図1のホストコンピュータ1401,1402から受信したPDL(ページ記述言語)コードデータを解釈し、ラスタイメージデータに展開する動作、後述するパターンマッチング処理動作も、このプログラムに記述されており、ソフトウェアによって処理される。なお、CPU112がパターンマッチング処理で使用するパターンマッチング用のデータは、ROM114又は図示しないその他の記憶媒体に格納されているものとする。
【0021】
バスコントローラ113は、各I/Fから入出力されるデータ転送を制御するものであり、バス競合時の調停やDMAデータ転送の制御を行う。
【0022】
116はDRAMで、DRAMI/F117によってメインコントローラ111と接続されており、CPU112が動作するためのワークエリアや、画像データを蓄積するためのエリアとして使用される。
【0023】
121はネットワークコントローラ(Network Contorller)で、I/F123によってメインコントローラ111と接続され、コネクタ122によって外部ネットワーク(LAN400)と接続される。ネットワークとしては一般的にイーサネットがあげられるが、トークンリングやその他のものであってもよい。
【0024】
125は汎用高速バスで、拡張ボードを接続するための拡張コネクタ124とI/O制御部126とが接続される。汎用高速バスとしては、一般的にPCIバスがあげられるがISAバスやその他のものであってもよい。
【0025】
I/O制御部126には、リーダ部200、プリンタ部300の各CPUと制御コマンドを送受信するための調歩同期シリアル通信コントローラ127が2チヤンネル装備されており、I/Oバス128によって外部I/F回路(スキャナI/F140,プリンタI/F145)に接続されている。
【0026】
132はパネルI/Fで、LCDコントローラ131に接続され、操作部150上の波晶画面に表示を行うためのI/Fと、ハードキーやタッチパネルキーの入力を行うためのキー入力I/F130とから構成される。
【0027】
操作部150は液晶表示部と液晶表示部上に張り付けられたタッチパネル入力装置と、複数個のハードキーを有する。タッチパネルまたはハードキーにより入力された信号は前述したパネルI/F132を介してCPU112に伝えられ、液晶表示部はパネルI/F132から送られてきた画像データを表示するものである。液晶表示部には、本画像処理装置の操作における機能表示や画像データ等を表示する。
【0028】
133はリアルタイムクロックモジュールで、機器内で管理する日付と時刻を更新/保存するためのもので、バックアップ用電池134によってバックアップされている。
【0029】
161はE−IDEインタフェースで、外部記憶装置を接続するためのものである。このI/Fを介してハードディスクやCD―ROMドライブを接続し、プログラムや画像データを書き込んだり読み込んだりすることができる。
【0030】
142,147はコネクタで、それぞれリーダ部200,プリンタ部300に接続され、同調歩同期シリアルI/F(143,148)とビデオI/F(144,149)とから構成される。
【0031】
スキャナI/F140は、コネクタ142を介してリーダ部200と接続され、また、スキャナバス141によってメインコントローラ111と接続されており、リーダ部200から受け取った画像を、その後の過程における処理の内容によって、最適な2値化を行ったり、主走査・副走査の変倍処理を行つたりする機能を有し、さらに、リーダ部200から送られたビデオ制御信号をもとに生成した制御信号を、スキャナバス141に出力する機能も有する。
【0032】
なお、スキャナバス141からDRAM116へのデータ転送は、バスコントローラ113によって制御される。
【0033】
プリンタI/F145は、コネクタ147を介してプリンタ部300と接続され、また、プリンタバス146によってメインコントローラ111と接続されており、メインコントローラ111から出力された画像データにスムージング処理をして、プリンタ部300へ出力する機能を有し、さらに、プリンタ部300から送られたビデオ制御信号をもとに生成した制御信号を、プリンタバス146に出力する機能も有する。
【0034】
DRAM116上に展開されたラスターイメージデータのプリンタ部への転送は、バスコントローラ113によって制御され、プリンタバス146、ビデオI/F149を経由して、プリンタ部300へDMA転送される。
【0035】
〔メインコントローラの説明〕
図4は、図3に示したメインコントローラ111の構成を説明するブロック図である。
【0036】
図において、プロセッサコア(CPU)401(図3に示したCPU112に相当)は、64ビットのプロセッサバス(SCバス)を介して、システムバスブリッジ(SBB)402(図3に示したバスコントローラ113に相当)に接続される。SBB402は、4×4の64ビットクロスバスイッチであり、プロセッサコア401の他に、キャッシュメモリを備えたSDRAMやROMを制御するメモリコントローラ403と専用のローカルバス(MCバス(MCBus))で接続されており、さらに、グラフイックバスであるGバス(GBus)404、IOバスであるBバス(BBus)405と接続され、全部で4つのバスに接続される。SBB402は、これら4モジュール間を、可能な限り、同時平行接続を確保することができるように設計されている。
【0037】
また、SBB402は、データの圧縮伸長ユニット(codec)418とも、codecバスを介して接続されている。
【0038】
Gバス404は、Gバスアービタ(GBA)406により協調制御されており、スキャナ(リーダ装置200)やプリンタ(プリンタ装置300)と接続するためのスキャナ・プリンタ・コントローラ(SPC)408に接続される。
【0039】
また、Bバス405は、Bバスアービタ(BBA)407により協調制御されており、SPC408のほか、電力管理ユニット(PMU)409,インタラプトコントローラ(IC)410,UARTを用いたシリアルインタフェースコントローラ(SIC)411,USBコントローラ412,IEEE1284を用いたパラレルインタフェースコントローラ(PIC)413,イーサネットを用いたLANコントローラ(LANC)414,LCDパネル,キー,汎用入出力コントローラ(PC)415,PCIバスインタフェース(PCIC)416にも接続されている。
【0040】
PC415には、表示パネルやキーボードを備えた操作パネル417が接続される。
【0041】
〔インタラプトコントローラ(IC)の説明〕
インタラプトコントローラ(IC)410は、Bバス405に接続され、メインコントローラチップ内の各機能ブロック及び、チップ外部からのインタラプトを集積し、CPUコア401がサポートする、6レベルの外部インタラプト及び、ノンマスカブルインタラプト(NMI)に再分配する。なお、上述の各機能ブロックとは、電力管理ユニット409,シリアルインタフェースコントローラ411,USBコントローラ412,パラレルインタフェースコントローラ413,イーサネットLANコントローラ414,汎用IOコントローラ415,PCIインタフェースコントローラ416,スキャナ・プリンタコントローラ408などである。
【0042】
〔メモリコントローラ(MC)の説明〕
メモリコントローラ(MC)403は、メモリコントローラ専用のローカルバスであるMCバスに接続され、シンクロナスDRAM(SDRAM)やフラッシュROMやROM(図3に示したDRAM116,ROM114に相当)を制御する。
【0043】
〔システムバスブリッジ(SBB)の説明〕
図5は、図4に示したシステムバスブリッジ(SBB)402の構成を説明するブロック図である。
【0044】
SBB402は、Bバス(入出カバス),Gバス(グラフイックバス),SCバス(プロセッサローカルバス)及びMCバス間の相互接続をクロスバスイッチを用いて提供する、マルチチャネル双方向バスブリッジである。クロスバスイッチにより、2系統の接続を同時に確立することが出来、並列性の高い高速データ転送を実現出来る。
【0045】
図に示すように、SBB402は、Bバス405と接続するためのBバスインタフェース2009と、Gバス404と接続するためのGバスインタフェース2006と、プロセッサコア401と接続するためのCPUインタフェーススレーブポート2002と、メモリコントローラ403と接続するためのメモリインタフェースマスタポート2001と、圧縮伸長ユニット418と接続するためのCODECバスインタフェース2014を備えるほか、アドレスバスを接続するアドレススイッチ2003(シーケンサ2003aを備える),データバスを接続するデータスイッチ2004を含む。また、プロセッサコアのキャッシュメモリを無効化するキャッシュ無効化ユニット2005を備えている。
【0046】
また、Gバスインタフェース2006は、Gバスインタフェーススレーブ2008を介してアドレススイッチ2003と接続され,Gバスインタフェースデータ2007を介してデータスイッチと接続される。CODECバスインタフェース2014は、COCECバスインタフェーススレーブ2016を介してアドレススイッチと接続され、COCECバスインタフェースデータ2015を介してデータスイッチと接続される。Bバスインタフェース2009は、Bバスインタフェーススレーブ2010を介してアドレススイッチ2003,キャッシュインバリデーションユニット2005と接続され、Bバスインタフェースデータ2012を介してデータスイッチ2004と接続される。
【0047】
〔PCIバスインタフェース(PCIC)の説明〕
図4に示したPCIバスインタフェース(PCIC)416は、メインコントローラ内部汎用IOバスであるBバスと、チップ外部IOバスであるPCIバスの間をインタフェースするブロックである。
【0048】
〔Gバスアービタ(GBA),Bバスアービタ(BBA)の説明〕
図4に示したGバスのアービトレーションは、中央アービトレーション方式であり、各バスマスタに対して専用のリクエスト信号とグラント信号を持つ。このアービタは制御方法をプログラミングすることが出来る。
【0049】
また、バスマスタヘの優先権の与え方として、すべてのバスマスタを同じ優先権として、公平にバス権を与える公平アービトレーションモードと、いずれかひとつのバスマスタの優先権を上げ、優先的にバスを使用させる優先アービトレーションモード、のどちらかを指定できる。
【0050】
図4に示したBバスアービタ(BBA)407は、IO汎用バスであるBバス405のバス使用要求を受け付け、調停の後、使用許可を選択された一つのマスタに対して与え、同時に2つ以上のマスタがバスアクセスを行う事を禁止する。アービトレーション方式は、3段階のプライオリテイを持ち、それぞれのプライオリテイに複数のマスタをプログラマブルに割り当てられる構成になっている。
【0051】
〔スキャナコントローラ/プリンタコントローラ(SPC)〕
図6は、図4に示したスキャナ・プリンタコントローラ(SPC)408の構成を説明するブロック図である。
【0052】
図に示すように、スキャナ・プリンタコントローラ(SPC)408は、ビデオI/F(VideoI/F)によってスキャナ(リーダ装置200)およびプリンタ(プリンタ装置300)と接続され、内部バスGバスおよびBバスにインタフェースするブロックである。大別して以下の3つのブロックから構成される。
【0053】
(1)4302はスキャナコントローラで、スキャナとビデオI/Fで接続され、スキャナの動作制御およびデータ転送制御を行なう。スキャナコントローラ4302は、Gバス/BバスI/Fユニット(GBI)4301Aと、IFバスで接続され、データ転送およびレジスタのリード/ライトが行なわれる。
【0054】
(2)4303はプリンタコントローラで、プリンタとビデオI/Fで接続され、プリンタの動作制御およびデータ転送制御を行なう。プリンタコントローラ4303は、GBI4301Bと、IFバスで接続され、データ転送およびレジスタのリード/ライトが行なわれる。
【0055】
(3)Gバス/BバスI/Fユニツト(GBI)4301A,4301Bは、スキャナコントローラ4302およびプリンタコントローラ4303をGバスまたはBバスに接続するためのユニットである。(GBI)4301A,4301Bは、スキャナコントローラ4302とプリンタコントローラ4303にそれぞれ独立して接続され、GバスとBバスの両方に接続されている。
【0056】
なお、CPバスは、スキャナとプリンタの画像データおよび水平垂直同期のための同期信号を直結するためのバスである。
【0057】
〔電力管理ユニットの説明〕
メインコントローラ111は、CPUを内蔵した大規模なASICである。このため、内部のロジックが全部同時に動作してしまうと、大量の熱を発生し、チップ自体が破壊されてしまう恐れがある。これを防ぐために、メインコントローラは、ブロック毎の電力の管理、すなわちパワーマネジメントを行ない、更にチップ全体の消費電力量の監視を行なう。
【0058】
パワーマネージメントは、それぞれのブロックが各自個別に行なう。各ブロックの消費電力量の情報は、パワーマネージメントレベルとして、図4に示した電力管理ユニット(PMU)409に集められる。PMU409では、各ブロックの消費電力量を合計し、その値が限界消費電力を超えないように、メインコントローラの各ブロックの消費電力量を一括して監視する。
【0059】
以上のように、本発明の画像形成装置は、画像入力装置と画像出力装置とを効率的に制御することができる複合画像処理装置である。
【0060】
以下、図7のフローチャートを参照して、本発明の画像処理装置において、スキャン中にパターンマッチングを行ない、ある画像データと一致した場合にはスキャン動作を中止させる処理について説明する。
【0061】
図7は、本発明の画像処理装置の第1の制御処理手順の一例を示すフローチャートであり、スキャン中にパターンマッチングを行ない、ある画像データと一致した場合にはスキャン動作を中止させる処理に対応する。なお、この処理は、図3に示したCPU112がROM114又は図示しないその他の記憶媒体に格納されたプログラムに基づいて実行制御するものである。また、S1001〜S1007は各ステップを示す。
【0062】
まず、ステップS1001にて、BBus405経由でスキャナコントローラ4302およびGBI4301Aに対してパラメータを与えスキャンの準備を行なう。
【0063】
次に、スキャンの開始を指示する(S1002)。そして、インタラプトコントローラ410経由で画像データの転送開始が通知されるのを待ち(S1003)、転送が開始されたら、未処理の画像データの有無を判定し(S1004)、未処理の画像データがあると判定されている間、画像データをブロック毎にパターンマッチング処理を行う(S1005)。この時、スキャナユニット210からの画像転送処理(Gバス404を使用)と、CPU112(プロセッサコア401)によるパターンマッチング処理(SCバスを使用)は、バスを共有しておらず、SBB402がバスをスイッチングする(Gバス404, SCバスのメモリとの接続を切り換え制御する)ことよって最適なタイミングでメモリ(DRAM116)にアクセスするので、非常に並列性の高い動作を行うことができる。次に、画像データ中に適合するパターンがあるか否かを判定し(S1006)、もし、画像データ中に適合するパターンがあったと判断された場合は、即座にスキャナユニット210に対してスキャン動作の中止(スキャン停止)を指示し(S1007)、処理を終了する。
【0064】
一方、ステップS1006で、画像データ中に適合するパターンがないと判断された場合は、ステップS1004の処理に戻り、未処理の画像データが無くなったと判断されるまで、ステップS1005のパターンマッチング処理,ステップS1006の判定処理を行ない、ステップS1004で未処理の画像データが無くなったと判断された場合は、処理を終了する。
【0065】
以上説明したように、画像転送用のバス(Gバス404)とCPUが使用するバス(SCバス)とを設けたSBB402を用いることで、スキャナユニット210からの画像転送処理を妨げることなくソフトウェアでのパターンマッチング処理を行なうことができる(スキャナからの画像転送とCPUによるパターンマッチング処理がそれぞれ効率的に処理ができる)ようになり、結果として、従来は難しかった偽造防止等に使用できるソフトウェアでのパターンマッチング処理を高速に行うことができる。
【0066】
なお、本実施形態では、図2において、プリンタ部300が電子写真方式である場合について説明したが、インクジェット方式、熱転写方式、昇華方式でもその他の方式であってもよい。
【0067】
以下、図8に示すメモリマップを参照して本発明に係る画像処理装置で読み出し可能なデータ処理プログラムの構成について説明する。
【0068】
図8は、本発明に係る画像処理装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【0069】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0070】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、インストールするプログラムやデータが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0071】
本実施形態における図7に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0072】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0073】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0074】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピーディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,DVD−ROM,磁気テープ,不揮発性のメモリカード,ROM,EEPROM,シリコンディスク等を用いることができる。
【0075】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0076】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0077】
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのソフトウエアによって表されるプログラムを格納した記憶媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。
【0078】
さらに、本発明を達成するためのソフトウエアによって表されるプログラムをネットワーク上のデータベースから通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。
【0079】
【発明の効果】
以上説明したように、本発明によれば、画像入力手段からの画像データの転送を妨げることなく画像データのパターンマッチング処理を効率良く行うことができ、結果として、従来では難しかった偽造防止等に使用できるソフトウェアでのパターンマッチング処理を高速に行うことができる等の効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施形態を示す画像処理装置を適用可能な画像入出力システムの全体構成を示す図である。
【図2】図1に示したリーダ部及びプリンタ部の構成を示す断面図である。
【図3】図1に示した制御装置の機能構成を説明するブロック図である。
【図4】図3に示したメインコントローラの構成を説明するブロック図である。
【図5】図4に示したシステムバスブリッジ(SBB)の構成を説明するブロック図である。
【図6】図4に示したスキャナ・プリンタコントローラ(SPC)の構成を説明するブロック図である。
【図7】本発明の画像処理装置の第1の制御処理手順の一例を示すフローチャートである。
【図8】本発明に係る画像処理装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【符号の説明】
110 コントローラ
111 メインコントローラ
112 CPU
113 バスコントローラ
114 ROM
116 DRAM
200 リーダ装置
300 プリンタ装置
401 プロセッサコア(CPU)
402 システムバスブリッジ(SBB)
404 Gバス(GBUS)
405 Bバス(BBUS)[0001]
The present invention includes an image input means for inputting image data, storage means for storing the image data inputted from the image input unit, a row intends determination processing means for determining process of the image data stored in said storage means The present invention relates to an image processing apparatus having a control method, a control method for the image processing apparatus, and a storage medium.
[0002]
[Prior art]
In a conventional image processing apparatus, when performing pattern matching on an image read from an image input device by software, the image data is transferred from the image input device to a memory in a control device (CPU) in the image processing device in order to increase the speed. Are transferred in parallel with a job for transferring image data (image data transfer job) and a job for pattern matching for image data transferred to the memory (pattern matching job).
[0003]
[Problems to be solved by the invention]
However, in the conventional image processing apparatus, since the image input apparatus, the memory, and the CPU are connected on the same bus in the control unit, the performance of each of the above-described jobs (image data transfer job, pattern matching job) is improved. There is a problem that efficient data transfer processing cannot be performed because the access performance does not exceed the bus access performance.
[0004]
The present invention has been made to solve the above problems, the present onset bright object can be efficiently determining process of the image data without interfering with the image transfer from the images input means, As a result, it is an object to provide a mechanism capable of performing pattern matching processing with software that can be used for preventing counterfeiting, which has been difficult in the past, at high speed and efficiently.
[0005]
[Means for Solving the Problems]
The present invention includes an image input means (
[0008]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a diagram showing an overall configuration of an image input / output system to which an image processing apparatus showing an embodiment of the present invention can be applied.
[0009]
In the figure, a reader unit (image input device) 200 optically reads an original image and converts it into image data. The
[0010]
A printer unit (image output device) 300 conveys recording paper, prints image data as a visible image thereon, and discharges the recording paper outside the device. The
[0011]
An
[0012]
2 is a cross-sectional view showing the configuration of the
[0013]
In the
[0014]
Reflected light from the original at this time is guided to a CCD image sensor (hereinafter referred to as CCD) 218 by
[0015]
In the
[0016]
Then, at the timing synchronized with the start of laser light irradiation, the recording paper is fed from either the
[0017]
If double-sided recording is set, the recording paper is conveyed to the
[0018]
[Description of control device]
FIG. 3 is a block diagram illustrating a functional configuration of the
[0019]
In the figure,
[0020]
The
[0021]
The
[0022]
A
[0023]
[0024]
A general-purpose high-
[0025]
The I /
[0026]
[0027]
The
[0028]
133 is a real-time clock module for updating / saving the date and time managed in the device, and is backed up by a
[0029]
[0030]
[0031]
The scanner I /
[0032]
Note that data transfer from the
[0033]
The printer I /
[0034]
The transfer of the raster image data developed on the
[0035]
[Description of main controller]
FIG. 4 is a block diagram illustrating the configuration of the
[0036]
In the figure, a processor core (CPU) 401 (corresponding to the
[0037]
The
[0038]
The
[0039]
The
[0040]
An
[0041]
[Description of interrupt controller (IC)]
An interrupt controller (IC) 410 is connected to the
[0042]
[Description of Memory Controller (MC)]
A memory controller (MC) 403 is connected to an MC bus, which is a local bus dedicated to the memory controller, and controls a synchronous DRAM (SDRAM), a flash ROM, and a ROM (corresponding to the
[0043]
[Description of System Bus Bridge (SBB)]
FIG. 5 is a block diagram illustrating a configuration of the system bus bridge (SBB) 402 illustrated in FIG.
[0044]
The
[0045]
As shown in the figure, the
[0046]
The
[0047]
[Explanation of PCI bus interface (PCIC)]
A PCI bus interface (PCIC) 416 shown in FIG. 4 is a block that interfaces between the B bus, which is a general-purpose IO bus inside the main controller, and the PCI bus, which is an external chip IO bus.
[0048]
[Description of G bus arbiter (GBA), B bus arbiter (BBA)]
The arbitration of the G bus shown in FIG. 4 is a central arbitration method, and each bus master has a dedicated request signal and a grant signal. This arbiter can program the control method.
[0049]
In addition, as a method of giving priority to the bus master, all bus masters have the same priority, the fair arbitration mode that gives the bus right fairly, and the priority that raises the priority of any one bus master and gives priority to using the bus Either arbitration mode can be specified.
[0050]
The B bus arbiter (BBA) 407 shown in FIG. 4 receives a bus use request of the
[0051]
[Scanner Controller / Printer Controller (SPC)]
FIG. 6 is a block diagram illustrating the configuration of the scanner / printer controller (SPC) 408 shown in FIG.
[0052]
As shown in the figure, a scanner / printer controller (SPC) 408 is connected to a scanner (reader device 200) and a printer (printer device 300) by a video I / F (Video I / F), and has an internal bus G bus and a B bus. Is a block that interfaces with Broadly divided into the following three blocks.
[0053]
(1)
[0054]
(2)
[0055]
(3) G bus / B bus I / F units (GBI) 4301A and 4301B are units for connecting the
[0056]
The CP bus is a bus for directly connecting the image data of the scanner and the printer and a synchronization signal for horizontal and vertical synchronization.
[0057]
[Description of power management unit]
The
[0058]
Each block performs power management individually. Information on the power consumption of each block is collected as a power management level in a power management unit (PMU) 409 shown in FIG. In the
[0059]
As described above, the image forming apparatus of the present invention is a composite image processing apparatus that can efficiently control the image input apparatus and the image output apparatus.
[0060]
Hereinafter, with reference to the flowchart of FIG. 7, a description will be given of a process in which pattern matching is performed during scanning in the image processing apparatus of the present invention, and the scanning operation is stopped when matching with certain image data.
[0061]
FIG. 7 is a flowchart showing an example of a first control processing procedure of the image processing apparatus according to the present invention, which corresponds to processing for performing pattern matching during scanning and stopping the scanning operation when matching with certain image data. To do. This process is executed and controlled by the
[0062]
First, in step S1001, parameters are given to the
[0063]
Next, the start of scanning is instructed (S1002). Then, it waits for notification of the start of image data transfer via the interrupt controller 410 (S1003). When the transfer is started, it is determined whether there is unprocessed image data (S1004), and there is unprocessed image data. Is determined, the image data is subjected to pattern matching processing for each block (S1005). At this time, the image transfer processing from the scanner unit 210 (using the G bus 404) and the pattern matching processing (using the SC bus) by the CPU 112 (processor core 401) do not share the bus, and the
[0064]
On the other hand, if it is determined in step S1006 that there is no matching pattern in the image data, the process returns to step S1004, and the pattern matching process in step S1005 is repeated until it is determined that there is no unprocessed image data. The determination process of S1006 is performed, and if it is determined in step S1004 that there is no unprocessed image data, the process ends.
[0065]
As described above, by using the
[0066]
In this embodiment, the case where the
[0067]
The configuration of a data processing program that can be read by the image processing apparatus according to the present invention will be described below with reference to the memory map shown in FIG.
[0068]
FIG. 8 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the image processing apparatus according to the present invention.
[0069]
Although not particularly illustrated, information for managing a program group stored in the storage medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.
[0070]
Further, data depending on various programs is also managed in the directory. In addition, when a program or data to be installed is compressed, a program to be decompressed may be stored.
[0071]
The functions shown in FIG. 7 in this embodiment may be performed by the host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a storage medium such as a CD-ROM, flash memory, or FD, or from an external storage medium via a network. Is.
[0072]
As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the programmed program code.
[0073]
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0074]
Examples of the storage medium for supplying the program code include a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, A silicon disk or the like can be used.
[0075]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0076]
Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0077]
Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading the storage medium storing the program represented by the software for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention. .
[0078]
Furthermore, by downloading and reading a program represented by software for achieving the present invention from a database on a network by a communication program, the system or apparatus can enjoy the effects of the present invention. .
[0079]
【The invention's effect】
As described above, according to the present invention, it is possible to efficiently perform pattern matching processing of image data without hindering transfer of image data from the image input means, and as a result, forgery prevention, etc., which has been difficult in the past. There is an effect that a pattern matching process can be performed at high speed using usable software.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an overall configuration of an image input / output system to which an image processing apparatus according to an embodiment of the present invention can be applied.
FIG. 2 is a cross-sectional view illustrating the configuration of a reader unit and a printer unit illustrated in FIG.
FIG. 3 is a block diagram illustrating a functional configuration of the control device illustrated in FIG. 1;
4 is a block diagram illustrating a configuration of a main controller shown in FIG. 3. FIG.
5 is a block diagram illustrating a configuration of a system bus bridge (SBB) illustrated in FIG. 4. FIG.
6 is a block diagram illustrating a configuration of a scanner / printer controller (SPC) shown in FIG. 4; FIG.
FIG. 7 is a flowchart showing an example of a first control processing procedure of the image processing apparatus of the present invention.
FIG. 8 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the image processing apparatus according to the present invention.
[Explanation of symbols]
110
113
116 DRAM
200
402 System Bus Bridge (SBB)
404 G bus (GBUS)
405 B bus (BBUS)
Claims (3)
前記画像入力手段から入力された画像データを記憶する記憶手段と、
前記記憶手段に記憶された画像データに、あるパターンがあるか判断するパターンマッチング処理をプログラムを用いて行う処理手段とを有する画像処理装置において、
前記画像入力手段と第1のバスを介して接続され、前記処理手段と第2のバスを介して接続され、前記第1のバスと、又は前記第2のバスと前記記憶手段との接続を切り替え制御するものであり、前記第1のバスを使用した前記画像入力手段からの画像データの転送中に、前記第2のバスを使用して前記処理手段により、前記記憶手段に転送された画像データの前記パターンマッチング処理が行えるように前記第1のバスと、又は前記第2のバスと前記記憶手段との接続を切り換え制御する制御手段と、
前記記憶手段に記憶された画像データ中に前記あるパターンがあると判断されると即座に、前記画像入力手段による画像データの入力動作の中止を指示する指示手段と、
を有することを特徴とする画像処理装置。Image input means for inputting image data;
Storage means for storing image data input from the image input means;
In an image processing apparatus having processing means for performing pattern matching processing for determining whether or not there is a certain pattern in the image data stored in the storage means, using a program,
Connected to the image input means via a first bus, connected to the processing means via a second bus, and connected to the first bus or between the second bus and the storage means. An image transferred to the storage means by the processing means using the second bus during transfer of image data from the image input means using the first bus. Control means for switching and controlling connection between the first bus or the second bus and the storage means so that the pattern matching processing of data can be performed ;
Immediately after it is determined that there is the certain pattern in the image data stored in the storage means, an instruction means for instructing to stop the image data input operation by the image input means;
An image processing apparatus comprising:
前記第1のバスを使用した前記画像入力手段からの画像転送中に、前記第2のバスを使用して前記処理手段により、前記記憶手段に転送された画像データの前記パターンマッチング処理処理が行えるように前記第1のバスと、又は前記第2のバスと前記記憶手段との接続を切り換える切り換え工程と、
前記記憶手段に記憶された画像データ中に前記あるパターンがあると判断されると即座に、前記画像入力手段による画像データの入力動作の中止を指示する指示工程と、
を有することを特徴とする画像処理装置の制御方法。An image input unit for inputting image data, a storage unit for storing image data input from the image input unit, and a pattern matching process for determining whether or not there is a pattern in the image data stored in the storage unit Is connected to the image input means via a first bus, is connected to the processing means via a second bus, and is connected to the first bus or the second bus. And a control means for controlling the connection between the storage means and a control means for controlling the image processing apparatus,
During the image transfer from the image input means using the first bus, the processing means can perform the pattern matching process on the image data transferred to the storage means using the second bus. Switching step of switching the connection between the first bus or the second bus and the storage means ,
As soon as it is determined that there is the certain pattern in the image data stored in the storage means, an instruction step for instructing to stop the image data input operation by the image input means;
A control method for an image processing apparatus, comprising:
前記第1のバスを使用した前記画像入力手段からの画像転送中に、前記第2のバスを使用して前記処理手段により、前記記憶手段に転送された画像データの前記パターンマッチング処理処理が行えるように前記第1のバスと、又は前記第2のバスと前記記憶手段との接続を切り換える切り換え工程と、
前記記憶手段に記憶された画像データ中に前記あるパターンがあると判断されると即座に、前記画像入力手段による画像データの入力動作の中止を指示する指示工程と、
を実行させるためのプログラムをコンピュータが読み取り可能に記憶した記憶媒体。An image input unit for inputting image data, a storage unit for storing image data input from the image input unit, and a pattern matching process for determining whether or not there is a pattern in the image data stored in the storage unit and processing means for using said image input unit and is connected via a first bus, connected via the front Kisho physical means and the second bus, said first bus or the second And an image processing apparatus having control means for switching and controlling the connection between the storage means of the bus and
During the image transfer from the image input means using the first bus, the processing means can perform the pattern matching process on the image data transferred to the storage means using the second bus. Switching step of switching the connection between the first bus or the second bus and the storage means ,
As soon as it is determined that there is the certain pattern in the image data stored in the storage means, an instruction step for instructing to stop the image data input operation by the image input means;
A storage medium in which a computer-readable program is stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000163200A JP4510231B2 (en) | 2000-05-31 | 2000-05-31 | Image processing apparatus, image processing apparatus control method, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000163200A JP4510231B2 (en) | 2000-05-31 | 2000-05-31 | Image processing apparatus, image processing apparatus control method, and storage medium |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2001344603A JP2001344603A (en) | 2001-12-14 |
JP2001344603A5 JP2001344603A5 (en) | 2009-10-01 |
JP4510231B2 true JP4510231B2 (en) | 2010-07-21 |
Family
ID=18666994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000163200A Expired - Fee Related JP4510231B2 (en) | 2000-05-31 | 2000-05-31 | Image processing apparatus, image processing apparatus control method, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4510231B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1146299A (en) * | 1997-07-25 | 1999-02-16 | Canon Inc | Image input-output processing method, image input-output processing unit, image input-output processing system and storage medium |
JP2000148650A (en) * | 1998-11-09 | 2000-05-30 | Canon Inc | Controller for composite equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3524337B2 (en) * | 1997-07-25 | 2004-05-10 | キヤノン株式会社 | Bus management device and control device for multifunction device having the same |
-
2000
- 2000-05-31 JP JP2000163200A patent/JP4510231B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1146299A (en) * | 1997-07-25 | 1999-02-16 | Canon Inc | Image input-output processing method, image input-output processing unit, image input-output processing system and storage medium |
JP2000148650A (en) * | 1998-11-09 | 2000-05-30 | Canon Inc | Controller for composite equipment |
Also Published As
Publication number | Publication date |
---|---|
JP2001344603A (en) | 2001-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6539198B2 (en) | Image forming apparatus, control method of the image forming apparatus and storage medium | |
JP2006201932A (en) | Computer starting device, computer starting method, and computer starting program | |
JP4054503B2 (en) | Image processing device | |
JP2007038580A (en) | Method for accelerating saving/restoring of computer | |
JP4143381B2 (en) | Image processing apparatus, restart method, program, and storage medium | |
JP4510231B2 (en) | Image processing apparatus, image processing apparatus control method, and storage medium | |
JP2010004271A (en) | Image processing device | |
JP2002366362A (en) | Electronic equipment and its control method | |
JP2008023780A (en) | Image processing apparatus and its controlling method | |
US7898683B2 (en) | Image processing apparatus, control method for the same, and computer-readable medium storing a computer program for preventing downloading of resources data when a print job exists | |
JP2008004012A (en) | Computer device with method of automatically stopping device | |
JP2007226463A (en) | Information processor and information processing method | |
JP2004058499A (en) | Control method for image formation device | |
JP2001211276A (en) | Image processor and its control method | |
JP2008140191A (en) | File system | |
JP4454874B2 (en) | Printing apparatus and printing apparatus control method | |
JP2006173843A (en) | Image information i/o device | |
JP2002297391A (en) | Method and device for starting computer and control program | |
JP2002010011A (en) | Image processing system, method, and storage medium | |
JP2008060807A (en) | Image tracking system | |
JP4630939B2 (en) | Printing apparatus and printing apparatus control method | |
JP2001245121A (en) | Image processor and its control method | |
JP2001285600A (en) | Image-processing unit and control method for the image- processing unit | |
JP2004128912A (en) | Image output device and output control method, and computer readable storage device and program | |
JP2006020029A (en) | Image input/output device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070531 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070531 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20080107 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20080219 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090819 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100121 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100202 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100402 |
|
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: 20100427 |
|
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: 20100430 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4510231 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140514 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |