JP3673376B2 - Image data file processing method and recording medium therefor - Google Patents
Image data file processing method and recording medium therefor Download PDFInfo
- Publication number
- JP3673376B2 JP3673376B2 JP24962097A JP24962097A JP3673376B2 JP 3673376 B2 JP3673376 B2 JP 3673376B2 JP 24962097 A JP24962097 A JP 24962097A JP 24962097 A JP24962097 A JP 24962097A JP 3673376 B2 JP3673376 B2 JP 3673376B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- data file
- file
- computer
- color
- 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
- 238000003672 processing method Methods 0.000 title claims 3
- 238000000034 method Methods 0.000 claims description 35
- 239000003086 colorant Substances 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 description 18
- 238000004364 calculation method Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000007639 printing Methods 0.000 description 10
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 7
- 239000000976 ink Substances 0.000 description 6
- 238000007796 conventional method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 235000019646 color tone Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 235000013372 meat Nutrition 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 235000013311 vegetables Nutrition 0.000 description 1
Images
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Processing Or Creating Images (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、コンピュータを用いて複数色の画像データファイルを処理する方法、および、そのための記録媒体に関する。
【0002】
【従来の技術】
チラシなどの簡易なカラー印刷物は、いわゆるダブルトーン印刷によって作成される場合がある。ダブルトーン印刷は、2種類のインクのみを用いて印刷物を作成する方法である。図7は、従来のダブルトーン印刷を行うための画像データファイルの作成方法を示す説明図である。図7(A)は、カラー原稿を示している。このカラー原稿は、赤色の濃度が30%である円形の第1の領域R1と、緑色の濃度が30%である円形の第2の領域R2とを含んでいる。第1の領域R1と第2の領域R2とは一部重なり合っており、この重なり領域R3は、赤色の濃度が30%で緑色の濃度が30%である。なお、実際の原稿としては、商品写真等の自然画像が用いられることが多いが、以下では図7(A)のような簡単な画像を原稿に用いた例について説明する。
【0003】
この従来の方法では、まず図7(A)に示すようなカラー原稿から図7(B)に示すような2つのグレイ画像をスキャナで読取る。そして、赤版画像と緑版画像のトーン(階調)を変更することによって、ダブルトーン印刷を実現していた。なお、ダブルトーン印刷で作成されるカラー画像を、以下では「ダブルトーン画像」と呼ぶ。
【0004】
【発明が解決しようとする課題】
従来の方法では、ダブルトーンに用いる2つの画像データファイルが別個のファイルとして取り扱われていたので、1ページ画像上にダブルトーン画像の位置を調整する場合に、2つの画像データファイルをそれぞれ独立に取り扱わなければならなかった。すなわち、ダブルトーン画像の位置を指定する際には、まずユーザがマウス等を用いて画面上で赤版画像を位置決めし、その後、赤版画像に重なる位置に緑版画像を位置決めする必要があった。すなわち、1つのダブルトーン画像の位置の調整を行うために、赤版画像と緑版画像の2つの単色画像の位置の調整を行う必要があった。特に、チラシのように、1ページ画像に多数のダブルトーン画像(例えばスーパーマーケットのチラシにおける野菜や肉等の品物の画像)が含まれている場合には、それらの位置決めが極めて煩雑であるという問題があった。
【0005】
なお、上述した問題は、ダブルトーン画像に限らず、カラー画像を再現するために複数の単色画像データファイルを取り扱う技術に共通する問題であった。
【0006】
また、図7(A)のカラー原稿を図7(C)のような1枚のグレイ画像として読取り、この1枚のグレイ画像に対して赤版と緑版に対応するように、2つの色調を設定することによって、図7(C)、図7(D)のように2つの版を作成して塗り重ねる、という技術も存在した。この方法ならば、画面上での画像の位置決めの問題は発生しない。しかし、この方法では、本来は色濃度が存在しない点に色が設定されるという問題があった。特に、領域R3のような重なり合っている領域については、この方法を使用すると、本来の原稿状態を再生することができなかった。
【0007】
この発明は、従来技術における上述の課題を解決するためになされたものであり、カラー画像を再現するための画像データファイルの取り扱いの煩雑さを軽減することのできる技術を提供することを目的とする。
【0008】
【課題を解決するための手段およびその作用・効果】
上述の従来の課題の少なくとも一部を解決するため、第1の発明は、コンピュータを用いた画像データファイルの処理方法であって、
(a)スキャナにおいて異なる色のフィルタを用いて同一の原稿からそれぞれ読取られた複数の単色画像データファイルを、1つの画像データファイルにまとめることによって多色画像データファイルを作成する工程において、
前記コンピュータ内に設定された所定のフォルダ内に、同一の原稿から取得された複数色のための所定の複数種類の単色画像データファイルが揃ったか否かを確認する工程と、
前記所定のフォルダ内に前記複数種類の画像データファイルが揃った場合に、前記複数種類の単色画像データファイルをまとめることによって前記多色画像データファイルを作成する工程と、を備えることを特徴とする。
【0009】
このような複数の単色画像データファイルで表される複数の単色画像は、画像部分の相対位置が互いに一致している。従って、これらの単色画像データファイルをまとめることによって1つの多色画像データファイルを作成すれば、色ずれのないカラー画像を表す多色画像データファイルを得ることができる。すなわち、この1つの多色画像データファイルを取り扱うことによって多色画像に関する種々の処理を行うことができる。従って、画像データファイルの取り扱いの煩雑さを従来に比べて軽減することができる。
【0011】
また、フォルダ内に所定種類の単色画像データファイルを入れるだけで、多色画像データファイルを容易に作成することができる。
【0012】
第2の発明は、コンピュータに画像データファイルの処理を行わせるためのコンピュータプログラムを記録した記録媒体であって、
(a)スキャナにおいて異なる色のフィルタを用いて同一の原稿からそれぞれ読取られた複数の単色画像データファイルを、1つの画像データファイルにまとめることによって多色画像データファイルを作成する工程において、
前記コンピュータ内に設定された所定のフォルダ内に、同一の原稿から取得された複数色のための所定の複数種類の単色画像データファイルが揃ったか否かを確認する工程と、
前記所定のフォルダ内に前記複数種類の画像データファイルが揃った場合に、前記複数種類の単色画像データファイルをまとめることによって前記多色画像データファイルを作成する工程と、をコンピュータに実行させるためのコンピュータプログラムを記録した記録媒体である。
【0013】
第2の発明によっても、第1の発明と同様に、画像データファイルの取り扱いの煩雑さを従来に比べて軽減することができる。
【0014】
【発明の他の態様】
この発明は、以下のような他の態様も含んでいる。第1の態様は、コンピュータに上記の発明の各工程を実行させるコンピュータプログラムを通信経路を介して供給するプログラム供給装置である。
【0015】
【発明の実施の形態】
次に、本発明の実施の形態を実施例に基づき説明する。図1は、この発明の一実施例を適用するコンピュータシステムの構成を示すブロック図である。このコンピュータシステムは、第1のコンピュータ100と、第2のコンピュータ200と、スキャナ300とを備えている。
【0016】
第1のコンピュータ100は、CPU102と、メモリ104と、カラーディスプレイ106と、キーボード108と、マウス110と、ハードディスク112と、通信インタフェイス114とを備えている。メモリ104には、演算条件確認部120と、画像データファイル変換部122の機能をそれぞれ実現するためのコンピュータプログラムが記録されている。これらの各部の機能については後述する。これらの各部を実現するためのコンピュータプログラムは、フロッピディスクやCD−ROM、DVD等の携帯型の記憶媒体(記録媒体)からコンピュータシステムのメインメモリまたは外部記憶装置に転送される。あるいは、通信経路を介してプログラム供給装置からコンピュータシステムに供給するようにしてもよい。ハードディスク112には、ホットホルダ130(後述する)が設けられている。
【0017】
なお、この発明において、「記録媒体」とは、上述した携帯型の記録媒体に限らず、各種のRAMやROM等のコンピュータ内の内部記憶装置や、ハードディスク等のコンピュータに固定されている外部記憶装置も含んでいる。すなわち、この発明の「記録媒体」は、コンピュータが読取り可能な媒体であって、コンピュータプログラムを記録した種々の媒体を含んでいる。
【0018】
第2のコンピュータ200は、CPU202と、メモリ204と、ハードディスク206と、スキャナインタフェイス208と、通信インタフェイス210とを備えている。スキャナインタフェイス208には、スキャナ300が接続されている。また、通信インタフェイス210は、通信回線を介して第1のコンピュータ100の通信インタフェイス114に接続されている。
【0019】
スキャナ300で読取られた単色画像データファイルは、第2のコンピュータ200のハードディスク206に一旦格納され、第2のコンピュータ200から第1のコンピュータ100に転送される。また、第2のコンピュータ200のハードディスク206に格納せず、直接第1のコンピュータ100に転送することも可能である。第1のコンピュータ100は、転送されて来た単色画像データファイルを用いて1ページ画像を作成するための種々の処理を実行する。
【0020】
図2は、実施例における処理手順を示すフローチャートである。ステップS1では、スキャナ300が原稿から赤版画像データファイルを読取る。赤版画像データファイルを読取る際には、赤色透過フィルタが用いられる。ステップS2では、スキャナ300が同じ原稿から緑版画像データファイルを読取る。緑版画像データファイルを読取る際には、緑色透過フィルタが用いられる。赤版画像データファイルと緑版画像データファイルは、同一のスキャナにおいて、フィルタ以外はほぼ同一の読取り条件で読取られたものである。ここで、「読取り条件」とは、読取られる画像の範囲(走査範囲)、解像度、トーンカーブ(入出力の階調変換曲線)等を含んでいる。種々の読取り条件の中で、走査範囲と解像度は赤版画像と緑版画像で共通に(等しく)設定されるが、トーンカーブ(入出力の階調変換曲線)は、赤版画像と緑版画像で異なるものを使用することができる。
【0021】
図3は、こうして読取られた2つの単色画像データファイルで表される単色画像を示す説明図である。この実施例では、赤色と緑色のフィルタを用いて2つの単色画像データファイルが作成される。図3(B),(C)の下部に記載されている「Name.RED」および「Name.GRN」は、それぞれの単色画像データファイルのファイル名を示している。このように、同一の原稿から同一のスキャナ300を用いて読取られた複数の単色画像データファイルのファイル名は、ピリオドの前の狭義のファイル名(「Name」)が同じで、ピリオドの後の拡張子(「 RED」,「 GRN」)が互いに異なっている。なお、狭義のファイル名は、ユーザによって指定される。また、各色の画像に使用すべき拡張子も予めユーザによって指定されている。
【0022】
ステップS1,S2では、同一の原稿から、同一のスキャナ300を用いて、ほぼ同一の読取り条件の下で、複数色のための複数の単色画像データファイルが読取られている。このとき、原稿は、スキャナ300の原稿載置面(図示せず)上の同じ位置に載置されたままである。従って、2つの画像データファイルで表される赤版画像と緑版画像は、その画像部分の相対位置が互いに一致している。すなわち、2つの画像データファイル内の同じ位置の画素データ(各画素の濃度を示すデータ)は、画像平面上の同じ位置に存在する画素の濃度をそれぞれ示している。なお、スキャナがダイクロイックミラー等の色光分離手段を備えている場合には、ステップS1とステップS2は同時に実行される。
【0023】
こうして読取られた2つの単色画像データファイルは、第2のコンピュータ200から第1のコンピュータ100に通信回線を介して転送される。
【0024】
ステップS3では、第1のコンピュータ100において、演算条件確認部120と画像データファイル変換部122が、赤版画像データファイルと緑版画像データファイルを1つの多色画像データファイルにパックする(すなわち、1つにまとめる)。図4は、ステップS3における処理手順を示すフローチャートである。ステップS11では、演算条件確認部120がハードディスク112に格納されている演算条件ファイルを読取る。図5は、図4のファイルパック処理で使用されるファイルの内容を示す説明図である。ファイルパック処理では、図5(A)に示す演算条件ファイルと、図5(B)に示す版替え情報ファイルとが利用される。
【0025】
図5(A)に示す演算条件ファイルには、ファイルパック処理を実行する際に使用される以下のような種々の条件が設定されている。
【0026】
(1)ポーリング時間:演算条件確認部120が、ホットフォルダ130内に、所定の複数種類の画像データファイルが揃ったか否かを調べる処理を実行する間隔を示す。
【0027】
(2)第1版から第4版の拡張子:1つの多色画像データファイルにパックすることのできる第1版から第4版の単色画像データファイルの拡張子を示す。図5(A)の例では、第1版の単色画像データファイルの拡張子として「 GRN」が設定されており、また、第2版の単色画像データファイルの拡張子として「 RED」が設定されている。また、第3版と第4版には、拡張子が設定されていない。これらの拡張子は、ファイルパック処理を行うために必要な単色画像データファイルがホットフォルダ130内に揃ったか否かを判断するときに使用される。この判断の具体例については後述する。なお、第1版から第4版は、通常は印刷用の基本色であるC(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)に対応づけられている。しかし、ダブルトーン印刷では、これらの基本色以外の特色インク(赤色や緑色)がしばしば用いられる。そこで、第1版から第4版までが、実際に何色の版(インク)に相当するかを規定するために、図5(B)に示す版替え情報ファイルがユーザによって設定される。この例では、第1版(通常はC版)が緑色版に対応づけられており、第2版(通常はM版)が赤色版に対応づけられている。
【0028】
(3)成功時格納場所:ファイルパック処理が成功したときに、得られた多色画像データファイルを格納しておく場所(フォルダ名等)を示す。
【0029】
(4)失敗時格納場所:ファイルパック処理が失敗したときに、ファイルパック処理の対象となった複数の単色画像データファイルを格納しておく場所(フォルダ名等)を示す。
【0030】
図4のステップS12では、演算条件確認部120が、ホットフォルダ130内を調べて、ファイルパック処理を行うために必要なすべての種類の単色画像データファイルがホットフォルダ130内に揃ったか否かを判断する。すなわち、ピリオドの前の狭義のファイル名が同じであり、かつ、演算条件ファイルに登録された複数の拡張子をそれぞれ有する複数の単色画像データファイルが、ホットフォルダ130内に存在するか否かを調べる。この実施例では、図5(A)に示すように、演算条件ファイルに設定されている拡張子は「 GRN」と「 RED」の2つである。従って、ファイル名が「XXXX.GRN」(XXXXは任意の文字列)の単色画像データファイルと、ファイル名が「XXXX.RED」の単色画像データファイルがホットフォルダ130内に転送されている時に、すべての種類の単色画像データファイルが揃ったものと判断される(XXXXの部分は同一である)。
【0031】
ところで、2つの単色画像データファイル「Name.GRN」,「Name.RED」は、スキャナ300で読取られた後に、第2のコンピュータ200を介して第1のコンピュータ100に転送されてきたものである。これら2つの単色画像データファイル「Name.GRN」,「Name.RED」をホットフォルダ130内に転送する手順としては、種々のものが考えられる。例えば、一旦ハードディスク112内の適当な受信用フォルダにこれらの単色画像データファイル「Name.GRN」,「Name.RED」を格納し、ユーザがマウス110を用いて、これらの単色画像データファイルをドラッグして、ホットフォルダ130内に移動するようにしてもよい。あるいは、第2のコンピュータ200から第1のコンピュータ100に転送する際に、これらの単色画像データファイルをホットフォルダ130内に直接転送するようにすることも可能である。
【0032】
ステップS12において、ファイルパック処理に必要なすべての種類の単色画像データファイルが揃っていないと判断された場合には、ステップS13において、演算条件ファイル(図5(A))に登録されているポーリング時間だけ待ち、その後、再度ステップS12を実行する。一方、ファイルパック処理に必要なすべての種類の単色画像データファイルが揃っていると判断された場合には、ステップS14において、画像データファイル変換部122が実際のファイルパック処理を実行して、1つの多色画像データファイルを作成する。
【0033】
図6は、ステップS14の処理内容を示す説明図である。図6(A),(B)は、緑版画像データファイル「Name.GRN」と赤版画像データファイル「Name.RED」の構造を示している。これらの単色画像データファイルのファイル構造としては、例えばアドビ社のフォトショップ(アドビ社の商標)で用いられているGreyTiffを用いることができる。GreyTiffは、1色の画素データのみを含んでおり、多色の画素データを含むことはできない。
【0034】
図6(A),(B)から解るように、1つの単色画像データファイルは、ファイル情報と、画素データとを含んでいる。ファイル情報には、画像のX方向(副走査方向)とY方向(主走査方向)のサイズ(画素数の単位で表される)、画像のオリエンテーション(画像の向き)、ネガ/ポジの区別等の情報が含まれている。緑版画像データファイルと赤版画像データファイルは、同一の原稿から同一のスキャナ300を用いてほぼ同一の読取り条件で読取られたものなので、それらのファイル情報は同じである。従って、緑版画像データファイルと赤版画像データファイルでは、画素データの値のみが異なっている。
【0035】
図6(C)は、緑版画像データファイルと赤版画像データファイルとがパックされた多色画像データファイルの構造を示している。多色画像データファイルは、ファイル情報と、第1版から第4版までの画素データとを含んでいる。画素データは、いわゆるピクセルインターリーブの構成を有しており、図6(D)に示すように、1画素毎に、第1版から第4版までの画素データが順に配列されている。この実施例では、第1版(C版)の位置に緑版の画素データが登録され、第2版(M版)の位置に赤版の画素データが登録されている。なお、この実施例では、第1版と第2版のみをパックするように、演算条件ファイル(図5(A))が設定されているので、第3版(Y版)の画素データと第4版(K版)の画素データには、すべて0のデータが登録される。多色画像データファイルのファイル構造としては、例えばアドビ社のフォトショップで用いられているCMYKTiffを用いることができる。CMYKTiffは、CMYKの4色の画素データを含むことが可能である。
【0036】
なお、図6(C)に示す多色画像データファイルとは別に、特色情報を含む特色情報ファイル(図示せず)も作成される。この特色情報は、図5(B)に示した版替え情報ファイルの登録内容と同様に、第1版から第4版が具体的にどのような色に対応しているかを示している。すなわち、この実施例では、第1版が緑色に対応しており、第2版が赤色に対応していることが特色情報に規定されている。
【0037】
前述したように、2つの単色画像データファイルで表される赤版画像と緑版画像は、画像部分の相対位置が互いに一致している。従って、図6のように、これらの画素データを単に並べるだけで、色ずれを生じることなく、多色画像を表す多色画像データファイルを構成することができる。
【0038】
多色画像データファイルのファイル名は、ピリオド前の狭義のファイル名が、元の2つの単色画像データファイルと同じで、拡張子は、多色画像データファイルのために予め設定されたものが使用される。例えば、図6(C)の場合には、狭義のファイル名「Name」と拡張子「 MUL」によって、多色画像データファイルのファイル名「Name.MUL」が構成されている。なお、この拡張子「 MUL」も、演算条件ファイル(図5(A))内に設定しておくことができる。
【0039】
こうして作成された多色画像データファイルは、演算条件ファイルにおいて設定された成功時格納場所に転送される。また、このとき、ファイルパック処理の対象となった元の単色画像データファイルはホットフォルダ130から削除される。こうすれば、未処理のファイルのみがホットフォルダ130内に残るので、ホットフォルダ130内に処理済みの不要なファイルが蓄積するのを防止することができる。一方、何らかの原因でファイルパック処理が失敗した場合には、ファイルパック処理の対象となった元の複数の単色画像データファイルを、ホットフォルダ130から失敗時格納場所に転送し、ホットフォルダ130内の元の単色画像データファイルを削除する。こうすれば、この失敗時格納場所をユーザが見ることによって、ファイルパック処理を失敗した画像を知ることができる。なお、ファイルパック処理を失敗したときに、画像データファイル変換部122がカラーディスプレイ106上に警告を表示するようにしてもよい。
【0040】
図4のステップS14の処理が終了すると、再度ステップS12に戻り、ステップS12〜S14の処理を繰り返す。演算条件確認部120と画像データファイル変換部122は常駐プログラムであり、第1のコンピュータ100の稼働中は、ステップS12,S13の処理を定期的に実行している。従って、ホットフォルダ130に所定の複数種類の単色画像データファイルを転送するだけで、ファイルパック処理を自動的に実行して、多色画像データファイルを作成することができる。
【0041】
こうして作成された多色画像データファイルに含まれる画素データは、図3(B),(C)に示すように、それぞれのフィルタを用いて読取られた画像を表しているので、図7において説明した従来技術で再現されるダブルトーン画像よりも、きれいな画像を再現することができる。また、ダブルトーン画像を1つの多色画像データファイルとして取り扱えるので、これ以降の種々の画像処理を行う際に、画像データファイルを取り扱いやすい。
【0042】
なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
【0043】
(1)ダブルトーン印刷に使用するインクとしては、赤色と緑色以外の種々の色のインクを用いることが可能である。また、この発明は、ダブルトーン印刷に限らず、一般に、複数色のインクを用いてカラー画像を再現する技術に適用することが可能である。
【図面の簡単な説明】
【図1】この発明の一実施例を適用するコンピュータシステムの構成を示すブロック図。
【図2】実施例における処理手順を示すフローチャート。
【図3】実施例で用いられる原稿と、原稿から読取られた2つの単色画像データファイルで表される画像を示す説明図。
【図4】ステップS3における処理手順を示すフローチャート。
【図5】ファイルパック処理で使用されるファイルの内容を示す説明図。
【図6】ステップS14の処理内容を示す説明図。
【図7】従来のダブルトーン印刷を行うための画像データファイルの作成方法を示す説明図。
【符号の説明】
100…第1のコンピュータ
102…CPU
104…メモリ
106…カラーディスプレイ
108…キーボード
110…マウス
112…ハードディスク
114…通信インタフェイス
120…演算条件確認部
122…画像データファイル変換部
130…ホットホルダ
200…第2のコンピュータ
202…CPU
204…メモリ
206…ハードディスク
208…スキャナインタフェイス
210…通信インタフェイス
300…スキャナ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method of processing an image data file of a plurality of colors using a computer, and a recording medium therefor.
[0002]
[Prior art]
Simple color prints such as leaflets may be created by so-called double tone printing. Double tone printing is a method of creating a printed material using only two types of ink. FIG. 7 is an explanatory diagram showing a method of creating an image data file for performing conventional double tone printing. FIG. 7A shows a color original. This color document includes a circular first region R1 having a red density of 30% and a circular second region R2 having a green density of 30%. The first region R1 and the second region R2 partially overlap each other, and the overlapping region R3 has a red density of 30% and a green density of 30%. As an actual document, a natural image such as a product photograph is often used, but an example in which a simple image as shown in FIG.
[0003]
In this conventional method, first, two gray images as shown in FIG. 7B are read by a scanner from a color original as shown in FIG. Then, double tone printing has been realized by changing the tone (gradation) of the red plate image and the green plate image. A color image created by double tone printing is hereinafter referred to as a “double tone image”.
[0004]
[Problems to be solved by the invention]
In the conventional method, the two image data files used for the double tone are handled as separate files. Therefore, when adjusting the position of the double tone image on the one-page image, the two image data files are independently set. Had to deal with. That is, when designating the position of the double tone image, the user must first position the red plate image on the screen using a mouse or the like, and then position the green plate image at a position overlapping the red plate image. It was. That is, in order to adjust the position of one double-tone image, it is necessary to adjust the positions of two single-color images of a red plate image and a green plate image. In particular, when a large number of double-tone images (for example, images of items such as vegetables and meat in a supermarket flyer) are included in a one-page image, such as a flyer, the problem is that positioning them is extremely complicated. was there.
[0005]
Note that the above-described problem is not limited to a double-tone image, but is a problem common to technologies that handle a plurality of single-color image data files in order to reproduce a color image.
[0006]
Also, the color original of FIG. 7A is read as a single gray image as shown in FIG. 7C, and the two color tones correspond to the red plate and the green plate for the single gray image. There is also a technique in which two plates are created and overlaid as shown in FIG. 7C and FIG. With this method, the problem of positioning of the image on the screen does not occur. However, this method has a problem that the color is set at a point where the color density originally does not exist. In particular, for an overlapping area such as the area R3, the original document state cannot be reproduced using this method.
[0007]
The present invention has been made to solve the above-described problems in the prior art, and aims to provide a technique capable of reducing the complexity of handling an image data file for reproducing a color image. To do.
[0008]
[Means for solving the problems and their functions and effects]
In order to solve at least a part of the conventional problems described above, a first invention is a method of processing an image data file using a computer,
(A) in a step of creating a multicolor image data file by combining a plurality of single color image data files respectively read from the same document using different color filters in a scanner into one image data file ;
Confirming whether or not a predetermined plurality of types of single-color image data files for a plurality of colors acquired from the same document are prepared in a predetermined folder set in the computer;
A step of creating the multi-color image data file by collecting the plurality of types of single-color image data files when the plurality of types of image data files are prepared in the predetermined folder. .
[0009]
The relative positions of the image portions of the plurality of single color images represented by the plurality of single color image data files coincide with each other. Therefore, if a single multicolor image data file is created by combining these single color image data files, a multicolor image data file representing a color image without color misregistration can be obtained. That is, various processes relating to a multicolor image can be performed by handling this single multicolor image data file. Therefore, the complexity of handling the image data file can be reduced as compared with the conventional case.
[0011]
Further , a multicolor image data file can be easily created simply by placing a predetermined type of single color image data file in the folder.
[0012]
A second invention is a recording medium on which a computer program for causing a computer to process an image data file is recorded,
(A) in a step of creating a multicolor image data file by combining a plurality of single color image data files respectively read from the same document using different color filters in a scanner into one image data file ;
Confirming whether or not a predetermined plurality of types of single-color image data files for a plurality of colors acquired from the same document are prepared in a predetermined folder set in the computer;
A step of causing the computer to execute the step of creating the multi-color image data file by combining the plurality of types of single-color image data files when the plurality of types of image data files are prepared in the predetermined folder. A recording medium on which a computer program is recorded.
[0013]
According to the second invention, similarly to the first invention, it is possible to reduce the complexity of handling the image data file as compared with the conventional one.
[0014]
Other aspects of the invention
The present invention includes other aspects as follows. A 1st aspect is a program supply apparatus which supplies the computer program which makes a computer perform each process of said invention via a communication path.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described based on examples. FIG. 1 is a block diagram showing the configuration of a computer system to which one embodiment of the present invention is applied. This computer system includes a
[0016]
The
[0017]
In the present invention, the “recording medium” is not limited to the portable recording medium described above, but is an internal storage device in a computer such as various RAMs and ROMs, or an external storage fixed to a computer such as a hard disk. The device is also included. That is, the “recording medium” of the present invention is a computer-readable medium and includes various media on which a computer program is recorded.
[0018]
The
[0019]
The monochromatic image data file read by the
[0020]
FIG. 2 is a flowchart illustrating a processing procedure in the embodiment. In step S1, the
[0021]
FIG. 3 is an explanatory diagram showing a monochrome image represented by the two monochrome image data files read in this way. In this embodiment, two single-color image data files are created using red and green filters. “Name.RED” and “Name.GRN” described at the bottom of FIGS. 3B and 3C indicate the file names of the respective monochrome image data files. As described above, the file names of a plurality of single color image data files read from the same document using the
[0022]
In steps S1 and S2, a plurality of single-color image data files for a plurality of colors are read from the same document using the
[0023]
The two monochrome image data files read in this way are transferred from the
[0024]
In step S3, in the
[0025]
In the calculation condition file shown in FIG. 5A, the following various conditions used when executing the file pack process are set.
[0026]
(1) Polling time: Indicates an interval at which the calculation
[0027]
(2) Extension from the first edition to the fourth edition: Indicates the extension of the monochrome image data files from the first edition to the fourth edition that can be packed into one multicolor image data file. In the example of FIG. 5A, “GRN” is set as the extension of the first-color image data file, and “RED” is set as the extension of the second-color image data file. ing. Also, no extension is set for the third and fourth editions. These extensions are used when determining whether or not single-color image data files necessary for performing the file pack processing are prepared in the
[0028]
(3) Storage location upon success: Indicates a location (folder name, etc.) where the obtained multicolor image data file is stored when the file pack process is successful.
[0029]
(4) Storage location at the time of failure: Indicates a location (folder name or the like) where a plurality of single-color image data files subjected to file pack processing are stored when the file pack processing fails.
[0030]
In step S12 of FIG. 4, the calculation
[0031]
Incidentally, the two single-color image data files “Name.GRN” and “Name.RED” have been read by the
[0032]
If it is determined in step S12 that all types of single-color image data files necessary for file pack processing are not available, polling registered in the calculation condition file (FIG. 5A) is performed in step S13. After waiting for the time, step S12 is executed again. On the other hand, if it is determined that all types of single-color image data files necessary for the file pack processing are available, the image data
[0033]
FIG. 6 is an explanatory diagram showing the processing content of step S14. 6A and 6B show the structures of the green color image data file “Name.GRN” and the red color image data file “Name.RED”. As the file structure of these monochrome image data files, for example, GreyTiff used in Adobe Photoshop (trademark of Adobe) can be used. GreyTiff includes only one-color pixel data and cannot include multi-color pixel data.
[0034]
As understood from FIGS. 6A and 6B, one single-color image data file includes file information and pixel data. The file information includes the size of the image in the X direction (sub-scanning direction) and the Y direction (main scanning direction) (expressed in units of the number of pixels), the orientation of the image (the orientation of the image), and the negative / positive distinction Information is included. Since the green image data file and the red image data file are read from the same document using the
[0035]
FIG. 6C shows the structure of a multicolor image data file in which a green plate image data file and a red plate image data file are packed. The multicolor image data file includes file information and pixel data from the first version to the fourth version. The pixel data has a so-called pixel interleave configuration, and as shown in FIG. 6D, pixel data from the first version to the fourth version are sequentially arranged for each pixel. In this embodiment, the green color pixel data is registered at the position of the first version (C version), and the red color pixel data is registered at the position of the second version (M version). In this embodiment, since the calculation condition file (FIG. 5A) is set so as to pack only the first version and the second version, the pixel data of the third version (Y version) and the first version are set. In the 4th (K) version pixel data, all 0 data is registered. As the file structure of the multicolor image data file, for example, CMYKTiff used in Adobe Photoshop can be used. CMYKTiff can include pixel data of four colors of CMYK.
[0036]
In addition to the multicolor image data file shown in FIG. 6C, a spot color information file (not shown) including spot color information is also created. This spot color information indicates what color the first to fourth versions specifically correspond to, similar to the registered contents of the version change information file shown in FIG. That is, in this embodiment, the spot color information stipulates that the first version corresponds to green and the second version corresponds to red.
[0037]
As described above, the red plate image and the green plate image represented by the two single-color image data files have the same relative positions of the image portions. Therefore, as shown in FIG. 6, a multicolor image data file representing a multicolor image can be configured without causing color misregistration by simply arranging these pixel data.
[0038]
The file name of the multi-color image data file is the same as the original two single-color image data files, but the extension is set in advance for the multi-color image data file. Is done. For example, in the case of FIG. 6C, the file name “Name.MUL” of the multicolor image data file is configured by the narrowly defined file name “Name” and the extension “MUL”. The extension “MUL” can also be set in the calculation condition file (FIG. 5A).
[0039]
The multicolor image data file created in this way is transferred to the successful storage location set in the calculation condition file. At this time, the original single-color image data file that is the target of the file pack process is deleted from the
[0040]
When the process of step S14 in FIG. 4 ends, the process returns to step S12 again, and the processes of steps S12 to S14 are repeated. The calculation
[0041]
The pixel data included in the multicolor image data file created in this way represents an image read using each filter as shown in FIGS. 3B and 3C, and will be described with reference to FIG. Therefore, it is possible to reproduce a clearer image than the double tone image reproduced by the conventional technique. Further, since the double tone image can be handled as one multicolor image data file, it is easy to handle the image data file when performing various image processing thereafter.
[0042]
The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.
[0043]
(1) As inks used for double tone printing, inks of various colors other than red and green can be used. Further, the present invention is not limited to double tone printing, and can be generally applied to a technique for reproducing a color image using a plurality of colors of ink.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the configuration of a computer system to which one embodiment of the present invention is applied.
FIG. 2 is a flowchart showing a processing procedure in the embodiment.
FIG. 3 is an explanatory diagram showing an image represented by an original used in the embodiment and two single-color image data files read from the original.
FIG. 4 is a flowchart showing a processing procedure in step S3.
FIG. 5 is an explanatory diagram showing the contents of a file used in file pack processing.
FIG. 6 is an explanatory diagram showing the processing content of step S14.
FIG. 7 is an explanatory diagram showing a method for creating an image data file for performing conventional double-tone printing.
[Explanation of symbols]
100 ...
104 ...
204 ...
Claims (2)
(a)スキャナにおいて異なる色のフィルタを用いて同一の原稿からそれぞれ読取られた複数の単色画像データファイルを、1つの画像データファイルにまとめることによって多色画像データファイルを作成する工程において、
前記コンピュータ内に設定された所定のフォルダ内に、同一の原稿から取得された複数色のための所定の複数種類の単色画像データファイルが揃ったか否かを確認する工程と、
前記所定のフォルダ内に前記複数種類の画像データファイルが揃った場合に、前記複数種類の単色画像データファイルをまとめることによって前記多色画像データファイルを作成する工程と、
を備えることを特徴とする画像データファイルの処理方法。An image data file processing method using a computer,
(A) in a step of creating a multicolor image data file by combining a plurality of single color image data files respectively read from the same document using different color filters in a scanner into one image data file ;
Confirming whether or not a predetermined plurality of types of single-color image data files for a plurality of colors acquired from the same document are prepared in a predetermined folder set in the computer;
Creating the multicolor image data file by collecting the plurality of types of single color image data files when the plurality of types of image data files are arranged in the predetermined folder;
An image data file processing method comprising:
(a)スキャナにおいて異なる色のフィルタを用いて同一の原稿からそれぞれ読取られた複数の単色画像データファイルを、1つの画像データファイルにまとめることによって多色画像データファイルを作成する工程において、
前記コンピュータ内に設定された所定のフォルダ内に、同一の原稿から取得された複数色のための所定の複数種類の単色画像データファイルが揃ったか否かを確認する工程と、
前記所定のフォルダ内に前記複数種類の画像データファイルが揃った場合に、前記複数種類の単色画像データファイルをまとめることによって前記多色画像データファイルを作成する工程と、
をコンピュータに実行させるためのコンピュータプログラムを記録した記録媒体。A recording medium recording a computer program for causing a computer to process an image data file,
(A) in a step of creating a multicolor image data file by combining a plurality of single color image data files respectively read from the same document using different color filters in a scanner into one image data file ;
Confirming whether or not a predetermined plurality of types of single-color image data files for a plurality of colors acquired from the same document are prepared in a predetermined folder set in the computer;
Creating the multicolor image data file by collecting the plurality of types of single color image data files when the plurality of types of image data files are arranged in the predetermined folder;
A recording medium on which a computer program for causing a computer to execute is recorded.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24962097A JP3673376B2 (en) | 1996-09-10 | 1997-08-29 | Image data file processing method and recording medium therefor |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8-262507 | 1996-09-10 | ||
| JP26250796 | 1996-09-10 | ||
| JP24962097A JP3673376B2 (en) | 1996-09-10 | 1997-08-29 | Image data file processing method and recording medium therefor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH10143647A JPH10143647A (en) | 1998-05-29 |
| JP3673376B2 true JP3673376B2 (en) | 2005-07-20 |
Family
ID=26539393
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP24962097A Expired - Fee Related JP3673376B2 (en) | 1996-09-10 | 1997-08-29 | Image data file processing method and recording medium therefor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3673376B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0981591A (en) * | 1995-09-14 | 1997-03-28 | Dainippon Screen Mfg Co Ltd | Retrieval key registering method for picture data base |
-
1997
- 1997-08-29 JP JP24962097A patent/JP3673376B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH10143647A (en) | 1998-05-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4217398B2 (en) | Image data processing method, image data processing apparatus, storage medium, and program | |
| US7653217B2 (en) | Image data processing apparatus and method using attribute information | |
| JPH0231910B2 (en) | ||
| JPS59129853A (en) | Color separating device | |
| US8072645B2 (en) | Image processing method and apparatus executing color correction based on color domain specified by user and determined relative to image source | |
| US20070058224A1 (en) | Image processing apparatus and image processing method | |
| EP0783226B1 (en) | Image processing apparatus and method | |
| US7253923B2 (en) | Image processing apparatus | |
| JP3673376B2 (en) | Image data file processing method and recording medium therefor | |
| JP4208369B2 (en) | Image processing apparatus, image processing method, storage medium, and image processing system | |
| JPH10210312A (en) | Color conversion device, color conversion method, and medium recording color conversion program | |
| JP2779507B2 (en) | Transmission image prepress system | |
| JP4295465B2 (en) | Image processing device | |
| JP4128759B2 (en) | Color conversion apparatus and color conversion program | |
| US7426294B2 (en) | Image processing apparatus and its method | |
| JPH04336760A (en) | Image processor | |
| JP3911918B2 (en) | Image forming apparatus and method | |
| JP3356573B2 (en) | Digital MFP | |
| JPH10200737A (en) | Color image forming unit | |
| JP3881178B2 (en) | Recording system | |
| JP2002335395A (en) | Print system and method, and image read system and method | |
| JP3790881B2 (en) | Image processing device | |
| JP3185435B2 (en) | Image forming device | |
| JPH0267147A (en) | Image recording apparatus using thermal transfer ink sheet | |
| JP2005144875A (en) | Printed image color reproduction system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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: 20050419 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050422 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090428 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090428 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100428 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100428 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100428 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110428 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110428 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |