JP2007124151A - Image processing apparatus, and image processing method - Google Patents
Image processing apparatus, and image processing method Download PDFInfo
- Publication number
- JP2007124151A JP2007124151A JP2005311810A JP2005311810A JP2007124151A JP 2007124151 A JP2007124151 A JP 2007124151A JP 2005311810 A JP2005311810 A JP 2005311810A JP 2005311810 A JP2005311810 A JP 2005311810A JP 2007124151 A JP2007124151 A JP 2007124151A
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- request
- information
- mfp
- 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.)
- Withdrawn
Links
Images
Landscapes
- Storing Facsimile Image Data (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
本発明は画像処理技術に関するものである。 The present invention relates to an image processing technique.
従来より、ディジタル複写機等の画像処理装置(以下、MFP)は、スキャナで読み取った原稿の画像データやホストコンピュータから送信したデータなどをMFPのハードディスクなどの記憶媒体に記憶しておく機能が知られている。記憶されたデータは、必要に応じて自装置のプリンタから出力可能であり、ネットワークを介した送信も可能であるため、非常に便利である。
しかしながら、従来は、MFPに記憶された画像データを、予め定められたデータ形式で、表示、送信、印刷することしかできず、ユーザーの所望とする別のデータ形式で、表示、送信、印刷するといったことは、容易には実現できなかった。例えば、画像を表示する際は、サムネイル、送信する際は、JPEGデータ、印刷する際は、ラスターデータなどと予め決められており、別のデータ形式に容易にできなかった。例えば、画像データの文字領域の文字コードだけを表示、送信、印刷といったことは、実現できなかった。 However, conventionally, image data stored in the MFP can only be displayed, transmitted, and printed in a predetermined data format, and displayed, transmitted, and printed in another data format desired by the user. Such a thing could not be easily realized. For example, thumbnails for displaying images, JPEG data for transmission, raster data for printing, and the like are determined in advance, and it has not been possible to easily create another data format. For example, it has not been possible to display, transmit, and print only the character code of the character area of the image data.
本発明は以上の問題に鑑みてなされたものであり、保持する画像をその使用目的に応じて出力できるように、画像管理を行うための技術を提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique for performing image management so that a retained image can be output according to the purpose of use.
本発明の目的を達成するために、例えば、本発明の画像処理装置は以下の構成を備える。 In order to achieve the object of the present invention, for example, an image processing apparatus of the present invention comprises the following arrangement.
即ち、画像を取得する取得手段と、
前記取得した画像に基づいて、複数種の画像情報を生成する第1の生成手段と、
前記第1の生成手段が生成したそれぞれの画像情報について記述したXML形式の文書情報を生成する第2の生成手段と、
前記取得手段が取得した画像に対して外部から要求を受信した場合には、前記文書情報を用いて、当該要求に応じた画像情報を取得する処理手段と
を備えることを特徴とする。
That is, acquisition means for acquiring an image,
First generation means for generating a plurality of types of image information based on the acquired image;
Second generation means for generating document information in XML format describing each piece of image information generated by the first generation means;
And processing means for acquiring image information corresponding to the request using the document information when a request is received from the outside for the image acquired by the acquisition means.
本発明の目的を達成するために、例えば、本発明の画像処理方法は以下の構成を備える。 In order to achieve the object of the present invention, for example, an image processing method of the present invention comprises the following arrangement.
即ち、画像を取得する取得工程と、
前記取得した画像に基づいて、複数種の画像情報を生成する第1の生成工程と、
前記第1の生成工程で生成したそれぞれの画像情報について記述したXML形式の文書情報を生成する第2の生成工程と、
前記取得工程で取得した画像に対して外部から要求を受信した場合には、前記文書情報を用いて、当該要求に応じた画像情報を取得する処理工程と
を備えることを特徴とする。
That is, an acquisition step of acquiring an image,
A first generation step of generating a plurality of types of image information based on the acquired image;
A second generation step of generating document information in XML format describing each piece of image information generated in the first generation step;
A processing step of acquiring image information according to the request using the document information when a request is received from the outside for the image acquired in the acquisition step.
本発明の構成により、保持する画像をその使用目的に応じて出力できるように、画像管理を行うことができる。 According to the configuration of the present invention, it is possible to perform image management so that the held image can be output according to the purpose of use.
以下添付図面を参照して、本発明を好適な実施形態に従って詳細に説明する。 Hereinafter, the present invention will be described in detail according to preferred embodiments with reference to the accompanying drawings.
[第1の実施形態]
本実施形態では、ホストコンピュータと画像処理装置(以下、MFP:複合機)とが、ネットワーク等の伝送媒体を介して接続されたシステムにおいて、以下の処理を行う為の技術について説明する。即ち、MFPが有するスキャナで読み取った原稿の画像データ(スキャンデータ)やホストコンピュータから受信したデータ(アプリケーションデータ)などをXML形式の構造化文書データ(XMLデータ)としてMFPが有する記憶装置に保存する。そして、ホストコンピュータからの動作、命令に応じたXSLTを用いて、このXMLデータをハンドリングする。
[First Embodiment]
In the present embodiment, a technique for performing the following processing in a system in which a host computer and an image processing apparatus (hereinafter referred to as MFP: MFP) are connected via a transmission medium such as a network will be described. That is, image data (scan data) of a document read by a scanner included in the MFP, data (application data) received from a host computer, and the like are stored in a storage device included in the MFP as XML-format structured document data (XML data). . Then, the XML data is handled using XSLT corresponding to the operation and command from the host computer.
図1は、本実施形態で用いるシステムの構成を示す図である。同図に示す如く、本実施形態に係るシステムは、ネットワーク通信機能を備えたMFP101とホストコンピュータ(以下、PC)102〜104とが、ネットワーク105等の伝送媒体で接続されている構成を有する。
FIG. 1 is a diagram illustrating a configuration of a system used in the present embodiment. As shown in the figure, the system according to the present embodiment has a configuration in which an
同図において、106は、ハードディスクドライブ装置に代表される大容量情報記憶装置(ボックス)であって、PC102〜104から受信したデータや、MFP101が有するスキャナが読み取った画像データ等を保存することができる。なお、様々な形態でもってMFP101に入力されたデータは画像データとして記憶装置106内に保存される。その際、107で示す如く、割り当てられた固有のID(BOX−ID)とセットにして、記憶装置106内に保存される。なお、画像は、MFP101内部で規定されている特有の圧縮を行ってから保存する。
In the figure,
110は、PC102にインストールされている(文書作成、表作成等を行う)アプリケーションを用いて作成したアプリケーションデータ108をMFP101に対して送信し、印刷させる為の一連の送信処理を示す。
111は、MFP101が有するスキャナにより紙文書109を読み込ませ、読み込ませた結果としての画像データを記憶装置106保存させるための一連の処理を示す。
112は、PC103からリモート操作を行うためのRemoteUIを使用して、MFP101を遠隔制御する為の一連の処理を示す。
113は、例えば、前述したRemoteUIを使用して記憶装置106内に保存されている画像データをPC104へ送信する為の一連の処理を示す。この際、前述したように、記憶装置106に保存されている画像データは、MFP101内部で規定されている特有の圧縮処理が施されているため、一端画像データを伸長する。そして、例えば、一般的なカラー画像圧縮方式(JPEG)で圧縮処理が施され、PC104へ送信される。PC104へ送信された画像は、PC104の有する汎用的なビューアで閲覧可能である。
次に、MFP101について説明する。図2は、MFP101のハードウェア構成を示すブロック図である。MFP101は大まかには、画像入力デバイスとしてのスキャナ部201と、画像出力デバイスとしてのプリンタ部202と、CPUやメモリ等で構成される制御ユニット204と、ユーザーインターフェースとしての操作部203とで構成されている。
Next, the MFP 101 will be described. FIG. 2 is a block diagram illustrating a hardware configuration of the
先ず、操作部203について説明する。操作部203は、例えば、タッチパネル形式の表示装置であって、各種のGUI(グラフィカルユーザインターフェース)を表示すると共に、ユーザが自身の指や指示具などでもって画面上を指示すると、指示した結果をCPU205に通知する。
First, the
次に、制御ユニット204について説明する。制御ユニット204は、スキャナ部201、プリンタ部202、操作部203のそれぞれに接続している。また、一方では、LAN219や一般の電話回線網である公衆回線(WAN)220と接続している。これにより、制御ユニット204は、画像情報やデバイス情報の入出力を行うコントローラとして機能する。次に、制御ユニット204を構成する各部について説明する。
Next, the
CPU205は、MFP101を構成する各部を制御することで、MFP101全体の制御を行うと共に、MFP101が行う後述の各処理を実行する。
The
RAM206は、スキャナ部201、ネットワークI/F208、モデム209等を介して外部から入力した各種のデータを一時的に記憶するためのエリアを有する。また、RAM206は、HDD(ハードディスクドライブ装置)211からロードされたプログラムやデータを一時的に記憶するためのエリアも有する。また、RAM206は、CPU205が各種の処理を実行する際に用いるワークエリアも有する。このようにRAM206は、各種のエリアを適宜提供することができる。
The
ROM210は、ブートROMであり、MFP101のブートプログラムやブートに係るデータ等が格納されている。
A
HDD211はハードディスクドライブ装置であって、OS(オペレーティングシステム)や、CPU205に後述する各種の処理を実行させるためのプログラムやデータ等を適宜保存することができる。また、HDD211には、スキャナ部201、ネットワークI/F208、モデム209等を介して外部から入力した各種のデータを保存することもできる。また、HDD211は、図1に示した記憶装置106しても機能する。
The HDD 211 is a hard disk drive device, and can appropriately store an OS (Operating System) and programs and data for causing the
操作部I/F207は、操作部203とのインターフェースとして機能するものである。即ち、操作部203に表示する画面のデータを操作部203に対して出力する。また、操作部203から本MFP101のユーザが入力した指示情報を、CPU205に通知する。
The operation unit I /
ネットワークI/F208は、MFP101をLAN219に接続し、パケット形式の情報の入出力を行う為のインターフェースとして機能するものである。
The network I /
モデム209は、MFP101を公衆回線220に接続し、情報の復調・変調を行い、入出力を行う為のインターフェースとして機能するものである。
A
以上の各部は、システムバス221に接続されている。
Each unit described above is connected to the
イメージバスI/F212は、システムバス221と、画像データを高速で転送する画像バス222と、を接続し、データ構造を変換するバスブリッジである。画像バス222は、例えば、PCIバスやIEEE1394で構成される。
The image bus I /
画像バス222上には以下の各デバイスが接続されている。
The following devices are connected on the
ラスターイメージプロセッサ(RIP)213は、PDLコードを解析し、ビットマップイメージに展開する。デバイスI/F214は、信号線223を介して画像入出力デバイスであるスキャナ部201、信号線224を介してプリンタ部202、をそれぞれ制御ユニット204に接続し、画像データの同期系/非同期系の変換を行う。スキャナ画像処理部215は、入力画像データに対して補正、加工、編集を行う。プリンタ画像処理部216は、プリンタ部202に出力すべきプリント出力画像データに対して、プリンタ部202に応じた補正、解像度変換等を行う。画像回転部217は入力された画像データの回転を行い、出力する。画像圧縮部218は、多値画像データに対してはJPEG圧縮伸長処理、または、デバイス固有の圧縮伸長処理を行い、2値画像画像データに対してはJBIG、MMR、MHの圧縮伸長処理を行う。
A raster image processor (RIP) 213 analyzes the PDL code and develops it into a bitmap image. The device I /
次に、図2における制御ユニット204に実装されるソフトウェア構成について図3を用いて説明する。なお、同図に示すような構成を有するソフトウェアのプログラムやデータは、HDD211に保存されており、適宜RAM206にロードされ、CPU205による処理対象となる。
Next, a software configuration installed in the
301はユーザインターフェース(以下、UI)であり、MFP101のユーザが操作部203を用いてMFP101に対する各種操作・設定を行う際の、機器とユーザ操作との仲介を行うモジュールである。本モジュールは、ユーザの操作に従い、後述の各種モジュールに入力情報を転送して処理の依頼、或いはデータの設定等を行う。
302はアドレスブックであり、データの送付先、通信先等を管理するデータベースモジュールである。アドレスブック302の内容は、操作部203からの操作をUI301で検知し、データの追加、削除、取得が行われ、オペレータの操作により後述の各モジュールにデータの送付・通信先情報を与えるものとして使用されるものである。
303はWebサーバモジュールであり、Webクライアント(例えば、PC102)からの要求により、MFP101の管理情報を通知するために使用される。この管理情報は、後述の統合送信部304、後述のリモートコピースキャンモジュール309、後述のリモートコピープリントモジュール310、後述の制御API318を介して読み取られる。そして、後述のHTTPモジュール312、TCP/IP通信モジュール316、ネットワークドライバ317を介してWebクライアントに通知される。Webサーバモジュール303はWebクライアントに渡すべき情報を、HTML形式等のいわゆるWebページ(ホームページ)形式のデータとして作成する。必要に応じてJava(登録商標)やCGIプログラム等が用いられる。
A
304は統合送信部であり、データの配信を司るモジュールである。統合送信部304は、UI301を介してユーザによって指定されたデータを、指示された通信(出力)先に配布するものである。また、ユーザにより、MFP101のスキャナ機能を使用して配布データの生成が指示された場合は、後述の制御API318を介してスキャナ201を動作させ、データの生成を行う。
An
305は統合送信部304内で出力先にプリンタが指定された際に実行されるモジュールである。306は統合送信部304内で通信先にE−mailアドレスが指定された際に実行されるモジュールである。307は統合送信部304内で出力先にデータベースが指定された際に実行されるモジュールである。308は統合送信部304内で出力先にMFP101と同様のMFPが指定された際に実行されるモジュールである。
A module 305 is executed when a printer is designated as an output destination in the
309はリモートコピースキャンモジュールである。即ち、MFP101のスキャナ機能を使用してスキャナ201で読み取った画像情報の出力先をネットワーク等で接続された他のMFPのプリンタで出力し、MFP101単体で実現しているコピー機能と同等の処理を行うモジュールである。
310はリモートコピープリントモジュールである。即ち、ネットワーク等で接続された他のMFPのスキャナで読み取った画像情報を入力元として得られた画像情報をMFP101のプリンタ機能を使用して出力する。これにより、同様にMFP101単体で実現しているコピー機能と同等の処理を行う。
ボックスモジュール311はスキャン画像もしくはPDLプリント画像をHDD211に格納する。そして、格納した画像のプリンタ機能による印刷、統合送信機能による送信、HDD211に格納した文書の削除、グルーピング(個別BOXへの格納)、BOX間移動、BOX間コピーなどの管理機能を提供する。なお、ボックスモジュール311は、HTTPモジュール312及びTCP/IPモジュール316によって通信機能が提供される。
The
312はHTTPモジュールであり、MFP101がHTTPにより通信する際に使用され、後述のTCP/IP通信モジュール316により前述のWebサーバモジュール303、Webプルプリントモジュール311に通信機能を提供する。
313はlprモジュールであり、後述のTCP/IP通信モジュール316により前述の統合送信部304内のモジュール305に通信機能を提供するものである。314はSMTPモジュールであり、後述のTCP/IP通信モジュール316により統合送信部304内のE−mailモジュール306に通信機能を提供する。315はSLM、即ちSalutation−Managerモジュールである。即ち、後述のTCP/IP通信316モジュールにより前述の統合送信部304内のデータベースモジュール307、DPモジュール308、及びリモートコピースキャンモジュール309、リモートコピープリントモジュール310に通信機能を提供する。
316はTCP/IP通信モジュールであり、後述のネットワークドライバ317を用いて、前述の各種モジュールにネットワーク通信機能を提供する。317はネットワークドライバであり、ネットワークに物理的に接続される部分を制御するものである。
A TCP /
318は制御APIであり、統合送信部304等の上流モジュールに対し、後述のジョブマネージャー319等の下流モジュールとのインターフェイスを提供するものである。即ち、上流及び下流のモジュール間の依存関係を軽減し、それぞれの流用性を高めるものである。
319はジョブマネージャであり、前述の各種モジュールより制御API318を介して指示される処理を解釈し、後述の各モジュール(320、324、326)に指示を与えるものである。また、ジョブマネージャ319は、FAXジョブの制御も含めMFP101内で実行される種々のジョブを一元管理するものである。
A
320はCODECマネージャーであり、ジョブマネージャ319が指示する処理の中でデータの各種圧縮・伸長を管理・制御するものである。323はFBEエンコーダモジュールであり、ジョブマネージャ319、後述のスキャンマネージャ321により実行されるスキャン処理により読み込まれたデータをFBEフォーマットにより圧縮するものである。
A
324はJPEGコーデックモジュール(JPEG−CODEC)である。即ち、ジョブマネージャ319、スキャンマネージャ321により実行されるスキャン処理、及びプリントマネージャ322により実行される印刷処理において、読み込まれたデータのJPEG圧縮及び印刷データのJPEG展開処理を行うものである。
325はMMRコーデック(MMR−CODEC)である。ジョブマネージャ319、スキャンマネージャ321により実行されるスキャン処理及びプリントマネージャ326により実行される印刷処理において、スキャナから読み込まれたデータのMMR圧縮及びプリンタへ出力すべき印刷データのMMR伸長処理を行う。
321はスキャンマネージャであり、ジョブマネージャ319が指示するスキャン処理を管理・制御するものである。326はSCSIドライバであり、スキャンマネージャ321とMFP101が内部的に接続しているスキャナ部201との通信を行うものである。322はプリントマネージャであり、ジョブマネージャ319が指示する印刷処理を管理・制御するものである。
327はエンジンインターフェース(Engine I/F)であり、プリントマネージャ322とプリンタ部202とのI/Fを提供する。328はパラレルポートドライバであり、Webプルプリント311がパラレルポートを介して不図示の出力機器にデータを出力する際のI/Fを提供する。
次に、Address−Book302の詳細について説明する。このAddress−Book302は、MFP101内の不揮発性の記憶装置(不揮発性メモリやハードディスクなど)に保存されており、この中には、ネットワークに接続された他の機器の特徴が記載されている。例えば、以下に列挙するようなものが含まれている。
Next, details of the Address-
・ 機器の正式名やエイリアス名
・ 機器のネットワークアドレス
・ 機器の処理可能なネットワークプロトコル
・ 機器の処理可能なドキュメントフォーマット
・ 機器の処理可能な圧縮タイプ
・ 機器の処理可能なイメージ解像度
・ プリンタ機器の場合の給紙可能な紙サイズ、給紙段情報
・ サーバ(コンピューター)機器の場合のドキュメントを格納可能なフォルダ名
以下に説明する各アプリケーションは、上記Address−Book302に記載された情報により配信先の特徴を判別することが可能となる。
-Official device name or alias name-Device network address-Device processable network protocol-Device processable document format-Device processable compression type-Device processable image resolution-Printer device Paper size that can be fed, and paper feed stage information-Folder name in which documents can be stored in the case of a server (computer) device Each application described below uses the information described in the above Address-
このAddress−Book302を参照して、MFP101はデータを送信することができる。例えば、リモートコピーアプリケーションは、配信先に指定された機器の処理可能な解像度情報をAddress−Book302より判別し、それに従い、スキャナにより読み込まれた画像2値画像を公知のMMR圧縮を用いて圧縮する。そして、それを公知のTIFF(Tagged Image File Format)化し、SLM315に通して、ネットワーク上のプリンタ機器に送信する。SLM315については、詳細には説明しないが、公知のSalutation−Managerと呼ばれる機器制御情報などを含んだネットワークプロトコルの一種である。
With reference to the Address-
次に、図1におけるPC102〜104について説明する。図4は、PC102〜104に適用可能なコンピュータのハードウェア構成を示すブロック図である。なお、PC102〜104のそれぞれは全く同じ構成を有する必要はなく、図4に示した構成を基本に、さらなるハードウェアが追加されるような構成であっても良い。
Next, the
モニタ401は、CRTや液晶画面などにより構成されており、CPU403による処理結果を画像や文字などを用いて表示する。
The
キーボード・マウス402は周知の如く、本コンピュータの操作者が操作することで、各種の指示をCPU403に対して入力することができる。
As is well known, the keyboard /
CPU403は、メモリ405にロードされているプログラムやデータを用いて本コンピュータ全体の制御を行うと共に、本コンピュータを適用するPC102〜104が行う後述の各処理を実行する。
The
ハードディスク404は、OSや、本コンピュータを適用したPC102〜104が行う後述の各処理をCPU403に実行させるためのプログラムやデータを保存するものであり、これらはCPU403による制御に従って適宜メモリ405にロードされる。
The
ネットワーク・インターフェース406は、本コンピュータを上記ネットワーク105に接続するためのものである。本コンピュータは、このネットワーク・インターフェース406を介してネットワーク105に接続されている各装置(上記MFP101を含む)とのデータ通信を行う。
A
次に、MFP101が有するスキャナ部201が読み取った原稿の画像データ(スキャンデータ)や、PC102〜104から送信したデータ(アプリケーションデータ)などをMFP101が有するHDD211に格納する為の処理について説明する。
Next, a process for storing image data (scan data) of a document read by the
図5は、MFP101が有するスキャナ部201が読み取った原稿の画像データや、PC102〜104から送信したデータ等をHDD211に格納する為の処理のフローチャートである。
FIG. 5 is a flowchart of processing for storing image data of a document read by the
先ず、スキャナ部201が読み取った原稿の画像データをデバイスI/F214を介してRAM206に取得する(ステップS501)。そしてCPU205はスキャナ画像処理部215を制御し、この画像データに対して、色変換などの画像処理を施す(ステップS502)。なお、ステップS501で、ネットワークI/F208を介してPC102〜104の何れかからアプリケーションデータを受信した場合、ステップS502では、このデータに基づいて画像データを作成し、適切な画像処理を施してRAM206に再度格納する。
First, image data of a document read by the
次にCPU205は、ステップS502で画像処理済みの画像データを用いて、この画像データのサムネイル画像データを作成する(ステップS503)。またCPU205は画像圧縮部218を制御して、ステップS502で画像処理済みの画像データを用いて圧縮画像データを作成する(ステップS504)。ここでの圧縮処理では、MFP101固有の圧縮方法を用いた圧縮処理、MFP101に依存しない圧縮方法を用いた圧縮処理がある。ステップS504における圧縮処理については後述する。
Next, the
次に、CPU205はXMLデータを作成する(ステップS505)。このXMLデータは、ステップS503,S504で作成したデータのうち1以上について記述したものである。よって、予めXMLデータに記述する画像が決まっている場合には、この画像のみを得るようにすればよい(例えば、XMLデータに圧縮画像データについて記述しないのであれば、ステップS504における処理は省略しても良い)。ステップS505におけるXMLデータ作成処理については後述する。
Next, the
そして、CPU205は、XMLデータと、画像データ(XMLデータ内に記述された画像データ)をHDD211に保存する(ステップS506)。
Then, the
なお、ステップS501における画像取得処理に加えて、取得した画像における文字領域や写真領域、グラフィック領域を特定するための像域分離処理を行うようにしても良い。また、文字コードを認識するための文字認識処理(以下、OCR)、ベクトルデータを生成するためのベクトル化処理、送信用データを予め生成するためのJPEG圧縮処理等を行うようにしても良い。これらの処理がなされた場合は、夫々の結果がXMLデータに反映され、後にXMLデータの有効利用が可能となる。 In addition to the image acquisition process in step S501, an image area separation process for specifying a character area, a photograph area, or a graphic area in the acquired image may be performed. Further, a character recognition process (hereinafter referred to as OCR) for recognizing a character code, a vectorization process for generating vector data, a JPEG compression process for generating transmission data in advance, and the like may be performed. When these processes are performed, the respective results are reflected in the XML data, and the XML data can be effectively used later.
以上説明した処理により、XML形式の構造化文書(XMLデータ)と、画像データとがHDD211に保存されることになる。
Through the processing described above, the structured document (XML data) in the XML format and the image data are stored in the
図6〜8は、ステップS505で作成するXMLデータの構造を説明する図である。なお、ここでは、図6〜8に示した3つの構造例を示しているが、XMLデータ構造のタグの付け方や各要素の階層構造などは、これに限定するものではなく、適宜変形しても良い。 6 to 8 are diagrams illustrating the structure of the XML data created in step S505. Although the three structural examples shown in FIGS. 6 to 8 are shown here, the tagging method of the XML data structure and the hierarchical structure of each element are not limited to this, and can be modified as appropriate. Also good.
図6は、ステップS503で作成したサムネイル画像データと、ステップS502で処理済みの画像データをMFP101固有の圧縮方法でステップS504で圧縮した圧縮画像データと、に対するリンク情報が記述されたXMLデータの構成例を示す図である。
FIG. 6 shows the configuration of XML data in which link information is described for the thumbnail image data created in step S503 and the compressed image data obtained by compressing the image data processed in step S502 in step S504 using the compression method unique to the
同図には、XMLデータ(test1.xml)601、ステップS503で作成したサムネイル画像データ(バイナリデータ)604、ステップS504で生成した圧縮画像データ(バイナリデータ)605を示している。XMLデータ内において、602で示している部分には、バイナリデータ604に対するリンク情報が記述されており、603で示している部分には、バイナリデータ605に対するリンク情報が記述されている。
This figure shows XML data (test1.xml) 601, thumbnail image data (binary data) 604 created in step S503, and compressed image data (binary data) 605 generated in step S504. In the XML data, link information for
より具体的には、602で示している部分には、サムネイルタグ<thumbnail>で囲まれる「HDD211におけるバイナリデータ604の記憶場所情報(リンク情報)」が記述されている。また、603で示している部分には、イメージタグ<image>で囲まれる「HDD211におけるバイナリデータ605の記憶場所情報(リンク情報)」が記述されている。
More specifically, the portion indicated by 602 describes “storage location information (link information) of
よって、図6に示したXMLデータを作成する場合、ステップS504では、ステップS502で画像処理済みの画像データに対してMFP101固有の圧縮方法でもって圧縮画像データを生成する。そしてステップS506では、XMLデータ、サムネイル画像データ、ステップS504で生成した圧縮画像データをHDD211に保存することになる。
Therefore, when the XML data shown in FIG. 6 is created, in step S504, compressed image data is generated by the compression method unique to the
図7は、ステップS503で作成したサムネイル画像データのバイナリデータ604と、ステップS504で生成した圧縮画像データのバイナリデータ605とを埋め込んだXMLデータの構成例を示す図である。
FIG. 7 is a diagram illustrating a configuration example of XML data in which the
この場合、XMLデータは、XMLデータ(test2.xml)の単一ファイル701から構成される。XMLデータ内において、702で示している部分には、バイナリデータ604が埋め込まれており、703で示している部分には、バイナリデータ605が埋め込まれている。
In this case, the XML data is composed of a
より具体的には、702で示している部分には、サムネイルタグ<thumbnail>で囲まれるバイナリデータ604が埋め込まれている。また、703で示している部分には、イメージタグ<image>で囲まれるバイナリデータ605が埋め込まれている。
More specifically,
XMLデータへのバイナリデータの埋め込みには様々な方法が考えられ、例えば、XMLデータに直にバイナリデータを記述する方法や、バイナリデータをbase64でテキスト変換して埋め込む方法等が考えられる。 Various methods are conceivable for embedding binary data in XML data. For example, a method of describing binary data directly in XML data, a method of embedding binary data by text conversion using base64, and the like are conceivable.
よって、図7に示したXMLデータを作成する場合、図5のフローチャートにおいて、ステップS504では、ステップS502で画像処理済みの画像データに対してMFP101固有の圧縮方法でもって圧縮画像データを生成する。そして、ステップS506では、XMLデータにサムネイル画像データのバイナリデータを埋め込むと共に、ステップS504で得た圧縮画像データのバイナリデータを埋め込み、これらを埋め込んだXMLデータをHDD211に保存することになる。
Therefore, when the XML data shown in FIG. 7 is created, in the flowchart of FIG. 5, in step S504, compressed image data is generated by the compression method unique to the
図8は、図7に示したXMLデータに更に、文字コードデータ、JPEG圧縮画像データを埋め込んだXMLデータ801の構成例を示す図である。即ち、このXMLデータ801は、図7に示したXMLデータを作成するための処理に加え、以下の処理を行うことで得られるものである。
FIG. 8 is a diagram showing a configuration example of
即ち、図5のフローチャートにおいてステップS501における画像取得処理に加え、取得した画像内の各文字の文字コードデータをOCR処理により取得する。そしてステップS504で更に、ステップS502で画像処理済みの画像データをJPEG圧縮する事でJPEG圧縮画像データを作成する。そして生成した文字コードデータ、JPEG圧縮画像データをXMLデータに埋め込む。 That is, in the flowchart of FIG. 5, in addition to the image acquisition process in step S501, the character code data of each character in the acquired image is acquired by the OCR process. In step S504, JPEG compression image data is created by JPEG compression of the image data that has been processed in step S502. The generated character code data and JPEG compressed image data are embedded in the XML data.
そして、ステップS506では、XMLデータにサムネイル画像データのバイナリデータ、ステップS504で得た圧縮画像データのバイナリデータに加え、文字コードデータ、JPEG圧縮画像データを埋め込む。そして、これらを埋め込んだXMLデータをHDD211に保存する。
In step S506, character code data and JPEG compressed image data are embedded in the XML data in addition to the binary data of thumbnail image data and the binary data of the compressed image data obtained in step S504. Then, the XML data in which these are embedded is stored in the
このXMLデータ内において、802で示している部分には、バイナリデータ604が埋め込まれており、803で示している部分には、OCR処理により得られた文字コードデータが埋め込まれている。また、804で示している部分には、JPEG圧縮画像データが埋め込まれており、805で示している部分には、バイナリデータ605が埋め込まれている。
In this XML data,
ここで、JPEG圧縮画像データと、バイナリデータ605との違いについて説明する。JPEG圧縮画像データも、バイナリデータ605と同様にイメージのバイナリデータである。しかし、前述したように、バイナリデータ605は、デバイス固有の圧縮処理を施しているため、例えば、このデータをそのまま、ホストコンピュータ等へデータ送信することはできない。
Here, the difference between JPEG compressed image data and
一方、JPEG圧縮画像データは、汎用的なビューアで閲覧可能なデータである。また、バイナリデータ605は、デバイスの記憶装置の容量次第では、オリジナルのデータ(スキャンデータ)に近い画質を保てる特徴をもつ。しかし、JPEG圧縮画像データは、送信用データとして生成されているため、一般的にデータサイズは小さく、画質は劣化しているという特徴をもつ。
On the other hand, JPEG compressed image data is data that can be viewed with a general-purpose viewer. Further, the
このように、図6〜8に示す如く、XMLデータに対して様々な画像情報を埋め込む、若しくは様々な画像情報に対するリンク情報を記述したXMLデータを作成するに際し、この画像情報には様々なものがある。そして、それぞれは後述する外部からの要求に応じたものとなる。 In this way, as shown in FIGS. 6 to 8, when creating XML data in which various image information is embedded in XML data or link information for various image information is described, there are various kinds of image information. There is. Each of them corresponds to a request from the outside described later.
従って、XMLデータを作成する際には、その要求に応じた画像情報を先ず作成し、作成したそれぞれの画像情報をXMLデータに埋め込む、若しくは、それぞれの画像情報に対するリンク情報をXMLデータに記述する。 Therefore, when creating XML data, image information corresponding to the request is first created, and each created image information is embedded in the XML data, or link information for each image information is described in the XML data. .
以下の説明では、図8に示したXMLデータ801を作成したものとして説明するが、以下の説明の本質は、このようなXMLデータ801を取り扱うことに限定するものではない。
In the following description, it is assumed that the
次に、以上のようにして作成したXMLデータ801内に記述された複数種の画像情報のうち、外部要求に応じたものを取得するために行う処理について説明する。
Next, a description will be given of processing to be performed to acquire information corresponding to an external request among a plurality of types of image information described in the
図9は、表示用、送信用、印刷用のXSLTを使用して、XMLデータ801を各々の目的に適したデータに変換することで、それぞれの目的に応じた画像情報を取得する為の処理の流れを説明する図である。
FIG. 9 shows a process for acquiring image information corresponding to each purpose by converting the
ここで、「表示」とは、例えば、MFP101の記憶装置106に格納された画像を、PC102〜104からサムネイルとして閲覧する動作を表す。また、「送信」とは、MFP101の記憶装置106に格納された画像を、PC102〜104へ送信する動作を表す。また、「印刷」とは、MFP101の記憶装置106に格納された画像を、同MFP101が有するプリンタ部202から印刷する動作を表す。
Here, “display” represents, for example, an operation of browsing images stored in the
901は、MFP101の記憶装置106に格納されたXMLデータである。902はXSLTプロセッサで、後述するXSLT903〜905を用いて、XMLデータ901を所望のデータ形式に変換する処理を行う為のプログラムである。このプログラムにより、XML文書をHTMLやプレーンテキスト、任意のXML文書などへと自由に変換して出力することが可能である。Microsoft(登録商標)のMSXML、Apache.orgのXalan、Jim Clarks氏のXTなどが知られている。
903は、このXMLデータ901を表示用データに変換するためのXSLTである。904は、XMLデータ901を送信用データに変換するためのXSLTである。905は、印刷用データに変換するためのXSLTである。
それぞれのXSLT903〜905は、データファイルとしてHDD211内に保存されているものであり、適宜、更新が可能である。
Each of the
それぞれのXSLT903〜905の機能を図13(a)に示す。
The functions of the
同図に示す如く、表示用XSLT903は、XMLデータ901内の複数種の画像情報のうち、表示用の画像情報を取得すべく、XMLデータ901を変換する機能を有する。
As shown in the figure, the
従って、CPU205が表示用XSLT903を用いてXSLTプロセッサ902を実行すると、先ず、XMLデータ901内で<thumbnail>で囲まれた部分を検索する。そして、検索した部分のバイナリデータを取得する。取得したバイナリデータは、XMLやHTMLで書式付けし、XMLデータ、若しくはHTMLデータとしてHDD211内に出力する。図9では、XMLデータ906がこの出力データとなる。従って、このようにして生成されたXMLデータ906は、PC102〜104から閲覧可能なサムネイル画像のXMLデータとなる。
Therefore, when the
また、同図に示す如く、送信用XSLT904は、XMLデータ901内の複数種の画像情報のうち、送信用の画像情報を取得すべく、XMLデータ901を変換する機能を有する。
Further, as shown in the figure, the
従って、CPU205が送信用XSLT904を用いてXSLTプロセッサ902を実行すると、先ず、XMLデータ901内で<jpeg>で囲まれた部分を検索する。そして、検索した部分のバイナリデータを取得する。取得したバイナリデータは、XMLやHTMLで書式付けし、XMLデータ、若しくはHTMLデータとしてHDD211内に出力する。図9では、XMLデータ907がこの出力データとなる。従って、このようにして生成されたXMLデータ907は、PC102〜104に対する送信に適した画像のXMLデータとなる。
Therefore, when the
また、同図に示す如く、印刷用XSLT905は、XMLデータ901内の複数種の画像情報のうち、印刷用の画像情報を取得すべく、XMLデータ901を変換する機能を有する。
Further, as shown in the figure, the
従って、CPU205が印刷用XSLT905を用いてXSLTプロセッサ902を実行すると、先ず、XMLデータ901内で<image>で囲まれた部分を検索する。そして、検索した部分のバイナリデータを取得する。取得したバイナリデータは、XMLやHTMLで書式付けし、XMLデータ、若しくはHTMLデータとしてHDD211内に出力する。なお、図9では、XMLデータ908がこの出力データとなるが、出力データとしては、バイナリデータの形式であっても良い。従って、このようにして生成されたXMLデータ908は、プリンタ部202における印刷に適した画像のXMLデータとなる。
Therefore, when the
次に、RemoteUIについての説明を行う。RemoteUIとは、図3における説明のとおり、PCがWebクライアントとなり、PCのWebブラウザを用いてMFP101が有するWebサーバに対してHTTP通信を行うことでリモート操作を実現する機能である。まず、PCのRemoteUIを起動し、MFP101のIPアドレスを入力することでMFP101への接続を行う。
Next, the Remote UI will be described. As described with reference to FIG. 3, the RemoteUI is a function that realizes remote operation by performing HTTP communication with a Web server included in the
図14は、その時のRemoteUI上でユーザーボックスを閲覧した場合の画面の様子を示す図である。ここで、ユーザーボックスとは、MFP101の記憶装置106のボックスを意味している。図14の1401の各ボタン(表示、送信、印刷、消去)は、1402で示されるようなボックスに保存されているファイルに対する動作/命令を示している。1402は、ボックスに保存されている各ファイル及びその情報を示しており、選択欄、原稿、文書名、用紙サイズ、ページ、日付などが表示されている。ここで、1402で表示されている文書名file1、file2は、夫々、図1のボックスデータ107のBOX−ID 0001、BOX−ID 0002に対応するファイルである。
FIG. 14 is a diagram illustrating a screen state when a user box is viewed on the Remote UI at that time. Here, the user box means a box in the
次に、前述したRemoteUIを用いて、PCからHDD211に保存されているファイル(画像データ)に対して、表示、送信、印刷といった動作/命令(以下、リクエスト)を行った場合に、MFP101が行う処理について図10を用いて説明する。図10は、このような処理のフローチャートである。
Next, when the above-described Remote UI is used, the
先ず、PCのユーザは、PCのRemoteUIを起動し、MFP101のHDD211に格納されている画像データのうち所望の画像データに対してリクエスト(要求)を送信する。従って、MFP101のCPU205はPCからリクエストを受信したのか否かをチェックし(ステップS1001)、受信した場合には処理をステップS1002に進め、このリクエストの種別が「表示」であるのか否かをチェックする(ステップS1002)。
First, the PC user activates the Remote UI of the PC and transmits a request (request) to desired image data among the image data stored in the
そして、リクエストの種別が「表示」である場合には処理をステップS1003に進める。そして、CPU205はXSLTプロセッサ902を動作させ、表示用XSLT903を用いて、上記所望の画像データを埋め込んだXMLデータから、表示用のデータ(図9の場合、XMLデータ906)を生成する(ステップS1003)。そして、生成した表示用のデータをPCに返信する(ステップS1004)。
If the request type is “display”, the process advances to step S1003. Then, the
一方、ステップS1002におけるチェック処理で、リクエストの種別が「表示」ではない場合には、処理をステップS1005に進め、リクエストの種別が「送信」であるのか否かをチェックする(ステップS1005)。 On the other hand, if the request type is not “display” in the check process in step S1002, the process proceeds to step S1005 to check whether the request type is “transmission” (step S1005).
チェックの結果、リクエストの種別が「送信」である場合には処理をステップS1006に進める。そして、CPU205はXSLTプロセッサ902を動作させ、送信用XSLT904を用いて、上記所望の画像データを埋め込んだXMLデータから、送信用のデータ(図9の場合、XMLデータ907)を生成する(ステップS1006)。そして、生成した送信用のデータをPCに返信する(ステップS1007)。
As a result of the check, if the request type is “transmission”, the process advances to step S1006. Then, the
一方、ステップS1005におけるチェック処理で、リクエストの種別が「送信」ではない場合には、処理をステップS1008に進め、リクエストの種別が「印刷」であるのか否かをチェックする(ステップS1008)。 On the other hand, if it is determined in step S1005 that the request type is not “transmission”, the process advances to step S1008 to check whether the request type is “print” (step S1008).
チェックの結果、リクエストの種別が「印刷」である場合には処理をステップS1009に進める。そして、CPU205はXSLTプロセッサ902を動作させ、印刷用XSLT905を用いて、上記所望の画像データを埋め込んだXMLデータから、印刷用のデータ(図9の場合、XMLデータ908)を生成する(ステップS1009)。そして、生成した印刷用のデータをプリンタ部202に出力する(ステップS1010)。
As a result of the check, if the request type is “print”, the process advances to step S1009. Then, the
以上の説明により、本実施形態によれば、外部からの要求に応じてXSLTを切替えることで、XMLデータの容易なハンドリングが可能となる。 As described above, according to the present embodiment, XML data can be easily handled by switching the XSLT in response to an external request.
[第2の実施形態]
第1の実施形態では、HDD211に保存されているXSLT903〜905を用いて、XMLデータを変換した。しかし、XSLT903〜905の機能だけでは、より複雑なXMLデータ構造をもつ文書に対しては、柔軟な対応ができないという課題がある。そこで、本実施形態では、PCからの各リクエストに対して、既存のXSLTをベースに、新しいXSLT(XSLT’)を動的に生成し、生成したXSLT’を使用することで、XMLデータをより柔軟にハンドリングするための方法について説明を行う。
[Second Embodiment]
In the first embodiment, XML data is converted using
図11は、本実施形態で用いる画像データの例を示す図である。よって、本実施形態では、このような画像データが、MFP101が有するスキャナ部201が読み取った原稿の画像データとして、若しくはPC102〜104から送信したデータに基づく画像データとしてHDD211に格納されている。
FIG. 11 is a diagram illustrating an example of image data used in the present embodiment. Therefore, in the present embodiment, such image data is stored in the
ここで、この画像データをHDD211に格納する際、この画像における文字領域、写真領域、グラフィック領域を特定するための像域分離処理が行われているものとする。また、これに加え、文字コードを認識するための文字認識処理(以下、OCR)、ベクトルデータを生成するためのベクトル化処理、送信用データを予め生成するためのJPEG圧縮処理等が、行われているものとする。同図において1102〜1104は、像域分離処理で順に文字領域、グラフィック領域、写真領域と特定された領域である。
Here, when this image data is stored in the
また、各々の領域がもつ矩形、その他情報を下記に示す。 In addition, the rectangle and other information of each area are shown below.
■ 文字領域1102
左上の座標(x、y)は、(x1、y1)
領域サイズ(幅、高さ)は、(w1、h1)
その他、OCR情報(文字コード)
■ グラフィック領域1103
左上の座標(x、y)は、(x2、y2)
領域サイズ(幅、高さ)は、(w2、h2)
その他、ベクトル情報(ベクトルデータ)
■ 写真領域(1104)
左上の座標(x、y)は、(x2、y2)
領域サイズ(幅、高さ)は、(w2、h2)
その他、JPEGデータ(注、1104のJPEGデータ)
これらの処理結果を反映させたXMLデータの構成例を図12に示す。同図に示したXMLデータは、XMLファイル1201(test4.xml)の単一ファイルから構成されるものとする。XMLデータ内において、1202で示している部分には、サムネイル画像のバイナリデータが埋め込まれている。1203で示している部分には、文字領域1102の文字コード、及びこれに関する情報が埋め込まれている。1204で示している部分には、グラフィック領域1103のベクトルデータ、及びこれに関する情報に関する情報が埋め込まれている。1205で示している部分には、写真領域1104のJPEG圧縮画像データ、及びこれに関する情報が埋め込まれている。1206〜1208に示している部分には、各領域1102から1104における画像、及びこれに関する情報が埋め込まれている。
■
The upper left coordinates (x, y) are (x1, y1)
The region size (width, height) is (w1, h1)
Other OCR information (character code)
■
The upper left coordinate (x, y) is (x2, y2)
Area size (width, height) is (w2, h2)
Other vector information (vector data)
■ Photo area (1104)
The upper left coordinate (x, y) is (x2, y2)
Area size (width, height) is (w2, h2)
Others, JPEG data (Note 1104 JPEG data)
FIG. 12 shows a configuration example of XML data reflecting these processing results. The XML data shown in the figure is assumed to be composed of a single file of an XML file 1201 (test4.xml). In the XML data, binary data of a thumbnail image is embedded in a portion indicated by 1202. In the portion indicated by 1203, the character code of the
次に、前述した図14のRemoteUIを用いて、PCからボックスに保存されているXMLデータに対して、リクエスト(=表示)を出す方法について説明する。ユーザは、図14の1403の選択欄よりファイルを選択後、1402の表示ボタンを押すと、例えば、図15のようなダイアログ画面が表示される。
Next, a method for issuing a request (= display) to XML data stored in a box from a PC using the above-described RemoteUI of FIG. When the user selects a file from the
ここで、ユーザは、通常の全体領域のサムネイル表示の他、各領域毎に表示させたい項目が選択可能となる。例えば、図15に示すように、全体領域=非表示、文字領域=文字コード、グラフィック領域=非表示、写真領域=非表示を選択することで、文字領域の文字コードのみを表示ということも可能である。 Here, in addition to the normal thumbnail display of the entire area, the user can select items to be displayed for each area. For example, as shown in FIG. 15, it is possible to display only the character code of the character region by selecting the entire region = non-display, the character region = character code, the graphic region = non-display, and the photo region = non-display. It is.
第1の実施形態では、リクエストが表示である場合には、図13に示すXSLT903を使用するため、全体領域のサムネイルの表示しか行うことができなかった。そこで、本実施形態では、文字領域の文字コードを表示という指定付きのリクエストを受信した場合には、XSLT903をベースとして、XMLデータから文字領域の文字コードを取得する機能をもつXSLT903’を動的に生成する。これにより、先に述べた要求を実現する。
In the first embodiment, when the request is a display, since the
即ち、この例では、XSLT903’は、<thumbnail>タグで囲まれるバイナリーデータを取得する機能と、<ocr>タグで囲まれる文字コードを取得する機能を有する。XSLT903’の機能は、図13(b)に示す。また、出力ファイルは、XSLTの機能を継承し、例えば、HTMLデータを出力する。
That is, in this example, the
次に、前述したRemoteUIを用いて、PCからHDD211に保存されているファイル(画像データ)に対して、表示、送信、印刷といった動作/命令(以下、リクエスト)を行った場合に、MFP101が行う処理について図16を用いて説明する、。図16は、このような処理のフローチャートである。なお、同図において、図10と同じ部分については同じステップ番号を付けており、その説明は省略する。
Next, when the above-described Remote UI is used, the
リクエストが「表示」である場合には処理をステップS1002を介してステップS1603に進め、予めHDD211内に保持しているXSLT1を用いて、要求された表示内容に応じたXSLT1’を作成する(ステップS1603)。そしてステップS1604では、作成したXSLT1’を用いて、表示用データを作成する(ステップS1604)。そして、作成した表示用データをPCに返信する(ステップS1605)。 If the request is “display”, the process proceeds to step S1603 via step S1002, and XSLT1 ′ corresponding to the requested display content is created using XSLT1 previously stored in the HDD 211 (step S1003). S1603). In step S1604, display data is created using the created XSLT 1 '(step S1604). Then, the created display data is returned to the PC (step S1605).
一方、リクエストが「表示」ではなく「送信」である場合には、処理をステップS1002、S1005を介してステップS1607に進める。そして、予めHDD211内に保持しているXSLT2を用いて、要求された送信内容に応じたXSLT2’を作成する(ステップS1607)。そしてステップS1608では、作成したXSLT2’を用いて、送信用データを作成する(ステップS1608)。そして作成した送信用データをPCに返信する(ステップS1609)。 On the other hand, if the request is not “display” but “transmission”, the process proceeds to step S1607 via steps S1002 and S1005. Then, XSLT 2 'corresponding to the requested transmission content is created using XSLT 2 previously held in HDD 211 (step S1607). In step S1608, transmission data is created using the created XSLT 2 '(step S1608). Then, the created transmission data is returned to the PC (step S1609).
一方、リクエストが「表示」、「送信」、ではなく「印刷」である場合には、処理をステップS1002、S1005、S1008を介してステップS1611に進める。そして、予めHDD211内に保持しているXSLT3を用いて、要求された印刷内容に応じたXSLT3’を作成する(ステップS1611)。そしてステップS1612では、作成したXSLT3’を用いて、印刷用データを作成する(ステップS1612)。そして作成した印刷データをプリンタ部202に送信する(ステップS1613)。
On the other hand, if the request is “print” instead of “display” or “transmission”, the process proceeds to step S1611 via steps S1002, S1005, and S1008. Then, XSLT 3 'corresponding to the requested print content is created using
以上の説明により、本実施形態によれば、PCからの各リクエストに対して、既存のXSLTをベースに、新しいXSLT(XSLT’)を動的に生成し、作成したXSLT’を使用することで、XMLデータをより柔軟にハンドリングすることが可能となる。 As described above, according to the present embodiment, for each request from the PC, a new XSLT (XSLT ′) is dynamically generated based on the existing XSLT, and the created XSLT ′ is used. , XML data can be handled more flexibly.
[第3の実施形態]
第1の実施形態では、HDD211に取得する毎に毎回XMLデータを作成するために、MFP101におけるパフォーマンスの低下、及びメモリ資源を浪費するという課題がある。
[Third Embodiment]
In the first embodiment, since XML data is created every time it is acquired in the
そこで、本実施形態では、MFP101がPCからの各リクエストを受信した場合にのみ、XMLデータなどの作成処理を行う。これにより、結果としてXMLデータなどを作成しないものに対して、不要に作成してしまったりすることを防ぐ。但し、一度生成したXMLデータ等は、保存するようにしておく。
Therefore, in the present embodiment, creation processing of XML data or the like is performed only when the
以下の説明では、一例として、MFP101が有するスキャナ部201が読み取った原稿の画像データや、PC102〜104から送信したデータ等をHDD211に格納する際には、XMLデータの作成は行わない。その代わりに、この画像データのサムネイル画像データ、MFP101固有の圧縮方法により圧縮した圧縮画像データを作成し、HDD211に格納する。
In the following description, as an example, when storing image data of a document read by the
上記RemoteUIを用いてPCからHDD211に保存されているファイル(画像データ)に対して、送信命令(以下、リクエスト)を行った場合に、MFP101が行う処理について同処理のフローチャートを示す図17を用いて以下説明する。
FIG. 17 is a flowchart showing the processing performed by the
PCから送信要求を受けると、処理をステップS1702を介してステップS1702に進め、CPU205はHDD211に格納している圧縮画像データを読み出し、これを伸張する(ステップS1702)。そして、伸張した画像データを用いてJPEG圧縮画像データを作成する(ステップS1703)。そして作成したJPEG圧縮画像データに対するリンク情報を記述したXMLデータ、若しくは、作成したJPEG圧縮画像データを埋め込んだXMLデータを作成する(ステップS1704)。なお、一度作成したXMLデータは、後に用いる可能性もあるし、後に再度作成する手間を省く為に、ステップ1704では更に、作成したXMLデータをHDD211に格納する。
When a transmission request is received from the PC, the process proceeds to step S1702 via step S1702, and the
そして、作成したXMLデータに対して、CPU205はXSLTプロセッサ902を動作させ、送信用XSLTを用いて、送信用データを作成する(ステップS1705)。そして作成した送信用データをPCに返信する(ステップS1706)。
Then, the
以上の説明により、本実施形態によれば、MFP101がPCからの各リクエストを受信した場合にのみXMLデータを作成することにより、不要なXMLデータの生成を行わずに済み、パフォーマンスの向上、及びメモリ資源の節約を図れる。
As described above, according to the present embodiment, by generating XML data only when the
なお、外部からの要求を受けた時点で行うべき処理はこれに限定するものではなく、要求を受ける前に行うことが不要である処理については、要求を受けた後に行うようにすればよい。 Note that processing to be performed at the time of receiving a request from the outside is not limited to this, and processing that need not be performed before receiving the request may be performed after receiving the request.
[その他の実施形態]
また、本発明の目的は、以下のようにすることによって達成されることはいうまでもない。即ち、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体(または記憶媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読み出し実行する。この場合、記録媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記録した記録媒体は本発明を構成することになる。
[Other Embodiments]
Needless to say, the object of the present invention can be achieved as follows. That is, a recording medium (or storage medium) that records a program code of software that implements the functions of the above-described embodiments is supplied to a system or apparatus. Then, the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the recording medium. In this case, the program code itself read from the recording medium realizes the functions of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention.
また、コンピュータが読み出したプログラムコードを実行することにより、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行う。その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, an operating system (OS) or the like running on the computer performs part or all of the actual processing based on the instruction of the program code. Needless to say, the process includes the case where the functions of the above-described embodiments are realized.
さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれたとする。その後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, it is assumed that the program code read from the recording medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. After that, based on the instruction of the program code, the CPU included in the function expansion card or function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing. Needless to say.
本発明を上記記録媒体に適用する場合、その記録媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。 When the present invention is applied to the recording medium, program code corresponding to the flowchart described above is stored in the recording medium.
Claims (10)
前記取得した画像に基づいて、複数種の画像情報を生成する第1の生成手段と、
前記第1の生成手段が生成したそれぞれの画像情報について記述したXML形式の文書情報を生成する第2の生成手段と、
前記取得手段が取得した画像に対して外部から要求を受信した場合には、前記文書情報を用いて、当該要求に応じた画像情報を取得する処理手段と
を備えることを特徴とする画像処理装置。 An acquisition means for acquiring an image;
First generation means for generating a plurality of types of image information based on the acquired image;
Second generation means for generating document information in XML format describing each piece of image information generated by the first generation means;
An image processing apparatus comprising: processing means for acquiring image information corresponding to the request using the document information when a request is received from the outside for the image acquired by the acquisition means .
前記取得手段が取得した画像に対する印刷要求に応じるべく用いる画像情報として、前記画像処理装置固有の圧縮方法でもって当該画像を圧縮することで圧縮画像を生成する手段、
前記取得手段が取得した画像に対する閲覧要求に応じるべく用いる画像情報として、当該画像のサムネイル画像を生成する手段、
前記取得手段が取得した画像に対する送信要求に応じるべく用いる画像情報として、JPEG圧縮方法でもって当該画像を圧縮することで圧縮画像を生成する手段、
のうち1以上を備えることを特徴とする請求項1に記載の画像処理装置。 The first generation means includes:
Means for generating a compressed image by compressing the image by a compression method specific to the image processing apparatus as image information used to respond to a print request for the image acquired by the acquisition means;
Means for generating a thumbnail image of the image as image information used to respond to a browsing request for the image acquired by the acquisition means;
Means for generating a compressed image by compressing the image by a JPEG compression method as image information used to respond to a transmission request for the image acquired by the acquisition means;
The image processing apparatus according to claim 1, further comprising: one or more of the above.
前記処理手段は、前記取得手段が取得した画像に対して外部から要求を受信した場合には、当該要求に対応するリンク情報を参照し、参照したリンク情報で特定される画像情報を取得することを特徴とする請求項1に記載の画像処理装置。 The second generation unit generates XML format document information describing link information for each piece of image information generated by the first generation unit,
When the processing unit receives a request from the outside for the image acquired by the acquiring unit, the processing unit refers to link information corresponding to the request and acquires image information specified by the referred link information. The image processing apparatus according to claim 1.
前記処理手段は、XSLTを用いて、当該要求に対応するリンク情報を参照し、参照したリンク情報で特定される画像情報を取得することを特徴とする請求項3に記載の画像処理装置。 When a request is received from the outside for the image acquired by the acquisition unit,
The image processing apparatus according to claim 3, wherein the processing unit refers to link information corresponding to the request using XSLT and acquires image information specified by the referenced link information.
前記処理手段は、前記取得手段が取得した画像に対して外部から要求を受信した場合には、当該要求に対応する画像情報を取得することを特徴とする請求項1に記載の画像処理装置。 The second generation unit generates document information in XML format in which the respective image information generated by the first generation unit is embedded,
The image processing apparatus according to claim 1, wherein the processing unit acquires image information corresponding to the request when receiving a request from the outside for the image acquired by the acquisition unit.
前記処理手段は、XSLTを用いて、前記文書情報内に埋め込まれた画像情報のうち、当該要求に対応する画像情報を取得することを特徴とする請求項5に記載の画像処理装置。 When a request is received from the outside for the image acquired by the acquisition unit,
The image processing apparatus according to claim 5, wherein the processing unit acquires image information corresponding to the request among image information embedded in the document information using XSLT.
前記取得した画像に基づいて、複数種の画像情報を生成する第1の生成工程と、
前記第1の生成工程で生成したそれぞれの画像情報について記述したXML形式の文書情報を生成する第2の生成工程と、
前記取得工程で取得した画像に対して外部から要求を受信した場合には、前記文書情報を用いて、当該要求に応じた画像情報を取得する処理工程と
を備えることを特徴とする画像処理方法。 An acquisition process for acquiring images;
A first generation step of generating a plurality of types of image information based on the acquired image;
A second generation step of generating document information in XML format describing each piece of image information generated in the first generation step;
An image processing method comprising: a processing step of acquiring image information corresponding to the request using the document information when a request is received from the outside for the image acquired in the acquisition step. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005311810A JP2007124151A (en) | 2005-10-26 | 2005-10-26 | Image processing apparatus, and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005311810A JP2007124151A (en) | 2005-10-26 | 2005-10-26 | Image processing apparatus, and image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007124151A true JP2007124151A (en) | 2007-05-17 |
Family
ID=38147524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005311810A Withdrawn JP2007124151A (en) | 2005-10-26 | 2005-10-26 | Image processing apparatus, and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007124151A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009193254A (en) * | 2008-02-13 | 2009-08-27 | Canon Inc | Image-processing system |
JP2011136488A (en) * | 2009-12-28 | 2011-07-14 | Brother Industries Ltd | Printer |
JP2014215665A (en) * | 2013-04-23 | 2014-11-17 | セイコーエプソン株式会社 | Printing control method and printing control device |
-
2005
- 2005-10-26 JP JP2005311810A patent/JP2007124151A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009193254A (en) * | 2008-02-13 | 2009-08-27 | Canon Inc | Image-processing system |
JP2011136488A (en) * | 2009-12-28 | 2011-07-14 | Brother Industries Ltd | Printer |
US9134941B2 (en) | 2009-12-28 | 2015-09-15 | Brother Kogyo Kabushiki Kaisha | Printer |
JP2014215665A (en) * | 2013-04-23 | 2014-11-17 | セイコーエプソン株式会社 | Printing control method and printing control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5008774B2 (en) | Image processing apparatus and control method thereof | |
JP4819311B2 (en) | Image processing apparatus, control method thereof, and program | |
US8356084B2 (en) | Information processing apparatus and image processing apparatus | |
JP5199761B2 (en) | Information processing apparatus, image input apparatus, document distribution system, and control method therefor | |
JP5534666B2 (en) | Document processing apparatus and control method thereof, document management system, data processing method in the system, and computer program | |
US8830492B2 (en) | Data processing apparatus for sending a single job based on common document information | |
JP4743866B2 (en) | Printing instruction apparatus, printing apparatus and printing system | |
JP2002007095A (en) | Data processor and its control method | |
JP4745866B2 (en) | Device management system and control method thereof | |
JP2004358800A (en) | Image formation method and image formation apparatus | |
JP4227342B2 (en) | Image forming apparatus, image forming method, and storage medium | |
JP5933387B2 (en) | Scanning apparatus, scanning method, and computer program | |
US20030195952A1 (en) | Digital transmitter device configuration | |
JP2007124151A (en) | Image processing apparatus, and image processing method | |
US20030158909A1 (en) | Composite image generation | |
JP2010157928A (en) | Image processing apparatus, image processing system, control method and program for image processing apparatus | |
JP3957906B2 (en) | Information processing apparatus and method | |
JP2007007922A (en) | Image processor | |
JP2001285562A (en) | Method, device, and system for image processing | |
JP3809350B2 (en) | Image output device | |
JP2004112514A (en) | Image processing method and apparatus | |
JP2004265175A (en) | Job processing system | |
JP4862026B2 (en) | Image forming apparatus, image forming apparatus control method, and control program | |
JP2005092461A (en) | Data editing device, and control method and control program for the same | |
JP2003219090A (en) | Image distribution apparatus and image distribution method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20090106 |