JPH0880642A - Picture processing device - Google Patents

Picture processing device

Info

Publication number
JPH0880642A
JPH0880642A JP7215647A JP21564795A JPH0880642A JP H0880642 A JPH0880642 A JP H0880642A JP 7215647 A JP7215647 A JP 7215647A JP 21564795 A JP21564795 A JP 21564795A JP H0880642 A JPH0880642 A JP H0880642A
Authority
JP
Japan
Prior art keywords
data
palette
color
image
input
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.)
Granted
Application number
JP7215647A
Other languages
Japanese (ja)
Other versions
JP2997191B2 (en
Inventor
Hideaki Kawamura
秀明 河村
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 JP7215647A priority Critical patent/JP2997191B2/en
Publication of JPH0880642A publication Critical patent/JPH0880642A/en
Application granted granted Critical
Publication of JP2997191B2 publication Critical patent/JP2997191B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE: To perform processes suitable for respective data by a method wherein pallet data different in image data format or image data constituted by a plurality of color component data are inputted. CONSTITUTION: Quick color processing is performed on respective image data different in format by converting pallet data inputted through a PI01 into R, G and B data so as to be inputted together with R, G and B data inputted through the PI01 in common gamma tables 2 into C, M and Y data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は色処理を行う画像処理装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing color processing.

【0002】[0002]

【従来の技術】近年、ホストコンピュータにおいては、
ユーザの用途に応じた以下に示すような様々な画像デー
タを扱い、カラープリンタに出力する。
2. Description of the Related Art Recently, in host computers,
It handles various image data as shown below according to the user's application and outputs them to a color printer.

【0003】 予め設定された色の中から適当な色を
選択し、画像を生成する。
An appropriate color is selected from preset colors to generate an image.

【0004】 スキャナー等の画像入力や機器を用い
て原稿を示すフルカラー画像を入力する。
An image input such as a scanner or a device is used to input a full-color image showing a document.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
カラープリンタは上述のによって得られた各画素毎に
多値の複数の色成分データを入力画像データとして設定
している。
However, the conventional color printer sets a plurality of multivalued color component data for each pixel obtained as described above as input image data.

【0006】したがって、上述のによって生成された
画像データをカラープリンタに出力する場合であって
も、選択された色を多値の複数の色成分データに変換し
ていた。
Therefore, even when the image data generated as described above is output to a color printer, the selected color is converted into a plurality of multivalued color component data.

【0007】よって、色数が予め限られているにもかか
わらず上述のの処理と同様に画像データの転送に時間
が非常にかかってしまっていた。
Therefore, although the number of colors is limited in advance, it takes much time to transfer the image data as in the above-mentioned processing.

【0008】本発明は上述の点に鑑みてなされたもので
あり、画像データの形式が異なるパレットデータもしく
は複数の色成分データで構成される画像データを入力
し、各々に適した処理ができる画像処理装置を提供する
ことを目的とする。
The present invention has been made in view of the above points, and an image in which palette data having a different image data format or image data composed of a plurality of color component data is input and processing suitable for each is performed. An object is to provide a processing device.

【0009】[0009]

【課題を解決するための手段】本発明は、入力画像を示
すパレットデータを入力する第1のモードと、各々多値
で示される複数の色成分データで構成される第1の画像
データを入力する第2のモードとを有する入力手段と、
前記パレットデータと第2の画像データを対応させるパ
レット変換テーブルを格納する格納手段と、前記パレッ
ト変換テーブルを用いて前記パレットデータを前記第2
の画像データに変換する変換手段と、前記第1および第
2の画像データに対して色処理を行う色処理手段とを有
することを特徴とする。
According to the present invention, a first mode for inputting palette data representing an input image and first image data composed of a plurality of color component data each represented by multiple values are inputted. Input means having a second mode for
A storage unit that stores a palette conversion table that associates the palette data with the second image data, and the palette data using the palette conversion table to store the palette data in the second format.
And a color processing unit for performing color processing on the first and second image data.

【0010】[0010]

【作用】本発明によれば、形式が異なる各画像データに
各々適した色処理が行えるようになる。
According to the present invention, it is possible to perform color processing suitable for image data of different formats.

【0011】[0011]

【実施例】以下に、図面を参照して本発明を詳細に説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings.

【0012】本発明の一実施例のフルカラープリンタの
内部ブロック図を図1に示す。
FIG. 1 shows an internal block diagram of a full-color printer according to an embodiment of the present invention.

【0013】パソコンからのプリントデータやコマンド
は、1のセントロニクスI/F を介して入力される。これ
を8のCPU が読込みコマンドを解析し、必要なプリント
データは10のRAM に格納される。9のROM はプログラム
や初期値パラメータ各種が格納されている。
Print data and commands from the personal computer are input via one Centronics I / F. The 8 CPUs read this and analyze the command, and the necessary print data is stored in 10 RAM. The ROM 9 stores various programs and various initial value parameters.

【0014】プリンタの動作設定スイッチ(オンライン
SW,ラインフィードSW,フォームフィードSWなど)や動
作状態表示LED は12のPIO を介して入出力される。13の
PIOはプリンタのラインフィードモータ(LFモータ)や
キャリッジモーター(CRモーター)及び各種センサーが
接続されているポートである。次にプリントデータの流
れを説明する。プリントデータの種類として次の様なも
のがサポートされている。
Printer operation setting switch (online
SW, line feed SW, form feed SW, etc.) and operating status display LEDs are input / output via 12 PIOs. 13's
PIO is a port to which the printer line feed motor (LF motor), carriage motor (CR motor) and various sensors are connected. Next, the flow of print data will be described. The following types of print data are supported.

【0015】1) CMY 入力(各色2/16/256階調) 2) RGB 入力(各色2/16/256階調) 3) パレット入力(8色,16色/256 色) いずれの入力に於いてもプリンタでは色の3原色である
C(シアン),M(マゼンタ),Y(イエロー)に変換
しなければならない。その変換の方法は図2に示す。ま
ず1)のCMY 入力の場合はデータ巾を8ビット巾にそろえ
る以外は特に変換テーブルを通らず直接図1の3に示さ
れるC,M,Yの各ラッチへ入力される。8ビット巾に
そろえる方法としては次式に示す簡単な演算で実現でき
る。
1) CMY input (2/16/256 gradations for each color) 2) RGB input (2/16/256 gradations for each color) 3) Pallet input (8 colors, 16 colors / 256 colors) However, the printer must convert the colors into the three primary colors C (cyan), M (magenta), and Y (yellow). The conversion method is shown in FIG. First, in the case of 1) CMY input, it is directly input to the C, M and Y latches shown in 3 of FIG. A method of adjusting the width to 8 bits can be realized by a simple operation shown in the following equation.

【0016】[0016]

【数1】 [Equation 1]

【0017】21のRGB 入力の場合は、データ巾を8ビッ
ト巾にそろえた後、R→C,G→M,B→Yにそれぞれ
変換しなければならない。これを補色変換というが、こ
の変換方法としては様々考案されており、例えば単純に
は、次式
In the case of 21 RGB inputs, the data width must be adjusted to 8 bits and then converted into R → C, G → M, B → Y, respectively. This is called complementary color conversion, and various conversion methods have been devised. For example, simply,

【0018】[0018]

【数2】 [Equation 2]

【0019】に示される方法がある。いずれにしてもR
→C,G→M,B→Yは一義的に求まり、これをテーブ
ルを参照することにより変換作業を行なうと高速に行な
えることから、その変換テーブルのことをガンマテーブ
ルといい、これを図1の2で示す。このテーブル2は実
際はRAM で実現でき、10のRAM と共用することができ
る。
There is a method shown in. In any case R
→ C, G → M, B → Y can be uniquely obtained, and the conversion work can be performed at high speed by referring to the table. Therefore, the conversion table is called a gamma table. It is shown by 1 of 2. This table 2 can actually be implemented in RAM and shared with 10 RAMs.

【0020】次にパレット入力の場合は、パレット番号
と実際の表現色は送り側のパソコンやフレームメモリ側
で決められていて、通常パレット番号は16〜256 個程度
であり、プリンタの表現色数は26万色とはるかに大きい
為、プリンタ側に、表現色番号を送るより、パレット番
号を送った方がはるかにデータ伝送効率がいい。その為
にホスト側に持っているパレットデータの内容をプリン
タ側にも予め登録しておく必要がある。この登録エリア
は図1の11で示されるパレット変換テーブルであり、入
力されたパレット番号はこのパレット変換テーブルによ
りR,G,Bに変換され、さらに先に説明したガンマテ
ーブル2を介してC,M,Yに変換される。
Next, in the case of pallet input, the pallet number and the actual expression color are determined by the sending personal computer or the frame memory side, and normally the pallet number is about 16 to 256, which is the number of expression colors of the printer. Since it is much larger than 260,000 colors, it is much more efficient to send the palette number to the printer than the expression color number. Therefore, it is necessary to register the contents of the pallet data held on the host side also on the printer side in advance. This registration area is a palette conversion table indicated by 11 in FIG. 1, and the input palette number is converted into R, G, B by this palette conversion table, and C, via the gamma table 2 described above. Converted to M, Y.

【0021】この様に種々のプリントデータはC,M,
Yのプリントすべき濃度値(0〜255 に正規化されたも
の)に変換される。このC,M,Yとインクの持つC,
M,Yとはインクの不斉色成分の為イコールにはなら
ず、この不斉色成分を取り除く為に図1の4に示される
マスキング回路がある。マスキング回路4は代表的には
次式に示す様な演算を行う必要があるが、
As described above, various print data are C, M,
Converted to the density value of Y to be printed (normalized to 0 to 255). This C, M, Y and C that ink has,
M and Y do not become equal because they are asymmetrical color components of the ink, and there is a masking circuit 4 shown in FIG. 1 to remove these asymmetrical color components. The masking circuit 4 typically needs to perform the calculation shown in the following equation.

【0022】[0022]

【数3】 (Equation 3)

【0023】実際的には高速化の為(マスキング)ROM
によるテーブル変換で実現される。さらに黒の部分の階
調表現,色再現を改善する為に、印刷等では黒インクを
別に使っている。このことを下色除去といい、このプリ
ンタではこのマスキングROMと共用で黒の発生を行って
いる。この様にマスキング回路4においては、C´,M
´,Y´の入力に対し、マスキング,下色除去された
C″,M″,Y″,Kの4色のインク濃度データが出力
される。
ROM (masking) ROM for practically high speed
It is realized by the table conversion by. Furthermore, in order to improve the gradation expression and color reproduction of the black part, black ink is used separately for printing. This is called under color removal, and this printer shares black with this masking ROM to generate black. Thus, in the masking circuit 4, C ', M
Ink density data for four colors of C ″, M ″, Y ″, and K, which have undergone masking and undercolor removal, are output in response to the inputs of ‘′ and Y’.

【0024】この4色濃度データに対し、実際にはシア
ンとマゼンタでは濃度の異なる3本のインクヘッドを使
用している為、どのヘッドを用いるかの選択,及びハイ
ライト部分の階調表現の為のディザ処理を5の選択ROM
(シアン,マゼンタ,イエロー,黒の各選択ROM )によ
り実現する。この様にして選択ROM5によってある1点の
色再現の為に8色のインクヘッドをどの様な電圧で駆動
するかが決定され、そのデータを入力した6のヘッドド
ライバでヘッドの駆動パルスが発生され7の各ヘッドに
印加される。
With respect to the four-color density data, three ink heads having different densities are actually used for cyan and magenta, so that which head is to be used is selected and gradation of the highlight portion is expressed. 5 dither processing for selection ROM
It is realized by (selection ROM of cyan, magenta, yellow, and black). In this way, the selection ROM 5 determines the voltage to drive the ink heads of 8 colors for color reproduction at a certain point, and the head drive pulse is generated by the 6 head drivers which input the data. And applied to each of the seven heads.

【0025】図示せぬヘッドの主走査方向をコントロー
ルするCRモータや紙送りを制御するLFモーターが13のPI
O を介して接続され、各種センサーからのタイミング信
号に基づいてCPU8が全体を制御しつつプリント処理を行
なう。
The CR motor for controlling the main scanning direction of the head (not shown) and the LF motor for controlling the paper feed are 13 PIs.
Connected via O, the CPU 8 controls the whole based on timing signals from various sensors and performs print processing.

【0026】さてこの様なフルカラープリンターにおい
て、画像処理関連では以下に示す種々のコマンドがあ
る。
Now, in such a full-color printer, there are various commands shown below in relation to image processing.

【0027】パレットテーブルの変更 ガンマテーブルの変更 一画素当りのビット数の変更 RGB/CMY/パレットの3つのプリントモードからの選択 拡大率 等々あり、電源ON直後又はリセット直後はあるデフォル
ト値に設定される様になっているが、上記コマンドを送
ることによりユーザーが自由に変更可能である。
Change of palette table Change of gamma table Change of number of bits per pixel Selection from three print modes of RGB / CMY / pallet There are magnification factors and so on. It is set to a certain default value immediately after power-on or reset. The user can change it freely by sending the above command.

【0028】本実施例では、パネルスイッチ(SW)又はコ
マンドによりCPU8はプリンタの内部状態をテスト印写す
るように選択ROM5,ヘッドドライバー6を制御する。
In the present embodiment, the CPU 8 controls the selection ROM 5 and the head driver 6 by a panel switch (SW) or a command so as to test-print the internal state of the printer.

【0029】パネルSWとしては専用のSWを設ける方法も
あるが、ここでは複数キーを同時に押すことによりテス
トプリントを始める。例えばオンラインSWとラインフィ
ード又はフォームフィードSWの多重押しである。もちろ
ん専用のコマンドを送ることによっても可能である。
There is also a method of providing a dedicated SW as the panel SW, but in this case, test printing is started by simultaneously pressing a plurality of keys. For example, multiple push of online SW and line feed or form feed SW. Of course, it is also possible to send a special command.

【0030】その具体的印写見本を図3に示す。FIG. 3 shows a concrete copy sample thereof.

【0031】このテストプリントによれば、前述のプリ
ンターのもつ内部状態が視覚的に表現される様工夫さ
れ、パレットデータに登録された色の実際のプリント及
びガンマカーブの表示,プリントモード,ビットサイズ
X方向,Y方向の拡大率等がプリントされる。
According to this test print, the internal state of the above-mentioned printer is designed to be visually expressed, and the actual print of the color registered in the palette data and the display of the gamma curve, print mode, bit size The enlargement ratios in the X and Y directions are printed.

【0032】図3ではカラーパレットの色パッチを出力
するテストプリントの例を示したが、入力がパレットモ
ードでなくR,G,B入力モードの時は、256 個の色パ
ッチをR,G,Bの混色パッチにすることも考えられ、
実際に動作するモードでの色パッチとする方が有用であ
る。また色パッチに添えてR,G,B又はC,M,Yの
数値データ(0〜255 )を併記することも考えられる。
FIG. 3 shows an example of the test print for outputting the color patches of the color palette. When the input is not the palette mode but the R, G, B input modes, 256 color patches R, G, It is also possible to use a mixed color patch of B,
It is more useful to use color patches in a mode that actually operates. It is also conceivable to additionally write numerical data (0 to 255) of R, G, B or C, M, Y along with the color patch.

【0033】またインクジェットプリンタで、説明した
がインクジェット以外でも例えばサーマル熱転写又はサ
ーマル昇華性プリンタ等に於いても活用できることはい
うまでもない。
Further, although the ink jet printer has been described, it is needless to say that it can be utilized in other than the ink jet printer, for example, in a thermal thermal transfer or thermal sublimation printer.

【0034】また画像処理機能としても前述以外の機能
が増減したとしても、セルフテストする内容をそれに対
応して増減することにより対応できる。
Further, even if the functions other than those described above are increased or decreased as the image processing function, it is possible to cope with the increase and decrease in the content of the self-test.

【0035】以上のように、例えばパレットによる色再
現を行なえるフルカラープリンタに於いては、パレット
番号を実際のプリント色との対応をテストプリントを行
なうだけで確認でき、むだな実際のプリントをさけるこ
とができるばかりでなく、パレット入力でない場合はマ
スキングやガンマカーブがかかった後の表現色をカラー
パッチとして確認することができる。
As described above, in a full-color printer capable of color reproduction using a palette, for example, it is possible to check the correspondence between the palette number and the actual print color by simply performing a test print, and avoid wasteful actual print. Not only can it be done, but if it is not a palette input, the expression color after masking or gamma curve can be confirmed as a color patch.

【0036】[0036]

【発明の効果】以上説明したように、本発明によれば、
形式が異なる各画像データに各々適した色処理を行うこ
とができる。
As described above, according to the present invention,
It is possible to perform color processing suitable for image data of different formats.

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

【図1】本発明一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】各種プリントデータの変換フロー図である。FIG. 2 is a conversion flowchart of various print data.

【図3】テストプリントの例を示す図である。FIG. 3 is a diagram showing an example of a test print.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/48 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location H04N 1/48

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力画像を示すパレットデータを入力す
る第1のモードと、各々多値で示される複数の色成分デ
ータで構成される第1の画像データを入力する第2のモ
ードとを有する入力手段と、 前記パレットデータと第2の画像データを対応させるパ
レット変換テーブルを格納する格納手段と、 前記パレット変換テーブルを用いて前記パレットデータ
を前記第2の画像データに変換する変換手段と、 前記第1および第2の画像データに対して色処理を行う
色処理手段とを有することを特徴とする画像処理装置。
1. A first mode for inputting palette data representing an input image, and a second mode for inputting first image data composed of a plurality of color component data each represented by multivalues. An input unit; a storage unit that stores a palette conversion table that associates the palette data with the second image data; a conversion unit that converts the palette data into the second image data using the palette conversion table; An image processing apparatus comprising: a color processing unit that performs color processing on the first and second image data.
【請求項2】 前記第1のモードは外部装置から前記パ
レットデータを入力し、 前記外部装置には前記パレット変換テーブルと同一のも
のが記憶されていることを特徴とする請求項1記載の画
像処理装置。
2. The image according to claim 1, wherein in the first mode, the palette data is input from an external device, and the same palette table as the palette conversion table is stored in the external device. Processing equipment.
【請求項3】 さらに、前記外部装置からのパレット変
換テーブル変更コマンドに基づき前記パレット変換テー
ブルを変更する変更手段を有することを特徴とする請求
項2記載の画像処理装置。
3. The image processing apparatus according to claim 2, further comprising a changing unit that changes the palette conversion table based on a palette conversion table change command from the external device.
JP7215647A 1995-08-24 1995-08-24 Image processing device Expired - Fee Related JP2997191B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7215647A JP2997191B2 (en) 1995-08-24 1995-08-24 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7215647A JP2997191B2 (en) 1995-08-24 1995-08-24 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63213767A Division JP3068622B2 (en) 1988-08-30 1988-08-30 Image processing device

Publications (2)

Publication Number Publication Date
JPH0880642A true JPH0880642A (en) 1996-03-26
JP2997191B2 JP2997191B2 (en) 2000-01-11

Family

ID=16675874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7215647A Expired - Fee Related JP2997191B2 (en) 1995-08-24 1995-08-24 Image processing device

Country Status (1)

Country Link
JP (1) JP2997191B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62220072A (en) * 1986-03-20 1987-09-28 Ricoh Co Ltd Processing method for halftone digital color image
JPS6340477A (en) * 1986-08-06 1988-02-20 Canon Inc Color picture forming device
JPS63129783A (en) * 1986-11-19 1988-06-02 Matsushita Electric Ind Co Ltd Image data processor
JPS63174472A (en) * 1987-01-13 1988-07-18 Fuji Xerox Co Ltd Color image processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62220072A (en) * 1986-03-20 1987-09-28 Ricoh Co Ltd Processing method for halftone digital color image
JPS6340477A (en) * 1986-08-06 1988-02-20 Canon Inc Color picture forming device
JPS63129783A (en) * 1986-11-19 1988-06-02 Matsushita Electric Ind Co Ltd Image data processor
JPS63174472A (en) * 1987-01-13 1988-07-18 Fuji Xerox Co Ltd Color image processing device

Also Published As

Publication number Publication date
JP2997191B2 (en) 2000-01-11

Similar Documents

Publication Publication Date Title
US7589864B2 (en) Color conversion apparatus and color conversion program storage medium
JPH07254060A (en) Image processing method and device
US7777914B2 (en) Image-processing device and method using combined color correction table
US20040179214A1 (en) Image forming apparatus and its control method, and computer program
JP2003348366A (en) Method and apparatus for image processing
US6426802B1 (en) Complementary halftone screens for highlight printing
EP1903773B1 (en) Image processing apparatus and image processing method
US5475496A (en) Image processing apparatus for binarizing multi-value image data
JP2002314832A (en) Image processing device, image processing method, program, and recording medium
JP3133779B2 (en) Image processing device
US6351263B1 (en) Image processor which manually and independently designates processing parameters for character data and image data
JP2002199236A (en) Image processor and image processing method
JP3068622B2 (en) Image processing device
JP7182931B2 (en) PRINTING SYSTEM, PRINTING METHOD, IMAGE PROCESSING APPARATUS, AND IMAGE PROCESSING METHOD
JP3988494B2 (en) How to create a color conversion table
JP2003319167A (en) Print processing method and apparatus therefor
JP2731132B2 (en) Image processing device
JPH0880642A (en) Picture processing device
JPH04107163A (en) Recording device
JP3581381B2 (en) Image processing method and image processing apparatus
JP4524578B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2002190959A (en) Image processor, image processing method and recording medium
JPH10224614A (en) Output device
JPS62184526A (en) Color printer
JP2004348405A (en) Information processing device and program

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees