JP2001010119A - Data base and image processor employing it - Google Patents

Data base and image processor employing it

Info

Publication number
JP2001010119A
JP2001010119A JP11182418A JP18241899A JP2001010119A JP 2001010119 A JP2001010119 A JP 2001010119A JP 11182418 A JP11182418 A JP 11182418A JP 18241899 A JP18241899 A JP 18241899A JP 2001010119 A JP2001010119 A JP 2001010119A
Authority
JP
Japan
Prior art keywords
lookup
database
lookup table
identifier
stored
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
Application number
JP11182418A
Other languages
Japanese (ja)
Other versions
JP2001010119A5 (en
Inventor
Masahiro Hase
昌廣 長谷
Kazuyoshi Sumiuchi
一芳 隅内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP11182418A priority Critical patent/JP2001010119A/en
Priority to US09/597,403 priority patent/US7268897B1/en
Priority to EP00305360A priority patent/EP1067764A3/en
Publication of JP2001010119A publication Critical patent/JP2001010119A/en
Publication of JP2001010119A5 publication Critical patent/JP2001010119A5/en
Pending legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent matching from being missed between respective modules by setting a first table for storing lookup table identifiers in correspondence with keys, and a second table for storing lookup table identifiers in correspondence with lookup tables. SOLUTION: A plurality of lookup table identifiers are stored in a first table in correspondence with respective keys and lookup tables are stored in a second table in correspondence with the lookup table identifiers. Preferably, the first table stores print modes including the kinds of sheet as keys, and at least one lookup table identifier of color correction table, color conversion table, gray level correction table, or quantization table. The second table stores lookup tables corresponding to the lookup table identifiers stored in the first table.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば印刷時など
に色補正や色変換、階調補正、量子化処理等のデータ変
換を行うためのルックアップテーブルをのデータベース
管理方法及びそれを用いた画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database management method for a look-up table for performing data conversion such as color correction, color conversion, gradation correction, quantization processing and the like at the time of printing, and uses the same. The present invention relates to an image processing device.

【0002】[0002]

【従来の技術】例えば、パーソナルコンピュータ上で合
成される画像をプリンタにより出力する場合、輝度信号
R(赤),G(緑),B(青)で表された画像データ
を、プリンタで用いる色信号Y(イエロー),M(マゼ
ンタ),C(シアン)、さらに必要に応じてK(ブラッ
ク)に色変換する必要がある。この変換では、まずRG
Bデータの色補正(RGB8ビットからRGB8ビッ
ト)を行ない、次に色変換(RGB8ビットからCMY
K8ビット)を行ない、階調補正(CMYK8ビットか
らCMYK8ビット)を行ない、量子化処理(CMYK
8ビットからCMYK1ビット)を行なう。
2. Description of the Related Art For example, when an image synthesized on a personal computer is output by a printer, image data represented by luminance signals R (red), G (green), and B (blue) is converted into a color used by the printer. Signals Y (yellow), M (magenta), C (cyan), and if necessary, color conversion to K (black) are required. In this conversion, first RG
B data color correction (RGB 8 bits to RGB 8 bits) is performed, and then color conversion (RGB 8 bits to CMY
K8 bits), gradation correction (CMYK 8 bits to CMYK 8 bits), quantization processing (CMYK
8 bits to CMYK 1 bits).

【0003】これらの変換あるいは補正においては、予
め用意したルックアップテーブルが用いられている。変
換あるいは補正を行う各処理モジュールはそれぞれのル
ックアップテーブルを保持する構造になっており、各モ
ジュールが、印刷品位や量子化方法等で指定される印字
モードに応じたルックアップテーブルを独自の検索手順
で検索してロードし、処理を遂行していた。
In these conversions or corrections, a look-up table prepared in advance is used. Each processing module that performs conversion or correction has a structure that holds its own look-up table.Each module performs its own search for the look-up table according to the print mode specified by the print quality, quantization method, etc. We searched and loaded by the procedure and performed the processing.

【0004】すなわち、従来のルックアップテーブル
は、画像処理のために補正や変換を行うライブラリモジ
ュールの一部として、ライブラリモジュール内部でアク
セスする形式が一般的であった。また、テーブルの検索
方法もライブラリモジュール特有であることが多かっ
た。
That is, the conventional look-up table generally has a format in which the table is accessed inside the library module as a part of the library module for performing correction and conversion for image processing. Also, the table retrieval method was often specific to the library module.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、各モジ
ュールが独自にルックアップテーブルを保持しているた
めに、印字モードの追加や削除、変更等があった場合に
は、すべてのモジュールについて、変更のあった印字モ
ードに対応したルックアップテーブルの追加や削除、変
更を行い、整合性を取らなければならない。1つのモジ
ュールでも間違えがあれば正常な印刷ができないことが
あった。
However, since each module has its own look-up table, if a print mode is added, deleted, or changed, the change of all modules is performed. It is necessary to add, delete, or change the look-up table corresponding to the print mode that has been used, and obtain consistency. If there is an error in one module, normal printing may not be performed.

【0006】すなわち、ライブラリモジュール内部で独
自にルックアップテーブルにアクセスする従来の形式で
は、ルックアップテーブルのみを変更した場合であって
も、その都度ライブラリモジュールを再コンパイルする
必要が生じ、開発段階におけるデバッグ作業などの効率
低下の原因となっていた。また、機能別に分割された複
数のライブラリモジュールから成るプリンタドライバに
おいては、ルックアップテーブルの変更が複数のライブ
ラリモジュールに影響を及ぼすことが多いため、効率低
下だけでなく、プリンタドライバの品質低下の原因とな
っていた。
That is, in the conventional format in which the look-up table is independently accessed inside the library module, even when only the look-up table is changed, it is necessary to recompile the library module each time, and the This was the cause of the efficiency loss such as debugging work. Further, in a printer driver including a plurality of library modules divided according to functions, a change in a look-up table often affects a plurality of library modules. Had become.

【0007】本発明は上記従来例に鑑みてなされたもの
で、その目的とするところは、ルックアップテーブルの
保守を簡単に、それを用いる処理そのものとは独立して
行え、しかもルックアップテーブルを利用する各モジュ
ール間の整合性が失われることを防止したデータベース
管理方法及びそれを用いた画像処理装置を提供すること
にある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above conventional example, and has as its object the purpose of easily maintaining a look-up table independently of the processing itself using the look-up table. An object of the present invention is to provide a database management method that prevents loss of consistency between modules to be used and an image processing apparatus using the database management method.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、本発明は以下の構成からなる。すなわち、キーとル
ックアップテーブル識別子とを対応づけて格納する第1
のテーブルと、前記ルックアップテーブル識別子とルッ
クアップテーブルとを対応づけて格納する第2のテーブ
ルとを含み、指定されたキーに対応するルックアップテ
ーブル識別子を介してルックアップテーブルを検索可能
なことを特徴とするデータベース。
In order to achieve the above object, the present invention comprises the following constitution. That is, the first key storing the key and the lookup table identifier in association with each other.
And a second table that stores the lookup table identifier and the lookup table in association with each other, and that the lookup table can be searched through the lookup table identifier corresponding to the specified key. A database characterized by the following.

【0009】好ましくは、前記第1のテーブルには、各
キーに対して複数のルックアップテーブル識別子が格納
され、前記第2のテーブルには、前記ルックアップテー
ブル識別子それぞれに対応してひとつずつのルックアッ
プテーブルが格納されている。
Preferably, the first table stores a plurality of lookup table identifiers for each key, and the second table stores one lookup table identifier corresponding to each of the lookup table identifiers. The lookup table is stored.

【0010】好ましくは、前記第1のテーブルには、キ
ーとして、用紙種類及び量子化方法及び印字品位の少な
くともひとつを含む印字モードが格納され、ルックアッ
プテーブル識別子として、色補正テーブル及び色変換テ
ーブル及び階調補正テーブル及び量子化テーブルの少な
くともひとつのルックアップテーブル識別子が格納さ
れ、前記第2のテーブルには、前記第1のテーブルに格
納されたルックアップテーブル識別子に対応するルック
アップテーブルが格納されている。
Preferably, the first table stores a printing mode including at least one of a paper type, a quantization method, and a printing quality as a key, and a color correction table and a color conversion table as a lookup table identifier. And a lookup table identifier of at least one of a gradation correction table and a quantization table is stored, and the second table stores a lookup table corresponding to the lookup table identifier stored in the first table. Have been.

【0011】あるいは、印字モードをキーとし、各キー
に対応して、画像データの変換に用いるルックアップテ
ーブル識別子を格納した第1のテーブルと、前記第1の
テーブルに格納されたルックアップテーブル識別子に対
応するルックアップテーブルが格納された第2のテーブ
ルと、指定された印字モードに対応するルックアップテ
ーブル識別子を前記第1のテーブルから検索する検索手
段と、前記検索手段により獲得されたルックアップテー
ブル識別子に対応するルックアップテーブルを前記第2
のテーブルから獲得する表獲得手段と、獲得したルック
アップテーブルを用いて画像データを処理する画像処理
手段とを備えることを特徴とする画像処理装置。
Alternatively, a first table in which a print mode is used as a key and a lookup table identifier used for image data conversion is stored corresponding to each key, and a lookup table identifier stored in the first table is stored. A lookup table that stores a lookup table corresponding to a designated print mode from the first table; and a lookup table that is obtained by the lookup unit. The lookup table corresponding to the table identifier is stored in the second
An image processing apparatus comprising: a table obtaining unit that obtains from a table, and an image processing unit that processes image data using the obtained lookup table.

【0012】好ましくは、前記第1のテーブルには、キ
ーとして用紙種類及び量子化方法及び印字品位の少なく
ともひとつが、ルックアップテーブル識別子として色補
正テーブル及び色変換テーブル及び階調補正テーブル及
び量子化テーブルの少なくともひとつが含まれ、前記処
理手段は、獲得したテーブルを用いて、色補正及び色変
換及び階調補正及び量子化の少なくともいずれかを画像
データに対して施す。
Preferably, in the first table, at least one of a paper type, a quantization method, and print quality is used as a key, and a color correction table, a color conversion table, a gradation correction table, and a quantization are used as lookup table identifiers. At least one of the tables is included, and the processing means performs at least one of color correction, color conversion, gradation correction, and quantization on the image data using the obtained table.

【0013】好ましくは、前記画像処理手段により処理
された画像データを出力する出力手段を更に備える。
Preferably, the apparatus further comprises output means for outputting the image data processed by the image processing means.

【0014】[0014]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】[第1の実施の形態]図1は、本発明のデ
ータ変換装置の一実施形態を示す画像処理システムの構
成を示すブロック図である。
[First Embodiment] FIG. 1 is a block diagram showing a configuration of an image processing system showing one embodiment of a data conversion apparatus of the present invention.

【0016】出力装置205は、例えばカラープリンタ
の形態とすることができ、イエロー(Y),マゼンタ
(M),シアン(C),ブラック(K)の4色のインク
を用い、プリント用紙にカラープリント出力を行うもの
である。ただし、カラープリンタの出力は6色、7色で
もよいが、本実施例では4色で説明を行なう。この出力
装置205で用いるY,M,C,Kの各濃度データから
なるプリントデータは、制御装置201が実行する画像
処理によって得られるものであり、その画像処理には、
以下で説明する色補正、色変換、階調補正と量子化処理
などが含まれている。
The output device 205 can be in the form of, for example, a color printer, and uses four color inks of yellow (Y), magenta (M), cyan (C), and black (K), The print output is performed. However, the output of the color printer may be six or seven colors, but in the present embodiment, the description will be made with four colors. The print data composed of the respective density data of Y, M, C, and K used in the output device 205 is obtained by image processing executed by the control device 201.
This includes color correction, color conversion, gradation correction, quantization processing, and the like described below.

【0017】図16は出力装置205の一例であるイン
クジェットプリンタIJRAの斜視図を示す。同図にお
いて、駆動モータ5013の正逆回転に連動して駆動力
伝達ギア5011,5009を介して回転するリードス
クリュー5005の螺旋溝5004に対して係合するキ
ャリッジHCはピン(不図示)を有し、矢印a,b方向
に往復移動される。このキャリッジHCには、Y
(黄),M(マゼンタ),C(シアン),Bk(黒)各
色のインクジェットカートリッジIJCが搭載されてい
る。紙押え板5002は、キャリッジHCの移動方向に
亙って紙をプラテン5000に対して押圧する。フォト
カプラ5007,5008は、キャリッジのレバー50
06のこの域での存在を確認して、モータ5013の回
転方向切り換え等を行うためのホームポジションを検知
する。部材5016は、記録ヘッドの前面をキャップす
るキャップ部材5022を支持する部材で、吸引手段5
015はこのキャップ内を吸引する手段であり、キャッ
プ内開口5023を介して記録ヘッドの吸引回復を行
う。部材5019はクリーニングブレード5017を前
後方向に移動可能にする部材であり、本体支持板501
8にこれらが支持されている。ブレード5017は、こ
の形態でなく周知のクリーニングブレードが本例に適用
できる。また、レバー5021は、吸引回復の吸引を開
始するためのレバーで、キャリッジと係合するカム50
20の移動に伴って移動し、駆動モータからの駆動力が
クラッチ切り換え等の公知の伝達手段で移動制御され
る。
FIG. 16 is a perspective view of an ink jet printer IJRA which is an example of the output device 205. In the figure, the carriage HC that engages with the spiral groove 5004 of the lead screw 5005 that rotates via the driving force transmission gears 5011 and 5009 in conjunction with the forward and reverse rotation of the drive motor 5013 has a pin (not shown). Then, it is reciprocated in the directions of arrows a and b. This carriage HC has Y
(Yellow), M (magenta), C (cyan), and Bk (black) ink jet cartridges IJC are mounted. The paper pressing plate 5002 presses the paper against the platen 5000 in the moving direction of the carriage HC. The photocouplers 5007 and 5008 are provided with the carriage lever 50.
The home position for switching the rotation direction of the motor 5013 and the like is detected by confirming the existence of the area 06 in this area. A member 5016 supports a cap member 5022 for capping the front surface of the recording head.
Reference numeral 015 denotes a unit for sucking the inside of the cap, and performs suction recovery of the recording head through the opening 5023 in the cap. A member 5019 is a member that enables the cleaning blade 5017 to move in the front-rear direction.
8, these are supported. As the blade 5017, a well-known cleaning blade can be applied to this embodiment instead of this embodiment. The lever 5021 is a lever for starting suction for suction recovery, and is a cam 50 that engages with the carriage.
It moves with the movement of 20, and the driving force from the drive motor is controlled by known transmission means such as clutch switching.

【0018】図1において、制御装置201はCPUを
有し、後述の画像処理およびそのための初期処理等、本
システムに関するデータ処理や各部機械的要素の動作制
御を実行する。記憶装置203は、ROM,RAM等の
メモリやハードディスク、さらにフロッピーディスク等
の外部記憶装置の全体からなるものであり、本発明の一
実施形態に関して後述されるルックアップテーブルを含
むデータベースや計算区分が格納される。
In FIG. 1, a control device 201 has a CPU, and executes data processing relating to the present system, such as image processing to be described later and initial processing for the processing, and operation control of mechanical elements of each section. The storage device 203 is made up of a memory such as a ROM and a RAM, a hard disk, and an external storage device such as a floppy disk. Is stored.

【0019】例えば、スキャナで読取られた画像が記憶
装置203に格納されており、本システムの操作者は、
CRT等の表示装置204に表示される画像に、キーボ
ードやマウス等からなる入力装置202からの操作入力
によって所望の加工等を施し、出力装置205でプリン
ト出力する画像を作製することができる。
For example, an image read by a scanner is stored in the storage device 203, and the operator of the present system
An image displayed on the display device 204 such as a CRT can be subjected to desired processing by an operation input from an input device 202 such as a keyboard and a mouse, and an image to be printed out by the output device 205 can be produced.

【0020】このように本システムで作製された画像
は、一般には輝度信号R,G,Bそれぞれの階調データ
であり、これを出力装置205のプリントデータとする
ために画像処理が行われる。
An image produced by the present system is generally gradation data of each of the luminance signals R, G, and B, and image processing is performed to use the gradation data as print data of the output device 205.

【0021】なお、本発明の適用が上記のようなシステ
ムに限られないことは勿論である。例えば複写機のよう
な装置においては画像処理(色補正、色変換、階調補正
と量子化処理)などが行われていることは周知のことで
あり、本発明がそのような装置もしくはシステムに適用
され得る。
It is needless to say that the application of the present invention is not limited to the above system. For example, it is well known that image processing (color correction, color conversion, gradation correction and quantization processing) is performed in an apparatus such as a copying machine, and the present invention is applied to such an apparatus or system. Can be applied.

【0022】ここでの色補正処理はRGB各色8ビット
からR’G’B’各色8ビットへの色補正処理である。
また、色変換処理はR’G’B’各色8ビットからCM
YK各色8ビットへの色変換処理である。また、階調補
正処理はCMYK各色8ビットからC’M’Y’K’各
色8ビットに補正処理である。また、量子化処理はC’
M’Y’K’各色8ビットからcmyk各色1ビットへ
の量子化処理である。この時の色補正、色変換、階調補
正と量子化処理はルックアップテーブル(LUT)を利
用したものである。これらの処理は、一般にはプリンタ
ドライバと呼ばれる、プリンタの種類毎に用意されるプ
リンタ制御プログラムにより実行される。
The color correction process here is a color correction process from 8 bits for each color of RGB to 8 bits for each color of R'G'B '.
Also, the color conversion processing is performed from 8 bits for each of R'G'B '
This is a color conversion process into 8 bits for each YK color. Further, the gradation correction processing is a correction processing from 8 bits for each color of CMYK to 8 bits for each color of C'M'Y'K '. The quantization process is C '
This is a quantization process from 8 bits for each color of M'Y'K 'to 1 bit for each color of cmyk. At this time, the color correction, the color conversion, the gradation correction, and the quantization process use a look-up table (LUT). These processes are generally executed by a printer control program called a printer driver prepared for each type of printer.

【0023】<データベースファイルの構造>図2,図
3は本発明の概念図である。
<Structure of Database File> FIGS. 2 and 3 are conceptual diagrams of the present invention.

【0024】図2において、色補正・色変換モジュール
206は、印字モードに対するすべてのテーブルIDを
得るための検索ルーチン部(テーブルID検索部)21
2と色補正・色変換処理部213とを含んでいる。ま
た、図3において、階調補正・量子化モジュール208
は、印字モードに対するすべてのテーブルIDを得るた
めの検索ルーチン部(テーブルID検索部)212と階
調補正・量子化処理部214とを含んでいる。どちらに
も含まれている“印字モードに対するすべてのテーブル
IDを得るための検索ルーチン”は互いに同じ関数であ
る。また、図2及び図3において、データベース207
は、プリンタの機種固有情報を含むデータベースファイ
ルであって、図2、図3ともまったく同じものである。
このデータベースファイル207には、ユーザインター
フェース(UI)情報により指定される印字モードに対
応した、各種モジュールに必要なテーブルIDを含む検
索用テーブルLUT1(209)と、各種モジュールが
使用する実テーブルLUT2(210,211)が含ま
れている。なおUI情報とは、利用者が入力する印刷条
件などを含む情報である。
In FIG. 2, a color correction / color conversion module 206 has a search routine unit (table ID search unit) 21 for obtaining all table IDs for the print mode.
2 and a color correction / color conversion processing unit 213. In FIG. 3, the gradation correction / quantization module 208
Includes a search routine unit (table ID search unit) 212 for obtaining all table IDs for the print mode and a gradation correction / quantization processing unit 214. The “search routine for obtaining all table IDs for the print mode” included in both of them has the same function. 2 and 3, the database 207 is used.
Is a database file containing printer model-specific information, which is exactly the same in FIGS.
The database file 207 includes a search table LUT1 (209) corresponding to a print mode specified by user interface (UI) information and including a table ID required for various modules, and a real table LUT2 ( 210, 211). Note that the UI information is information including printing conditions and the like input by the user.

【0025】図4のテーブル215は、図2のLUT1
(209)の一例を示す図であり、複数のLUT1(印
字モードに対応したすべてのテーブルIDを含むテーブ
ル)である。図4において、テーブル215は、印字モ
ード部215aとテーブルID部215bとを含む。印
字モード部215aには、用紙の種類(普通紙/OHP
用紙)、量子化方法(誤差拡散/ディザ)、印刷品位
(最高品位/中品位)の組合せが、キーとして列記され
る。またテーブルID部215bには、色補正テーブ
ル,色変換テーブル,階調補正テーブル,ディザマトリ
クステーブルそれぞれのテーブルの識別子であるテーブ
ルIDが、印字モードに対応づけられて含まれている。
The table 215 in FIG. 4 corresponds to the LUT1 in FIG.
FIG. 209 is a diagram illustrating an example of (209), which is a plurality of LUTs 1 (tables including all table IDs corresponding to print modes). 4, the table 215 includes a print mode section 215a and a table ID section 215b. The print mode section 215a includes a paper type (plain paper / OHP).
Combinations of paper), quantization method (error diffusion / dither), and print quality (highest quality / medium quality) are listed as keys. Further, the table ID section 215b includes a table ID, which is an identifier of each of the color correction table, the color conversion table, the gradation correction table, and the dither matrix table, in association with the print mode.

【0026】図5のテーブル216は、図3のLUT2
(211)の一例を示す図であり、複数のLUT2(色
補正テーブルID、色変換テーブルID)である。また
図6のテーブル217は、複数のLUT2(階調補正テ
ーブルID、ディザマトリクステーブルID)である。
ともに、テーブルID部216a,217aと実テーブ
ル部216b,217bとを含む。
The table 216 in FIG. 5 corresponds to the LUT 2 in FIG.
It is a figure showing an example of (211), and is a plurality of LUT2 (color correction table ID, color conversion table ID). 6 is a plurality of LUTs 2 (gradation correction table ID, dither matrix table ID).
Both include table ID sections 216a and 217a and real table sections 216b and 217b.

【0027】<データベースの検索>画像の補正あるい
は変換に用いるLUTを獲得するために、まず、プリン
タドライバはUIの設定から印字モード(例えば、用紙
種類:普通紙、印字品位:最高品位、量子化:誤差拡
散)を決定し、その印字モードを色補正・色変換モジュ
ールに渡す。次に、色補正・色変換モジュールは色補正
・色変換モジュールに含まれるテーブルID検索部21
2で、渡された印字モードを検索し、渡された印字モー
ドに対応する色補正テーブルID、色変換テーブルID
を含むテーブルLUT1を、データベースファイル20
9からロードする。次に、色補正・色変換モジュール
は、ロードしたテーブルに含まれている色補正・色変換
テーブルIDをテーブル210から検索し、テーブルI
Dに対応する実テーブルを、実際に色補正・色変換モジ
ュールで使用するテーブルLUT2として複数のLUT
2(210)からロードする。そして、このロードされ
たLUT2を用いて通常の色補正・色変換処理を行な
う。
<Database Search> In order to obtain an LUT used for image correction or conversion, first, the printer driver sets a print mode (for example, paper type: plain paper, print quality: highest quality, quantization, : Error diffusion) and passes the print mode to the color correction / color conversion module. Next, the color correction / color conversion module includes a table ID search unit 21 included in the color correction / color conversion module.
In step 2, the passed print mode is searched, and a color correction table ID and a color conversion table ID corresponding to the passed print mode are retrieved.
Table LUT1 containing
Load from 9. Next, the color correction / color conversion module searches the table 210 for the color correction / color conversion table ID included in the loaded table,
A plurality of LUTs are used as a table LUT2 that is actually used by the color correction / color conversion module.
Load from 2 (210). Then, normal color correction / color conversion processing is performed using the loaded LUT2.

【0028】同様に、階調補正・量子化モジュールも同
じ流れの処理を行なう。すなわち、プリンタドライバは
UIの設定(例えば、用紙種類:普通紙、印字品位:最
高品位、量子化:誤差拡散)から決定した印字モード
を、色補正・色変換モジュールに渡す。次に、階調補正
・量子化モジュールは階調補正・量子化モジュールに含
まれるテーブルID検索部212で、決定された印字モ
ードに対応する階調補正テーブルID、ディザマトリク
ステーブルIDを含むテーブルLUT1をデータベース
ファイル209からロードする。次に、ロードしたテー
ブルに含まれている階調補正・ディザマトリクステーブ
ルIDによりテーブル211を検索し、実際に階調補正
・量子化モジュールで使用するテーブルLUT2を、複
数のLUT2(211)からロードする。そして、通常
の階調補正・量子化処理を行なう。
Similarly, the tone correction / quantization module performs the same processing. That is, the printer driver passes the print mode determined from the UI settings (for example, paper type: plain paper, print quality: highest quality, quantization: error diffusion) to the color correction / color conversion module. Next, in the gradation correction / quantization module, a table LUT1 including a gradation correction table ID and a dither matrix table ID corresponding to the determined print mode is obtained by a table ID search unit 212 included in the gradation correction / quantization module. From the database file 209. Next, the table 211 is searched by the gradation correction / dither matrix table ID included in the loaded table, and the table LUT2 actually used by the gradation correction / quantization module is loaded from the plurality of LUT2 (211). I do. Then, normal tone correction and quantization processing is performed.

【0029】図7は図1の印刷システムによる印刷時の
処理手順を表すフローチャートである。図中、ステップ
S701〜S703までがプリンタドライバによる処理
となる。利用者により印刷が指示され、必要な情報(例
えば、用紙種類、印字品位、量子化方法)などが入力さ
れると図7の処理が開始される。まず、印刷する画像デ
ータに対して、色補正・色変換処理が行われる(ステッ
プS701)。次に階調補正・量子化が行われ(ステッ
プS702)、必要に応じて、データが圧縮されたり、
あるいはデータ形式がプリンタが解釈可能な形式に変換
される(ステップS703)。プリンタドライバにより
これらの処理が終了すると、画像データは図16に示し
たようなプリンタに送り出され、そこで印刷される(ス
テップS704)。
FIG. 7 is a flowchart showing a processing procedure at the time of printing by the printing system of FIG. In the figure, steps S701 to S703 are processing by the printer driver. When printing is instructed by the user and necessary information (for example, paper type, print quality, quantization method) and the like are input, the processing in FIG. 7 is started. First, color correction / color conversion processing is performed on image data to be printed (step S701). Next, gradation correction and quantization are performed (step S702), and data is compressed or
Alternatively, the data format is converted into a format that can be interpreted by the printer (step S703). When these processes are completed by the printer driver, the image data is sent to a printer as shown in FIG. 16 and printed there (step S704).

【0030】図8は色補正・色変換モジュール206に
より行われる処理手順のフローチャートであり、図7の
ステップS701に相当する。まず、テーブルID検索
部212により、印字モードをキーとしてテーブルID
をテーブル209から検索する(ステップS801)。
テーブルIDが得られたら、そのテーブルIDでテーブ
ル(複数のLUT2)210を検索し、そのテーブルI
Dに対応する色補正テーブル及び色変換テーブルをメモ
リにロードする(ステップS802)。ロードされた色
補正テーブル及び色変換テーブルを用いて、色補正及び
色変換を実行する(ステップS803)。
FIG. 8 is a flowchart of a processing procedure performed by the color correction / color conversion module 206, and corresponds to step S701 in FIG. First, the table ID search unit 212 sets the table ID using the print mode as a key.
From the table 209 (step S801).
When the table ID is obtained, the table (a plurality of LUTs 2) 210 is searched by the table ID, and the table I is searched.
The color correction table and the color conversion table corresponding to D are loaded into the memory (step S802). The color correction and the color conversion are executed using the loaded color correction table and color conversion table (step S803).

【0031】図9は階調変換・量子化モジュール208
により行われる処理手順のフローチャートであり、図7
のステップS702に相当する。まず、テーブルID検
索部212により、印字モードをキーとしてテーブルI
Dをテーブル209から検索する(ステップS90
1)。テーブルIDが得られたら、そのテーブルIDで
テーブル(複数のLUT2)211を検索し、そのテー
ブルIDに対応する階調変換テーブル及び量子化テーブ
ル(ディザマトリクステーブル)をメモリにロードする
(ステップS902)。ロードされた階調変換テーブル
及び量子化テーブルを用いて、色補正及び色変換を実行
する(ステップS903)。
FIG. 9 shows a gradation conversion / quantization module 208.
FIG. 7 is a flowchart of a processing procedure performed by FIG.
Corresponds to step S702. First, the table ID search unit 212 uses the print mode as a key to set the table I
D is searched from the table 209 (step S90).
1). When the table ID is obtained, the table (plurality of LUTs) 211 is searched with the table ID, and the gradation conversion table and the quantization table (dither matrix table) corresponding to the table ID are loaded into the memory (step S902). . The color correction and the color conversion are executed using the loaded gradation conversion table and quantization table (step S903).

【0032】図10は、図8のステップS801、及び
図9のステップS901におけるテーブルID検索処理
のフローチャートである。まず、入力されたUI情報か
ら、印刷モードを決定し(ステップS1001)、決定
された印刷モードでLUT1を検索して対応する全テー
ブルIDを取得する(ステップS1002)。この手順
は、テーブルID検索部212による処理手順である。
FIG. 10 is a flowchart of the table ID search processing in step S801 in FIG. 8 and step S901 in FIG. First, a print mode is determined from the input UI information (step S1001), and the LUT 1 is searched in the determined print mode to acquire all corresponding table IDs (step S1002). This procedure is a processing procedure by the table ID search unit 212.

【0033】以上のようにして、各補正モジュールや変
換モジュールとは独立したデータベースとしてルックア
ップテーブルが保持され、各補正モジュールや変換モジ
ュールは、そのルックアップテーブルを検索して印字モ
ードに対応したルックアップテーブルを得て、補正や変
換を実行する。
As described above, the look-up table is held as a database independent of each correction module and conversion module, and each correction module and conversion module searches the look-up table and searches the look-up table corresponding to the print mode. Obtain up-tables and perform corrections and conversions.

【0034】図11は、ルックアップテーブルの内容を
変更した例を示す図である。図11において、テーブル
218のうち、色補正テーブル01なるテーブルIDに
対応するルックアップテーブル2181は更新されてい
る。例えば、プリンタドライバの改良などに伴って、あ
る印字モードについて、色味を修正するものとしよう。
この場合、今までのプリンタドライバでは、色補正モジ
ュールや色変換モジュールがそれぞれ色補正テーブルや
色変換テーブルを保持していたので、すなわち、各テー
ブルはそれを使用するモジュールによってのみ参照され
ていたので色味の修正に伴って、それらのモジュールを
変更する必要があった。これに対して本発明を適用すれ
ば、色補正モジュールや色変換モジュールを変更するこ
となく、図11のようにデータベースに含まれる色補正
テーブル及び色変換テーブルを変更するだけで、色味の
修正を行える。
FIG. 11 is a diagram showing an example in which the contents of the lookup table are changed. In FIG. 11, the lookup table 2181 corresponding to the table ID of the color correction table 01 in the table 218 has been updated. For example, it is assumed that the color is corrected for a certain print mode with the improvement of the printer driver.
In this case, in the conventional printer driver, the color correction module and the color conversion module respectively hold the color correction table and the color conversion table, that is, each table is referred to only by the module that uses it. It was necessary to change those modules along with the color correction. On the other hand, if the present invention is applied, the color correction can be performed only by changing the color correction table and the color conversion table included in the database as shown in FIG. 11 without changing the color correction module or the color conversion module. Can be performed.

【0035】図12は、データベース保守モジュール1
201とデータベース207を示す図である。保守の際
にも、保守対象のテーブルを獲得するために、まずテー
ブルID検索部212によりテーブルIDを検索して、
そのテーブルIDによりルックアップテーブルを獲得す
る。テーブル保守モジュール1202は、獲得したテー
ブルに対して必要な保守を行い、それをテーブルIDに
対応する元の位置に書き戻す。
FIG. 12 shows the database maintenance module 1
FIG. 2 illustrates a database 201 and a database 207. At the time of maintenance, in order to obtain a table to be maintained, first, a table ID is searched by the table ID search unit 212,
A look-up table is acquired by the table ID. The table maintenance module 1202 performs necessary maintenance on the acquired table and writes it back to the original position corresponding to the table ID.

【0036】図13は、テーブル保守の手順を示すフロ
ーチャートである。まず、図10の手順によりテーブル
IDを検索し(ステップS1301)、獲得したテーブ
ルIDにより保守対象のLUT2、すなわちテーブルの
実体を検索してロードする(ステップS1302)。ロ
ードしたテーブルを、利用者の操作に応じて更新した
り、あるいは、別途作成されたテーブルを上書きしたり
して更新する(ステップS1303)。最後に、更新し
たルックアップテーブルを、そのテーブルIDに対応す
るテーブルとしてデータベースに書き戻す(ステップS
1304)。
FIG. 13 is a flowchart showing the procedure of table maintenance. First, a table ID is searched according to the procedure of FIG. 10 (step S1301), and the LUT2 to be maintained, that is, the entity of the table is searched and loaded using the acquired table ID (step S1302). The loaded table is updated according to the operation of the user, or updated by overwriting a separately created table (step S1303). Finally, the updated look-up table is written back to the database as a table corresponding to the table ID (step S).
1304).

【0037】このように、本実施例では、データベース
ファイルをLUT1とLUT2の2グループに分け、L
UT1にLUT2を決定するためのテーブルIDを含ま
せた構造にすることによって、LUT2は、それを利用
する各モジュールから間接的にアクセスされる。こうす
ることで、色補正・色変換モジュール及び階調補正・量
子化モジュールは、その中で直接的にLUT2にアクセ
スすることがなくなる。
As described above, in this embodiment, the database file is divided into two groups, LUT1 and LUT2,
By making the UT1 include a table ID for determining the LUT2, the LUT2 is indirectly accessed from each module that uses the LUT2. In this way, the color correction / color conversion module and the gradation correction / quantization module do not directly access the LUT 2 therein.

【0038】このため、例えば、モジュール中で参照さ
れているLUTのアドレスがデータベースの保守に伴っ
て変更されるといった事態が生じなくなり、データベー
スの保守を、それを利用するモジュールの保守と独立し
て行うことができる。また、ルックアップテーブルの保
守のために、各補正モジュールや変換モジュールを変更
する必要がなくなり、変更の手間やテストの手間など、
データベースの保守に伴う労力を節約できる。また、各
モジュールを変更する必要がないために、あるモジュー
ルはLUTの更新がされているのに、他のモジュールで
は更新されていないといった不整合を防止できる。
Therefore, for example, a situation in which the address of the LUT referred to in the module is changed with the maintenance of the database does not occur, and the maintenance of the database can be performed independently of the maintenance of the module using the database. It can be carried out. In addition, there is no need to change each correction module or conversion module for maintenance of the lookup table.
Saves effort associated with database maintenance. Further, since it is not necessary to change each module, it is possible to prevent inconsistency that a certain module has been updated in the LUT but has not been updated in another module.

【0039】また、例えば複数機種のプリンタに対し
て、それらを制御するためのプリンタドライバプログラ
ムにおける画像処理モジュールを共通化し、他の制御モ
ジュール及び色補正・色変換・階調補正・量子化といっ
た画像処理に係るルックアップテーブルをプリンタの種
類毎に設ける、といったこともできる。この場合、画像
処理モジュールは共通のものが使用されるが、ルックア
ップテーブルはプリンタの機種に応じたものがロードさ
れる。こうすることで、機種毎の画像処理モジュールの
プログラム開発の時間や費用を節約することができる。
Further, for example, an image processing module in a printer driver program for controlling a plurality of types of printers is shared, and other control modules and image processing such as color correction, color conversion, gradation correction, and quantization are performed. A lookup table for processing may be provided for each type of printer. In this case, a common image processing module is used, but the look-up table is loaded according to the model of the printer. By doing so, it is possible to save the time and cost for developing the image processing module program for each model.

【0040】なお、本実施例では、テーブルのエントリ
を画像処理に用いられるルックアップテーブルとして説
明したが、画像処理に限らず、データベースに登録した
データやテーブルをプログラムから利用する場合には、
それらデータやテーブルをデータベースのエントリとす
ることで本発明を適用することができる。
In the present embodiment, the table entry is described as a lookup table used for image processing. However, the present invention is not limited to image processing, and when data or tables registered in a database are used from a program,
The present invention can be applied by using such data and tables as database entries.

【0041】[第2の実施の形態]図14は本発明の第
2の実施例に係るプリンタドライバ200の構成例を示
す概略図である。
[Second Embodiment] FIG. 14 is a schematic diagram showing a configuration example of a printer driver 200 according to a second embodiment of the present invention.

【0042】プリンタドライバ200は、オペレーティ
ングシステム100から取得した画像データをもとに印
刷データを生成し、プリンタ500へ送信する。プリン
タドライバ200は、主にオペレーティングシステム1
00やプリンタ500とのデータのやり取りや、ユーザ
インタフェースの制御などを行うコアモジュール300
と、画像処理モジュール301や2値化処理モジュール
302など機能別に分割されたライブラリモジュールに
よって構成される。プリンタドライバの場合、ライブラ
リモジュールはコアモジュール300より呼び出され
る。その際に印刷用紙の種類や印刷モードなどの情報を
コアモジュール300から受け取る。ライブラリモジュ
ールはコアモジュール300から受け取った各種情報を
もとに、データベース400からルックアップテーブル
や出力ガンマテーブルなどを検索し、適切な印刷結果が
得られるように処理を行う。
The printer driver 200 generates print data based on the image data obtained from the operating system 100 and sends the print data to the printer 500. The printer driver 200 mainly includes the operating system 1
Core module 300 that exchanges data with the printer 00 and the printer 500 and controls a user interface.
And a library module divided according to functions such as an image processing module 301 and a binarization processing module 302. In the case of a printer driver, the library module is called from the core module 300. At this time, information such as the type of printing paper and the printing mode is received from the core module 300. The library module searches the database 400 for a look-up table, an output gamma table, and the like based on various types of information received from the core module 300, and performs processing to obtain an appropriate print result.

【0043】ここで、データベース400は画像処理モ
ジュール301や2値化処理モジュール302などが必
要とするルックアップテーブルを結合して1つにしたも
ので、図4〜図6として例示した第1実施例におけるデ
ータベースと同様の構造を持つ。
Here, the database 400 is obtained by combining lookup tables required by the image processing module 301, the binarization processing module 302, and the like into one, and the first embodiment illustrated in FIGS. It has the same structure as the database in the example.

【0044】次に、ライブラリモジュールの構成を、画
像処理モジュールを例に挙げて説明する。
Next, the configuration of the library module will be described by taking an image processing module as an example.

【0045】図15は、画像処理モジュールの構成例を
示す概略図である。画像処理モジュール301は、画像
処理部600、データ記憶部601、データベース検索
部602から構成されている。画像処理部600はコア
モジュール300から受け取ったプリンタの各種情報を
データベース検索部602に入力する。データベース検
索部602は、第1実施例におけるテーブルID検索部
と同様の処理を行う。すなわち、データベース検索部6
02は、受け取った情報をもとにデータベース400を
検索し、検索結果を画像処理部600に出力する。検索
結果としては、テーブルIDが得られる。画像処理部6
00は、検索結果をもとにデータベース400から画像
処理に必要なルックアップテーブルデータを読み込み、
データ記憶部601に記憶する。その後、コアモジュー
ル300から画像データを受け取り、データ記憶部60
1に記憶されたルックアップテーブルデータに基づいて
画像処理を行い、画像処理を施した画像データをコアモ
ジュール300に出力する。
FIG. 15 is a schematic diagram showing a configuration example of the image processing module. The image processing module 301 includes an image processing unit 600, a data storage unit 601, and a database search unit 602. The image processing unit 600 inputs the printer information received from the core module 300 to the database search unit 602. The database search unit 602 performs the same processing as the table ID search unit in the first embodiment. That is, the database search unit 6
02 searches the database 400 based on the received information and outputs the search result to the image processing unit 600. As a search result, a table ID is obtained. Image processing unit 6
00 reads the lookup table data necessary for image processing from the database 400 based on the search result,
The data is stored in the data storage unit 601. After that, the image data is received from the core module 300 and the data storage unit 60
Image processing is performed based on the look-up table data stored in 1 and the image data subjected to the image processing is output to the core module 300.

【0046】データベース検索部602は、画像処理モ
ジュール301だけでなく、他のライブラリモジュール
にも搭載されており、1つのデータベースを複数のライ
ブラリモジュールから検索することができる。
The database search unit 602 is mounted not only on the image processing module 301 but also on other library modules, and can search one database from a plurality of library modules.

【0047】ここで、複数のプリンタ1及びプリンタ2
をパーソナルコンピュータ等に接続し、それらのドライ
バプログラムをインストールする場合を考える。まず、
プリンタ1用にプリンタドライバをインストールする
と、コアモジュール300、画像処理モジュール30
1、2値化処理モジュール302等のモジュール、及
び、データベース400がインストールされる。
Here, a plurality of printers 1 and 2
Is connected to a personal computer or the like, and their driver programs are installed. First,
When the printer driver is installed for the printer 1, the core module 300, the image processing module 30
Modules such as the one- and two-value processing module 302 and the database 400 are installed.

【0048】次に、プリンタ2用にプリンタドライバを
インストールすると、コアモジュール300、画像処理
モジュール301、2値化処理モジュール302等のモ
ジュールはプリンタ1と共通なのでインストールせず、
プリンタ2に必要な処理モジュールとデータベース40
1をインストールする。
Next, when a printer driver is installed for the printer 2, modules such as the core module 300, the image processing module 301, and the binarization processing module 302 are not installed because they are common to the printer 1.
Processing module and database 40 required for printer 2
Install 1

【0049】そして、ユーザが、アプリケーションプロ
グラム実行時の印刷指示時にプリンタを選択した際、例
えばプリンタ1を選択したとすると、プリンタ1に対応
するデータベース400のファイル名を、画像処理モジ
ュールや2値化処理モジュール等の各モジュールのデー
タベース検索部602にセットすることにより、選択さ
れたプリンタに対応するデータベースをアクセスできる
構成になっている。
When the user selects a printer when instructing printing when executing an application program, for example, if the user selects the printer 1, the file name of the database 400 corresponding to the printer 1 is changed to an image processing module or a binary code. By setting the database in the database search unit 602 of each module such as a processing module, the database corresponding to the selected printer can be accessed.

【0050】なお、データベース検索部602の検索方
法は、どんな方法であっても良い。また、データベース
400は各ライブラリモジュールから分離されているの
で、データベース内部の変更、たとえば、画像処理モジ
ュール301が読み込むルックアップテーブルデータの
変更を行う場合に、画像処理モジュール301を再コン
パイルする必要がなくなり、効率よくライブラリモジュ
ール及びデータベースの開発を行うことができる。
The search method of the database search unit 602 may be any method. In addition, since the database 400 is separated from each library module, it is not necessary to recompile the image processing module 301 when performing changes in the database, for example, changes in lookup table data read by the image processing module 301. The library module and the database can be efficiently developed.

【0051】このようにして、印刷用紙の追加などの複
数のライブラリモジュールに影響が及ぶデータベースの
変更であっても、影響の及ぶ各ライブラリモジュールを
再コンパイルする必要がなく、データベースの変更作業
が効率よくかつ簡単に行える。
In this way, even if a database change that affects a plurality of library modules, such as the addition of printing paper, it is not necessary to recompile each of the affected library modules, and the database change operation can be performed efficiently. Good and easy to do.

【0052】また、ドライバプログラムのバージョンア
ップに伴い、データベースの変更作業が効率よくかつ簡
単に行える。
Further, with the upgrade of the driver program, the work of changing the database can be performed efficiently and easily.

【0053】[0053]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ、インタフェイス機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機、ファクシミリ
装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).

【0054】また、本発明の目的は、前述した実施形態
の機能を実現する、図7〜10,13の手順のプログラ
ムコードを記録した記憶媒体(または記録媒体)を、シ
ステムあるいは装置に供給し、そのシステムあるいは装
置のコンピュータ(またはCPUやMPU)が記憶媒体
に格納されたプログラムコードを読み出し実行すること
によっても達成される。この場合、記憶媒体から読み出
されたプログラムコード自体が前述した実施形態の機能
を実現することになり、そのプログラムコードを記憶し
た記憶媒体は本発明を構成することになる。また、コン
ピュータが読み出したプログラムコードを実行すること
により、前述した実施形態の機能が実現されるだけでな
く、そのプログラムコードの指示に基づき、コンピュー
タ上で稼働しているオペレーティングシステム(OS)
などが実際の処理の一部または全部を行い、その処理に
よって前述した実施形態の機能が実現される場合も含ま
れる。
Another object of the present invention is to supply a storage medium (or a recording medium) storing the program codes of the procedures shown in FIGS. The present invention is also achieved when a computer (or CPU or MPU) of the system or apparatus reads out and executes a program code stored in a storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code.
And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0055】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれる。
Further, after the program code read from the storage medium is written into the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. , The CPU provided in the function expansion card or the function expansion unit performs part or all of the actual processing,
The case where the function of the above-described embodiment is realized by the processing is also included.

【0056】[0056]

【発明の効果】以上説明したように、本発明によれば、
ルックアップテーブルの保守を簡単に、それを用いる処
理そのものとは独立して行え、しかもルックアップテー
ブルを利用する各モジュール間の整合性が失われること
を防止できる。
As described above, according to the present invention,
Maintenance of the look-up table can be performed easily and independently of the processing using the look-up table, and furthermore, it is possible to prevent loss of consistency between modules using the look-up table.

【0057】また、ドライバプログラムのバージョンア
ップに伴い、データベースの変更作業が効率よくかつ簡
単に行える。
Further, with the upgrade of the driver program, the work of changing the database can be performed efficiently and easily.

【図面の簡単な説明】[Brief description of the drawings]

【図1】第1実施形態の画像処理システムの構成を示す
ブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image processing system according to a first embodiment.

【図2】データベースファイルと色補正・色変換モジュ
ールの関係を示す図である。
FIG. 2 is a diagram showing a relationship between a database file and a color correction / color conversion module.

【図3】データベースファイルと階調補正・量子化モジ
ュールの関係を示す図である。
FIG. 3 is a diagram showing a relationship between a database file and a gradation correction / quantization module.

【図4】複数のLUT1の概念図である。FIG. 4 is a conceptual diagram of a plurality of LUTs 1;

【図5】複数のLUT2の色補正・色変換の実テーブル
の概念図である。
FIG. 5 is a conceptual diagram of a real table of color correction and color conversion of a plurality of LUTs 2;

【図6】複数のLUT2の階調補正・ディザマトリクス
の実テーブルの概念図である。
FIG. 6 is a conceptual diagram of a real table of gradation correction and dither matrix of a plurality of LUTs 2;

【図7】印刷処理手順のフローチャートである。FIG. 7 is a flowchart of a print processing procedure.

【図8】色補正・色変換処理のフローチャートである。FIG. 8 is a flowchart of a color correction / color conversion process.

【図9】階調補正・量子化処理のフローチャートであ
る。
FIG. 9 is a flowchart of a tone correction / quantization process.

【図10】テーブルID検索のフローチャートである。FIG. 10 is a flowchart of a table ID search.

【図11】内容が変更された複数のLUT2の色補正・
色変換の実テーブルの概念図である。
FIG. 11 shows the color correction of a plurality of LUTs 2 whose contents have been changed.
It is a conceptual diagram of the real table of color conversion.

【図12】データベースファイルとデータベース保守モ
ジュールの関係を示す図である。
FIG. 12 is a diagram showing a relationship between a database file and a database maintenance module.

【図13】データベース保守のフローチャートである。FIG. 13 is a flowchart of database maintenance.

【図14】第2実施形態のプリンタドライバにおける構
成例を示す概略図である。
FIG. 14 is a schematic diagram illustrating a configuration example of a printer driver according to a second embodiment.

【図15】画像処理モジュールの構成例を示す概略図で
ある。
FIG. 15 is a schematic diagram illustrating a configuration example of an image processing module.

【図16】インクジェットプリンタの構成を示す図であ
る。
FIG. 16 is a diagram illustrating a configuration of an ink jet printer.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C262 AA02 AA18 AA24 AA26 AA27 AC02 BA02 BA16 BC01 BC17 GA14 5C077 MP08 NN08 NN11 PP15 PP32 PP33 PP37 PP38 PQ08 PQ22 PQ23 RR02 SS05 SS06 TT05 TT06 5C079 HB01 HB03 HB11 LA31 LA34 MA01 MA02 MA05 MA17 MA19 NA10 PA02 PA03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C262 AA02 AA18 AA24 AA26 AA27 AC02 BA02 BA16 BC01 BC17 GA14 5C077 MP08 NN08 NN11 PP15 PP32 PP33 PP37 PP38 PQ08 PQ22 PQ23 RR02 SS05 SS06 TT05 TT06 5C079 HB01 MA03MA MA17 MA19 NA10 PA02 PA03

Claims (27)

【特許請求の範囲】[Claims] 【請求項1】 キーとルックアップテーブル識別子とを
対応づけて格納する第1のテーブルと、 前記ルックアップテーブル識別子とルックアップテーブ
ルとを対応づけて格納する第2のテーブルとを含み、指
定されたキーに対応するルックアップテーブル識別子を
介してルックアップテーブルを検索可能なことを特徴と
するデータベース。
A first table that stores a key and a lookup table identifier in association with each other; and a second table that stores the lookup table identifier and a lookup table in association with each other. A lookup table searchable via a lookup table identifier corresponding to the key.
【請求項2】 前記第1のテーブルには、各キーに対し
て複数のルックアップテーブル識別子が格納され、前記
第2のテーブルには、前記ルックアップテーブル識別子
それぞれに対応してひとつずつのルックアップテーブル
が格納されていることを特徴とする請求項1に記載のデ
ータベース。
2. The first table stores a plurality of lookup table identifiers for each key, and the second table stores one look-up table corresponding to each of the lookup table identifiers. The database according to claim 1, wherein an up table is stored.
【請求項3】 前記第1のテーブルには、キーとして、
用紙種類及び量子化方法及び印字品位の少なくともひと
つを含む印字モードが格納され、ルックアップテーブル
識別子として、色補正テーブル及び色変換テーブル及び
階調補正テーブル及び量子化テーブルの少なくともひと
つのルックアップテーブル識別子が格納され、前記第2
のテーブルには、前記第1のテーブルに格納されたルッ
クアップテーブル識別子に対応するルックアップテーブ
ルが格納されていることを特徴とする請求項2に記載の
データベース。
3. The first table includes, as a key,
A print mode including at least one of a paper type, a quantization method, and a print quality is stored, and at least one lookup table identifier of a color correction table, a color conversion table, a gradation correction table, and a quantization table is stored as a lookup table identifier. Is stored in the second
3. The database according to claim 2, wherein a lookup table corresponding to the lookup table identifier stored in the first table is stored in the table.
【請求項4】 請求項3に記載のデータベースについ
て、指定された印字モードに対応するルックアップテー
ブル識別子を前記第1のテーブルから検索する検索工程
と、 前記検索工程により獲得されたルックアップテーブル識
別子に対応するルックアップテーブルを前記第2のテー
ブルから獲得する表獲得工程とを備えることを特徴とす
るデータベース管理方法。
4. A retrieval step for retrieving a lookup table identifier corresponding to a designated print mode from the first table for the database according to claim 3, and a lookup table identifier obtained in the retrieval step. A table acquisition step of acquiring a lookup table corresponding to the second table from the second table.
【請求項5】 印字モードをキーとし、各キーに対応し
て、画像データの変換に用いるルックアップテーブル識
別子を格納した第1のテーブルと、 前記第1のテーブルに格納されたルックアップテーブル
識別子に対応するルックアップテーブルが格納された第
2のテーブルと、 指定された印字モードに対応するルックアップテーブル
識別子を前記第1のテーブルから検索する検索手段と、 前記検索手段により獲得されたルックアップテーブル識
別子に対応するルックアップテーブルを前記第2のテー
ブルから獲得する表獲得手段と、 獲得したルックアップテーブルを用いて画像データを処
理する画像処理手段とを備えることを特徴とする画像処
理装置。
5. A first table storing a lookup table identifier used for image data conversion corresponding to each key with a print mode as a key, and a lookup table identifier stored in the first table. A second table in which a lookup table corresponding to the specified print mode is stored; search means for searching the first table for a lookup table identifier corresponding to a designated print mode; and a lookup acquired by the search means. An image processing apparatus comprising: a table obtaining unit that obtains a lookup table corresponding to a table identifier from the second table; and an image processing unit that processes image data using the obtained lookup table.
【請求項6】 前記第1のテーブルには、キーとして用
紙種類及び量子化方法及び印字品位の少なくともひとつ
が、ルックアップテーブル識別子として色補正テーブル
及び色変換テーブル及び階調補正テーブル及び量子化テ
ーブルの少なくともひとつが含まれ、前記処理手段は、
獲得したテーブルを用いて、色補正及び色変換及び階調
補正及び量子化の少なくともいずれかを画像データに対
して施すことを特徴とする請求項5に記載の画像処理装
置。
6. The first table includes, as a key, at least one of a paper type, a quantization method, and print quality, and as a lookup table identifier, a color correction table, a color conversion table, a gradation correction table, and a quantization table. Wherein at least one of the following is included:
The image processing apparatus according to claim 5, wherein at least one of color correction, color conversion, gradation correction, and quantization is performed on the image data using the acquired table.
【請求項7】 前記画像処理手段により処理された画像
データを出力する出力手段を更に備えることを特徴とす
る画像処理装置。
7. An image processing apparatus further comprising an output unit for outputting image data processed by the image processing unit.
【請求項8】 印字モードをキーとし、各キーに対応し
て、画像データの変換に用いるルックアップテーブル識
別子を格納した第1のテーブルと、前記第1のテーブル
に格納されたルックアップテーブル識別子に対応するル
ックアップテーブルが格納された第2のテーブルを用い
た画像処理方法であって、 指定された印字モードに対応するルックアップテーブル
識別子を前記第1のテーブルから検索する検索工程と、 前記検索工程により獲得されたルックアップテーブル識
別子に対応するルックアップテーブルを前記第2のテー
ブルから獲得する表獲得工程と、 獲得したルックアップテーブルを用いて画像データを処
理する画像処理工程とを備えることを特徴とする画像処
理方法。
8. A first table storing a look-up table identifier used for image data conversion corresponding to each key with a print mode as a key, and a look-up table identifier stored in the first table. An image processing method using a second table in which a look-up table corresponding to a print mode is stored, wherein a search step of searching a look-up table identifier corresponding to a designated print mode from the first table; A table obtaining step of obtaining a lookup table corresponding to the lookup table identifier obtained by the search step from the second table; and an image processing step of processing image data using the obtained lookup table. An image processing method characterized by the following.
【請求項9】 前記第1のテーブルには、キーとして用
紙種類及び量子化方法及び印字品位の少なくともひとつ
が、ルックアップテーブル識別子として色補正テーブル
及び色変換テーブル及び階調補正テーブル及び量子化テ
ーブルの少なくともひとつが含まれ、前記処理工程は、
獲得したテーブルを用いて、色補正及び色変換及び階調
補正及び量子化の少なくともいずれかを画像データに対
して施すことを特徴とする請求項8に記載の画像処理方
法。
9. The first table includes, as a key, at least one of a paper type, a quantization method, and print quality, and as a lookup table identifier, a color correction table, a color conversion table, a gradation correction table, and a quantization table. Wherein at least one of the following is included:
9. The image processing method according to claim 8, wherein at least one of color correction, color conversion, gradation correction, and quantization is performed on the image data using the acquired table.
【請求項10】 コンピュータにより、 指定された印字モードに対応するルックアップテーブル
識別子を、印字モードをキーとし、各キーに対応して画
像データの変換に用いるルックアップテーブル識別子を
格納した第1のテーブルから検索する検索手段と、 前記検索手段により獲得されたルックアップテーブル識
別子に対応するルックアップテーブルを、前記第1のテ
ーブルに格納されたルックアップテーブル識別子に対応
するルックアップテーブルが格納された第2のテーブル
から獲得する表獲得手段と、 獲得したルックアップテーブルを用いて画像データを処
理する画像処理手段とを実現するコンピュータプログラ
ムを格納することを特徴とするコンピュータ可読記憶媒
体。
10. A first computer which stores a lookup table identifier corresponding to a designated print mode and a lookup table identifier used for conversion of image data corresponding to each key by using the print mode as a key. Search means for searching from a table, and a look-up table corresponding to the look-up table identifier obtained by the search means, and a look-up table corresponding to the look-up table identifier stored in the first table are stored. A computer-readable storage medium storing a computer program for realizing table acquisition means for acquiring from a second table and image processing means for processing image data using the acquired look-up table.
【請求項11】処理モジュールと、装置に対応したデー
タベースとを有し、前記処理モジュールは、選択された
装置に対応するデータベースをアクセスするための情報
がセットされる検索部を有することを特徴とする情報処
理装置。
11. A processing module and a database corresponding to a device, wherein the processing module includes a search unit in which information for accessing the database corresponding to the selected device is set. Information processing device.
【請求項12】前記装置はプリンタであることを特徴と
する請求項11記載の情報処理装置。
12. An information processing apparatus according to claim 11, wherein said apparatus is a printer.
【請求項13】前記データベースは、請求項1、2、ま
たは、3記載のデータベースであることを特徴とする請
求項11記載の情報処理装置。
13. An information processing apparatus according to claim 11, wherein said database is the database according to claim 1, 2, or 3.
【請求項14】前記処理モジュールは、画像処理モジュ
ール、2値化処理モジュールを含むことを特徴とする請
求項11記載の情報処理装置。
14. The information processing apparatus according to claim 11, wherein said processing module includes an image processing module and a binarization processing module.
【請求項15】前記処理モジュールは複数存在すること
を特徴とする請求項11記載の情報処理装置。
15. The information processing apparatus according to claim 11, wherein a plurality of said processing modules exist.
【請求項16】前記データベースは、複数存在すること
を特徴とする請求項11、または、15記載の情報処理
装置。
16. The information processing apparatus according to claim 11, wherein a plurality of said databases exist.
【請求項17】処理モジュールと、装置に対応したデー
タベースとを利用する情報処理方法であって、装置を選
択した際に、前記処理モジュールの検索部に、選択され
た装置に対応するデータベースをアクセスするための情
報をセットすることを特徴とする情報処理方法。
17. An information processing method using a processing module and a database corresponding to a device, wherein when a device is selected, a search unit of the processing module accesses the database corresponding to the selected device. An information processing method characterized by setting information for performing an operation.
【請求項18】前記装置はプリンタであることを特徴と
する請求項17記載の情報処理方法。
18. The information processing method according to claim 17, wherein said device is a printer.
【請求項19】前記データベースは、請求項1、2、ま
たは、3記載のデータベースであることを特徴とする請
求項17記載の情報処理方法。
19. The information processing method according to claim 17, wherein said database is the database according to claim 1, 2, or 3.
【請求項20】前記処理モジュールは、画像処理モジュ
ール、2値化処理モジュールを含むことを特徴とする請
求項17記載の情報処理方法。
20. The information processing method according to claim 17, wherein said processing module includes an image processing module and a binarization processing module.
【請求項21】前記処理モジュールは複数存在すること
を特徴とする請求項17記載の情報処理方法。
21. An information processing method according to claim 17, wherein a plurality of said processing modules exist.
【請求項22】前記データベースは、複数存在すること
を特徴とする請求項17、または、21記載の情報処理
方法。
22. The information processing method according to claim 17, wherein a plurality of said databases exist.
【請求項23】処理モジュールと、プリンタに対応した
データベースとを有し、前記処理モジュールは、選択さ
れたプリンタに対応するデータベースをアクセスするた
めの情報がセットされる検索部を有することを特徴とす
るプリンタドライバ。
23. A processing module and a database corresponding to a printer, wherein the processing module includes a search unit in which information for accessing a database corresponding to a selected printer is set. Printer driver.
【請求項24】前記データベースは、請求項1、2、ま
たは、3記載のデータベースであることを特徴とする請
求項23記載のプリンタドライバ。
24. The printer driver according to claim 23, wherein the database is the database according to claim 1, 2, or 3.
【請求項25】前記処理モジュールは、画像処理モジュ
ール、2値化処理モジュールを含むことを特徴とする請
求項23記載のプリンタドライバ。
25. The printer driver according to claim 23, wherein said processing module includes an image processing module and a binarization processing module.
【請求項26】前記処理モジュールは複数存在すること
を特徴とする請求項23記載のプリンタドライバ。
26. The printer driver according to claim 23, wherein there are a plurality of said processing modules.
【請求項27】前記データベースは、複数存在すること
を特徴とする請求項23、または、26記載のプリンタ
ドライバ。
27. The printer driver according to claim 23, wherein a plurality of said databases exist.
JP11182418A 1999-06-28 1999-06-28 Data base and image processor employing it Pending JP2001010119A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP11182418A JP2001010119A (en) 1999-06-28 1999-06-28 Data base and image processor employing it
US09/597,403 US7268897B1 (en) 1999-06-28 2000-06-21 Print control apparatus and method
EP00305360A EP1067764A3 (en) 1999-06-28 2000-06-26 Print control apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11182418A JP2001010119A (en) 1999-06-28 1999-06-28 Data base and image processor employing it

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007001837A Division JP4343960B2 (en) 2007-01-09 2007-01-09 Information processing apparatus and information processing method

Publications (2)

Publication Number Publication Date
JP2001010119A true JP2001010119A (en) 2001-01-16
JP2001010119A5 JP2001010119A5 (en) 2006-08-17

Family

ID=16117949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11182418A Pending JP2001010119A (en) 1999-06-28 1999-06-28 Data base and image processor employing it

Country Status (1)

Country Link
JP (1) JP2001010119A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009514097A (en) * 2005-10-26 2009-04-02 アナログ デバイシーズ インク Improved pipelined digital signal processor
JP2018109681A (en) * 2016-12-28 2018-07-12 キヤノン株式会社 Image formation apparatus and image formation method

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01204745A (en) * 1988-02-10 1989-08-17 Canon Inc Printer
JPH02258272A (en) * 1988-12-06 1990-10-19 Canon Inc Recording device
JPH05242384A (en) * 1992-03-03 1993-09-21 Hitachi Building Syst Eng & Service Co Ltd Method for supporting allocation of signal line in building equipment monitoring device
JPH08154175A (en) * 1994-11-28 1996-06-11 Canon Inc Image processing method and image recorder
JPH08242384A (en) * 1995-03-03 1996-09-17 Fuji Xerox Co Ltd Color image processor
JPH08339296A (en) * 1995-02-27 1996-12-24 Internatl Business Mach Corp <Ibm> Method for linking of dynamic link library to program
JPH09152961A (en) * 1995-07-06 1997-06-10 Sun Microsyst Inc Method and apparatus for attachment of version setting information to software program
JPH09272222A (en) * 1996-04-05 1997-10-21 Seiko Epson Corp Optical printer
JPH09294212A (en) * 1996-02-29 1997-11-11 Seiko Epson Corp Image processing unit and image processing method
JPH1013674A (en) * 1996-06-18 1998-01-16 Canon Inc Image processor, its method and computer readable memory
JPH1084555A (en) * 1996-09-10 1998-03-31 Canon Inc Image pickup device
JPH10200776A (en) * 1996-11-13 1998-07-31 Seiko Epson Corp Color conversion device and color conversion method, and recording medium
JPH1117971A (en) * 1997-06-24 1999-01-22 Canon Inc Image processor, its method, data processing method and storage medium
JPH1117967A (en) * 1997-06-19 1999-01-22 Canon Inc Device and method for processing image
JPH11134085A (en) * 1997-07-17 1999-05-21 Landis & Staefa Inc Method and apparatus for monitoring and controlling real-time information in a building automation system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01204745A (en) * 1988-02-10 1989-08-17 Canon Inc Printer
JPH02258272A (en) * 1988-12-06 1990-10-19 Canon Inc Recording device
JPH05242384A (en) * 1992-03-03 1993-09-21 Hitachi Building Syst Eng & Service Co Ltd Method for supporting allocation of signal line in building equipment monitoring device
JPH08154175A (en) * 1994-11-28 1996-06-11 Canon Inc Image processing method and image recorder
JPH08339296A (en) * 1995-02-27 1996-12-24 Internatl Business Mach Corp <Ibm> Method for linking of dynamic link library to program
JPH08242384A (en) * 1995-03-03 1996-09-17 Fuji Xerox Co Ltd Color image processor
JPH09152961A (en) * 1995-07-06 1997-06-10 Sun Microsyst Inc Method and apparatus for attachment of version setting information to software program
JPH09294212A (en) * 1996-02-29 1997-11-11 Seiko Epson Corp Image processing unit and image processing method
JPH09272222A (en) * 1996-04-05 1997-10-21 Seiko Epson Corp Optical printer
JPH1013674A (en) * 1996-06-18 1998-01-16 Canon Inc Image processor, its method and computer readable memory
JPH1084555A (en) * 1996-09-10 1998-03-31 Canon Inc Image pickup device
JPH10200776A (en) * 1996-11-13 1998-07-31 Seiko Epson Corp Color conversion device and color conversion method, and recording medium
JPH1117967A (en) * 1997-06-19 1999-01-22 Canon Inc Device and method for processing image
JPH1117971A (en) * 1997-06-24 1999-01-22 Canon Inc Image processor, its method, data processing method and storage medium
JPH11134085A (en) * 1997-07-17 1999-05-21 Landis & Staefa Inc Method and apparatus for monitoring and controlling real-time information in a building automation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009514097A (en) * 2005-10-26 2009-04-02 アナログ デバイシーズ インク Improved pipelined digital signal processor
JP2018109681A (en) * 2016-12-28 2018-07-12 キヤノン株式会社 Image formation apparatus and image formation method

Similar Documents

Publication Publication Date Title
US7268897B1 (en) Print control apparatus and method
US7298523B2 (en) Printing apparatus, control method therefor, and storage medium
US8427669B2 (en) Scanner control system and scanner driver program
JP5370638B2 (en) Image processing apparatus, image processing method, and program
US7999960B2 (en) Printing system, printing system control method, program and storage medium
US7864367B2 (en) Image processing system and image processing method
US5726778A (en) Image processing apparatus with color-space conversion
JP2003250108A (en) Image recording apparatus, image recording system, and control method thereof
JP2001010119A (en) Data base and image processor employing it
JP2001016473A (en) Image processor, its control method and storage medium
CN103841292A (en) Operating method of scanner and scanner
JPH04367161A (en) Image recorder
JP4343960B2 (en) Information processing apparatus and information processing method
JP2001016474A (en) Image forming device, its control method and storage medium
JP4124078B2 (en) Image processing apparatus and image processing method
JP3631108B2 (en) Image processing method, apparatus, and recording medium
JP4117150B2 (en) Color conversion apparatus and color conversion program
JP2005053009A (en) Printing device
JP2002264412A (en) Method for processing image, program and image processor
JP2003230020A (en) Image processor, printer, and image processing method
US7474445B2 (en) Image forming apparatus
JP2001078050A (en) Method and device for print control
JPH08111786A (en) Image output system
JPH09275462A (en) Image input-output device and control method for image input-output system
JP4960269B2 (en) Image processing system and image processing apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060628

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060628

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20060628

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060628

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20060719

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060811

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061010

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070109

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070228

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070413