JPH0512395A - Color image processor - Google Patents

Color image processor

Info

Publication number
JPH0512395A
JPH0512395A JP3164383A JP16438391A JPH0512395A JP H0512395 A JPH0512395 A JP H0512395A JP 3164383 A JP3164383 A JP 3164383A JP 16438391 A JP16438391 A JP 16438391A JP H0512395 A JPH0512395 A JP H0512395A
Authority
JP
Japan
Prior art keywords
image
color
information
binary
converted
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
JP3164383A
Other languages
Japanese (ja)
Other versions
JP3387512B2 (en
Inventor
Mitsumasa Sugiyama
光正 杉山
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 JP16438391A priority Critical patent/JP3387512B2/en
Publication of JPH0512395A publication Critical patent/JPH0512395A/en
Application granted granted Critical
Publication of JP3387512B2 publication Critical patent/JP3387512B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Abstract

PURPOSE:To reduce deterioration in picture quality due to a compressing/ expanding process by storing document information partially in the form of a binary image, and limiting an image to be converted into binary data to specific character information. CONSTITUTION:The received document information in page description (PDL) form is not all converted into a many-valued image, but partially converted by a binary image generation part 3 into a binary image, which is stored in a binary image memory 4. Consequently, a PDL code analytic part 2 divides the specific information to be converted into binary data in the document according to predetermined division conditions. An image composition part 9 puts the binary-coded image and many-valued image together into one. The capacity of the memory for image information storage need not be increased. Further, the image to be converted into the binary image is limited to the specific information, e.g. black-specified character information or small-shape character information to reduce the deterioration in the picture quality which is caused by the compressing/expanding process before.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像処理装置、特に、
文字画像や他のカラー画像情報を含む文書情報をPDL
(ページ記述言語)コードの形態で入力し、多値カラー
画像に変換し、出力するカラー画像処理装置に関するも
のである。
BACKGROUND OF THE INVENTION The present invention relates to an image processing apparatus, and more particularly,
Document information including character images and other color image information is PDL
(Page description language) The present invention relates to a color image processing apparatus for inputting in the form of a code, converting it into a multi-valued color image, and outputting it.

【0002】[0002]

【従来の技術】従来、カラー情報を含むPDLコードを
入力し、入力したPDLコードから多値カラー画像を形
成し、フルカラーのカラー画像を出力するカラー画像形
成装置が知られている。この種カラー画像形成装置で
は、1ページ分の多値カラー画像を記憶できる記憶回路
を備え、そこに、PDLコードから形成した多値カラー
画像を描画し、出力していた。しかし、この種カラー画
像形成装置では多量の記憶回路を必要とするため製品コ
ストが高価になるという欠点があった。そこで、最近で
は8分の1ページ程度の多値カラー画像を記憶できる記
憶回路と、カラー画像をカラー画像圧縮する手段と、圧
縮されたカラー圧縮画像を伸長する手段と、1ページ分
のカラー圧縮画像を記憶できる記憶装置を備え、PDL
コードから画像を形成した後にカラー画像を圧縮してカ
ラー圧縮画像メモリに記憶し、その後、カラー圧縮画像
メモリのカラー圧縮画像を伸長して出力する装置が考案
されている。
2. Description of the Related Art Conventionally, there is known a color image forming apparatus which inputs a PDL code containing color information, forms a multi-valued color image from the input PDL code, and outputs a full color image. This kind of color image forming apparatus is provided with a storage circuit capable of storing a multivalued color image for one page, and a multivalued color image formed from a PDL code is drawn and output there. However, this type of color image forming apparatus has a drawback in that the product cost becomes high because a large amount of memory circuits are required. Therefore, recently, a storage circuit capable of storing a multi-valued color image of about one-eighth page, a means for compressing a color image, a means for expanding a compressed color compressed image, and a color compression for one page Equipped with a storage device that can store images, PDL
There has been devised a device that forms an image from a code, compresses a color image and stores it in a color compressed image memory, and then decompresses and outputs the color compressed image in the color compressed image memory.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例では少ない記憶装置でフルカラー画像出力できるも
ののカラー画像を圧縮した後、伸長して出力するため、
細部、特に小さな文字部での画像の劣化が発生するとい
う欠点があった。
However, in the above-mentioned conventional example, a full-color image can be output with a small storage device, but since the color image is compressed and then expanded, it is output.
There is a drawback that the image is deteriorated in details, especially in a small character portion.

【0004】そこで、本発明の目的は、圧縮、伸長処理
の利点を生かしつつ、画質の劣化を緩和することの可能
なカラー画像処理装置を提供することにある。
Therefore, an object of the present invention is to provide a color image processing apparatus capable of mitigating the deterioration of image quality while making the most of the advantages of compression and expansion processing.

【0005】[0005]

【課題を解決するための手段】このような目的を達成す
るために、本発明は、カラー画像情報の混在する文書情
報をページ記述言語コードの形態で入力し、多値画像に
変換後、圧縮、伸長の画像処理を行って、前記文書情報
をカラーの画像に変換するカラー画像処理装置におい
て、入力した前記文書情報を、2値画像情報に変換すべ
き第1画像情報および多値画像情報に変換すべき第2画
像情報に、予め定められた分割条件に従って、分割する
ページ記述言語コード解析手段と、当該分割された第1
画像情報を2値画像情報に変換する2値画像形成手段
と、当該変換された2値画像情報を記憶する記憶手段
と、該記憶手段の2値画像情報を多値画像情報に変換
し、当該多値画像情報と、前記ページ記述言語コード解
析手段により分割された第2画像情報について前記画像
処理を行った多値画像情報とを合成する合成手段とを具
えたことを特徴とする。
In order to achieve such an object, the present invention inputs document information in which color image information is mixed in the form of a page description language code, converts it into a multi-valued image, and then compresses it. In a color image processing apparatus that performs decompression image processing to convert the document information into a color image, the input document information is converted into binary image information into first image information and multi-valued image information. A page description language code analysis unit that divides the second image information to be converted according to a predetermined division condition, and the divided first image information.
Binary image forming means for converting image information into binary image information, storage means for storing the converted binary image information, and binary image information in the storage means for converting into binary image information, The multi-valued image information is combined with the multi-valued image information obtained by performing the image processing on the second image information divided by the page description language code analysis means.

【0006】[0006]

【作用】本発明では、従来では全て多値化画像に変換し
た文書情報を部分的に2値化画像の形態で記憶するよう
にしているので画像情報の記憶用のメモリの容量を大幅
に増加させることはない。また、2値化の対象となる画
像を、特定の文字情報、たとえば、黒色指定の文字情報
や、形状の小さい文字情報に限定することによって、従
来、圧縮、伸長処理によって生じていた画質の劣化を阻
止することができる。
According to the present invention, conventionally, all the document information converted into a multi-valued image is partially stored in the form of a binarized image, so that the capacity of the memory for storing the image information is significantly increased. There is nothing to do. Further, by limiting the image to be binarized to specific character information, for example, character information specifying black color or character information having a small shape, deterioration of image quality conventionally caused by compression and expansion processing. Can be blocked.

【0007】[0007]

【実施例】以下、図面を参照して、本発明の実施例を詳
細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0008】(第1実施例)図1は本発明第1実施例の
構成図であり、1は入力バッファ、2はPDLコードの
内容を解析するPDLコード解析部である。3は2値画
像形成部、4は2値画像メモリ(本発明の記憶手段)、
5はカラー画像形成部である。6はカラー画像圧縮部、
7はカラー圧縮画像メモリ、8はカラー画像伸長部であ
る。9は画像合成部、10はプリンタエンジンである。
(First Embodiment) FIG. 1 is a block diagram of a first embodiment of the present invention, in which 1 is an input buffer and 2 is a PDL code analysis unit for analyzing the contents of a PDL code. 3 is a binary image forming unit, 4 is a binary image memory (storage means of the present invention),
Reference numeral 5 is a color image forming section. 6 is a color image compression unit,
Reference numeral 7 is a color compressed image memory, and 8 is a color image expansion unit. Reference numeral 9 is an image composition unit, and 10 is a printer engine.

【0009】入力バッファ1はPDLコードを一時的に
格納するバッファである。
The input buffer 1 is a buffer for temporarily storing a PDL code.

【0010】このPDLコードの示す情報には、文字フ
ォントを指定するフォント指定情報、プリントする文字
を指定する文字情報、図形の種類や大きさを指定する図
形情報、プリントする位置を指定する位置情報、色を指
定する色情報等がある。PDLコードは入力バッファ1
からPDLコード解析部2へ送られる。
The information indicated by the PDL code includes font designation information for designating a character font, character information for designating a character to be printed, graphic information for designating the type and size of a graphic, and position information for designating a print position. , And color information for specifying the color. Input buffer 1 for PDL code
From the PDL code analysis unit 2.

【0011】PDLコード解析部2には中央演算処理装
置(CPU)が用いられ、文字や図形等、各プリント要
素に対してプリント位置情報と色情報を付加し、さらに
プリント位置情報に従って色情報の順序を整える。この
後、色情報による色指定が、黒と判断できる場合にはP
DLコードを2値画像形成部3へ送り、そうでない場合
はPDLコードをカラー画像形成部5へ送る。
A central processing unit (CPU) is used for the PDL code analysis unit 2, and print position information and color information are added to each print element such as characters and figures, and color information is added in accordance with the print position information. Arrange the order. After that, if the color designation by the color information can be determined to be black, P
The DL code is sent to the binary image forming unit 3, and if not, the PDL code is sent to the color image forming unit 5.

【0012】本実施例ではプリンタエンジンはそれぞれ
“0”から“255”までの256段階の濃度のイエロ
ー、マゼンタ、シアン、黒のインクを混合して、種々な
色をプリントしており、色情報は、イエロー、マゼン
タ、シアン、黒のそれぞれのインクの濃度量を指定する
ことで記録の色指定を行なう。
In this embodiment, the printer engine prints various colors by mixing yellow, magenta, cyan, and black inks having 256 levels of density from "0" to "255". Specifies the recording color by specifying the density amounts of the yellow, magenta, cyan, and black inks.

【0013】色情報において、黒インクの指定が最大濃
度値である“255”である場合や、イエロー、マゼン
タ、シアンインクの指定がいずれも最大濃度値“25
5”である場合、色指定は黒と判断する。
In the color information, the designation of black ink is "255" which is the maximum density value, and the designation of yellow, magenta and cyan inks are all the maximum density value "25".
If it is 5 ", it is determined that the color designation is black.

【0014】また、ユーザが黒と白の2色によってプリ
ントするように指定した場合、また、ユーザによる色指
定がない場合には黒でプリントするように予め定められ
ており、ユーザによる色指定がなかった場合も、色指定
は黒であると判断する。
Further, when the user has designated to print with two colors of black and white, or when there is no color designation by the user, it is predetermined to print with black, and the color designation by the user is made. Even if there is not, the color designation is determined to be black.

【0015】2値画像形成部3では、PDLコードから
文字や図形の2値画像を形成し、2値画像メモリに画像
を描画する。2値画像メモリは1ページ分の2値画像を
記憶することが可能である。
The binary image forming section 3 forms a binary image of characters and figures from the PDL code and draws the image in the binary image memory. The binary image memory can store one page of binary image.

【0016】カラー画像形成部5ではPDLコードから
文字や図形のカラー画像を形成する。カラー画像と2値
画像の違いは各ドットに関して、カラー画像ではシア
ン、マゼンタ、イエロー、黒の各色の濃度情報を持って
いるのに対し、2値画像ではON(オン),OFF(オ
フ)の2値情報しかない点である。
The color image forming section 5 forms a color image of characters and figures from the PDL code. The difference between a color image and a binary image is that for each dot, the color image has density information of cyan, magenta, yellow, and black, whereas the binary image has ON (OFF) and OFF (OFF). The point is that there is only binary information.

【0017】図2は2値画像のドットパターン例を示
し、各ドットはビット“1”または“0”で構成されて
いる。2値画像は画像の形状は表現できるが、色は表現
できない。
FIG. 2 shows an example of a dot pattern of a binary image, and each dot is composed of bits "1" or "0". The binary image can represent the shape of the image but cannot represent the color.

【0018】図3はカラー画像のドットパターン例であ
り、12はイエロー、13はマゼンタ、14はシアン、
15は黒のドット画像である。この4枚のドットパター
ンが重なって1つのカラー画像を構成し、各ドットはイ
エロー、マゼンタ、シアン、黒それぞれ“0”から“2
55”までの濃度値で表現される。
FIG. 3 is an example of a dot pattern of a color image. 12 is yellow, 13 is magenta, 14 is cyan,
Reference numeral 15 is a black dot image. These four dot patterns are overlapped to form one color image, and each dot is composed of “0” to “2” for each of yellow, magenta, cyan, and black.
It is expressed by density values up to 55 ".

【0019】カラー画像形成部5は、PDLコードから
文字や図形のカラー画像を形成し、カラー画像圧縮部6
によって画像圧縮し、カラー圧縮画像メモリ7に格納す
る。
The color image forming section 5 forms a color image of characters and figures from the PDL code, and the color image compression section 6
The image is compressed by and stored in the color compressed image memory 7.

【0020】カラー画像伸長部8はカラー圧縮画像メモ
リ7のカラー圧縮画像を伸長する。
The color image expansion unit 8 expands the color compressed image in the color compressed image memory 7.

【0021】画像合成部9は、2値画像メモリ4の2値
画像とカラー画像伸長部8により伸長されたカラー画像
とを合成し、プリンタエンジン10に出力する。
The image synthesizing unit 9 synthesizes the binary image in the binary image memory 4 and the color image decompressed by the color image decompressing unit 8 and outputs it to the printer engine 10.

【0022】プリンタエンジン10はイエロー、マゼン
タ、シアン、黒インクの順で指定された濃度量のインク
を紙の上に塗布することにより、フルカラー画像をプリ
ントする。
The printer engine 10 prints a full-color image by applying a specified amount of ink in the order of yellow, magenta, cyan, and black ink on paper.

【0023】図4はPDLコード解析部2の動作内容を
示すフローチャートである。
FIG. 4 is a flow chart showing the operation contents of the PDL code analysis unit 2.

【0024】図においてS16で色指定が黒であるか否
かを色情報により判断し、黒と判断できる場合はS17
へ進み、PDLコードを2値画像形成部3へ送る。色指
定が黒と判断できない場合はS18へ進み、PDLコー
ドをカラー画像形成部5へ送る。
In the figure, it is determined in S16 whether or not the color designation is black, based on the color information. If it can be determined that it is black, S17
Then, the PDL code is sent to the binary image forming unit 3. If it cannot be determined that the color designation is black, the process proceeds to S18, and the PDL code is sent to the color image forming unit 5.

【0025】図5は画像合成部9の動作を示すフローチ
ャートである。
FIG. 5 is a flow chart showing the operation of the image synthesizing section 9.

【0026】図において、S19でカラー画像伸長部8
からまずイエロー画像を入力してプリンタエンジン10
に送り、次に、S20でカラー画像伸長部8からマゼン
タ画像を入力してプリンタエンジン10に送る。S21
でカラー画像伸長部8からシアン画像を入力してプリン
タエンジン10に送る。
In the figure, in S19, the color image decompression unit 8
First, input the yellow image and then the printer engine 10
Then, in step S20, the magenta image is input from the color image decompression unit 8 and sent to the printer engine 10. S21
Then, the cyan image is input from the color image expansion unit 8 and sent to the printer engine 10.

【0027】S22で、カラー画像伸長部8から入力し
た黒画像と2値画像メモリ4の2値画像とを各ドットご
とに比較する。2値画像のドットのビット値が“1”の
場合は黒画像の濃度値を“255”と多値化し、合成値
とする。2値画像のドットのビット値が“0”の場合
は、カラー画像伸長部8からの黒画像の示す濃度値を合
成値とする画像信号を作成して、プリンタエンジン10
に送る。
In S22, the black image input from the color image decompression unit 8 and the binary image in the binary image memory 4 are compared for each dot. When the bit value of the dot of the binary image is "1", the density value of the black image is multi-valued to "255" to be a combined value. When the bit value of the dot of the binary image is "0", an image signal having the density value indicated by the black image from the color image decompression unit 8 as a composite value is created, and the printer engine 10
Send to.

【0028】この実施例では、文字部を黒と指定し、図
形を種々な色で描画するといった一般的なカラー文書画
像の形成において、文字部は2値画像として形成する。
また、カラー文書画像中の図形部はカラー画像として形
成、圧縮、伸長し、その後2値画像と合成して出力する
ので、文字部での画像劣化がない多値カラー画像を少な
い記憶回路の装置で形成することができる。
In this embodiment, the character part is formed as a binary image in the formation of a general color document image in which the character part is designated as black and a figure is drawn in various colors.
In addition, since the graphic portion in the color document image is formed, compressed, and expanded as a color image, and then combined with the binary image to be output, a multi-value color image with no image deterioration in the character portion is stored in a storage circuit device. Can be formed with.

【0029】(第2実施例)上記第1実施例ではPDL
コード解析部2で、文字や図形等、各プリント要素に対
する色指定を調べ、色指定が黒と判断できる場合はPD
Lコードを2値画像形成部へ送り、そうでない場合はP
DLコードをカラー画像形成部3へ送っていた。しか
し、次のような画像処理順序で画像合成を行うこともで
きる。すべてのプリント要素に対して、2値画像形成部
3で2値画像を形成し、色指定が黒と判断できる場合は
形成した画像を2値画像メモリ4に描画する。そうでな
い場合は、形成した画像と色情報をカラー画像形成部5
に送り、カラー画像形成部5で画像に対し、色情報に基
づいて多値化することにより、多値カラー画像を形成す
る。このような順序で画像処理を行うための回路構成を
図6に示す。この実施例では、2値画像形成部5で画像
を形成し、カラー画像形成部ではその画像に色付けをす
るだけなので、上記第1実施例よりも少ない回路部品で
回路を構成できる。
(Second Embodiment) In the first embodiment, the PDL is used.
The code analysis unit 2 checks the color designation for each print element such as characters and figures, and if the color designation can be determined to be black, then PD
Send the L code to the binary image forming unit, otherwise P
The DL code was sent to the color image forming unit 3. However, image composition can also be performed in the following image processing order. The binary image forming unit 3 forms a binary image for all print elements, and if the color designation can be determined to be black, the formed image is drawn in the binary image memory 4. If not, the formed image and color information are stored in the color image forming unit 5.
Then, the color image forming unit 5 multi-values the image based on the color information to form a multi-valued color image. FIG. 6 shows a circuit configuration for performing image processing in such an order. In this embodiment, the binary image forming section 5 forms an image, and the color image forming section only colors the image. Therefore, a circuit can be constructed with fewer circuit components than in the first embodiment.

【0030】(第3実施例)上記第1実施例のプリンタ
エンジンはイエロー、マゼンタ、シアン、黒の4種類の
インクを持つプリンタエンジンであったが、イエロー、
マゼンタ、シアンの3種類のインクを持つプリンタエン
ジンでもよい。この場合には2値画像と各インク色の画
像の合成において、2値画像で“1”となっているドッ
トを多値“255”にし、黒は“255”の濃度のイエ
ロー、マゼンタ、シアンインクでプリントされる。
(Third Embodiment) The printer engine of the first embodiment is a printer engine having four types of inks of yellow, magenta, cyan and black.
A printer engine having three types of ink, magenta and cyan, may be used. In this case, in the synthesis of the binary image and the image of each ink color, the dot which is “1” in the binary image is set to multi-valued “255”, and black is yellow, magenta, cyan having the density of “255”. Printed with ink.

【0031】(第4実施例)上記第1実施例では画像を
プリンタに出力していたが、出力対象は、CRTや液晶
等のディスプレイでもよい。この場合には色はレッド、
グリーン、ブルーで構成され、合成において、2値画像
で“1”となっているドットを“0”にし、黒は“0”
の輝度のレッド、グリーン、ブルーで構成される。
(Fourth Embodiment) Although the image is output to the printer in the first embodiment, the output target may be a display such as a CRT or a liquid crystal. In this case the color is red,
In the combination, it is composed of green and blue, and the dot that is "1" in the binary image is set to "0", and the black is "0".
It is composed of red, green, and blue of brightness.

【0032】(第5実施例)第1実施例では2値化対象
の画像として分割抽出する条件を黒の指定色を持つ画像
としたが、他色とすることもできる。1ページ中の文字
についての指定色の中で最も指定個数の多い色を検出
し、この色の指定を行っている文字画像を2値化する例
を説明する。
(Fifth Embodiment) In the first embodiment, the condition for dividing and extracting as the image to be binarized is the image having the designated black color, but it may be another color. An example will be described in which the most designated number of colors among the designated colors of characters on one page is detected and the character image for which the color is designated is binarized.

【0033】この例の場合には図1のPDLコード解析
部2の実行する分割処理は図7に示す通りとなる。すな
わち、S111において、受信画像情報の先頭から文字
情報を検出し、検出毎にその文字情報の色指定情報の示
す色についての文字数を計数して行く。次に、各色につ
いての計数結果の中で最も文字数の多い色を選択する。
S112では受信画像情報の中の文字や図形など各プリ
ント要素に関してその色指定を調べ、色指定が選択され
た色である場合はS113でPDLコードを2値画像形
成部3へ送る。色指定が選択色でない場合はS14でP
DLコードをカラー画像形成部5へ送る。
In the case of this example, the division processing executed by the PDL code analysis unit 2 of FIG. 1 is as shown in FIG. That is, in S111, the character information is detected from the beginning of the received image information, and the number of characters in the color indicated by the color designation information of the character information is counted for each detection. Next, the color with the largest number of characters in the count result for each color is selected.
In S112, the color designation of each print element such as characters and figures in the received image information is checked, and if the color designation is the selected color, the PDL code is sent to the binary image forming unit 3 in S113. When the color designation is not the selected color, P in S14
The DL code is sent to the color image forming unit 5.

【0034】画像合成部9の動作を示すフローチャート
を図8に示す。
A flow chart showing the operation of the image synthesizing section 9 is shown in FIG.

【0035】画像合成部9は、たとえばイエローが選択
色の場合、S115でカラー画像伸長部8からイエロー
画像を入力したとき、2値画像を選択色のイエロー濃度
で多値化する。次に多値化した画像とカラー画像伸長部
8から入力の画像合成してプリンタエンジン10に送
る。2値画像を選択色のイエロー濃度で多値化するに
は、2値画像の各ドットにおいてドットが“1”の場合
は予め定めたイエロー濃度に変換し、ドット“0”の場
合はイエロー濃度を“0”のままにする。また、上記2
つの画像情報合成するには2枚の画像の対応する各ドッ
トにおいて、濃度値を比較し、大きい方の濃度値をその
ドットの濃度値に設定する。
For example, when yellow is the selected color, the image synthesizing unit 9 multi-values the binary image with the yellow density of the selected color when the yellow image is input from the color image decompressing unit 8 in S115. Next, the multi-valued image and the image input from the color image decompression unit 8 are combined and sent to the printer engine 10. To make a binary image multi-valued with the yellow density of the selected color, if each dot of the binary image has a dot of "1", it is converted into a predetermined yellow density, and if the dot is "0", the yellow density is converted. Is left at "0". Also, the above 2
To combine two pieces of image information, the density values of the corresponding dots of the two images are compared, and the larger density value is set as the density value of that dot.

【0036】S16〜18でマゼンタ画像、シアン画
像、黒画像について上述と同様の画像処理を行う。この
実施例では、文字部が一色であり図形を種々な色で描画
するといったカラー文書画像を形成する場合に好適であ
り、文字部は2値画像として形成される。その他の図形
部はカラー画像として形成、圧縮、伸長され、その後、
合成出力するので、文字部での画像劣化がない多値カラ
ー画像を少ない記憶回路の装置で実現できる。
In S16-18, the same image processing as described above is performed on the magenta image, the cyan image and the black image. This embodiment is suitable for forming a color document image in which a character portion is one color and a figure is drawn in various colors, and the character portion is formed as a binary image. Other graphic parts are formed as a color image, compressed, expanded, and then
Since the composite output is performed, it is possible to realize a multi-valued color image having no image deterioration in the character portion with a device having a small storage circuit.

【0037】(第6実施例)第5実施例では2値画像を
多値化した画像と伸長後の画像を合成する場合、これら
2つの画像の濃度比較をドット毎に行って濃度値の高い
画像情報を出力対象として選択している。たとえば黒色
の文字画像が2値化の対象となった場合は、出力画像は
カラー画像の上に黒色の文字が上書きされたように見え
る。
(Sixth Embodiment) In the fifth embodiment, when an image obtained by converting a binary image into a multi-valued image and an image after decompression are combined, the density of these two images is compared for each dot to obtain a high density value. Image information is selected for output. For example, when a black character image is subjected to binarization, the output image looks like a black character overwritten on the color image.

【0038】これとは逆に黒色の文字画像上にカラー画
像を上書きしたような出力画像を得ようとする場合につ
いて例を示す。このような処理について図1のカラー画
像形成部5の実行する処理手順を図9に示す。
Contrary to this, an example will be shown of a case where an output image in which a color image is overwritten on a black character image is to be obtained. FIG. 9 shows a processing procedure executed by the color image forming unit 5 in FIG. 1 for such processing.

【0039】また、画像合成部9の実行する処理手順を
図10に示す。
The processing procedure executed by the image composition section 9 is shown in FIG.

【0040】カラー画像形成部5はPDLコード解析部
2により分割された画像情報、すなわち、黒色文字を除
くPDLコード形態の画像情報から2値画像をS17
で、まず形成する。S18で形成した2値画像を反転し
S19で反転した2値画像と2値画像メモリ4の画像と
のアンド(AND)をとってそのアンド結果を2値画像
メモリ4に描画することにより黒文字画像と他色画像の
重複部分についての2値画像を消去する。参考のため
に、図11に黒文字“○”について2値画像形成部3に
より形成されたドットパターン11を示す。また、カラ
ー画像形成部5により形成された、他色の記号“−”の
ドットパターンを符号12で示す。また、ドットパター
ン12の反転パターンとドットパターン11のアンド結
果として得られるドットパターンを符号13で示す。
The color image forming section 5 converts the image information divided by the PDL code analyzing section 2, that is, the image information in the PDL code form excluding the black characters into a binary image S17.
Then, first form. A black character image is obtained by inverting the binary image formed in S18, ANDing the binary image inverted in S19 with the image in the binary image memory 4, and drawing the AND result in the binary image memory 4. And the binary image of the overlapping portion of the other color image is erased. For reference, FIG. 11 shows the dot pattern 11 formed by the binary image forming unit 3 for the black character “◯”. Further, reference numeral 12 indicates a dot pattern of another color symbol “−” formed by the color image forming unit 5. Further, a reverse pattern of the dot pattern 12 and a dot pattern obtained as an AND result of the dot pattern 11 are indicated by reference numeral 13.

【0041】S20で上記PDLコードから多値カラー
画像を形成する。
In S20, a multi-valued color image is formed from the PDL code.

【0042】図10において、画像合成部9はS21で
カラー画像伸長部8からイエロー画像を入力してプリン
タエンジンに送り、S22でカラー画像伸長部8からマ
ゼンタ画像を入力してプリンタエンジン10に送り、S
23でカラー画像伸長部8からシアン画像を入力してプ
リンタエンジン10に送る。
In FIG. 10, the image synthesizing unit 9 inputs the yellow image from the color image expanding unit 8 and sends it to the printer engine in S21, and inputs the magenta image from the color image expanding unit 8 in S22 and sends it to the printer engine 10. , S
At 23, the cyan image is input from the color image decompression unit 8 and sent to the printer engine 10.

【0043】続いてカラー画像伸長部8から黒画像を入
力し、この黒画像と2値画像メモリ4の2値画像とを各
ドットごとに比較する。2値画像の値が“1”の場合は
濃度値を“255”とし、2値画像の値が“0”の場合
は、上記黒画像の濃度値とする画像を作成して、プリン
タエンジン10に送る。この実施例では黒文字の上に黒
色外の図形が重なる場合は2値画像メモリ4において図
形により重なる黒部分が消却されているので、図形の色
が変色することなく適切にプリントされる。図形の上に
黒文字が重なる場合には、上述の画像合成の方法から黒
文字が図形の上に描かれたようにプリントされ文字画像
が鮮明に表現される。
Subsequently, a black image is input from the color image decompression unit 8 and this black image and the binary image in the binary image memory 4 are compared dot by dot. When the value of the binary image is "1", the density value is "255", and when the value of the binary image is "0", an image having the density value of the black image is created, and the printer engine 10 Send to. In this embodiment, when a non-black figure overlaps a black character, the black portion overlapped by the figure is erased in the binary image memory 4, so the color of the figure is appropriately printed without discoloration. When the black character overlaps the graphic, the black character is printed as if it was drawn on the graphic by the above-described image synthesizing method, and the character image is clearly expressed.

【0044】また、文字部を黒と指定し、図形を種々な
色で描画するといった一般的なカラー文書画像の形成に
おいて、文字部は2値画像として形成し、図形部はカラ
ー画像として形成、圧縮、伸長し、その後、合成して出
力するので、文字部での画像劣化のない多値カラー画像
を少ない記憶回路の装置で形成することができることは
この実施例においても同様である。
In the formation of a general color document image in which the character part is designated as black and the figure is drawn in various colors, the character part is formed as a binary image and the figure part is formed as a color image. Since the image data is compressed and expanded, and then combined and output, a multi-valued color image without image deterioration in the character portion can be formed by a device having a small number of memory circuits, similarly to this embodiment.

【0045】(第7実施例)第5実施例では黒1色の文
字画像を2値化の対象として選択していたが、色毎に計
数した文字数の多い順や予め定めた色について複数色の
画像情報を2値化の対象としてもよい。この場合は複数
の画像メモリを備えればよく、2値画数メモリに記憶す
る画像情報の色を選択してもよい。
(Seventh Embodiment) In the fifth embodiment, a character image of one black color is selected as an object of binarization, but a plurality of colors are selected for each color in descending order of the number of characters counted or for a predetermined color. The image information of 1 may be the object of binarization. In this case, a plurality of image memories may be provided, and the color of the image information stored in the binary stroke number memory may be selected.

【0046】各2値画像メモリに色を対応させておき、
各プリント要素に対し、受信の画像情報の色指定がどの
選択色と一致するかを調べ、一致した2値画像メモリに
2値画像を形成することは第5実施例と同様である。
Corresponding colors to each binary image memory,
For each print element, it is the same as in the fifth embodiment that the selected color is matched with the color designation of the received image information and the binary image is formed in the matched binary image memory.

【0047】また、画像合成も、2枚の画像を合成する
のと同様に、3枚以上の場合には、2枚の画像を合成し
た画像にさらに合成する。このことにより、文字が数色
でプリントされる場合でも文字部での画像劣化のないカ
ラー文書を形成できる。
Further, in the image composition, similarly to the composition of two images, when the number of images is three or more, the composition of two images is further combined. This makes it possible to form a color document without image deterioration in the character portion even when characters are printed in several colors.

【0048】(第8実施例)第5実施例では2値の対象
となる画像の種類は、文字と限定していたが文字だけで
はなく、図形等を2値化の対象に含め、色毎にプリント
要素の数を求め、最もプリント要素の多い1色または数
色をPDLコード解析部2により選択してもよい。文字
を含まないカラー文書でも最適な選択色を2値画像で画
像形成できる。
(Eighth Embodiment) In the fifth embodiment, the type of an image which is a binary object is limited to a character, but not only a character but also a figure or the like is included in an object to be binarized, and each image is colored. Alternatively, the number of print elements may be obtained, and the PDL code analysis unit 2 may select one or several colors having the most print elements. Even in a color document that does not include characters, the optimum selected color can be formed as a binary image.

【0049】(第9実施例)2値化の対象となる文字画
像を画数の多い文字や形状の小さい字とすることもでき
る。この場合、2値化の対象となる文字情報を予めテー
ブル形態でPDLコード解析部2に記憶しておき、受信
の文字情報と同一の文字情報がこのテーブルに含まれて
いるか否かをテーブル検索により判定する。
(Ninth Embodiment) A character image to be binarized may be a character having a large number of strokes or a character having a small shape. In this case, the character information to be binarized is stored in advance in the PDL code analysis unit 2 in a table form, and a table search is performed to determine whether or not the same character information as the received character information is included in this table. Determined by

【0050】[0050]

【発明の効果】以上、説明したように、本発明によれ
ば、従来では全て多値化画像に変換した文書情報を部分
的に2値化画像の形態で記憶するようにしているので画
像情報の記憶用のメモリの容量を大幅に増加させること
はない。また、2値化の対象となる画像を、特定の文字
情報、たとえば、黒色指定の文字情報や、形状の小さい
文字情報に限定することによって、従来、圧縮、伸長処
理によって生じていた画質の劣化を阻止することができ
る。
As described above, according to the present invention, conventionally, the document information which is all converted into the multi-valued image is partially stored in the form of the binarized image. Does not significantly increase the amount of memory used for storage. Further, by limiting the image to be binarized to specific character information, for example, character information specifying black color or character information having a small shape, deterioration of image quality conventionally caused by compression and expansion processing. Can be blocked.

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

【図1】本発明第1実施例の回路構成を示すブロック図
である。
FIG. 1 is a block diagram showing a circuit configuration of a first embodiment of the present invention.

【図2】本発明第1実施例の2値画像情報の一例を示す
説明図である。
FIG. 2 is an explanatory diagram showing an example of binary image information according to the first embodiment of the present invention.

【図3】本発明第1実施例の多値画像情報の一例を示す
説明図である。
FIG. 3 is an explanatory diagram showing an example of multi-valued image information according to the first embodiment of the present invention.

【図4】図1のPDLコード解析部2の画像分割処理手
順および、分割条件を示すフローチャートである。
FIG. 4 is a flowchart showing an image division processing procedure and division conditions of the PDL code analysis unit 2 in FIG.

【図5】図1の画像合成部9の処理手順を示すフローチ
ャートである。
5 is a flowchart showing a processing procedure of an image synthesizing unit 9 in FIG.

【図6】本発明第2実施例の回路構成を示すブロック図
である。
FIG. 6 is a block diagram showing a circuit configuration of a second embodiment of the present invention.

【図7】本発明第5実施例の画像分割処理手順を示すフ
ローチャートである。
FIG. 7 is a flowchart showing an image division processing procedure of the fifth embodiment of the present invention.

【図8】本発明第5実施例の画像合成処理手順を示すフ
ローチャートである。
FIG. 8 is a flowchart showing an image synthesizing processing procedure according to the fifth embodiment of the present invention.

【図9】本発明第6実施例のカラー画像形成部5の画像
処理手順を示すフローチャートである。
FIG. 9 is a flowchart showing an image processing procedure of the color image forming unit 5 according to the sixth embodiment of the present invention.

【図10】本発明第6実施例の画像合成処理手順を示す
フローチャートである。
FIG. 10 is a flowchart showing an image synthesizing processing procedure according to the sixth embodiment of the present invention.

【図11】本発明第6実施例の2値画像情報の一例を示
す説明図である。
FIG. 11 is an explanatory diagram showing an example of binary image information according to the sixth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 入力バッファ 2 PDLコード解析部 3 2値画像形成部 4 2値画像メモリ 5 カラー画像形成部 6 カラー画像圧縮部 7 カラー圧縮画像メモリ 8 カラー画像伸長部 9 画像合成部 10 プリンタエンジン 1 Input Buffer 2 PDL Code Analysis Unit 3 Binary Image Forming Unit 4 Binary Image Memory 5 Color Image Forming Unit 6 Color Image Compressing Unit 7 Color Compressed Image Memory 8 Color Image Decompressing Unit 9 Image Compositing Unit 10 Printer Engine

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/66 330 A 8420−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location G06F 15/66 330 A 8420-5L

Claims (1)

【特許請求の範囲】 【請求項1】 カラー画像情報の混在する文書情報をペ
ージ記述言語コードの形態で入力し、多値画像に変換
後、圧縮、伸長の画像処理を行って、前記文書情報をカ
ラーの画像に変換するカラー画像処理装置において、 入力した前記文書情報を、2値画像情報に変換すべき第
1画像情報および多値画像情報に変換すべき第2画像情
報に、予め定められた分割条件に従って、分割するペー
ジ記述言語コード解析手段と、 当該分割された第1画像情報を2値画像情報に変換する
2値画像形成手段と、当該変換された2値画像情報を記
憶する記憶手段と、 該記憶手段の2値画像情報を多値画像情報に変換し、当
該多値画像情報と、前記ページ記述言語コード解析手段
により分割された第2画像情報について前記画像処理を
行った多値画像情報とを合成する合成手段とを具えたこ
とを特徴とするカラー画像処理装置。
Claim: What is claimed is: 1. Document information in which color image information is mixed is input in the form of a page description language code, converted into a multi-valued image, and then image processing of compression and decompression is performed to obtain the document information. In a color image processing apparatus for converting a color image into a color image, the input document information is predetermined as first image information to be converted into binary image information and second image information to be converted into multivalued image information. A page description language code analyzing unit for dividing the divided first image information according to the dividing condition, a binary image forming unit for converting the divided first image information into binary image information, and a storage for storing the converted binary image information. Means for converting the binary image information in the storage means into multivalued image information, and performing the image processing on the multivalued image information and the second image information divided by the page description language code analysis means. Color image processing apparatus, characterized in that it comprises a synthesizing means for synthesizing the multivalued image data.
JP16438391A 1991-07-04 1991-07-04 Color image processing apparatus and method Expired - Fee Related JP3387512B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16438391A JP3387512B2 (en) 1991-07-04 1991-07-04 Color image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16438391A JP3387512B2 (en) 1991-07-04 1991-07-04 Color image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH0512395A true JPH0512395A (en) 1993-01-22
JP3387512B2 JP3387512B2 (en) 2003-03-17

Family

ID=15792088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16438391A Expired - Fee Related JP3387512B2 (en) 1991-07-04 1991-07-04 Color image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3387512B2 (en)

Also Published As

Publication number Publication date
JP3387512B2 (en) 2003-03-17

Similar Documents

Publication Publication Date Title
JP3063957B2 (en) Image processing device
US6016360A (en) Method and apparatus for encoding color image data
US5768481A (en) Method and apparatus for compression of digitized image data using a dynamic band recompression scheme
US5805735A (en) Method and apparatus for compression of digitized image data using variable color fidelity
US7692813B2 (en) Image processing apparatus and method, and storage medium
US6115496A (en) Method and apparatus for accelerating image data compression
US7667711B2 (en) Image processing system, a method thereof, and a recording medium thereof
JPH11165435A (en) Creation method of merge data component
US7068398B2 (en) System and method for efficient tile generation from complex raster data
JP2830690B2 (en) Image processing device
US20060182358A1 (en) Coding apparatus, decoding apparatus, data file, coding method, decoding method, and programs thereof
US6400467B1 (en) Method and apparatus for rendering halftone areas of an image with continuous boundaries
US5703967A (en) Color image transmitting method
JPH07322074A (en) Equipment and method for data processing to process 2 level image file that a dither ring happened
US20020126312A1 (en) Accelerating color conversion using a temporary palette cache
US5680526A (en) Method and system for selectively rendering image data in a bi-level or multi-level format
JP4121676B2 (en) Image processing apparatus that performs compression and expansion, and electronic printing apparatus using the same
US5374957A (en) Decompression method and apparatus for split level image buffer
JP3387512B2 (en) Color image processing apparatus and method
JP4476172B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP4131205B2 (en) Image processing apparatus and image processing program causing computer to execute image processing
JP2003087558A (en) Apparatus and method for processing image
JPH09167222A (en) Image processor
JP3211545B2 (en) Image processing device
US20010035967A1 (en) Image processing method and apparatus, and recording medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees