JP2007173890A - Image processing apparatus and image storage method - Google Patents
Image processing apparatus and image storage method Download PDFInfo
- Publication number
- JP2007173890A JP2007173890A JP2005364334A JP2005364334A JP2007173890A JP 2007173890 A JP2007173890 A JP 2007173890A JP 2005364334 A JP2005364334 A JP 2005364334A JP 2005364334 A JP2005364334 A JP 2005364334A JP 2007173890 A JP2007173890 A JP 2007173890A
- Authority
- JP
- Japan
- Prior art keywords
- image
- file
- page
- existing
- image data
- 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.)
- Pending
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Storing Facsimile Image Data (AREA)
Abstract
Description
本発明は、画像データを入力し、入力された画像データをファイルの形で記憶装置に格納する装置および方法に関する。 The present invention relates to an apparatus and method for inputting image data and storing the input image data in a storage device in the form of a file.
イメージスキャナから画像データを入力して、入力された画像データをファイルの形で記憶装置に格納する画像処理装置が知られている(例えば、特開2005−111801号公報、特開2001−339579号公報、特開平5−342327号公報など)。このような画像の入力と格納を汎用コンピュータに行なわせるためのコンピュータプログラムも知られている。従来のこの種の画像処理装置は、一つの画像データを入力する都度、その入力画像データの入った一つのファイルを新規に作成して、この新規ファイルを記憶装置に格納する。
従来の画像処理装置は、入力された画像データをファイルの形で記憶装置に格納する場合、上記のように新規なファイルを作成する。そのため、ユーザが、入力画像データを既存のファイルに追加挿入することを欲する場合、ユーザは、一旦、その入力画像データが新規ファイルとして保存され後、別途に、既存ファイルを開き、開かれた既存ファイル内に、その新規ファイルの画像データを取り込み、その後に、その既存ファイルを保存し直すという、手間のかかる操作を手動で行わなくてはならない。 A conventional image processing apparatus creates a new file as described above when storing input image data in a storage device in the form of a file. Therefore, when the user wants to add the input image data to the existing file, the user once saves the input image data as a new file, and then opens the existing file and opens the existing file. A troublesome operation of taking the image data of the new file into the file and then re-storing the existing file must be performed manually.
従って、本発明の目的は、より簡単な操作で、入力された画像データを既存ファイルに追加挿入できるようにすることにある。 Accordingly, an object of the present invention is to allow input image data to be additionally inserted into an existing file with a simpler operation.
本発明に従う画像処理装置は、外部から画像データを入力する画像入力装置と、前記画像入力装置に接続され、かつ、画像ファイルを記憶するための記憶手段と通信可能であるコントローラと、前記コントローラに接続されたユーザインタフェースとを備える。前記コントローラは、前記画像入力装置から画像データを入力する画像入力手段と、前記記憶手段から既存のマルチページ適合形の画像ファイルを検索するファイル検索手段と、前記検索されたマルチページ適合形の画像ファイルのリストを前記ユーザインタフェースに表示するファィルリスト表示手段と、前記表示されたリストの中から任意の画像ファイルを選択するためのユーザ指示を前記ユーザインタフェースから受け、前記選択されたマルチページ適合形の画像ファイルに、前記入力された画像データに相当する内容をもつページを追加するよう、前記選択されたマルチページ適合形の画像ファイルを書き換える画像追加手段とを備える。 An image processing apparatus according to the present invention includes an image input apparatus that inputs image data from the outside, a controller that is connected to the image input apparatus and that can communicate with storage means for storing an image file, and the controller A connected user interface. The controller includes image input means for inputting image data from the image input device, file search means for searching for an existing multi-page compatible image file from the storage means, and the searched multi-page compatible image. File list display means for displaying a list of files on the user interface; and a user instruction for selecting an arbitrary image file from the displayed list is received from the user interface; Image adding means for rewriting the selected multi-page compatible image file so as to add a page having contents corresponding to the input image data to the image file.
本発明の画像処理装置によれば、記憶装置内の既存のマルチページ形の画像ファイルが自動的に検索され、検索されたマルチページ形の画像ファイルの中から選ばれたファイルの中に、画像入力装置から入力された画像データが、新しいページとして自動的に組み込まれ、そして保存される。従って、入力画像データを既存ファイルに追加挿入するためのユーザの操作は、従来より簡単である。 According to the image processing apparatus of the present invention, an existing multi-page image file in the storage device is automatically searched, and an image is selected from among the searched multi-page image files. Image data input from the input device is automatically incorporated as a new page and stored. Therefore, the user's operation for additionally inserting the input image data into the existing file is easier than before.
好適な実施形態では、前記追加手段は、前記選択されたマルチページ適合形の画像ファイルを書き換えるとき、その画像ファイルの既存ページの内容を読み込んで描画する処理は実行しない。すなわち、そのマルチページ適合形画像ファイルの内、ページ追加に必要十分な所定の一部分だけは記憶手段から読み込まれて書き換えられるが、既存ページの内容の記述については、それを記憶手段から読み込んで書き換えるという処理は実行されない。例えば、そのマルチページ適合形の画像ファイルが、ページ相互関係を表すページ構造を定義したページ構造記述と、ページの内容を定義したページ内容記述とを有する場合、その画像ファイルのページ構造記述は書き換えられ、追加ページの内容定義がページ内容記述に追加されるが、既存のページの内容の定義を読み込み解釈し描画するという処理は省略される。あるいは、そのマルチページ適合形の画像ファイルの構造が、比較的に単純なリストの形でページ(画像)を連結しているにすぎないような場合、記憶手段上に入力画像データが書き加えられて、その書き加えられた画像データがその画像ファイルのリストに追記されるだけで、ページ追加の書換えがなされる。 In a preferred embodiment, when the adding unit rewrites the selected multi-page compatible image file, the adding unit does not execute a process of reading and drawing the contents of an existing page of the image file. That is, only a predetermined part necessary and sufficient for adding a page is read from the storage means and rewritten, but the description of the contents of the existing page is read from the storage means and rewritten. The process is not executed. For example, if the multi-page conforming image file has a page structure description that defines the page structure representing the page relationship and a page content description that defines the page contents, the page structure description of the image file is rewritten. The content definition of the additional page is added to the page content description, but the process of reading, interpreting and rendering the content definition of the existing page is omitted. Alternatively, when the structure of the multi-page conforming image file is merely connecting pages (images) in the form of a relatively simple list, the input image data is added to the storage means. Thus, the page data is rewritten only by adding the added image data to the image file list.
好適な実施形態では、前記ファイル検索手段は、前記記憶手段内の各既存ファイルのファイル名の拡張子またはヘッダ情報に基づいて、前記各既存ファイルがマルチページ適合形であるか否かを判断するようになっている。そして、前記ファイル検索手段は、前記記憶手段装置内の選択された記憶領域に存在する全てのディレクトリ内の全ての既存ファイルをチェックして各ファイルがマルチページ適合形であるか否かを判断することにより、前記選択された記憶領域内の全てのマルチページ適合形の画像ファイルを検索するようになっている。 In a preferred embodiment, the file search unit determines whether each existing file is multi-page compatible based on the extension or header information of the file name of each existing file in the storage unit. It is like that. Then, the file search means checks all existing files in all directories existing in the selected storage area in the storage means device to determine whether or not each file is multi-page compatible. As a result, all the multi-page compatible image files in the selected storage area are searched.
本発明の別の側面に従う、画像処理装置において画像データを外部から入力して記憶装置に保存する方法は、画像入力装置から画像データを入力する画像入力ステップと、予め記憶された既存のマルチページ適合形の画像ファイルを検索するファイル検索ステップと、前記検索されたマルチページ適合形の画像ファイルのリストをユーザインタフェースに表示するフィルリスト表示ステップと、前記表示されたリストの中から任意の画像ファイルを選択するユーザ指示受けて、前記選択されたマルチページ適合形の画像ファイルに、前記入力された画像データに相当する内容をもつページを追加するよう、前記選択されたマルチページ適合形の画像ファイルを書き換える画像追加ステップとを有する。 According to another aspect of the present invention, a method of inputting image data from the outside in an image processing apparatus and storing the image data in a storage device includes an image input step of inputting image data from the image input device, and an existing multi-page stored in advance. A file search step for searching for a conforming image file, a fill list display step for displaying a list of the searched multi-page conforming image files on a user interface, and an arbitrary image file from the displayed list The selected multi-page compatible image file is added so that a page having contents corresponding to the input image data is added to the selected multi-page compatible image file. And an image adding step for rewriting the image.
本発明によれば、従来より簡単な操作で、入力された画像データを既存ファイルに追加挿入できる。 According to the present invention, input image data can be additionally inserted into an existing file with a simpler operation than before.
図1は、本発明の一実施形態に従う画像処理装置の全体構成を示す。 FIG. 1 shows the overall configuration of an image processing apparatus according to an embodiment of the present invention.
図1に示すように、画像処理装置11は、画像入力装置13と、画像入力装置13に接続されたコントローラ15と、コントローラ15に接続されたユーザインタフェース17と、コントローラ15に接続された1又は複数の記憶装置19とを備える。画像入力装置13は、外部から画像データを入力するための装置であり、その典型例はイメージスキャナであるが、それだけに限らず、例えば、外部の画像データソースに対して画像データを通信するための通信装置であってもよい。コントローラ15は、画像データの入力と格納を始めとする、この画像処理装置11の各種機能を制御するための装置であり、例えば、予め制御プログラムが組み込まれたマイクロコンピュータである。ユーザインタフェース17は、ユーザから各種の操作のための指示を受けたり、ユーザに各種の情報を表示画面に表示したりするための装置であり、その典型例は、キーボードと液晶表示パネルからなる所謂コントロールパネルであるが、それだけに限られず、例えば、コントローラ15と通信回線を通じて接続されたパーソナルコンピュータでもよい。各記憶装置19は、半導体メモリあるいは記録ディスクなど如何なる種類の記録媒体であってよく、また、画像処理装置11に内蔵されているタイプでも、取外し可能な外付けタイプでもよい。例えば、画像処理装置11がイメージスキャナと電子式プリンタとを組み合わせた複合プリンタであるような場合、その複合プリンタがもつUSBインタフェース(図示せず)に接続されたUSBメモリもしくは外付けのハードディスクドライブ、あるいは、その複合プリンタがもつカードリーダ(図示せず)に挿入されたメモリカードなどが、記憶装置19の具体例である。あるいは、各記憶装置19は、上述したような物理的な各記憶装置に対応するものだけではなく、例えばパーティション、ボリューム、ディレクトリあるいはフォルダなどのような論理的な記憶領域に対応するものであってもよい。
As shown in FIG. 1, the
コントローラ15は、ユーザインタフェース17から来るユーザの指示に応答して、画像入力装置13から画像データを入力して、入力された画像データを或る形式の画像ファイルにして、その画像ファイルをいずれかの記憶装置19に格納する機能を有する。各記憶装置19は、複数の画像ファイル21、23を記憶することができる。画像ファイル21、23のファイル形式としては、例えばJPEG、TIFFおよびPDFなど、様々な形式が採用し得る。これらのファイル形式は、1つの画像ファイル内に複数の画像データを複数ページに分けて入れることができる種類の形式(例えば、TIFFおよびPDF)と、1つの画像ファイル内に1つの画像データしか入らない種類の形式(例えば、JPEG)とに、大別することができる。この明細書では、前者のファイル形式の画像ファイルを「マルチページ適合形」の画像ファイルと呼び、また、後者のファイル形式の画像ファイルを「マルチページ非適合形」の画像ファイルと呼ぶ。
In response to a user instruction coming from the
コントローラ15は、入力された画像データをマルチページ非適合形の画像ファイルとして格納する動作も、マルチページ適合形の画像ファイルとして格納する動作に、いずれも制御することができる。しかし、前者の動作については、従来技術と同様の制御で行なうことができるから、その制御の説明は省略する。一方、入力画像データをマルチページ適合形の画像ファイルとして格納する動作、とりわけ、いずれかの記憶装置19内に既に存在している画像ファイルに、入力画像データを追加的に挿入する動作は、本発明の原理に従って制御されものである、以下に、この制御について詳細に説明する。
The
図2は、画像データを入力しその画像データを既存のマルチページ適合形の画像ファイルに追加挿入する動作のコントローラ15による制御の流れを示す。図3は、この制御におけるコントローラ15と他のコンポーネント13、17、19との間のメッセージのやり取りを示す。
FIG. 2 shows the flow of control by the
図2及び図3に示されるように、ステップ30の制御が行なわれ、まず、ステップ30A(図3参照)で、ユーザが画像データを入力するための指示をユーザインタフェース17に入力し、その入力指示がコントローラ15に送られる。続くステップ30B(図3参照)で、その入力指示に応答して、コントローラ15が、画像入力装置13から画像データを入力する。このとき、図示してないが、ユーザからの入力方法についての指示に応じて、1つの画像の画像データだけを入力することもできるし、複数の画像の画像データを連続的に入力することもできる。なお、変形例として、このステップ30の画像入力処理は、図2に示される制御流れの先頭ではなく、最後のステップ43より前の任意の段階で行なわれてもよい。
As shown in FIGS. 2 and 3, the control of
その後、ステップ31の制御が行なわれる。まず、ステップ31A(図3参照)で、ユーザが記憶装置を検索するための指示をユーザインタフェース17に入力し、その検索指示がコントローラ15に送られる。続くステップ31B(図3参照)で、その検索指示に応答して、コントローラ15が、画像処理装置11が有する全ての記憶装置19の中から、画像ファイルを保存することが可能な(画像ファイルの保存が禁止されていない)記憶装置19を探し、その結果として検索された記憶装置19の装置名のリストを作成する。ステップ33で、コントローラ15は、作成された記憶装置リストをユーザインタフェース17に送って、そこの表示画面に記憶装置リストを表示する。これにより、図4に例示するような記憶装置リスト51が表示される。
Thereafter, control in
その後、ステップ35で、ユーザは表示された記憶装置リスト中から任意の記憶装置19を選択するための指示をユーザインタフェース17に入力し、その選択指示がコントローラ15に送られ、コントローラ15は、その選択指示に応答して、該当する記憶装置19を選択する。その後のステップ37の制御では、まずステップ37A(図3参照)で、コントローラ15は、選択された記憶装置19から、その記憶装置19内に存在するファイルのファイル名のリストを取得する。続くステップ37B(図3参照)で、コントローラ15は、取得されたファイルリストの中から、各ファイル名の拡張子で各ファイルのファイル形式を判断することにより、マルチページ適合形の画像ファイルを探し、その結果として検索されたマルチページ適合形の画像ファイルのファイル名のリストを作成する。ここで、各ファイルのファイル形式がマルチページ適合形であるか否かは、そのファイルのファイル名の拡張子が、マルチページ適合形のファイル形式を示す所定のコード(例えば、「pdf」、「tif」など)やファイルのヘッダ部のコード(ヘッダ情報)(例えば、tifファイルなら「4949」や「4d4d」)が一致するか否かで判断できる。その後、ステップ39で、コントローラ15は、作成された画像ファイルリストをユーザインタフェース17に送って、そこの表示画面に記憶装置リストを表示する。これにより、図5に例示するような画像ファイルリスト53が表示される。
Thereafter, in
その後、ステップ41の制御が行なわれ、まずステップ41Aで、ユーザは表示された画像ファイルリスト中から任意の画像ファイルを選択するための指示をユーザインタフェース17に入力し、その選択指示がコントローラ15に送られる。続くステップ41Bで、コントローラ15は、その選択指示に応答して、選択された画像ファイルを選択された記憶装置19から読み込み、そのページ数などのページ構造を把握する。このとき、必ずしも記憶装置からその画像ファイルの全部の情報を読み込む必要はなく、後のステップ43でのページ追加のためのファイル書換えに必要十分な情報だけ読み込めばよい。その情報が具体的にその画像ファイル内のどの記述部分であるかは、マルチページ適合形画像ファイルの具体的構造により異なる。後に例示するようにページ数やページ順序などのページ相互関係のページ構造を定義した記述を有する画像ファイル(PDFファイルは、その一例である)の場合、少なくとも、そのページ構造の記述部分は読み込む必要がある。また、例えばTiffファイルのように、比較的に単純なリストの形でページが連結された構造をもつマルチページ適合形画像ファイルの場合、入力画像を記憶装置上に書き加えて、そのリストに追記するだけでページ追加の書換えができるから、そのリストへの追記に必要な一部分だけを読み込めばよい。いずれにしても、所謂「ファイルを開く」という動作で行われるような、その画像ファイルに記述されたページ内容(それぞれのページに表示されるべき画像、図形または文字など)の定義(ラスタ画像データ、図形ドローデータ、文字コードデータなど)を読み、それを描画し表示するという処理を行なう必要はない。ただし、変形例として、その画像ファイルのページ内容をユーザインタフェースのディスプレイ画面に表示する場合には、ページ内容の描画と表示に必要な部分も読み込む必要がある。
Thereafter, the control of
その後、ステップ43で示す、ページ追加のためのファイル書換え制御が行なわれる。まず、ステップ43Aで、ユーザは、ステップ41で選択された画像ファイルの中の任意の場所(例えば、先頭、後尾、または、任意のページの直前もしくは直後の場所)の指示を、ユーザインタフェース17に入力し、その場所指示がコントローラ15に送られる。続くステップ43Bで、コントローラ15は、その場所指示に応答して、ステップ30で入力された1または複数の画像データを、1または複数のページとして、選択された画像ファイルの中の指示された場所に追加的に挿入するように、ステップ41で読み込んだ当該画像ファイルの情報を変更する。そして、ステップ43Cで、そのようにして変更された画像ファイルを、その画像ファイルの元の格納場所(ディレクトリ)またはユーザが指定した格納場所(ディレクトリ)に格納し直す。このようなページ追加のための画像ファイルの書換えのやり方は、上述したように、その画像ファイルの具体的な構造により異なる。PDFファイルのようにページ構造記述とページ内容記述を区別して持つマルチページ適合形画像ファイルについての書換えの具体例は、後に説明する。他方、例えばTiffファイルのように、比較的に単純なリストの形でページが連結された構造をもつマルチページ適合形画像ファイルの場合には、入力画像を記憶装置上に書き加えて、そのリストに追記するだけで、ページ追加の書換えができる。
Thereafter, file rewriting control for page addition shown in
上述した図2と図3に示された制御により、既存の画像ファイルに画像データを追加的に挿入するという操作が、その画像データを外部から入力してその画像データをファイルにして任意の記憶場所に保存する一連の操作の流れの中で実行される。この制御流れの中では、入力画像データが、既存ファイルとは関係のない、その入力画像データのみの新たなファイルとして記憶装置19に保存されるという、従来装置と同様の制御は行われず、入力画像データは、あくまで、既存の画像ファイル内に組み込まれて保存される。よって、従来のように、入力画像データが一旦保存された後に、ユーザが既存の画像ファイルを開いて、その中にその画像データのファイルを取り込むという、余計な操作を行う必要はない。また、入力画像データを既存の画像ファイル内に組み込むためのファイル書換え処理では、その既存画像ファイルの全情報を読み込む必要は無く、その画像ファイル内のページ内容の定義を読んで解釈して描画して表示する必要もないので、従来の上記やり方に比べて、短時間で作業が終わる。
2 and 3, the operation of additionally inserting image data into an existing image file is performed by inputting the image data from outside and storing the image data as a file. It is executed in the flow of a series of operations to save in the place. In this control flow, the input image data is stored in the
以下では、図2と図3に示された制御の中の特に、ステップ37のマルチページ適合形の画像ファイルを探す制御と、ステップ43のマルチページ適合形画像ファイル内に入力画像データを追加する制御について、より詳細に説明する。
In the following, among the controls shown in FIG. 2 and FIG. 3, in particular, the control for searching for a multi-page compatible image file in
図6は、図2と図3のステップ37のマルチページ適合形の画像ファイルを探す制御の詳細な流れを示す。
FIG. 6 shows a detailed flow of control for searching for a multi-page compatible image file in
この制御では、コントローラ15は、最初に、選択された記憶装置19内の最も上位のディレクトリ(ルートディレクトリ)をチェックし、図6のステップ61で、そのディレクトリ内にファイルが存在するかを判断する。ファイルが存在すれば、ステップ63で、先頭のファイルを最初にチェックして、ステップ65で、そのファイルが、ディレクトリ(所謂フォルダ、つまりファイルの格納場所)であるか、実際のファイルであるのかを判断する。その結果、実際のファイルであるならば、ステップ67で、そのファイルのファイル名の拡張子および/またはヘッダ情報をチェックして、そのファイル形式がマルチページ適合形であるか否かを判断する。その結果、マルチページ適合形であれば、そのファイル名を画像ファイルリストに追加登録し、そうでなければ、そのファイル名は画像ファイルリストに登録しない。
In this control, the
その後、ステップ71で、同じディレクトリ内に次のファイルが存在するか判断し、存在するならば、ステップ73で当該次のファイルをチェックして、当該次のファイルについて、上述したステップ65以下の制御を繰り返す。
Thereafter, in
また、ステップ65で、そのチェックしたファイルがディレクトリ(子ディレクトリであると判断された場合には、ステップ75で、その子ディレクトリについて、親のディレクトリに対して行なわれるステップ61〜75と同じ制御を行なう。従って、その子ディレクトリ内に更に下層のディレクトリが存在すれば、その下層のディレクトリにも同様の制御が繰り返され、結局、選択された記憶装置19内の全てのディレクトリに対して同様の制御が実行されることになる。
If it is determined in
以上の制御流れにより、最終的に、選択された記憶装置19内に存在する全てのマルチページ形の画像ファイルが自動的に見つけ出されて、それらのファイル名が画像ファイルリストに自動的に登録されることになる。
Through the above control flow, finally, all multi-page image files existing in the selected
ところで、図6に示された制御流れでは、ステップ67で、チェックした画像ファイルがマルチページ適合形ではないと判断された場合、その画像ファイルはファイルリストに登録されない。しかし、変形例として、図7に示されるように、ステップ67でそのように判断された場合に、ステップ81でその画像ファイルのファイル形式をマルチページ適合形に変換して保存し直し、その後に、そのマルチページ適合形に変換された画像ファイルをステップ69でファイルリストに登録するようにしてもよい。
By the way, in the control flow shown in FIG. 6, when it is determined in
次に、図2と図3に示されたステップ43のマルチページ適合形画像ファイル内に入力画像データを追加する制御について説明する。
Next, control for adding input image data to the multi-page adaptive image file in
まず、図8と図9を参照して、マルチページ適合形画像ファイルの構造について説明する。 First, the structure of a multi-page compatible image file will be described with reference to FIGS.
図8は、例えばPDFファイルのようなマルチページ適合形画像ファイルで採用されるデータ構造の概略的な一例を示している。図9は、マルチページ適合形画像ファイルにおける図8に示されたデータ構造例に基づくページ構造(つまり、複数ページの相互関係)を示している。 FIG. 8 shows a schematic example of a data structure employed in a multi-page compatible image file such as a PDF file. FIG. 9 shows a page structure based on the data structure example shown in FIG. 8 in the multi-page compatible image file (that is, a mutual relationship between a plurality of pages).
図8に示されるように、マルチページ適合形画像ファイル23は、ページの相互関係を表すページ構造(例えばページトリー構造)を定義したページ構造記述91と、それぞれのページの内容(それぞれのページに表示されるべき画像、図形および文字など)を定義したページ内容記述93とを区別して有する。以下の具体的構造の説明から分かるように、ページ構造記述91を書き換えることで、ページの順序や数などを自由に変更することが可能である。ページの数を増やす(つまり、ページを追加する)場合には、ページ構造記述91が部分的に書き換えられるともに、ページ内容記述93に、追加されたページの内容の定義が追加される。
As shown in FIG. 8, the multi-page
図8に示されるように、ページ構造記述91は、1または複数のオブジェクト101、103、…、109、…を有し、ページ内容記述93も、1または複数のオブジェクト111、113、…を有する。図8中、各オブジェクトの左端に記された番号、例えば「#2」、「#3」、…などは、そのオブジェクトを識別するためのオブジェクト番号である。図中、左から2番目の記述は、そのオブジェクトのタイプを示す。図中、左から3番目以降の記述は、そのオブジェクトの内容であり、これはそのオブジェクトのタイプによって異なる。
8, the
図8に示されたページ構造記述91の例は、図9に示されたページトリー構造の例を定義している。図9に示されたページトリー構造において、最下層に位置するオブジェクト#27、#32、#37、#42が、実際のページにそれぞれ相当する。すなわち、この例では、オブジェクト#27が第1ページ、オブジェクト#32が第2ページ、オブジェクト#37が第3ページ、そしてオブジェクト#42が第4ページに相当する。これらのオブジェクト#27、#32、#37、#42のオブジェクトタイプは、図8に示されるように「ページ」である。一方、図9において、より上層に位置するオブジェクト#2、#3、#8は、ページトリー構造においてページ間を論理的に関係付けるノード(ページトリーノード)に相当し、それらのオブジェクトタイプは、図8に示されるように「ページトリーノード」である。
The example of the
図8に示されるように、ページ構造記述91内の「ページトリーノード」タイプのオブジェクト#2、#3、#8の各々には、ページトリー構造にてそのオブジェクトの親および/または子に相当するオブジェクトの番号が記述されている。また、「ページ」タイプのオブジェクト#27、#32、#37、#42の各々には、ページトリー構造においてそのオブジェクトの親に相当するオブジェクトの番号が記述されている。このようなページ構造記述91内のオブジェクト間の親と子の定義により、図9に例示されたようなページトリー構造が定義されることになる。
As shown in FIG. 8, each of the “page tree node” type objects # 2, # 3, and # 8 in the
さらに、図8に示されるように、「ページ」タイプのオブジェクト#27、#32、#37、#42の各々には、そのページの内容(そのページに表示される画像、図形および文字など)を定義したページ内容記述93内のオブジェクトの番号が記述される。図示の例では、「ページ」オブジェクト#27(第1ページ)の内容はオブジェクト#62に定義され、「ページ」オブジェクト#32(第2ページ)の内容はオブジェクト#67に定義される。このようにそれぞれのページの内容を定義したオブジェクト#62、#67のタイプは、「内容データ」である。
Further, as shown in FIG. 8, each of the “page” type objects # 27, # 32, # 37, and # 42 includes the contents of the page (images, graphics, characters, etc. displayed on the page). The number of the object in the
「内容データ」タイプのオブジェクト#62、#67の各々には、そのページの内容を具体的に定義したデータ(例えば、ビットマップ画像データそれ自体もしくはビットマップ画像データの記憶場所へのリファレンス、図形のドロー命令、または文字コードとフォント種類など)が記述される。 Each of the “content data” type objects # 62 and # 67 includes data that specifically defines the contents of the page (for example, bitmap image data itself or a reference to a storage location of bitmap image data, graphics , A draw instruction, or a character code and font type).
上述したマルチページ適合形の画像ファイル21の構造から分かるように、画像ファイル21のページ構造記述91とページ内容記述93とを変更することで、新たな画像データを画像ファイル21の任意の場所に追加挿入することができる。しかし、ページ内容を表示する必要がない限り、ページ内容記述93に記述されたページ内容の定義を読んで解釈して、それに基づいてページ内容(画像、図形および文字など)を描画する必要はない。
As can be seen from the structure of the multi-page conforming
図10は、図8に示された構造をもつマルチページ適合形画像ファイル内に、図2と図3に示されたステップ43で入力画像データを追加する場合の制御の流れを示す。
FIG. 10 shows the flow of control when input image data is added in
図10に示されるように、ステップ121で、入力画像データを追加挿入すべき画像ファイル内の場所、つまり、入力画像データが第何ページになるかに応じて、ページ構造記述91が書き換えられる。すなわち、例えば、入力画像データが第Nページになる場合、その第Nページに対応する「ページ」タイプのオブジェクトが追加される。そして、その追加された第Nページのオブジェクトの親がどの「ページトリーノード」タイプのオブジェクトであるかに応じて、その第Nページのオブジェクトの親の記述に、その親オブジェクトの番号が記入されるとともに、その親オブジェクトの子の記述に、その第Nページのオブジェクトの番号が追加される。
As shown in FIG. 10, in
さらに、ステップ123で、「内容データ」タイプのオブジェクトが追加され、そして、この追加された「内容データ」タイプのオブジェクトの内容データの記述に、入力画像データが設定される。さらに、この追加された「内容データ」タイプのオブジェクトのオブジェクト番号が、上記追加された「ページ」タイプのオブジェクトの内容の記述に記入される。これにより、入力画像データを内容とする第Nページが、その画像ファイルに追加挿入されたことになる。
Further, in
このようにして、マルチページ適合形画像ファイル内の任意の場所(例えば、先頭、後尾、あるいは、いずれかのページとページの間など)に、入力画像データを追加挿入することができる。なお、既に述べたように、デフォルトの挿入場所(例えば後尾)が予めコントローラに設定されることで、そのデフォルト設定に依存がない限り、ユーザによる挿入場所の指定操作を省略できるようにしてもよい。 In this way, the input image data can be additionally inserted at an arbitrary location (for example, at the head, tail, or between any page) in the multi-page compatible image file. As described above, a default insertion location (for example, the tail) may be set in the controller in advance so that the user can omit the insertion location designation operation unless it depends on the default setting. .
ところで、マルチページ適合形画像ファイルの構造が、図8に示したような構造ではなく、例えばTiffファイルのように単純なリストの形でページが連結された構造である場合には、その画像ファイルに入力画像データを追加挿入する処理は、図10に示した処理より一層簡単である。例えば、その画像ファイルが格納されている記憶装置上に入力画像データが書き加えられ、そして、その書き加えられた画像データが、その画像ファルのリストに追記される。このように、殆ど「記憶装置上で画像ファイルを直接書き換える」と言えるような処理で、入力画像が既存画像ファイルに追加でき、その既存画像ファイルの既存の記述中の書き換えられる部分は非常に小さい。そのため、従来のように既存の画像ファイルを開いてそこに入力画像ファイルを追加する処理に比べて、かなり短時間で作業が終わる。 By the way, when the structure of the multi-page compatible image file is not the structure shown in FIG. 8 but a structure in which pages are connected in a simple list form such as a Tiff file, the image file The process of additionally inserting the input image data into is simpler than the process shown in FIG. For example, input image data is added to the storage device in which the image file is stored, and the added image data is added to the list of image files. In this way, an input image can be added to an existing image file by a process that can be said to be “rewrite image file directly on the storage device”, and the rewritten portion of the existing description of the existing image file is very small. . Therefore, the work is completed in a considerably short time compared to the conventional process of opening an existing image file and adding the input image file thereto.
以上、本発明の実施形態を説明したが、この実施形態は本発明の説明のための例示にすぎず、本発明の範囲をこの実施形態にのみ限定する趣旨ではない。本発明は、その要旨を逸脱することなく、その他の様々な態様でも実施することができる。 As mentioned above, although embodiment of this invention was described, this embodiment is only the illustration for description of this invention, and is not the meaning which limits the scope of the present invention only to this embodiment. The present invention can be implemented in various other modes without departing from the gist thereof.
11:画像処理装置、 13:画像入力装置、 15:コントローラ、 17:ユーザインタフェース、 19:記憶装置、 21:マルチページ適合形画像ファイル、 11: Image processing device, 13: Image input device, 15: Controller, 17: User interface, 19: Storage device, 21: Multi-page compatible image file,
Claims (6)
前記画像入力装置に接続され、かつ、画像ファイルを記憶するための記憶手段と通信可能であるコントローラと、
前記コントローラに接続されたユーザインタフェースと
を備え、
前記コントローラは、
前記画像入力装置から画像データを入力する画像入力手段と、
前記記憶手段から既存のマルチページ適合形の画像ファイルを検索するファイル検索手段と、
前記検索されたマルチページ適合形の画像ファイルのリストを前記ユーザインタフェースに表示するファイルリスト表示手段と、
前記表示されたリストの中から任意の画像ファイルを選択するためのユーザ指示を前記ユーザインタフェースから受け、前記選択されたマルチページ適合形の画像ファイルに、前記入力された画像データに相当する内容をもつページを追加するように、前記選択されたマルチページ適合形の画像ファイルを書き換える画像追加手段と
を備えた画像処理装置。 An image input device for inputting image data from the outside;
A controller connected to the image input device and capable of communicating with storage means for storing an image file;
A user interface connected to the controller,
The controller is
Image input means for inputting image data from the image input device;
File search means for searching for an existing multi-page compatible image file from the storage means;
A file list display means for displaying a list of the searched multi-page compatible image files on the user interface;
A user instruction for selecting an arbitrary image file from the displayed list is received from the user interface, and the content corresponding to the input image data is added to the selected multi-page compatible image file. An image processing apparatus comprising: an image adding unit that rewrites the selected multi-page compatible image file so as to add a page having the same.
前記画像追加手段は、前記選択されたマルチページ適合形の画像ファイルを書き換えるとき、前記選択されたマルチページ適合形の画像ファイルの既存ページの内容を描画する処理は実行しない画像処理装置。 The image processing apparatus according to claim 1.
The image adding device, when rewriting the selected multi-page compatible image file, does not execute the process of drawing the contents of an existing page of the selected multi-page compatible image file.
前記画像追加手段は、前記選択されたマルチページ適合形の画像ファイルを書き換えるとき、前記選択されたマルチページ適合形の画像ファイルの内、所定の一部分だけを前記記憶手段から読み込んで書き換える処理を実行するが、既存ページの内容の記述を前記記憶手段から読み込んで書き換える処理は実行しない画像処理装置。 The image processing apparatus according to claim 1.
The image adding means, when rewriting the selected multi-page compatible image file, executes a process of reading and rewriting only a predetermined part of the selected multi-page compatible image file from the storage means. However, the image processing apparatus does not execute the process of reading the content description of the existing page from the storage unit and rewriting it.
前記ファイル検索手段は、前記記憶手段内の各既存ファイルのファイル名の拡張子またはヘッダ情報に基づいて、前記各既存ファイルがマルチページ適合形であるか否かを判断する、
画像処理装置。 The image processing apparatus according to claim 1.
The file search means determines whether each existing file is a multi-page compatible type based on the extension or header information of the file name of each existing file in the storage means.
Image processing device.
前記ファイル検索手段は、前記記憶手段内の選択された記憶領域に存在する全てのディレクトリ内の全ての既存ファイルをチェックして各ファイルがマルチページ適合形であるか否かを判断することにより、前記選択された記憶領域内の全てのマルチページ適合形の画像ファイルを検索する、
画像処理装置。 The image processing apparatus according to claim 1.
The file search means checks all existing files in all directories existing in the selected storage area in the storage means to determine whether each file is multi-page compatible, Search all multi-page compatible image files in the selected storage area;
Image processing device.
画像入力装置から画像データを入力する画像入力ステップと、
予め記憶されている既存のマルチページ適合形の画像ファイルを検索するファイル検索ステップと、
前記検索されたマルチページ適合形の画像ファイルのリストをユーザインタフェースに表示するフィルリスト表示ステップと、
前記表示されたリストの中から任意の画像ファイルを選択するユーザ指示受けて、前記選択されたマルチページ適合形の画像ファイルに、前記入力された画像データに相当する内容をもつページを追加するように、前記選択されたマルチページ適合形の画像ファイルを書き換える画像追加ステップと、
を有する画像保存方法。 In a method of inputting image data from the outside in an image processing apparatus and storing it in a storage device,
An image input step of inputting image data from the image input device;
A file search step for searching an existing multi-page compatible image file stored in advance;
A fill list display step for displaying a list of the searched multi-page compatible image files on a user interface;
In response to a user instruction to select an arbitrary image file from the displayed list, a page having contents corresponding to the input image data is added to the selected multi-page compatible image file. And an image adding step for rewriting the selected multi-page conforming image file,
An image storage method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005364334A JP2007173890A (en) | 2005-12-19 | 2005-12-19 | Image processing apparatus and image storage method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005364334A JP2007173890A (en) | 2005-12-19 | 2005-12-19 | Image processing apparatus and image storage method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007173890A true JP2007173890A (en) | 2007-07-05 |
Family
ID=38299930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005364334A Pending JP2007173890A (en) | 2005-12-19 | 2005-12-19 | Image processing apparatus and image storage method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007173890A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009238099A (en) * | 2008-03-28 | 2009-10-15 | Konica Minolta Business Technologies Inc | File storing method, file storage system, and computer program executable on master file combination device |
EP2403228A1 (en) | 2010-06-29 | 2012-01-04 | Brother Kogyo Kabushiki Kaisha | Image Scanning Apparatus, Computer Readable Medium, and Image Storing Method |
-
2005
- 2005-12-19 JP JP2005364334A patent/JP2007173890A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009238099A (en) * | 2008-03-28 | 2009-10-15 | Konica Minolta Business Technologies Inc | File storing method, file storage system, and computer program executable on master file combination device |
EP2403228A1 (en) | 2010-06-29 | 2012-01-04 | Brother Kogyo Kabushiki Kaisha | Image Scanning Apparatus, Computer Readable Medium, and Image Storing Method |
CN102316234A (en) * | 2010-06-29 | 2012-01-11 | 兄弟工业株式会社 | The method of image scanning apparatus, driven image scanning device and image storage method |
US8593686B2 (en) | 2010-06-29 | 2013-11-26 | Brother Kogyo Kabushiki Kaisha | Image scanning apparatus, computer readable medium, and image storing method add scanned image data into an image file storing an existing image data associated with an attribute value of the existing image data |
CN102316234B (en) * | 2010-06-29 | 2014-06-18 | 兄弟工业株式会社 | Image scanning apparatus, computer readable medium, and image storing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5614749B2 (en) | Thumbnail generation method and image forming apparatus | |
AU719368B2 (en) | Font sharing system and method, and recording medium storing program for executing font sharing method | |
JP4758176B2 (en) | Improved user interface for displaying a gallery of formatting options that can be applied to selected objects | |
US5845304A (en) | Document processing apparatus | |
JP2006114012A (en) | Optimized access to electronic document | |
JPH0728689A (en) | Information processor | |
US20100027044A1 (en) | Device to edit documents for printout and method thereof | |
US20090204893A1 (en) | Dynamically configurable page numbering system | |
US7460259B2 (en) | Print control device and print control method | |
KR20100074565A (en) | Method for changing thumbnail, and print controling apparatus | |
JP2007173890A (en) | Image processing apparatus and image storage method | |
US20070109607A1 (en) | Print control program product | |
KR101154895B1 (en) | Image forming apparatus and method for displaying file list of the same | |
JP2006072824A (en) | Electronic album editing device, its control method, its program, and computer-readable storage medium for storing the program | |
JP4197679B2 (en) | Print control apparatus and print control method | |
JP2003067373A (en) | Program, and document processor and method for processing document | |
JPH11203282A (en) | Data processor, method for processing contents data for data processor and storage medium stored with computer readable program | |
JP2004348480A (en) | Data processing device, data processing method, data processing program and computer-readable recording medium to which the data processing program is stored | |
JP5335392B2 (en) | Information processing apparatus, information processing method, and computer program | |
JP2007004232A (en) | Layout method | |
JP2021022222A (en) | Information processing apparatus | |
JP2005182519A (en) | Document management apparatus, output method, and program | |
JP4735425B2 (en) | Image processing apparatus and image processing method | |
KR20050112391A (en) | Printing method and apparatus by using printer jobs history | |
JPH0916746A (en) | Image filing device |