JP2966426B2 - Color image processing apparatus and method - Google Patents

Color image processing apparatus and method

Info

Publication number
JP2966426B2
JP2966426B2 JP1033577A JP3357789A JP2966426B2 JP 2966426 B2 JP2966426 B2 JP 2966426B2 JP 1033577 A JP1033577 A JP 1033577A JP 3357789 A JP3357789 A JP 3357789A JP 2966426 B2 JP2966426 B2 JP 2966426B2
Authority
JP
Japan
Prior art keywords
color
color difference
difference information
data
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1033577A
Other languages
Japanese (ja)
Other versions
JPH02214260A (en
Inventor
達也 村上
雅章 藤縄
浩道 藤澤
秀文 増崎
敏 伊藤
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1033577A priority Critical patent/JP2966426B2/en
Priority to US07/479,615 priority patent/US5128748A/en
Priority to KR1019900001793A priority patent/KR100194744B1/en
Priority to EP90102974A priority patent/EP0383331B1/en
Priority to DE69026733T priority patent/DE69026733T2/en
Publication of JPH02214260A publication Critical patent/JPH02214260A/en
Priority to US07/782,096 priority patent/US5268771A/en
Priority to US08/400,385 priority patent/US5576849A/en
Application granted granted Critical
Publication of JP2966426B2 publication Critical patent/JP2966426B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION 【産業上の利用分野】[Industrial applications]

本発明は、カラー文書などの色情報を含む画像を入
力、蓄積、検索する機能や、ディスプレイや、プリンタ
などに出力する機能を有するシステムに係り、モノクロ
画像とカラー画像の混在した画像を効率良く符号化し、
また検索時にはカラー表示の他、モノクロ画像を高速に
表示できる機能も有する画像処理システムに係る。
The present invention relates to a system having a function of inputting, storing, and retrieving an image including color information such as a color document, a display, and a function of outputting to a printer or the like. Encoding,
Also, the present invention relates to an image processing system having a function of displaying a monochrome image at high speed in addition to color display at the time of search.

【従来の技術】[Prior art]

従来より、画像情報の蓄積、通信を行う場合、一般に
冗長度を抑制し、データ量を減らすため、データを符号
化し用いている。 一方、カラー画像をデジタルデータとして扱う装置に
おいては、画像は赤、緑、青の3原色に色分解してでき
る3種類の多値データとして扱われていた。(以後それ
ぞれをR,G,Bと記す)しかしながら、この3種類のデー
タは3色間の相関が高い。そのため冗長度が高く、その
ままでは符号化効率が低い。 これに対して、TVあるいはVTR等では、RGBのカラー画
像データを、輝度情報(以後、Yと示す)と2種類の色
差情報(以後、IおよびQと示す)に変換する方式が広
く用いられており、文書に対しても、この手法を用いる
例が示されている。(例えば、特開昭63−9282など) しかしながら従来の輝度/色差への変換を用いる装置
においては、直交変換など多値データ用の符号化方式を
用いて情報圧縮を施す。該公知例においてもこの方式が
用いられている。ところが、この多値データ用の符号化
方式を文書画像に適用すると、以下のような問題が生じ
る。 (a)文字など線図形を扱うと、符号化効率が著しく低
下する。 (b)FAXや電子ファイルシステムなど、文書を2値画
像として扱う装置で直接出力できない。 一方、デジタル複写機などにおいては、輝度/色差へ
の変換を行わず、入力したR,G,B3原色の画像データをそ
のまま用いて出力する。また、プリンタに出力するな
ど、2値化処理が必要な場合も、多値のRGBデータをそ
のまま、2値化する。この方式の高機能化をはかった公
知例としては、例えば特開昭63−174472がある。この公
知例は、R,G,Bより輝度情報を算出し、その値に応じ
て、2値化方式を切り替える方式を示している。 ところが、R,G,B形式のままではデータの冗長度が高
く、符号化効率が低いため、複写機などはともかくデー
タの蓄積/伝送を行う装置には適さない。特に、画像中
にモノクロ部分がある場合、この方式では、色の情報が
必要ないにもかかわらず、全く同じR,G,Bのデータをそ
れぞれ必要とする。 カラー文書においても、テキストの領域の多くはモノ
クロである。したがって、この方式は多数の文書画像デ
ータを蓄積する電子ファイルシステムや、低いデータ転
送速度で文書画像を送る必要のあるFAXなどには適さな
い。
2. Description of the Related Art Conventionally, when storing and communicating image information, generally, data is encoded and used in order to suppress redundancy and reduce the amount of data. On the other hand, in an apparatus that handles a color image as digital data, the image is handled as three types of multi-valued data formed by color separation into three primary colors of red, green, and blue. However, these three types of data have a high correlation between the three colors. Therefore, the redundancy is high, and the coding efficiency is low as it is. On the other hand, in a TV or a VTR, a method of converting RGB color image data into luminance information (hereinafter referred to as Y) and two kinds of color difference information (hereinafter referred to as I and Q) is widely used. An example of using this technique for a document is shown. However, in a conventional apparatus using conversion into luminance / color difference, information compression is performed using an encoding method for multi-valued data such as orthogonal transformation. This method is also used in the known example. However, when the encoding method for multivalued data is applied to a document image, the following problem occurs. (A) When a line graphic such as a character is handled, the coding efficiency is significantly reduced. (B) Documents that handle documents as binary images, such as faxes and electronic file systems, cannot be directly output. On the other hand, in a digital copying machine or the like, the conversion into the luminance / color difference is not performed, and the input image data of the R, G, and B primary colors is output as it is. Also, when binarization processing is required, such as when outputting to a printer, the multi-valued RGB data is binarized as it is. A well-known example of this system that has improved functionality is disclosed in, for example, JP-A-63-174472. This known example shows a method of calculating luminance information from R, G, and B, and switching a binarization method according to the value. However, if the R, G, and B formats are used as they are, the data redundancy is high and the coding efficiency is low, so that they are not suitable for devices that store / transmit data anyway, such as copying machines. In particular, when there is a monochrome portion in an image, this method requires exactly the same R, G, and B data, though color information is not required. Even in a color document, most of the text area is monochrome. Therefore, this method is not suitable for an electronic file system that stores a large amount of document image data, or a facsimile machine that needs to send document images at a low data transfer rate.

【発明が解決しようとする課題】 一般に用いられるカラー文書では、画像の一部にカラ
ー画像を含みながら、大きなモノクロの領域を有する場
合が多い。また、写真等の中間調画像ばかりでなく、文
字等の線図形の領域も多数存在する。従って、文書を対
象とするシステムは、たとえカラー写真を対象としたシ
ステムでも、モノクロ画像や文字を効率良く扱えること
が重要である。 ところが、前述の通り、これまでのカラー画像のを扱
うシステムは、カラーの中間調画像のみを対象としてい
た。そのため、カラー画像やモノクロ画像、さらには文
字等の混在する文書を扱うことは、あまり検討されてい
なかった。 例えば、R,G,B3原色のデータを用いる方式は、カラー
画像のみからなる文書を対象としている。そのため、モ
ノクロ部分に対してもR,G,Bの3種類の情報全てを必要
とする。一方、輝度/色差への変換を用いるデータ符号
化方式は、本来TV画像などを対象として考案されたもの
である。そのため、濃度変化のゆるやかな場合に対し
て、有効な特性を有する。これに対して、文書中の大き
な役割をしめる、文字などでは濃度変化は極めて大き
い。したがって、直交変換を用いた符号化では、効率が
極めて低い。 また、これまでに広く用いられているFAXや電子ファ
イルシステムの多くは、モノクロの2値画像を対象とし
た入出力装置をそなえている。したがって、カラー文書
画像システムも、それらと互換性をそなえれば、より幅
広い利用が可能になる。そのためには、データの整合性
が必要であるが、従来の例はこの点を考慮していない。 また、出力装置が従来のモノクロ用装置の場合は、RB
G方式では3原色のうち1色のデータのみを出力するこ
とで代用する。そのため、特定色の情報が欠落すること
が多い。 本発明の第1の目的は、上記問題点を解決し、カラー
画像特に文書等に多い、モノクロ部分の混在した画像
を、効率良く符号化し、蓄積カラー画像処理装置を提供
することにある。 また、別の第2の目的としては、従来のモノクロ画像
を対象としていた画像処理装置との互換性を有する画像
処理装置を提供することにある。 さらに、本発明の別の第3の目的は、例えば光ディス
ク等に大量に蓄積されたカラー画像データの内容を検索
する際などに、各画像を高速にモノクロで表示できる画
像処理装置を提供することにある。 一方、本発明で提案するカラー画像処理方法は、カラ
ー文書等の画像を、少ないデータ量で有効に記録する方
法を提供することを目的としている。これを第4の目的
とする。 また、従来蓄積していたモノクロ画像情報との互換性
を保った形式で、カラー画像データを蓄積するための、
カラー画像処理方式を提供することを第5の目的とす
る。
Generally, a color document used generally has a large monochrome area while including a color image in a part of the image. In addition, not only halftone images such as photographs but also a large number of line graphic areas such as characters exist. Therefore, it is important for a system for documents to efficiently handle monochrome images and characters even in a system for color photographs. However, as described above, conventional systems for handling color images target only color halftone images. For this reason, handling of a document including a color image, a monochrome image, and a character or the like has not been considered much. For example, the method using data of the R, G, and B primary colors targets a document consisting of only a color image. Therefore, all three types of information of R, G, and B are required for the monochrome portion. On the other hand, a data encoding method using conversion to luminance / color difference is originally designed for a TV image or the like. Therefore, it has an effective characteristic in a case where the density changes slowly. On the other hand, the density change is extremely large in characters, which play a large role in a document. Therefore, the efficiency of encoding using orthogonal transform is extremely low. In addition, many of the facsimile and electronic file systems that have been widely used so far have an input / output device for monochrome binary images. Therefore, color document image systems can be used more widely if they are compatible with them. For that purpose, data consistency is required, but the conventional example does not consider this point. If the output device is a conventional monochrome device, RB
In the G system, only one color data among the three primary colors is output, which is substituted. Therefore, information of a specific color is often lost. SUMMARY OF THE INVENTION It is a first object of the present invention to provide a storage color image processing apparatus which solves the above problems and efficiently encodes a color image, particularly an image having a mixture of monochrome portions, which is often present in documents and the like. Another object of the present invention is to provide an image processing apparatus compatible with a conventional image processing apparatus for monochrome images. Still another object of the present invention is to provide an image processing apparatus capable of displaying each image in monochrome at high speed, for example, when searching for a large amount of color image data stored on an optical disk or the like. It is in. On the other hand, a color image processing method proposed in the present invention aims to provide a method for effectively recording an image such as a color document with a small amount of data. This is the fourth object. Also, for storing color image data in a format that is compatible with monochrome image information that has been stored conventionally,
A fifth object is to provide a color image processing method.

【課題を解決するための手段】[Means for Solving the Problems]

上記の第1の目的を達成するため、本発明は、多値の
RGB信号から多値のYIQ信号を得る手段と、得られた多値
のYIQ信号を2値化する手段と、得られた2値信号を蓄
積もしくは送信する手段と、蓄積もしくは受信した2値
のYIQ信号から多値のYIQ信号を復元する手段と、多値の
YIQ信号から多値のRGB信号を出力する手段とを有する。 また、上記第2の目的を達成するため、前述のYIQ信
号を2値化する手段として、輝度データを擬似中間調画
像処理により2値化する手段と、2値データの蓄積時に
従来のモノクロ画像と同様の形式でYIQの各データを蓄
積する手段とを有する。 第3の目的を達成するために本発明は、擬似中間調画
像の形式で蓄積された輝度/色差信号のうち、輝度信号
のみを読みだす手段と、読みだした輝度信号の2値デー
タを、モノクロの擬似中間調画像として表示する手段と
を有する。 また、第4の目的を達成するため、本発明の文書など
をRGBの多値データとして入力した画像データを、輝度
/色差信号に変換し、さらに色差信号の値が0の場合の
符号化後のデータ量が最小となるように色差信号を擬似
中間調処理によって2値化し符号化して蓄積する。 さらに、本発明は入力した画像データの輝度/色差信
号を、従来の2値のモノクロ画像用の画像処理装置と同
じ処理方法で2値化し、互換性を保持したい従来の装置
と同様の形式で2値化後の画像データを記録することに
より、第5の目的を達成する。
In order to achieve the first object, the present invention provides a multi-valued
Means for obtaining a multi-valued YIQ signal from the RGB signal; means for binarizing the obtained multi-valued YIQ signal; means for accumulating or transmitting the obtained binary signal; Means for restoring a multi-valued YIQ signal from the YIQ signal;
Means for outputting a multi-valued RGB signal from the YIQ signal. Further, in order to achieve the second object, as means for binarizing the YIQ signal, means for binarizing luminance data by pseudo halftone image processing, and means for converting a conventional monochrome image when accumulating the binary data are used. Means for accumulating each data of YIQ in the same format as the above. In order to achieve the third object, the present invention provides a means for reading out only a luminance signal out of luminance / color difference signals accumulated in the form of a pseudo halftone image, and a method for reading binary data of the read luminance signal. Means for displaying a monochrome pseudo halftone image. In order to achieve the fourth object, image data obtained by inputting a document or the like of the present invention as RGB multi-valued data is converted into a luminance / color difference signal, and after encoding when the value of the color difference signal is 0, The color difference signal is binarized, coded and stored by pseudo halftone processing so that the data amount of the color difference signal becomes minimum. Further, according to the present invention, a luminance / color difference signal of input image data is binarized by the same processing method as a conventional binary image processing apparatus for a monochrome image, and has a format similar to that of a conventional apparatus for maintaining compatibility. The fifth object is achieved by recording the image data after binarization.

【作用】[Action]

上記の課題解決手段における各部の作用について説明
する。 まず、モノクロ画像を扱う場合に符号化効率が低下す
る点は、R,G,B信号を、輝度信号と色差信号に変換した
上で符号化することにより解決できる。これは、画像の
モノクロ部分では色差情報の値がほとんど0となるた
め、符号化によりデータを極小にできるためである。ま
た、人間の視覚は色差信号に対しては、輝度情報より解
像度が低い。したがって、色差信号は輝度情報より低い
解像度で記録しても、画質に劣化を抑えられるので、さ
らに符号化効率を高めることもできる。 一方、輝度/色差への変換を用いた場合の、「文字画
像に対する符号化効率の低さ」や、「モノクロシステム
との整合性の低さ」といった問題は、変換後の多値デー
タを擬似中間調処理により2値画像データに変換するこ
とで解決する。 擬似中間調処理などにより得られた2値データは、従
来のモノクロ2値画像用の装置と同様に、MH(Modified
Huffman),MR(Modified Read)などの方式で符号化で
きる。また、輝度情報を2値化すると、原画像のモノク
ロ2値画像が得られる。したがって、従来のモノクロシ
ステムで出力する場合には、輝度情報のみを出力するこ
とにより整合性がとれ、特定の色の情報が欠落すること
もない。また、これらの2値画像の符号化方式では、文
字などの線図形部分で、符号化効率が急激に低下すると
いった問題も生じない。 さらに、これらの2値画像データの符号化方式では、
0または1が連続する部分のデータ量を極小にできる。
モノクロの画像の場合、前述の様に色差情報がほとんど
0になる。したがってモノクロ部分では、色差情報のデ
ータ量を符号化により極小にできるため、従来のモノク
ロ用装置とほぼ同等のデータ量に抑えることができる。 一方、カラー画像を出力する場合、多値の輝度信号と
色差信号が必要となる。この多値のデータは、2値の擬
似中間調画像より算出する。擬似中間調画像は、濃度を
黒画素の局所的な分布密度で表したものである。したが
って、ある画素の濃度は近傍の黒画素の分布状態より推
定できる。
The operation of each unit in the above-mentioned problem solving means will be described. First, the point that the coding efficiency is reduced when a monochrome image is handled can be solved by converting the R, G, B signals into a luminance signal and a chrominance signal and then coding. This is because the value of the color difference information is almost 0 in the monochrome portion of the image, so that the data can be minimized by encoding. Also, human vision has a lower resolution for color difference signals than luminance information. Therefore, even if the chrominance signal is recorded at a resolution lower than the luminance information, deterioration in image quality can be suppressed, so that coding efficiency can be further improved. On the other hand, when the conversion to luminance / color difference is used, problems such as “low encoding efficiency for character images” and “low consistency with a monochrome system” are caused by pseudo-multi-valued data after conversion. The problem is solved by converting into binary image data by halftone processing. The binary data obtained by the pseudo halftone processing is converted to MH (Modified) in the same manner as in a conventional monochrome binary image apparatus.
Huffman) and MR (Modified Read). When the luminance information is binarized, a monochrome binary image of the original image is obtained. Therefore, when outputting with a conventional monochrome system, consistency is ensured by outputting only luminance information, and information of a specific color is not lost. Further, in such a binary image encoding method, there is no problem that the encoding efficiency is sharply reduced in a line graphic portion such as a character. Furthermore, in these binary image data encoding methods,
The data amount of a portion where 0s or 1s continue can be minimized.
In the case of a monochrome image, the color difference information is almost zero as described above. Therefore, in the monochrome portion, the data amount of the color difference information can be minimized by encoding, so that the data amount can be suppressed to substantially the same as the conventional monochrome device. On the other hand, when outputting a color image, a multi-valued luminance signal and a color difference signal are required. This multi-valued data is calculated from a binary pseudo halftone image. In the pseudo halftone image, the density is represented by the local distribution density of black pixels. Therefore, the density of a certain pixel can be estimated from the distribution state of nearby black pixels.

【実施例】【Example】

本発明の実施例を述べるにあたって、まず本発明の動
作原理を以下に述べる。 画像データは、R,G,B3色の多値データとして入力され
る。この3種類の多値データに、例えば以下に示す
(1)の行列変換を施すことにより、輝度信号(以後Y
と記す)と、2種類の色差信号(以後IおよびQと記
す)を得ることができる。 この行列式は、RGB信号から輝度/色差信号への変換
式の一例で、NTSC系のテレビ信号で用いる行列式であ
る。 (例えば、日本色彩学会編:新編色彩科学ハンドブッ
ク:昭和55年2月25日発行、参照) 次に、この3種類の信号を2値化する。IおよびQは
モノクロ画像に対しては、ほぼ0を示す。したがって、
2値化後のデータの符号化効率を高めるためには、多値
データI、Qが0となる部分で、2値化後の値が0また
は1の連続となればよい。 ところが、この3種類の信号のうちIおよびQは負の
値を取りうる。したがって、この色差信号が0の場合
に、0または1の連続する出力を得るためには、2値化
処理は、以下の方法によりを実行する。 まず、IおよびQを、画像データの値に応じて、0と
正の値のみからなる2枚の画像データIp,InとQp,Qnとに
それぞれ分離する。 具体的には、画像データIの座標(x1,y1)の値I(x
1,y1)が正の場合、 Ip(x1,y1)=I(x1,y1) In(x1,y1)=0 とIp,Inを定め、I(x2,y2)が負の場合、 Ip(x2,y2)=0 In(x2,y2)=−I(x2,y2) と定める。なお、ここで、IpおよびInは、それぞれI信
号の正値および負値のみからなるデータを表す。同様に
画像データQの分離後はQp,Qnと記す。この結果、正負
の混在した多値画像データIおよびQは、それぞれ0ま
たは正の値のみからなる2枚の多値画像データに変換さ
れる。正負分離の結果Y,I,Qの3種類のデータは、Y,Ip,
In,Qp,Qnの5種類の多値データとなる。 次に、この変換後の多値画像データに2値化処理を施
す。なお、以後本実施例では、Y,I,Q、R,G,Bともに、2
値データの場合は変数に『′』を付けることとする。し
たがって、I信号の正値化後のデータはIp,2値化後のデ
ータはI′と記す。 この結果、多値のカラー画像データは、5種類の2値
データY′,I′p,I′n,Q′p,Q′と成る。画像データ
を蓄積する場合、この5種類の2値データを符号化して
蓄積する。この結果、1枚のカラー画像は、5枚のモノ
クロ2値画像と同様の形で記録できる。また、このうち
輝度情報Y′のみで、原画像のモノクロ2値画像を扱う
ことができる。 一方、入力された画像がモノクロ画像の場合、色差を
表すI′p,I′n,Q′p,Q′は全て0となり、符号化効
率は極めて高まる。 また、前述のように、色差情報の解像度を下げるなら
ば、データ量はさらに削減できる。例えば、主副走査方
向とも解像度を1/2にすれば、各色差信号のデータ量は1
/4となるため、モノクロ画像の2倍のデータ量でカラー
画像を扱うことができる。 次に、蓄積された情報から、カラー画像を再生する方
法に付いて説明する。 まず、符号化された5枚分のデータを復号化して5種
類の2値データY′,I′p,I′n,Q′p,Q′を得る。次
に、Y′,I′p,I′n,Q′p,Q′から、多値データY,I′
p,I′n,Q′p,Q′を生成する。 そして、IpとIn、QpとQnを、それぞれ加算することに
より、IとQが算出できる。この結果、輝度信号Yと、
2種類の色差信号IとQが得られる。 この多値データYIQから、上記の行列式(1)の逆変
換を施すことにより、多値データRGBが得られる。逆変
換は、例えば式(1)に対しては、以下の式(2)によ
り実現できる。 ここで、擬似中間調画像として蓄積された2値画像デ
ータより、多値のデータを得る処理の原理は以下の通り
である。 通常、人間が擬似中間調画像を見る場合、擬似中間調
画像上のある点の濃度は、その近傍の黒画素の分布状態
により感じられる。したがって、多値の画像データを擬
似中間調処理を施した2値画像データの場合、2値デー
タの分布状態を用いることにより、人間の目には原画像
と等価の多値の画像データを得ることができる。 具体的には、特定の大きさの走査窓で、原画像を走査
して、各画素ごとに近傍の黒画素の分布状態を検出する
ことにより、各画素ごとの濃度を決定できる。これと同
様の原理で、色差信号も擬似中間調処理により2値化し
て蓄積できる。 以上の原理により、多値のRGB3原色で入力したカラー
画像データを、2値の輝度/色差信号で蓄積することが
できる。 カラー画像の表示/出力の場合は、この多値のR,G,B
データを、フルカラーディスプレイに表示したり、それ
ぞれのデータを2値化して、カラーLBP(Laser Beam Pr
inter)やカラーディスプレイへ出力する。 なお、本実施例では以後、多値のRGBデータからなる
画像を表示するディスプレイを“フルカラーCRT"、2値
のRGBデータによる画像を表示するディスプレイを“カ
ラーCRT"と呼ぶ。 以下、図を参照して本発明の一実施例について詳細に
説明する。 図1に本発明の基本構成の一例を示す。まず始めに全
体のデータの流れを示す。 画像データは画像入力部10よりRGBそれぞれの8bitの
多値のデータとして入力される。図中の信号線束20はR,
G,Bそれぞれの8bitの多値のカラー画像データが通る24
本の信号線からなる。なお以後、本実施例では、入力さ
れたR,G,Bデータをそれぞれ、R1,G1,B1と記す。 R1,G1,B1はRGB/YIQ変換器100により、画像の輝度信号
Y1と2種類の色差信号I1およびQ1に変換される。 次に、I1およびQ1を正値化し、4種類の多値データI
2p,I2n,Q2p,Q2nを算出し、とともに、5個の2値化処理
部300,301,302,303,304によりそれぞれ2値化する。 図中の信号線束30は、5種類の画像データY1,I2p,
I2n,Q2p,Q2nをそれぞれ2値化した1bitのデータ、Y′
、I′3p,I′3n,Q′3p,Q′3nが通る5本の信号線から
なる。また、40も1bitのデータが3種類通るが、内容に
付いては後に詳しく述べる。 この5種類の2値データを蓄積する場合、符号復号部
530により1枚づつ符号化して例えば光ディスク560に蓄
積する。ここで、信号線50には信号線30上のデータを符
号化したデータが通る。 したがって、本実施例では3種類のデータを扱う。そ
こで、各信号線の間にはデータの変換処理を行う回路が
存在し、必要に応じてデータを蓄積するメモリを接続す
る。 次に、各信号線間で施す変換処理について、説明す
る。図中、信号線20より上に記された各部は、多値の画
像データを、R,G,Bの3種類扱う。図中10は既知の手段
により文書等を光学的に読み取り、8ビットの多値のデ
ィジタルデータR1,G1,B1を出力する画像入力部、15は画
像入力部10より送られるR1,G1,B1の画像データを、適切
な信号線束に転送するセレクタ、21,22,23はR1,G1,B1
れぞれの多値データを蓄積するメモリである。 いま、画像入力部10よりR1,G1,B1が走査線1本づつ順
次、セレクタ15に送られたとする。この時セレクタ15は
それぞれのデータに応じて、信号線束20中の信号線を選
択し、メモリ21,22,23にデータを送る。 ここで、メモリ21,22,23にはR1,G1,B1がそれぞれ蓄積
される。なお、本実施例ではR1,G1,B1がそれぞれ、走査
線1本分づつ順次入力されるため、メモリ21,22は少な
くとも走査線1本分以上のデータを蓄積できる容量が必
要である。 したがって、画像入力部10が、文書を3回走査し、一
回ごとにR,G,Bのデータを1画面づつ出力する装置の場
合は、メモリ21,22は少なくとも1画面分のデータを蓄
積する容量が必要である。また、1画素ごとにR,G,Bの
データが繰返し出力される場合、メモリ21,22,23は不要
にできる。さらに、画像入力部10より、R,G,Bが同時
に、24本の信号線を用いて入力される場合、セレクタ15
は不要となる。 次に、信号線20上のR,G,Bと、信号線30上の2値デー
タ、Y′3,I′3p,I′3n,Q′3pQ′′3n間の変換に係る部
分について説明する。ここでもまず、データの流れと各
部の機能について説明し、各部の内部構成については後
に詳しく説明する。 入力された多値のR,G,Bデータは各画素ごとに、RGB/Y
IQ変換部100に入力され、3種類の多値データY1,I1,Q1
に変換される。したがって、本実施例のように、画像入
力部よりRGBのデータが走査線1本分ごとに入力される
場合、RおよびGのデータはメモリ21,22に蓄積してお
き、Bのデータが入力される時に、1画素分づつメモリ
より出力し、1画素ごとにRGBデータをそろえてRGB/YIQ
変換部100に入力する。 デジタルデータを対象としたRGB/YIQ変換の実現方法
は、既に広く知られている。本発明でも、それらの既知
の手段を用いる。 出力された多値データのY1,I1,Q1データは、それぞれ
擬似中間調処理により2値化される。しかしながら、色
差信号IおよびQは負の値を取り得る。擬似中間調処理
では、正負値の混在する信号は対象としていない。そこ
でI,Q信号を正値化する。 前述の通り、色差信号の値は入力された画像がモノク
ロの場合0となる。そして、2値化後『0』が連続する
部分は、高い符号化効率を得られる。したがって、入力
値が0の連続の場合に、2値化後のデータも0が連続す
るように、色差信号の正値化変換は、入力値0のとき出
力値も0となる変換であることが必要である。 そこで本実施例においては、I1およびQ1を、それぞれ
0と正の値のみからなる画像と、0と負の値のみからな
る画像の2の画像に分離して扱う。分離は正負半底部20
0および201により実行する。 ここでI2nおよびQ2nは、入力された値の絶対値を記録
することにより、正値化できる。 正の多値データI2p,I2n,Y2,Q2p,Q2nはそれぞれ2値化
処理部300,301,302,303,304にて2値化され、2値の画
像データI′3p,I′3n,Y′3,Q′3p,Q′3nとなり、信号
線束30を経て、それぞれメモリ31,32,33,34,35に蓄積さ
れる。 この一連の構成により、多値のRGBデータを5枚の2
値画像データとして扱うことができる。 画像を、例えば光ディスクなどに蓄積したり、FAXな
どの回線を用いて転送する場合、この5枚の2値画像を
符号化したデータを用いる。具体的には、信号線束30上
に存在する5種類の2値画像データを、セレクタ510に
て1面づつ選択し、符号復号部530に入力する。符号復
号部530は,例えばMHやMR,MMRなどの既知の方式によ
り、入力された2値画像データを1面ずつ符号化し、信
号線50に出力する。この結果、光ディスクに記録される
符号データは、モノクロの2値画像データと同じ形式と
なる。 以上の方式で、RGB3枚の多値の画像データで表現され
るカラー画像データを、5枚のモノクロ2値画像データ
と同じ形式で、符号化し扱うことができる。 一方、例えば光ディスクなどに蓄積された符号データ
を読みだしカラー画像を出力する場合は、以下のような
手順をとる。光ディスク上には、前述の方式で符号化さ
れた5枚の2値画像データの符号が記録されている。そ
こで、これらのデータを1枚ずつ読みだし、符号復号部
530にて復号し5種類の2値画像データI′3p,I′3n,
Y′3,Q′3p,Q′3nを得て、順にメモリ31,32,33,34,35に
蓄積する。この2値のYIQ信号より、多値のRGB信号を生
成する。 まず、メモリ31,32,33,34,35上に蓄積された5種類の
2値データI′3p,I′3n,Y′3,Q′3p,Q′3nをそれぞれ
信号線束30を経て、5個の中間調変換部400,401,402,40
3,404に転送し、5種類の多値データI4p,I4n,Y4,Q4p,Q
4nに変換する。この変換手段は後に詳しく述べる。 次に、加算器610および620により変換後の5面の正の
多値データから、正負混在した3面の多値データI5,Y5,
Q5を算出する。 YIQ/RGB変換器700は既知の手段により、多値データ
I5,Y5,Q5を変換し、多値の画像データR2,G2,B2を出力す
る。 上述の方法にて、蓄積された符号データより、多値の
画像データRGBを得られる。そこで次に、この画像デー
タを表示、出力する手段について述べる。 まず、フルカラー表示装置70に表示する場合は、信号
線束20上の3種類の多値データRGBをそのまま表示す
る。一方、出力装置が2値のカラー画像に対応している
場合は、RGBそれぞれを2値化処理部800,801,802により
擬似中間調処理により2値化する。2値化された3種類
の画像データは、カラープリンタ80や、カラーCRT75等
に転送され、出力される。 一方、多数の画像を検索する場合、各画像の内容を高
速に表示することが求められる。本発明においては、す
でに輝度情報Yを2値化した画像データY′を光ディ
スク中に蓄積している。この画像データY′は、原画
像をモノクロの擬似中間調画像で表した画像である。 そこで、光ディスク560中の画像を高速に表示する場
合、5種類の符号データのうち、まず輝度情報Ybのみを
読みだし、符号復号部530にて復号化した後、信号線30
より、セレクタ90に入力する。セレクタ90は、外部から
の指示等により、以下の2種類の動作(a),(b)の
うち一方を選択し、実行する。 (a)2値化処理部800より入力される、多値データR
を擬似中間調処理により2値化したデータを信号線40中
のR用の信号線に転送する。 (b)信号線30中のY用の信号線より入力された画像デ
ータを、信号線40中のR用,G用,B用にそれぞれ転送す
る。 ここで、セレクタ90が、上述の(b)の動作を行った
場合、カラー画像を構成するのに必要な、5面分の信号
のうち1面分が入力された時点で、カラーCRT75上に、
モノクロ画像を表示することができる。 また、モノクロ画像用のシステムにおいては、前述の
(b)の処理が無条件になされるため、輝度データY′
をモノクロ画像として表示/出力することができる。 次に、これまでに説明してきた各部の内部構成の一例
を詳細に説明する。まず、RGB/YIQ変換部100について説
明する。この部分の機能は1画素ごとに、R1,G1,B1それ
ぞれ8bitのデータを入力し、行列変換を施し、当該画素
の3種類の多値データY1,I1,Q1を出力するものである。
デジタルデータを対象としたRGB/YIQ変換は、既に各種
の公知例があり、本実施例でもそれらを適用する。 次に、正負値の混在したI1,Q1データを正値化する正
負分離部200および201の内部構成について説明する。な
お、この2つの判定部は全く同一のものである。 第2図は、正負分離部200の内部構成を示す図であ
る。図中211はRGB/YIQ変換部100より、色差信号I1を入
力する信号線、212は判定の基準となる値0を入力する
信号線、220は入力値が負の数の場合に絶対値を出力す
る差分器、230は入力値の符号を判断する比較器、240お
よび250は比較器の出力により2つの入力値の一方を選
択し出力するセレクタである。また、信号線241はセレ
クタ240の出力線で、多値データI2pを、信号線251はセ
レクタ250の出力線で、多値データI2nを、それぞれ出力
する。 まず、入力値Iが正の場合、比較器230は“1"を、I
が負の場合は、“0"を信号J1として出力する。比較器の
出力により、2個のセレクタの出力Ip,Inは以下の式に
より決定する。 この結果多値データI2pおよびI2nは、ともに、0また
は正の値を取る。 第1図中の、もう1個の正負分離部201も、全く同じ
構成である。したがって、正負分離部201の出力値、Q2p
およびQ2nも0または、正の値のみからなる。 次に、第1図中に記した5個の2値化処理部300〜304
の構成と動作について述べる。本実施例では、この5個
はいずれも同じ構成を取る。 続いて2値化処理部300の動作について詳細に説明す
る。2値化には、従来の各種の2値化処理方式が適用で
きる。そこで、複数の処理方式を内蔵し外部からの指示
などにより適切な方式を選択することにより、出力装置
の特性に応じた画像や、ユーザの好みに応じた画像を出
力することができる。第3図が、本システムで用いる2
値化処理部300の一構成例を示す図である。本例では、
2値化方法として、組織的ディザ法による擬似中間調処
理、平均誤差最小法による擬似中間調処理、固定閾値に
よる2値化処理の内1つを選択する場合の構成の一例を
示いている。図中、信号線241からは多値データY1、331
および341からは擬似中間調処理方法を指示する信号、3
42および343からは出力される画像の主走査方向および
副走査方向のアドレスの下位ビットがそれぞれ入力され
る。 多値画像データY1(x,y)はRGB/YIQ変換部100より、
信号線241を通って加算器330に入力される。加算器330
はY1(x,y)と、セレクタ335より入力される誤差データ
E(x,y)を加算し、多値データF(x,y)を出力する。
ここで誤差データE(x,y)は、通常0であり、2値化
方法として平均誤差最小法を用いる場合にのみ信号線39
9より入力される値を用いる。したがって、セレクタ335
は信号線331より処理方法として平均誤差最小法が指示
された場合以外は0を出力する。多値データF(x,y)
は、信号線339を通って比較器340に入力され、閾値Tと
比較される。この比較の結果によって、2値画像データ
Y′(x,y)が決定される。ここで、閾値Tも2値化
の方法によりセレクタ345にて選択される。選択は外部
から信号線341を通って入力される指示にしたがって実
行される。組織的ディザ方式の場合は、出力する画素の
位置により閾値を周期的に変動する。この場合、たとえ
ば、信号線342および343よりそれぞれ、出力画像の主走
査方向、副走査方向のアドレスの下位ビットをROM(Rea
d Only Memory)347に入力し、その出力を閾値として用
いる。ROM347中には、閾値の行列を記入しておく。ま
た、固定閾値の場合、レジスタ344からは出力される固
定値が選択される。 平均誤差最小法の場合、2値化処理のためには誤差デ
ータE(x,y)を算出する必要がある。この誤差データ
E(x,y)は、それまでに2値化された(x,y)近傍の多
値データFを2値化した際に生じた誤差εに、あらかじ
め定めた重み係数δ(m,n)を掛けた値の和である。重
み係数δ(m,n)の一例を第4図に示す。図中で*は、
その時点で2値化を行う画素で、ここで述べた座標(x,
y)の画素にあたる。 次に各部の動作を説明する。重み係数が第4図の場
合、E(x,y)は以下の式により得られる。 E(x,y)=1/8〔ε(x−1,y−1)+ε(x+1,y−1) +ε(x−2,y)+ε(x,y−2) +2{ε(x,y−1)+ε(x−1,y)}〕 一方、各画素の誤差εは、多値データFと0の差、ま
たはFとFの取り得る最大値Fmaxとの差のどちらか一方
である。この値は、次のようにして得られる。ある時点
で、比較器340が座標(x2−1,y2)の多値データF(x2
−1,y2)を2値化した場合、F(x2−1,y2)は比較器34
0の他、差分器355及びセレクタ350に入力される。差分
器355は、変換画像データF(x,y)の取りうる値の最大
値FmaxとF(x2−1,y2)の然を出力し、セレクタ350に
送る。例えば、S2(x,y)が0から255の値をとる場合、 Fmax=255 となり、差分器355は、 255−S2(x2−1,y2) を出力する。また、ここでもし、 F(x2−1,y2)>Fmax となった場合、差分器355は0を出力する。セレクタ350
は、以下の条件に従い、F(x2−1,y2)またはFmax−F
(x2−1,y2)のいずれかを誤差ε(x2−1,y1)として出
力する。 出力されたε(x2−1,y2)は信号線359を通ってライ
ンバッファ370などに送られる。誤差εより、E(x,y)
を求める処理は、ラッチ361,375,378およびシフトレジ
スタ360,377により実行される。次にQ(x,y)を求める
場合を例に、各部分の動作を説明する。2値データQ
(x−1,y)が2値化処理部にて決定されると、ラッチ3
61,375,378とラインバッファ370,380からは、それぞれ
誤差ε(x−1,y)、ε(x−2,y)、ε(x,y−1)、
ε(x−1,y−1)、ε(x+1,y−1)、ε(x,y−
2)が出力されている。ここで、出力データε(x−1,
y)は、セレクタ350とラッチ378、ε(x,y−1)はシフ
トレジスタ360,377に入力され、2*ε(x−1,y)、お
よび2*ε(x,y−1)が出力される。加算器390は入力
された6種類の多値データを加算して8*E(x,y)を
算出し、シフトレジスタ395に送る。シフトレジスタ395
は入力された多値データをシフトすることにより、E
(x,y)を得る。得られたE(x,y)は信号線399により
セレクタ335に入力される。ここで、セレクタ335は外部
からの信号線331より送られるデータEフラグにより、
E(x,y)あるいは0を加算器330に出力する。セレクタ
335の出力がE(x,y)ならば、最終出力Qは擬似中間調
画像となる。一方、セレクタ335の出力が0ならば、最
終出力Qは固定閾値になる単純2値化処理画像となる。 なお、x=1、またはy=1の場合、E(x,y)を得
るのに必要なεの一部が存在しないことが生じる。この
場合、たとえば、あらかじめラインバッファ350および
差分器355に記録されている値を用いて、E(x,y)を決
定する。 前述の通り、本システムにおいては画像やシステム構
成に応じて2値化方法が選択できる。たとえば、単色の
網点画像の場合、組織的ディザ法を用いると、画質が劣
化する。これは、原画像の網点の周期と、2値化処理の
ディザマトリックスの周期が干渉して、モアレが発生す
るためである。 この問題は、原画像が網点画像の場合は、平均誤差最
小法などの周期性を持たない方式で2値化処理を施すこ
とにより、解決できる。 したがって、システムに接続する画像入力装置の2値
化方法として、平均誤差最小法などの周期性をもたない
擬似中間調処理方法を1種類は含むことにより、より処
理方式の選択のはばを広げることができる。 上記構成により、多値のカラー画像データR1,G1,B1
り、5種類の2値画像データI′3p,I′3p,Y′3,Q′3p,
Q′3nを算出し、信号線束30に出力する。出力された画
像は、それぞれ信号線束30に接続された、メモリ31,32,
33,34,35に蓄積される。 この画像データを光ディスクなどに蓄積する場合は、
5枚のモノクロ2値画像を蓄積するのと同様に扱うこと
ができる。セレクタ510は、信号線束30中の1本を順次
選択し、5種類の2値画像データを1枚ずつ符号復号部
530へ転送する。符号復号部530は、例えばMH符号化かMM
R符号化など既知の手段により、2値画像データの符号
化を実行し、信号線50を通じて、光ディスク560に符号
データを書き込む。また、信号線50に通信端末570接続
することにより、符号データを外部に転送することもで
きる。この通信端末は、2値画像の符号データを扱える
ものならば、利用できるため、例えばFAX等も接続でき
る。MH符号やMMR符号を用いる一般の装置では、走査線
上に0が続く場合、符号化後のデータ量を極小にするこ
とができる。そのため、入力された画像中のモノクロの
部分は、色差信号が0となるので、符号化後のデータ量
を極小にできる。したがって、カラー画像とモノクロ画
像の混在した画像を扱う場合、モノクロ部分の色差信号
のデータ量はほとんど0に近いため、高い符号化効率が
得られる。 次に、5個のメモリ31,32,33,34,35中に記録された2
値画像データI′p,I′n,Y′,Q′p,Q′より、多値のR
GBデータを算出するための、各部の構成について説明す
る。 まず、2値画像データI′3p,I′3n,Y′3,Q′3p,Q′
3nより、多値データI4p,I4n,Y4,Q4p,Q4nを算出する5個
の、400,401,402,403,404の構成を説明する。 この5個は、同一の構成により実現できるので、ここ
では、中間調変換部400を例に説明を行う。 まず、2値の画像データより多値画像データを復元す
る処理の原理について述べる。人間が擬似中間調画像を
見る場合、擬似中間調画像上のある点の濃度は、その近
傍の黒画素の分布状態により感じられる。したがって、
多値の画像データを擬似中間調処理を施した2値画像デ
ータの場合、2値データの分布状態を用いることによ
り、人間の目には原画像と等価の多値の画像データを得
ることができる。 具体的には、特定の大きさの走査窓で、原画像を走査
して、各画素ごとに近傍の黒画素の分布状態を検出する
ことにより、該画素ごとの濃度を決定する。一例とし
て、5×5画素の走査窓を用いた場合について、第5図
を用いて説明を行う。 図中の個々の矩形は、それぞれ画素を表す。 ここで、走査窓の中間画素(x,y)の多値データI
pは、走査窓中の2値データI′3p(x−2,y−2)〜
I′3p(x+2,y+2)に、それぞれの位置に応じた重
み付けをして和を取ることにより得る。なお、ここで、
2値データI′(x,y)は、画像中の座標(x,y)上の値
を示す。 重み係数は標本化点Aと各画素との距離により決定す
る。第6図に重み係数の一例を示す。 従って、中間調変換部400は、第5図中の25画素分の
画像データを入力し、これと、第6図に示した重み係数
の積和を算出することにより、多値データI′3pを得
る。 したがって、中間調変換部400中の演算は、以下の式
に従う。 G(x,y)=Σα・I′3p(i,y) I4p(x,y)=Σβ・G(x,i) ここで、G(x,y)は座標(x−2,y)〜(x+2,y)
の5画素分のデータに対する、積和結果で、G(x,y−
2)〜G(x,y+2)の積和結果が、25画素分の積和結
果となる。 次に、具体的な構成について説明する。第7図は、中
間調変換部400の内部構成の一例を示すブロック図であ
る。 図中36は、信号線束30中の1本で、2値データI′3p
を入力する信号線である。入力された2値データI′3p
は、一次加算部421および、ラインメモリ411に送られ
る。 いま、信号線36より、画像中の座標(x+3,Y+2)
の2値データI′3p(x+3,Y+2)が入力された場合
を考える。ここに示した4個のラインメモリは、それぞ
れ、走査線1本分ずつの2値データを蓄積する遅延器の
機能を果たす。したがって、2値データI′3p(x+3,
Y+2)が入力された時点では、ラインメモリ411からは
I′3p(x+3,Y+1)が出力され、ラインメモリ412〜
414からは、それぞれ、I′3p(x+3,Y)〜I′3p(x
+3,Y−2)が出力される。 一方、一次加算部421は1次元の積和結果Gを求める
演算器である。 重み係数が、第6図の場合、重み係数αおよびβは、
それぞれ以下の値を用いる。 α=1,2,4,2,1 β=1,2,4,2,1 したがって、この場合の一次加算部421の出力G(x,y
+2)は以下の通りである。 G(x,y+2)=I′3p(x+2,y+2)+I′3p(x−2,Y+2) +2×(I′3p(x+1,Y+2)+I′3p(x−1,Y+2)) +4×(I′3p(x,Y+2)) この処理を実行するための、一次加算部421の一例を
第8図に示す。図中431,432,433,434,435は、それぞれ
ラッチ、451,452,453はそれぞれシフトレジスタ、460は
加算器、461は演算結果G(x,y+2)を出力する信号線
である。 入力値I′3p(x+3,Y+2)は5段直列に接続され
たラッチ431〜435に順次保持される。 この時、信号線441〜445から、各ラッチ保持データ
I′3p(x+2,Y+2)〜I′3p(x−2,Y+2)が出力
される。信号線441,445からの出力は、加算器460におく
られ、信号線442,443,444からの出力はシフトレジスタ4
51,451,453に送られる。ここで、3個のシフトレジスタ
のうち、451,453は1bit、452は2bitシフトを行う。その
結果、加算器460には、 I′3p(x+2,Y+2), I′3p(x−2,Y+2), 2×I′3p(x+1,Y+2), 2×I′3p(x−1,Y+2), 4×I′3p(x,Y+2) が入力され、I4p(x,y)が出力される。 また、この処理は、ROMを用いても実現できる。この
場合、5個のラッチからの出力をアドレスとして入力
し、多値データI4p(x,y)を出力する。 第7図中の他の一次加算部、422,423,424,425も同じ
構成により実現できる。その結果、信号線461,462,463,
464,465からは、それぞれG(x,y+2)、G(x,y+
1)、G(x,y)、G(x,y−1)、G(x,y−2)が出
力される。 このGに対して、前述のβを用いた積和演算を施す。
前述の一次加算部と同様、信号線461,465は加算器490
に、462,464は1bitのシフトを行うシフトレジスタ471,4
73に接続し、463は2bitのシフトを行うシフトレジスタ4
72にデータを入力する。この結果、加算器490には、 G(x,Y+2)、 G(x,Y−2)、 2×G(x,Y+1)、 2×G(x,Y−1)、 4×G(x,Y) が入力され、I4p(x,y)が出力される。 5個の中間変換部400,401,402,403,404では、この処
理を5種類の2値画像データに対して施し5種類の多値
データI4p,I4n,Y4,Q4p,Q4nを出力する。 この多値データのうち、I4pとI4n、およびQ4pとQ4n
それぞれ、本来1枚の正負混在の画像であったものを分
離し、一方の符号を反転したものである。 そこで、I4pとI4nは正負合成部610で、Q4pとQ4nは611
により加算し、I5およびQ5を算出する。 ここで、正負合成部610および611は、以下の式に従っ
て、演算を行う。 I5=I4p−I4n Q5=Q4p−Q4n この2個の正負合成部は、同じ構成により実現でき
る。 上記の構成により、多値データI5,Y4,Q5を算出でき
る。YIQ/RGB変換部700は、このI5,Y4,Q5を入力し、多値
のカラー画像データR2,G2,B2を出力する。 このYIQ/RGB変換部700は、既知のYIQ/RGB変換器を用
いる。なお、中間調変換部での重み係数によっては、こ
のIg,Yg,Qgの取り得る範囲が、RGB/YIQ変換部100の出力
データの範囲と異なることがある。その場合は、YIQ/RG
B変換部700中の係数行列の値に定数を掛けることによ
り、両者を一致させる。 次に、カラー画像の出力の部分について説明する。本
発明の出力系は、基本的には従来の多値のRGBに対応し
たものと同様であるが、特徴としては、光ディスク等に
蓄積された画像の内容を調べる場合等に、高速にモノク
ロ画像を出力する手段を持っている点にある。 多値のカラー画像データR,G,Bは、メモリ21,22,23あ
るいはYIQ/RGB変換部700等より、信号線束20を通じて、
3個の2値化処理部800,801,802に入力する。ここで80
0,801,802はそれぞれデータR,G,Bを2値化する。2値化
処理部801,802,803の内部構成は、例えば前述の2値化
処理部300と同じにすることができる。 2値化結果は、セレクタ90を経て信号線束40を通じ、
例えばカラーCRTのビットマップメモリや、カラーLBP
(Laser Beam Printer)に出力される。このセレクタ90
には、それぞれR,G,Bのデータの他、信号線束30のうち
1本が接続され、輝度データの2値化処理結果Y′
入力される。 このセレクタ90は、例えば外部からの指示などによ
り、カラー画像を出力する場合には、それぞれR,G,Bの
2値化処理結果を出力し、モノクロ画像を出力する場合
には、Y′を出力する。 また、同様に、出力先もセレクタにより選択すれば、
モノクロ出力を指示した場合には、モノクロ画像用の装
置に出力するといった機能も実現できる。さらに、例え
ばシステムに接続されている出力装置に応じて、データ
の読み出し方式を変える。つまり、モノクロ用の出力装
置が接続されている場合は輝度情報のみを読み出すとい
ったこともできる。 また、前述したように、光ディスク等に蓄積された画
像データの内容を調べる場合など、光ディスクからの読
みだしを画像5枚おきに実行すれば、輝度情報のみを読
みだすことができる。モノクロ表示のでた場合には、信
号線束40中の輝度データを、そのままカラーCRT75のRGB
データとして表示することにより、5枚のデータのうち
1枚を読みだすだけで、カラーCRT上にモノクロ画像を
出力することができる。この場合、中間調変換や、YIQ/
RGB変換などが必要ないため、モノクロ2値画像を出力
するのと同様の表示速度が得られる。 なお、高速なモノクロ出力を実現するためには、光デ
ィスク中の画像データの記録フォーマットも、輝度デー
タを効率良く読み出せる形式であある必要がある。第9
図に光ディスク中の記録形式の一例を示す。図中(1)
の矩形911〜915は、それぞれ2値画像1枚分のディレク
トリを記入する部分を示し、(2)の矩形921〜925は、
それぞれ2値画像1枚分の2値画像データを記入する部
分を表す。 本実施例の場合、1枚のカラー画像データは5枚の2
値画像データとして、光ディスク中に記録されている。
この場合、画像データのディレクトリも5枚分光ディス
ク中に記録してある。ここで、画像データ、ディレクト
リともに輝度データの分を先頭に記し、4枚の色差信号
をそれに続けて記す。 第9図(3)には、ディレクトリ911中の構造の一部
を示す。この構成は912〜915も同様である。図中931は
2値画像としての固有番号、932は次の2値画像の位置
を示すポインタ、933は各カラー画像の固有番号、934は
次の輝度データ位置を示すポインタを記入する欄であ
る。したがって、 934の内容は、5枚後の2値画像データの位置を示す。
また、935は当該データが輝度データであるか色差デー
タであるかを示すフラグを記入する欄である。なお、以
後このフラグを輝度フラグと呼ぶ。 データの読み出しにあたって、カラー表示の場合、カ
ラー画像の固有番号が、指示と一致する5枚分のデータ
を順次読み出し、第1図中のメモリ31〜35に順次書き込
む。一方、モノクロ表示が指定された場合、カラー画像
の固有番号が、指示と一致する画像のディレクトリが読
み込まれ、そのうち輝度フラグが“ON"のデータのみを
読みだし、そのままセレクタ90より表示部分へ転送す
る。 以上の構成により、カラー画像データを効率良く蓄積
し、出力時には、カラー出力のほか高速なモノクロ出力
機能を有する画像処理装置で実現できる。 ここまでに、説明してきた装置は、RGBならびにYIQデ
ータを高速に処理することを第1の目的として構成して
いる。しかしながら、この方法は2値化処理部や中間調
変換部が多数必要である。これに対して、データをメモ
リ中に一時保持し、各データの変換を時系列に実行する
ことも可能である。第10図にその方法の一構成例のブロ
ック図を示す。 図中、第1図と同じ番号の装置は、第1図と同じ装置
である。入力された多値のRGBデータは、RGB/YIQ変換部
100により、多値のYIQデータに変換された後、Yはその
まま、IおよびQは正負判定部200,201にて、正負分離
を施された後、信号線束60を経て、メモリ61,62,63,64,
65に蓄積される。このメモリ61〜65は、多値画像データ
を蓄積するメモリである。画像メモリ61〜65に蓄積され
たデータは、1面づつセレクタ620にて選択され、2値
化処理部300に入力され、2値化される。2値化された
画像データは、信号線39を経て、符号復号部530で前述
の場合と同様に符号化され、光ディスクなどの蓄積され
る。 また、蓄積された2値画像データまたは外部から通信
端末570により入力された2値画像データより、多値のR
GBデータを算出する場合は、次の順序で処理を行う。 今、光ディスク560より、Y′、I′3p,I′3n,Q′
3p,Q′3nの順に2値画像を読み取り、逐次符号復号部53
0により復号化する。復号化された2値画像データは、
中間調変換部400により、多値データに変換され、セレ
クタ630により信号線束60を経て、メモリ61〜65に順次
書き込まれる。 メモリ中に5種類の多値データY4,I4p,I4n,Q4p,Q4n
うち4種類が記入された後、最後のデータQ4nが出力さ
れると同時に、メモリ中の4種類のデータも正負合成部
610,611および、YIQ/RGB変換部700に出力される。 一方、多値RGBデータの出力系も、以下の様にするこ
とができる。信号線束20中の3種類の多値データより、
セレクタ95により1種類ずつが選択され、2値化処理部
800に入力される。2値化後、データはセレクタ90を経
て、逐次2値画像メモリ621,622,623に記録される。こ
こで、メモリ621,622,623は、それぞれ、R,G,Bデータを
記録する。 一方、モノクロ出力の場合、セレクタ90は信号線39よ
り転送された、2値画像データY′を出力し、3個所
のメモリ621,622,623に同時にY′を書き込む。 以上の構成によれば、モノクロ出力時の速度は落さず
に、前述の構成より2値化処理部、中間調処理部を削減
することができる。 続いて、本発明の機能をさらに強化する手段について
説明する。 第1に、符号化効率を向上する手段について説明す
る。本実施例では、輝度信号Yと色差信号I,Qが同じ解
像度の場合の構成を説明した。しかしながら、前述の通
り、人間の視角は輝度に比べて色差に対する解像度が低
い。そこで、実施例の一つとしてI,Qに関する処理を主
走査線方向、および副走査線方向ともに、1/2に間引い
て実行してすることも有効である。処理を1/2にする方
法は、得に制約はないため、既知の方式を用いることが
できる。この場合、I,Qに関するメモリ(第1図中の31,
32,33,34,35、第10図中の61,62,63,64,65)の容量は前
述の1/4にすることができる。 続いて第2に、カラー/モノクロ、文字/写真に混在
した文書を対象とする場合に、2値画像の画質を向上す
る手段について説明する。 本発明は、YIQ信号を2値化して蓄積する。2値以下
の方法として、本実施例では (a)固定閾値による2値化、 (b)組織的ディザ法による擬似中間調処理 (c)平均誤差最小法による擬似中間調処理 を外部からの指示により切り替えられる、2値化処理部
(第1図300など)を例に説明を行った。そこで、2値
化方法の切り替えを、画像の内容に応じて切り替え、画
質や符号化効率の向上をはかることもできる。その機能
を実現する手段の一例を第11図を用いて説明する。 図中810は領域判定部、811,812,813,814は比較器、82
0は論理ゲート、829は2値化処理部302への信号線であ
る。 領域判定部810はRGB/YIQ変換部100より、多値の輝度
データY1を入力し、既知の手段により、入力画像の各部
に対して固定閾値による2値化処理すべきか、擬似中間
調処理による2値化処理をすべきかを判定する領域判定
部である。 本発明においては、多値の輝度情報を用いる。そのた
め、これまで、文書などの画像を2値化にする場合に、
写真など中間調領域には擬似中間調処理を施し、文字な
ど線図形には固定閾値による2値化処理を施すため用い
られた各種の手段を用いることができる。 一方、811,812,813,814は、入力される多値の色差デ
ータI2p,I2n,Q2p,Q2nとあらかじめ設定された閾値T1,
T2,T3,T4を比較する比較器である。 入力された画像中のモノクロ部分では、色差信号I2p,
I2n,Q2p,Q2nは0近傍の値をとるが、画素単位で観察す
ると、正確に0となるとは限らない。したがって、この
4種類の多値データがいずれも特定の閾値以下の場合に
は、モノクロ画像とみなすこととする。一例として、比
較器811の動作を以下の式で表す。 S1=1:I2p≧T1 0:I2p<T1 他の3個の比較器も同様に動作する。 論理回路820は、前述の4個の比較器811,812,813,814
と領域判定部810の出力により、最終判定結果を出力す
る。4個の比較器の出力が、いずれも“0"で、領域判定
部810の出力が“線図形”の場合、入力されている画像
は、モノクロの線図形である。したがって、例えばモノ
クロ線図形に対しては、固定閾値による2値化処理、カ
ラーの線図形に対しては、平均誤差最小法による擬似中
間調処理、中間調領域に対しては、組織的ディザ法によ
る擬似中間調処理を施すことなどが実現できる。また、
1枚の画像の各部分に対して判定を下すばかりでなく、
画像1枚ごとに判定を実行し、2値化方式を選択するこ
ともできる。 第3に、モノクロ2値画像を対象とした装置との互換
性について説明する。例えば電子ファイル装置などは、
従来モノクロ2値画像を対象としていた。これらの装置
で、入力蓄積した、画像を本装置で出力する場合につい
て述べる。従来のモノクロ画像を対処とした装置で入力
した画像データは、輝度情報の2値画像である。本発明
は、前述の通り、光ディスク等に蓄積された、輝度情報
の2値画像を直接出力する手段を有する。そこで、以下
の方法により、従来のモノクロ画像用装置で入力した画
像を、出力することができる。 この場合のディレクトリ911の内部構成の一例を第12
図に示す。この図は第9図と同様に輝度信号用の2値画
像データのディレクトリであるが、第9図と同様、色差
信号用の画像データのディレクトリも同一である。ここ
で、2値画像としての固有番号記入欄931、2値画像の
位置を示すポインタ932をはじめ、2値のモノクロ画像
としての各項目を記入する部分940は、従来のモノクロ
用装置でのディレクトリ構成と同一の形式にする。この
結果、本発明で述べた装置で光ディスクに記録した画像
データを、従来のモノクロ用の装置出も検索、出力する
ことができる。 本装置でデータを記入する場合は、上記の各項目の
他、記入欄933に各カラー画像の固有番号、934に次の輝
度データ位置を示すポインタアドレスを記入する。な
お、入力した画像がモノクロ画像であっても、カラー画
像固有番号は新規にあたえ、934には次のデータの位置
記入する。そしてさらに、記入欄936に対応するデータ
が5種類のデータIp,In,Y,Qp,Qnのうち、どのデータで
あるかを示すフラグの内容を記入する。このフラグをデ
ータフラグと呼ぶ。データが輝度信号、もしくはモノク
ロ画像の場合、この欄936にはなにも記入しない。この
結果、従来のモノクロ用装置で記入した画像データも、
モノクロ画像として本発明の装置で出力できる。さら
に、記入欄937には、記入したデータがカラー画像か、
モノクロ画像かを示すフラグを記入する。以後、このフ
ラグをカラーフラグと呼ぶ。 ある画像をカラー出力することが指示されると、装置
はまず、光ディスク中のディレクトリを読みだし、933
に記入されたカラー画像の固有番号より、表示を命じら
れた画像を検索する。検索の結果カラー画像1枚に対し
て、5枚のデータが選び出される。次に、カラーフラグ
をチェックしてカラー画像であることが確認されれば、
記入欄936の内容もしくは記入順に従って、セレクタ510
を駆動し、それぞれに応じたメモリに、この5枚のデー
タを転送する。 一方、出力を指示された画像がモノクロ画像であった
場合は、カラーフラグによりモノクロ画像であることが
わかる。この場合は、前述の高速表示と同じ過程を経て
モノクロ画像として直接出力する。 最後に、本発明の応用例として、文書をデジタル画像
データとして入力し、その輝度信号と色差信号を蓄積す
る装置および方法について、説明する。 第13図は、本発明の一応用例のブロック図である。図
中、第1図および第10図と同一の番号を記した部分は、
当該図と同様の装置を表す。図中セレクタ92は、YIQ/RG
B変換部700より入力されるRGBデータと、信号線束60中
の1本より入力される輝度信号Yの一方を選択する機能
を有する。このセレクタ92は、前述の第1図および第10
図の実施例にも適用でき、同様の効果が得られる。 文書などをRGB3原色のデジタルデータとして入力し、
YIQ信号に変換してメモリ61〜65に蓄積するまでの過程
は、前述の第10図で示した実施例と同様である。ここ
で、セレクタ625は双方向に入出力できる機能を有す
る。データ蓄積時には、信号線束60のうち1本を選択
し、メモリ61〜65から入力される、輝度/色差信号Y2,I
2p,I2n,Q2p,Q2nを順次、符号器540へ転送する。 一方、画像の読みだし時には、光ディスク560など
に、5枚分の多値画像データとして蓄積された信号を順
次読み出し、復号処理を施して、メモリ61〜65へ蓄積す
る。これ以後の動作は、基本的には第10図で述べた例と
同様である。 ここで、セレクタ92は、YIQ/RGB変換器700より出力れ
されるRGB信号か、信号線束60を通過する輝度信号Yの
いずれかを選択し、信号線束20に転送する。ここで、輝
度信号Yを選択した場合、信号線束20中の画像は、RGB
それぞれが輝度信号Yのモノクロ画像となる。 さらに、多値データの符号化方法として、正負混在デ
ータを対象とした方法を用いる場合、正負分離、合成処
理を省略することもできる。第14図に、色差信号を正負
混在のまま符号化する場合の装置の一実施例を示す。 図中、メモリ66,67,68には、それぞれ、輝度/色差信
号Y1,I1,Q1を蓄積する。その他の各部の動作は、第13図
と同様である。 最後に、本発明で提案する画像処理方法の一実施例に
ついて説明する。本方法は、前述の画像処理装置の動作
と同様の処理をカラー画像データに施すことにより、モ
ノクロ混在画像を効率良く扱うことができることを特徴
とする。 第15図は、本発明の提案する画像処理方法によりカラ
ー画像データを蓄積するための、処理の流れの一例であ
る。RGB形式の多値データとして入力されたカラー画像
データは、RGB/YIQ変換により、輝度情報Yと2種類の
色差情報IおよびQに変換される。変換後、正負の値の
混在した多値データであるIおよびQを分離して、4種
類の多値データIp,InおよびQp,Qnを出力する。その後、
5種類の多値データY,Ip,In,Qp,Qnをそれぞれ独立に2
値化する。2値化は擬似中間調処理を用いて実行する。
以上一連の処理により、多値のカラー画像データは、5
枚の2値画像データに変換される。この5枚の2値画像
データを既知の手法により符号化し、光ディスク等に蓄
積する。ここで、入力する画像がモノクロ画像の場合、
5種類の信号のうち、輝度信号のみを蓄積し、カラー画
像の場合は、5種類全てを蓄積し、色差信号を有するこ
とも記録しておく。 次に、蓄積された画像データを出力する方法につい
て、第16図を用いて説明する。 まず、カラー画像を出力する場合について述べる。5
枚の擬似中間調画像として光ディスク等に蓄積された輝
度信号Y′および色差信号Ip′,In′,Qp′,Qn′を読み
出し、それぞれを復号して5枚の擬似中間調画像データ
を得る。次に各2値データに前述の方法で中間調変換を
施し、5枚の多値画像データY,Ip,In,Qp,Qnを復元す
る。さらに復元された4種類の色差信号のうちIpとIn
QpとQnをそれぞれ合成し、正負の値が混在する多値デー
タIおよびQを出力する。最後に多値データY,I,Qを変
換し、多値のRGBデータを出力する。以上の処理によ
り、蓄積されていた5枚の擬似中間調画像より、多値の
カラー画像データを出力することができる。 一方、各画像の内容を短時間に表示するなどの場合蓄
積されていた5枚の擬似中間調画像データより、輝度デ
ータY′のみを読み出し、復号化して出力する。輝度デ
ータY′は対象となるカラーデータのモノクロ画像であ
る。 以上、説明した装置および方法により、カラー画像、
特に文書などモノクロ部分の混在した画像を効率良く蓄
積し、内容検索時にはモノクロ画像を高速表示する機能
を有し、さらに、従来のモノクロ2値画像用の装置との
互換性も保てるカラー画像処理装置が実現できる。
 In describing embodiments of the present invention, first, the operation of the present invention will be described.
The working principle is described below. Image data is input as multi-value data of R, G, B colors.
You. These three types of multi-valued data include, for example,
By performing the matrix conversion of (1), the luminance signal (hereinafter referred to as Y
) And two types of color difference signals (hereinafter referred to as I and Q).
) Can be obtained. This determinant converts RGB signals to luminance / color difference signals.
This is an example of the determinant used in NTSC television signals.
You. (For example, The Japan Society of Color Science: New Color Science Handbook
(K: Published February 25, 1980, see) Next, these three types of signals are binarized. I and Q are
For a monochrome image, the value is almost 0. Therefore,
In order to increase the coding efficiency of data after binarization, multi-valued
In the part where the data I and Q are 0, the value after binarization is 0 or
Should be one continuous. However, of these three types of signals, I and Q are negative.
Can take a value. Therefore, when this color difference signal is 0
In order to obtain a continuous output of 0 or 1,
The processing is performed by the following method. First, I and Q are set to 0 and 0 according to the value of the image data.
Two image data I consisting of only positive valuesp, InAnd Qp, QnAnd to
Separate each. Specifically, the coordinates (x1, y1) Value I (x
1, y1) Is positive, Ip(X1, y1) = I (x1, y1) In(X1, y1) = 0 and Ip, InAnd I (xTwo, yTwo) Is negative, Ip(XTwo, yTwo) = 0 In(XTwo, yTwo) = − I (xTwo, yTwo). Here, IpAnd InAre I
Represents data consisting of only the positive and negative values of the signal. Likewise
After separation of image data Qp, QnIt is written. As a result,
Image data I and Q in which
Or two multi-valued image data consisting only of positive values.
It is. As a result of the positive / negative separation, the three types of data Y, I and Q are Y, Ip,
In, Qp, QnAre the five types of multi-valued data. Next, binarization processing is performed on the converted multi-valued image data.
You. In the present embodiment, hereinafter, Y, I, Q, R, G, and B are all 2
In the case of value data, “′” is added to the variable. I
Therefore, the data after the positive value of the I signal is Ip, Binarized data
Data is I 'pIt is written. As a result, the multi-valued color image data has five types of binary values.
Data Y ', I'p, I ′n, Q ′p, Q ′nIt becomes. image data
When storing the five types of binary data,
accumulate. As a result, one color image is
It can be recorded in the same manner as a black binary image. Also,
A monochrome binary image of the original image is handled using only the luminance information Y '
be able to. On the other hand, if the input image is a monochrome image,
I 'forp, I ′n, Q ′p, Q ′nAre all 0,
The rates are extremely high. Also, as mentioned above, if you lower the resolution of color difference information
If so, the amount of data can be further reduced. For example, main scanning
If the resolution is halved in both directions, the data amount of each color difference signal is 1
/ 4, so color data is twice as large as a monochrome image.
Can handle images. Next, use the stored information to reproduce color images.
I explain the law. First, the coded data for five sheets is decoded and
Binary data Y ', I'p, I ′n, Q ′p, Q ′nGet. Next
And Y ', I'p, I ′n, Q ′p, Q ′nFrom the multivalued data Y, I '
p, I ′n, Q ′p, Q ′nGenerate And IpAnd In, QpAnd QnIs added to each
Thus, I and Q can be calculated. As a result, the luminance signal Y and
Two types of color difference signals I and Q are obtained. From this multi-valued data YIQ, the inverse transformation of the above determinant (1)
By performing the conversion, multi-value data RGB is obtained. Inversion
In other words, for example, for the equation (1), the following equation (2) is used.
Can be realized. Here, the binary image data stored as the pseudo halftone image is stored.
The principle of processing to obtain multi-value data from data is as follows
It is. Usually, when a human looks at a pseudo halftone image,
The density of a point on the image is the distribution of black pixels in the vicinity
Felt by Therefore, simulating multi-valued image data
In the case of binary image data subjected to similar halftone processing,
By using the distribution state of the
And multivalued image data equivalent to the above can be obtained. Specifically, the original image is scanned in a scanning window of a specific size.
To detect the distribution state of nearby black pixels for each pixel
Thus, the density of each pixel can be determined. Same as this
According to the same principle, the color difference signal is also binarized by pseudo halftone processing.
Can be accumulated. Based on the above principle, color input with multi-valued RGB primary colors
Image data can be stored as binary luminance / color difference signals
it can. In the case of displaying / outputting a color image, this multi-valued R, G, B
Display data on a full color display or
Each data is binarized and color LBP (Laser Beam Pr
inter) or color display. In the present embodiment, hereinafter, the data is composed of multi-valued RGB data.
"Full color CRT", binary display
The display that displays the image with RGB data
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.
explain. FIG. 1 shows an example of the basic configuration of the present invention. First of all
1 shows the flow of body data. The image data is sent from the image input unit 10
Input as multi-valued data. The signal wire bundle 20 in the figure is R,
G and B 8bit multi-valued color image data passes 24
It consists of two signal lines. Hereafter, in this embodiment, the input
R, G, B data1, G1, B1It is written. R1, G1, B1Is the luminance signal of the image by the RGB / YIQ converter 100
Y1And two types of color difference signals I1And Q1Is converted to Then I1And Q1To four values of the multi-valued data I
2p, I2n, Q2p, Q2n, And five binarization processes
Binarization is performed by the units 300, 301, 302, 303, and 304, respectively. The signal line bundle 30 in FIG.1, I2p,
I2n, Q2p, Q2nIs 1-bit data, Y ′
3, I '3p, I ′3n, Q ′3p, Q ′3nFrom the five signal lines
Become. Also, 40 can pass three types of 1-bit data,
Details will be described later. When storing these five types of binary data, the code decoding unit
530 encodes one by one and stores them on the optical disc 560, for example.
Stack. Here, the data on the signal line 30 is marked on the signal line 50.
The encoded data passes. Therefore, this embodiment handles three types of data. So
Here, a circuit for performing data conversion processing is provided between each signal line.
Connect a memory that exists and stores data as necessary.
You. Next, a conversion process performed between signal lines will be described.
You. In the figure, each part described above the signal line 20 is a multi-valued image.
Three types of image data, R, G, and B, are handled. 10 in the figure is a known means
To read a document or the like optically and read 8-bit multi-valued data.
Digital data R1, G1, B1The image input section that outputs
R sent from the image input unit 101, G1, B1Image data
Selector for transferring to the signal bundle1, G1, B1So
It is a memory for storing each multi-value data. Now, from the image input unit 10, R1, G1, B1Are in order of one scanning line at a time
Next, it is assumed that the data is sent to the selector 15. At this time, selector 15
Select signal lines in signal line bundle 20 according to each data.
And sends the data to the memories 21, 22, and 23. Here, R is stored in the memories 21, 22, and 23.1, G1, B1Accumulate
Is done. In the present embodiment, R1, G1, B1Are respectively scanned
Since the data is sequentially input one line at a time, the number of memories 21 and 22 is small.
At least a capacity that can store data for one or more scanning lines is required.
It is important. Therefore, the image input unit 10 scans the document three times, and
For devices that output R, G, B data one screen at a time
In this case, the memories 21 and 22 store at least one screen of data.
Needs capacity to stack. In addition, R, G, B
If data is output repeatedly, memories 21, 22, and 23 are not required
Can be. Further, R, G, B are simultaneously output from the image input unit 10.
Input using 24 signal lines, the selector 15
Becomes unnecessary. Next, R, G, B on the signal line 20 and binary data on the signal line 30
Ta, Y 'Three, I ′3p, I ′3n, Q ′3pQ ''3nPart related to conversion between
The minutes will be described. Again, the data flow and each
The function of each part is explained, and the internal configuration of each part is described later.
Will be described in detail. The input multi-valued R, G, B data is RGB / Y
Three types of multi-valued data Y input to the IQ conversion unit 1001, I1, Q1
Is converted to Therefore, as in this embodiment, image input is performed.
RGB data is input for each scanning line from the power section
In this case, the R and G data are stored in the memories 21 and 22.
When B data is input, the memory for each pixel
And RGB / YIQ with RGB data aligned for each pixel
Input to the conversion unit 100. How to realize RGB / YIQ conversion for digital data
Is already widely known. In the present invention, those known
Is used. Y of output multi-valued data1, I1, Q1The data is
Binarization is performed by pseudo halftone processing. However, the color
The difference signals I and Q can have negative values. Pseudo halftone processing
Does not target signals with mixed positive and negative values. There
To make the I and Q signals positive. As described above, the value of the color difference signal is
In the case of b, it becomes 0. Then, "0" continues after binarization
In the part, high coding efficiency can be obtained. Therefore, input
If the value is a series of 0s, the data after binarization will also be 0s.
As described above, the positive conversion of the color difference signal is output when the input value is 0.
The conversion must be such that the force value becomes zero. Therefore, in this embodiment, I1And Q1And
An image consisting only of 0 and positive values, and an image consisting only of 0 and negative values
And separates them into two images. Separation is positive and negative half bottom 20
Performed by 0 and 201. Where I2nAnd Q2nRecords the absolute value of the entered value
By doing so, a positive value can be obtained. Positive multi-level data I2p, I2n, YTwo, Q2p, Q2nAre each binarized
Binarized by the processing units 300, 301, 302, 303, 304, and
Image data I '3p, I ′3n, Y ′Three, Q ′3p, Q ′3nAnd the signal
After passing through the beam bundle 30, they are stored in the memories 31, 32, 33, 34, and 35, respectively.
It is. With this series of configurations, multi-valued RGB data is
It can be treated as value image data. Images can be stored on an optical disc, for example,
When transferring using any line, these five binary images
Use the encoded data. Specifically, on the signal wire bundle 30
The five types of binary image data existing in
, One by one, and input to the codec 530. Code recovery
The signal unit 530 uses a known method such as MH, MR, or MMR.
The input binary image data is encoded one by one,
Output to Route 50. As a result, it is recorded on the optical disc
The code data has the same format as monochrome binary image data.
Become. With the above method, RGB three-valued image data
Color image data into 5 monochrome binary image data
Can be encoded and handled in the same format as. On the other hand, for example, code data stored on an optical disc
To output a color image, read
Take steps. On the optical disk, the data
The codes of the five pieces of binary image data are recorded. So
Here, these data are read out one by one, and
Decoded at 530 and the five types of binary image data I '3p, I ′3n,
Y 'Three, Q ′3p, Q ′3nAnd store them in memory 31, 32, 33, 34, 35 in order.
accumulate. From this binary YIQ signal, a multi-valued RGB signal is generated.
To achieve. First, the five types of data stored on the memories 31, 32, 33, 34, 35
Binary data I '3p, I ′3n, Y ′Three, Q ′3p, Q ′3nEach
Five halftone converters 400, 401, 402, 40 via the signal bundle 30
Transfer to 3,404, 5 types of multi-valued data I4p, I4n, YFour, Q4p, Q
4nConvert to This conversion means will be described later in detail. Next, the positive values of the five surfaces after conversion by adders 610 and 620 are
From multi-valued data, multi-valued data I on three sides mixed positive and negativeFive, YFive,
QFiveIs calculated. The YIQ / RGB converter 700 uses multi-valued data by known means.
IFive, YFive, QFiveIs converted to multi-valued image data RTwo, GTwo, BTwoOutput
You. With the above-described method, a multi-valued
Image data RGB can be obtained. So next, this image data
The means for displaying and outputting data will be described. First, when displaying on the full-color display device 70, the signal
Display three types of multi-value data RGB on the ray bundle 20 as they are
You. On the other hand, the output device supports a binary color image
In this case, each of the RGB is processed by the binarization processing units 800, 801 and 802.
Binarization is performed by pseudo halftone processing. Three types of binarized
Image data of color printer 80, color CRT75, etc.
Is transferred to and output. On the other hand, when searching for a large number of images,
It is required to display it quickly. In the present invention,
Image data Y 'obtained by binarizing the luminance information Y3The light di
Has accumulated in the disc. This image data Y '3Is the original picture
The image is an image represented by a monochrome pseudo-halftone image. Therefore, when displaying images on the optical disk 560 at high speed,
Of the five types of code data, first the luminance information YbOnly
After reading and decoding by the code decoder 530, the signal line 30
Input to the selector 90. The selector 90 is
The following two types of operations (a) and (b)
Select one of them and execute. (A) Multi-value data R input from the binarization processing unit 800
Is binarized by pseudo half-tone processing to the signal line 40.
To the R signal line. (B) Image data input from the signal line for Y in the signal line 30
Data for R, G and B on the signal line 40, respectively.
You. Here, the selector 90 has performed the above operation (b).
In this case, the signals for 5 planes necessary to construct a color image
At the point when one surface is input, on the color CRT75,
A monochrome image can be displayed. In a system for monochrome images,
Since the processing of (b) is performed unconditionally, the luminance data Y '
3Can be displayed / output as a monochrome image. Next, an example of the internal configuration of each part described so far
Will be described in detail. First, the RGB / YIQ conversion unit 100 will be described.
I will tell. The function of this part is R1, G1, B1It
Input 8bit data each, perform matrix conversion, and
3 types of multi-valued data Y1, I1, Q1Is output.
RGB / YIQ conversion for digital data has already been
And these are also applied to this embodiment. Next, I with mixed positive and negative values1, Q1Positive to make data positive
The internal configuration of the negative separation units 200 and 201 will be described. What
Note that these two determination units are exactly the same. FIG. 2 is a diagram showing the internal configuration of the positive / negative separation unit 200.
You. In the figure, reference numeral 211 denotes a color difference signal I from the RGB / YIQ conversion unit 100.1Enter
Input signal value 212, which is a reference value for judgment
Signal line, 220 outputs absolute value when input value is negative
230 is a comparator that determines the sign of the input value, 240 and
And 250 select one of two input values according to the output of the comparator.
This is a selector for selecting and outputting. The signal line 241 is
Multi-level data I2pSignal line 251
Multi-value data I2nOutput
I do. First, when the input value I is positive, the comparator 230 outputs “1” and I
Is negative, signal “0” is output to signal J1Output as Comparator
Depending on the output, the output I of the two selectorsp, InIs
To decide.  As a result, the multi-valued data I2pAnd I2nAre both 0 and
Takes a positive value. The other positive / negative separating section 201 in FIG.
Configuration. Therefore, the output value of the positive / negative separation unit 201, Q2p
And Q2nAlso consists of 0 or only positive values. Next, the five binarization processing units 300 to 304 shown in FIG.
Is described below. In this embodiment, these five
Have the same configuration. Next, the operation of the binarization processing unit 300 will be described in detail.
You. Various conventional binarization processing methods can be applied to binarization.
Wear. Therefore, multiple processing methods are built in and external instructions are given.
Output device by selecting an appropriate method
Output images that match the characteristics of the
You can help. FIG. 3 is a diagram showing a 2 used in the present system.
FIG. 3 is a diagram showing a configuration example of a value processing section 300. In this example,
Pseudo halftone processing by the systematic dither method as a binarization method
Processing, pseudo-halftone processing by the average error minimum method, fixed threshold
Of the configuration when one of the binarization processes is selected
Is showing. In the figure, the multi-level data Y1, 331
And 341 indicate a signal indicating a pseudo halftone processing method, 3
The main scanning direction of the image output from 42 and 343
The lower bits of the address in the sub-scanning direction are
You. Multi-valued image data Y1(X, y) is obtained from the RGB / YIQ conversion unit 100.
The signal is input to the adder 330 through the signal line 241. Adder 330
Is Y1(X, y) and error data input from selector 335
E (x, y) is added and multi-valued data F (x, y) is output.
Here, the error data E (x, y) is usually 0, and is binarized.
Signal line 39 only when using the minimum error method
Use the value input from 9. Therefore, selector 335
Indicates the minimum error method as the processing method from signal line 331
Otherwise, 0 is output. Multi-value data F (x, y)
Is input to the comparator 340 through the signal line 339, and the threshold T and
Be compared. According to the result of this comparison, the binary image data
Y '3(X, y) is determined. Here, the threshold value T is also binarized.
Is selected by the selector 345 in accordance with the above method. Choice is external
According to the instruction input through the signal line 341 from the
Is performed. In the case of the systematic dither method, the output pixel
The threshold value fluctuates periodically depending on the position. In this case, even if
For example, from the signal lines 342 and 343,
The lower bits of the address in the scanning direction and sub-scanning direction are stored in ROM (Rea
d Only Memory) 347 and use its output as the threshold
I have. A matrix of threshold values is entered in the ROM 347. Ma
In the case of a fixed threshold value, the fixed value output from the register 344 is used.
The fixed value is selected. In the case of the minimum mean error method, the error
It is necessary to calculate the data E (x, y). This error data
E (x, y) is the number of binaries near (x, y)
The error ε generated when the value data F is binarized is
Weight coefficient δ (m,n) Is the sum of the values. Heavy
Coefficient δ (m,n4) is shown in FIG. * In the figure
The pixel to be binarized at that time, the coordinates (x,
It corresponds to the pixel of y). Next, the operation of each unit will be described. When the weighting factor is
In this case, E (x, y) is obtained by the following equation. E (x, y) = 1/8 [ε (x−1, y−1) + ε (x + 1, y−1) + ε (x−2, y) + ε (x, y−2) + 2εε (x , y−1) + ε (x−1, y)}] On the other hand, the error ε of each pixel is the difference between the multivalued data F and 0, or
Either F or the difference between F and the maximum possible value Fmax
It is. This value is obtained as follows. At some point
And the comparator 340 has coordinates (xTwo−1, yTwo) Multivalued data F (xTwo
−1, yTwo) Is binarized, F (xTwo−1, yTwo) Is the comparator 34
Besides 0, it is input to the differentiator 355 and the selector 350. Difference
Unit 355 is the maximum of the possible values of the converted image data F (x, y).
The values Fmax and F (xTwo−1, yTwo) And outputs it to selector 350
send. For example, STwoWhen (x, y) takes a value from 0 to 255, Fmax = 255, and the differentiator 355 calculates 255−STwo(XTwo−1, yTwo) Is output. Also here, F (xTwo−1, yTwo)> Fmax, the differentiator 355 outputs 0. Selector 350
Is F (xTwo−1, yTwo) Or Fmax-F
(XTwo−1, yTwo) With the error ε (xTwo−1, y1Out as)
Power. The output ε (xTwo−1, yTwo) Line through signal line 359
Sent to the buffer 370 or the like. From the error ε, E (x, y)
Is determined by the latches 361, 375, 378 and the shift register.
This is executed by the stars 360 and 377. Next, find Q (x, y)
The operation of each part will be described using the case as an example. Binary data Q
When (x−1, y) is determined by the binarization processing unit, the latch 3
From 61,375,378 and line buffers 370,380, respectively
Errors ε (x−1, y), ε (x−2, y), ε (x, y−1),
ε (x−1, y−1), ε (x + 1, y−1), ε (x, y−
2) is output. Here, the output data ε (x−1,
y) is selector 350 and latch 378, ε (x, y-1) is shift
Input to the registers 360 and 377, 2 * ε (x−1, y), and
And 2 * ε (x, y−1) are output. Adder 390 is input
8 * E (x, y) by adding the 6 types of multi-valued data
Calculate and send to shift register 395. Shift register 395
Shifts the input multi-valued data to obtain E
(X, y). The obtained E (x, y) is connected by a signal line 399.
It is input to the selector 335. Here, selector 335 is external
From the data E flag sent from the signal line 331 from
E (x, y) or 0 is output to the adder 330. selector
If the output of 335 is E (x, y), the final output Q is pseudo halftone
It becomes an image. On the other hand, if the output of the selector 335 is 0,
The final output Q is a simple binarized image having a fixed threshold. If x = 1 or y = 1, E (x, y) is obtained.
It is possible that a part of ε required to obtain the data does not exist. this
For example, if the line buffer 350 and
E (x, y) is determined using the value recorded in the differentiator 355.
Set. As described above, this system uses images and system structures.
The binarization method can be selected according to the result. For example, a single color
For halftone images, the systematic dithering method results in poor image quality.
Become This is the period of the halftone dots of the original image and the binarization process.
Moire occurs due to interference of the dither matrix period
That's because. This problem occurs when the original image is a halftone image.
Apply binarization processing using a method that does not have periodicity, such as a small method.
And can be solved. Therefore, the binary of the image input device connected to the system
Does not have periodicity such as the average error minimization method
By including one type of pseudo halftone processing method,
The choice of the processing method can be broadened. With the above configuration, the multi-valued color image data R1, G1, B1Yo
And five types of binary image data I '3p, I ′3p, Y ′Three, Q ′3p,
Q ′3nIs calculated and output to the signal bundle 30. Output image
The images are stored in memories 31, 32,
It is stored in 33,34,35. When storing this image data on an optical disk or the like,
Treat as storing 5 monochrome binary images
Can be. The selector 510 sequentially selects one of the signal line bundles 30.
Select and encode and decode 5 types of binary image data one by one
Transfer to 530. The code decoding unit 530 is, for example, MH coding or MM
Code of binary image data by known means such as R coding
The optical disk 560 through the signal line 50.
Write data. A communication terminal 570 is connected to the signal line 50.
By doing so, the code data can be transferred to the outside.
Wear. This communication terminal can handle code data of a binary image
Can be used, so you can also connect a fax, for example.
You. In general devices using MH codes and MMR codes, scanning lines
If 0 continues above, minimize the amount of data after encoding.
Can be. Therefore, the monochrome image in the input image
In the part, since the color difference signal becomes 0, the data amount after encoding
Can be minimized. Therefore, color images and monochrome images
When handling images with mixed images, color difference signals for monochrome parts
Is almost zero, so that high coding efficiency
can get. Next, the two memories recorded in the five memories 31, 32, 33, 34, 35
Value image data I 'p, I ′n, Y ′, Q ′p, Q ′nMore multivalued R
The configuration of each part for calculating GB data is explained.
You. First, the binary image data I '3p, I ′3n, Y ′Three, Q ′3p, Q ′
3nMore multi-value data I4p, I4n, YFour, Q4p, Q4n5 to calculate
, 400, 401, 402, 403, and 404 will be described. These five can be realized by the same configuration.
Now, the halftone conversion unit 400 will be described as an example. First, multi-value image data is restored from binary image data.
The principle of the processing will be described. Humans produce pseudo halftone images
When viewing, the density of a point on the pseudo-halftone image
This is felt by the distribution of black pixels in the vicinity. Therefore,
Binary image data obtained by performing pseudo halftone processing on multi-valued image data
Data, the distribution of binary data is used.
The human eye obtains multi-valued image data equivalent to the original image.
Can be Specifically, the original image is scanned in a scanning window of a specific size.
To detect the distribution state of nearby black pixels for each pixel
Thus, the density of each pixel is determined. As an example
FIG. 5 shows a case where a scanning window of 5 × 5 pixels is used.
This will be described with reference to FIG. Each rectangle in the figure represents a pixel. Here, the multi-valued data I of the intermediate pixel (x, y) in the scanning window
pIs the binary data I 'in the scanning window.3p(X-2, y-2) ~
I '3p(X + 2, y + 2), weight corresponding to each position
Obtained by finding and summing. Here,
The binary data I '(x, y) is a value on the coordinates (x, y) in the image.
Is shown. The weight coefficient is determined by the distance between the sampling point A and each pixel.
You. FIG. 6 shows an example of the weight coefficient. Therefore, the halftone conversion unit 400 has a function of 25 pixels in FIG.
Image data is input, and the weight coefficient shown in FIG.
Of the multivalued data I ′3pGet
You. Therefore, the calculation in the halftone conversion unit 400 is represented by the following equation
Obey. G (x, y) = Σα · I ′3p(I, y) I4p(X, y) = Σβ · G (x, i) where G (x, y) is coordinates (x−2, y) to (x + 2, y)
G (x, y−
2) The product-sum result of G (x, y + 2) is the product sum of 25 pixels
Results. Next, a specific configuration will be described. Figure 7 shows the middle
FIG. 4 is a block diagram illustrating an example of an internal configuration of a halftone conversion unit 400.
You. In the figure, reference numeral 36 denotes one of the signal line bundles 30, which is binary data I '.3p
Are input signal lines. Input binary data I '3p
Is sent to the primary adder 421 and the line memory 411.
You. Now, from the signal line 36, the coordinates in the image (x + 3, Y + 2)
Binary data I '3pWhen (x + 3, Y + 2) is input
think of. The four line memories shown here are
And a delay unit for storing binary data for each scanning line.
Perform the function. Therefore, the binary data I '3p(X + 3,
When (Y + 2) is input, the line memory 411
I '3p(X + 3, Y + 1) is output and the line memory 412 ~
From 414, I '3p(X + 3, Y)-I '3p(X
+3, Y-2) is output. On the other hand, the primary adding unit 421 obtains a one-dimensional product-sum result G.
It is an arithmetic unit. When the weighting factors are as shown in FIG. 6, the weighting factors α and β are
The following values are used respectively. α = 1,2,4,2,1 β = 1,2,4,2,1 Therefore, in this case, the output G (x, y
+2) is as follows. G (x, y + 2) = I '3p(X + 2, y + 2) + I '3p(X−2, Y + 2) + 2 × (I ′3p(X + 1, Y + 2) + I '3p(X-1, Y + 2)) + 4 × (I ′3p(X, Y + 2)) An example of the primary adding unit 421 for executing this processing is as follows.
As shown in FIG. 431,432,433,434,435 in the figure are
Latch, 451, 452, 453 are shift registers, 460 is
The adder 461 is a signal line for outputting the operation result G (x, y + 2).
It is. Input value I '3p(X + 3, Y + 2) are connected in 5 stages in series
Latches 431-435. At this time, each latch holding data is sent from the signal lines 441 to 445.
I '3p(X + 2, Y + 2)-I '3p(X-2, Y + 2) is output
Is done. Outputs from the signal lines 441 and 445 are sent to an adder 460.
Output from the signal lines 442, 443, 444
Sent to 51,451,453. Here, three shift registers
Of these, 451 and 453 shift by 1 bit, and 452 shift by 2 bits. That
As a result, I ′ is added to the adder 460.3p(X + 2, Y + 2), I '3p(X−2, Y + 2), 2 × I ′3p(X + 1, Y + 2), 2 × I ′3p(X−1, Y + 2), 4 × I ′3p(X, Y + 2) is input and I4p(X, y) is output. This processing can also be realized using a ROM. this
In this case, output from 5 latches is input as address
And multi-valued data I4pOutput (x, y). The other primary adders in FIG. 7, 422, 423, 424, 425, are the same.
It can be realized by the configuration. As a result, signal lines 461, 462, 463,
From 464,465, G (x, y + 2) and G (x, y +
1), G (x, y), G (x, y-1), G (x, y-2)
Is forced. This G is subjected to the product-sum operation using β described above.
As in the above-described primary adder, the signal lines 461 and 465 are connected to an adder 490.
In addition, 462 and 464 are shift registers 471 and 4 that perform 1-bit shift.
Connected to 73, 463 is shift register 4 that performs 2-bit shift
Enter the data in 72. As a result, the adder 490 has G (x, Y + 2), G (x, Y-2), 2 × G (x, Y + 1), 2 × G (x, Y−1), 4 × G (x , Y) is entered and I4p(X, y) is output. The five intermediate converters 400, 401, 402, 403, and 404 perform this processing.
Is applied to five types of binary image data and five types of multi-valued
Data I4p, I4n, YFour, Q4p, Q4nIs output. Of this multi-valued data, I4pAnd I4n, And Q4pAnd Q4nIs
For each, what was originally one mixed image of positive and negative
Release and one of the signs is inverted. So I4pAnd I4nIs the positive / negative combining unit 610, and Q4pAnd Q4nIs 611
And IFiveAnd QFiveIs calculated. Here, the positive / negative combining units 610 and 611 are based on the following equations.
And perform an operation. IFive= I4p−I4n QFive= Q4p−Q4n The two positive / negative combining units can be realized by the same configuration.
You. With the above configuration, the multi-value data IFive, YFour, QFiveCan be calculated
You. The YIQ / RGB converter 700Five, YFour, QFiveEnter multi-value
Color image data RTwo, GTwo, BTwoIs output. This YIQ / RGB converter 700 uses a known YIQ / RGB converter.
I have. Depending on the weighting factor in the halftone conversion unit,
Ig, Yg, QgIs the output of the RGB / YIQ converter 100
May differ from data range. In that case, YIQ / RG
By multiplying the value of the coefficient matrix in the B conversion unit 700 by a constant
And match them. Next, a portion for outputting a color image will be described. Book
The output system of the invention basically supports the conventional multi-valued RGB.
Is the same as the one described above, except that
When checking the contents of stored images, etc.
B) It has a means for outputting an image. Multi-valued color image data R, G, B are stored in memories 21, 22, 23
Or from the YIQ / RGB converter 700 etc. through the signal bundle 20
It is input to three binarization processing units 800, 801 and 802. Here 80
0, 801 and 802 binarize the data R, G and B, respectively. Binarization
The internal configuration of the processing units 801, 802, 803 is, for example, the binarization described above.
It can be the same as the processing unit 300. The binarized result is passed through the signal wire bundle 40 via the selector 90,
For example, color CRT bitmap memory, color LBP
(Laser Beam Printer). This selector 90
In addition to the R, G, and B data,
One is connected, and the result Y 'of the luminance data is binarized.3But
Is entered. The selector 90 is controlled by, for example, an external instruction.
When outputting a color image,
When outputting the binarization processing result and outputting a monochrome image
Has Y '3Is output. Similarly, if the output destination is also selected by the selector,
If monochrome output is specified, the device for monochrome
The function of outputting to a device can also be realized. Furthermore,
Data, depending on the output device connected to the system.
Change the read method. In other words, the output device for monochrome
Read only the luminance information when the device is connected
You can do it. Also, as described above, images stored on an optical disc
Reading from optical discs, such as when examining the contents of image data
If you perform the extraction every five images, only the luminance information is read.
Can be found. If the display is monochrome,
The luminance data in the line bundle 40 is directly converted to RGB color CRT75.
By displaying as data, of the five data
Just read one sheet and convert a monochrome image on a color CRT.
Can be output. In this case, halftone conversion, YIQ /
Outputs a monochrome binary image because no RGB conversion is required
The same display speed can be obtained. To realize high-speed monochrome output, optical
The recording format of the image data in the disc is
Data must be in a format that can be read efficiently. Ninth
The figure shows an example of the recording format in the optical disk. In the figure (1)
Rectangles 911 to 915 are directories for one binary image, respectively.
The part where birds are entered is shown, and rectangles 921 to 925 in (2)
A section for writing binary image data for one binary image.
Represents minutes. In the case of the present embodiment, one piece of color image data is
It is recorded in the optical disc as value image data.
In this case, the directory of the image data is
Recorded during Where the image data,
For each of the four color difference signals,
Is written next to it. FIG. 9 (3) shows a part of the structure in the directory 911.
Is shown. This configuration is the same for 912 to 915. 931 in the figure
The unique number as a binary image, 932 is the position of the next binary image
, 933 is the unique number of each color image, and 934 is
This is a column for entering a pointer to the next luminance data position.
You. Therefore, the content of 934 indicates the position of the binary image data after 5 sheets.
935 indicates whether the data is luminance data or color difference data.
This is a column for entering a flag indicating whether the data is a data. Note that
Hereinafter, this flag is called a luminance flag. When reading data, in the case of color display,
Data of 5 images where the unique number of the color image matches the instruction
Are sequentially read and sequentially written to the memories 31 to 35 in FIG.
No. On the other hand, if monochrome display is specified, color images
The directory of the image whose unique number matches the instruction is read.
Only the data whose luminance flag is “ON”
Read it and transfer it directly to the display from selector 90
You. With the above configuration, color image data can be stored efficiently
At the time of output, in addition to color output, high-speed monochrome output
It can be realized by an image processing device having a function. The devices described so far have been RGB and YIQ
Data processing at high speed as the first purpose
I have. However, this method uses a binarization processing unit or a halftone
Many conversion units are required. On the other hand, note the data
And temporarily convert each data in chronological order
It is also possible. Fig. 10 shows a block diagram of one configuration example of the method.
The block diagram is shown. In the figure, devices having the same numbers as those in FIG. 1 are the same as those in FIG.
It is. The input multi-valued RGB data is converted to RGB / YIQ
After being converted to multi-valued YIQ data by 100, Y
I and Q are separated into positive and negative by the positive / negative judgment units 200 and 201
After being subjected to the signal line bundle 60, the memories 61, 62, 63, 64,
Stored in 65. The memories 61 to 65 store multi-valued image data.
Is stored in the memory. Stored in image memories 61-65
Data is selected by selector 620 one by one,
It is input to the conversion processing unit 300 and binarized. Binarized
The image data is transmitted to the code decoder 530 via the signal line 39 as described above.
Encoded as in the case of
You. In addition, stored binary image data or external communication
From the binary image data input by the terminal 570, multi-valued R
When calculating GB data, the processing is performed in the following order. Now, from the optical disc 560, Y ′3, I '3p, I ′3n, Q ′
3p, Q ′3nAre read in the order of
Decrypt with 0. The decoded binary image data is
The halftone conversion unit 400 converts the data into multi-valued data,
Through the signal wire bundle 60 by the connector 630 and sequentially to the memories 61 to 65
Written. 5 types of multi-value data Y in memoryFour, I4p, I4n, Q4p, Q4nof
After 4 of them are entered, the last data Q4nIs output
At the same time, the four types of data in the memory
610, 611 and output to YIQ / RGB conversion section 700. On the other hand, the output system for multi-valued RGB data
Can be. From the three types of multi-value data in the signal wire bundle 20,
Each type is selected by the selector 95, and the binarization processing unit
Entered into 800. After binarization, the data passes through selector 90
Then, they are sequentially recorded in the binary image memories 621, 622, 623. This
Here, the memories 621, 622, and 623 store R, G, and B data, respectively.
Record. On the other hand, in the case of monochrome output, the selector 90 is connected to the signal line 39.
Transferred binary image data Y '3And output three places
Y 'in memory 621,622,6233Write. According to the above configuration, the speed during monochrome output is not reduced
In addition, the binarization processing unit and halftone processing unit are reduced from the above-mentioned configuration.
can do. Next, means for further enhancing the functions of the present invention
explain. First, means for improving the coding efficiency will be described.
You. In this embodiment, the luminance signal Y and the color difference signals I and Q have the same solution.
The configuration in the case of the luminosity has been described. However, the aforementioned
The human visual angle has a lower resolution for color difference than luminance.
No. Therefore, processing relating to I and Q is mainly performed as one of the embodiments.
Thinned out to 1/2 in both the scanning line direction and sub-scanning line direction
It is also effective to execute it. Those who halve the processing
There are no restrictions on the method.
it can. In this case, the memories relating to I and Q (31, 31 in FIG. 1)
32, 33, 34, 35, 61, 62, 63, 64, 65 in Fig. 10)
It can be reduced to 1/4 of the above. Second, color / monochrome, text / photo
The quality of binary images when targeting scanned documents
Means will be described. According to the present invention, the YIQ signal is binarized and stored. 2 values or less
In this embodiment, (a) binarization using a fixed threshold, (b) pseudo halftone processing using the systematic dither method, and (c) pseudo halftone processing using the minimum average error method can be switched by an external instruction. , Binarization processing unit
(FIG. 1, 300 etc.) has been described as an example. So binary
Switch the method of conversion according to the content of the image,
Quality and coding efficiency can also be improved. Its function
An example of means for achieving the above will be described with reference to FIG. In the figure, 810 is an area determination unit, 811, 812, 813, 814 are comparators, 82
0 is a logic gate, and 829 is a signal line to the binarization processing unit 302.
You. The area determination unit 810 outputs the multi-valued brightness from the RGB / YIQ conversion unit 100.
Data Y1And input each part of the input image using known means.
Should be binarized with a fixed threshold for
Area determination to determine whether binarization processing by tone processing should be performed
Department. In the present invention, multi-value luminance information is used. That
So far, when binarizing images such as documents,
Pseudo halftone processing is applied to halftone areas such as photographs,
Used to perform binarization processing with fixed threshold for throat figure
The various means provided can be used. On the other hand, 811,812,813,814 are input multi-valued color difference data.
Data I2p, I2n, Q2p, Q2nAnd the preset threshold T1,
TTwo, TThree, TFourAre compared. In the monochrome part of the input image, the color difference signal I2p,
I2n, Q2p, Q2nTakes a value near 0, but observes in pixel units.
Then, it does not always become exactly 0. So this
When all four types of multi-valued data are below a specific threshold
Is regarded as a monochrome image. As an example, the ratio
The operation of the comparator 811 is represented by the following equation. S1= 1: I2p≧ T1 0: I2p<T1 The other three comparators operate similarly. The logic circuit 820 includes the four comparators 811, 812, 813, and 814 described above.
And the output of the area determination unit 810, the final determination result is output.
You. When all four comparator outputs are “0”, area judgment
When the output of the unit 810 is a “line figure”, the input image
Is a monochrome line figure. So, for example, things
For black line figures, binarization using a fixed threshold
Simulated by the mean error method
For halftone processing and halftone areas, use the systematic dither method.
For example, it is possible to perform pseudo halftone processing. Also,
In addition to making decisions for each part of a single image,
Perform the judgment for each image and select the binarization method.
Can also be. Third, compatibility with devices for monochrome binary images
The nature will be described. For example, electronic file devices
Conventionally, a monochrome binary image has been targeted. These devices
In this case, when the stored image is
State. Input with a device that handles conventional monochrome images
The obtained image data is a binary image of luminance information. The present invention
Is the luminance information stored on the optical disk etc. as described above.
Means for directly outputting the binary image of So,
Image input by a conventional monochrome image device
An image can be output. An example of the internal configuration of the directory 911 in this case is
Shown in the figure. This figure is the same as FIG.
This is a directory of image data.
The directory of the signal image data is the same. here
In the unique number entry column 931 as a binary image,
Binary monochrome image including pointer 932 indicating position
Enter each item as part 940 is the conventional monochrome
Use the same format as the directory structure on the device. this
As a result, the image recorded on the optical disc by the apparatus described in the present invention.
Search and output data from conventional monochrome devices
be able to. When entering data with this device,
In addition, the unique number of each color image is entered in the entry field 933, and the next shine in 934
Write the pointer address indicating the data position. What
Even if the input image is a monochrome image,
Image unique number is newly given, and 934 is the position of the next data
Fill out. And further, the data corresponding to the entry column 936
Is five kinds of data Ip, In, Y, Qp, QnWhich data
Fill in the contents of the flag indicating whether there is. This flag is
Data flag. If the data is a luminance signal or
In the case of an image, nothing is entered in this column 936. this
As a result, image data entered using a conventional monochrome device also
It can be output as a monochrome image by the apparatus of the present invention. Further
In the entry column 937, whether the entered data is a color image,
Enter a flag indicating whether the image is a monochrome image. Since then,
The lag is called a color flag. When it is instructed to output an image in color, the device
First reads the directory on the optical disc,
Order display from the unique number of the color image entered in
To search for the image. Search results for one color image
Then, five pieces of data are selected. Next, the color flag
Check that the image is a color image,
Selector 510 according to the contents of entry field 936 or the order of entry.
Drive, and store the five data in the corresponding memory.
Transfer data. On the other hand, the image whose output was instructed was a monochrome image
In this case, the color flag may indicate a monochrome image.
Recognize. In this case, follow the same process as the high-speed display described above.
Output directly as a monochrome image. Finally, as an application of the present invention, a document is
Input as data and store the luminance signal and color difference signal
An apparatus and a method will be described. FIG. 13 is a block diagram of one application example of the present invention. Figure
Among them, the parts marked with the same numbers as FIG. 1 and FIG.
It shows the same device as in the figure. In the figure, selector 92 is YIQ / RG
RGB data input from the B conversion unit 700 and the signal line bundle 60
Of selecting one of the luminance signals Y input from one of the
Having. This selector 92 is the same as that shown in FIGS.
The same effects can be obtained by applying the present invention to the embodiment shown in the drawings. Input a document etc. as digital data of RGB primary colors,
Process of converting to YIQ signal and storing it in memories 61-65
Is similar to the embodiment shown in FIG. here
The selector 625 has a function that can input and output in both directions.
You. When storing data, select one of the signal bundles 60
And a luminance / color difference signal Y input from the memories 61 to 65.Two, I
2p, I2n, Q2p, Q2nAre sequentially transferred to the encoder 540. On the other hand, when reading an image,
The signals accumulated as multi-valued image data for five sheets
Next read and decode processing and store in the memories 61-65
You. The subsequent operation is basically the same as the example described in FIG.
The same is true. Here, the selector 92 outputs the output from the YIQ / RGB converter 700.
Of the luminance signal Y passing through the signal line bundle 60
One of them is selected and transferred to the signal line bundle 20. Where shine
When the degree signal Y is selected, the image in the signal line bundle 20 is RGB
Each becomes a monochrome image of the luminance signal Y. In addition, mixed encoding of positive and negative
When using a method that targets data,
The processing can be omitted. Figure 14 shows the color difference signal
An embodiment of the apparatus in the case where encoding is performed in a mixed state will be described. In the figure, memories 66, 67, and 68 store luminance / color difference signals, respectively.
No.Y1, I1, Q1To accumulate. The operation of other parts is shown in Fig. 13.
Is the same as Finally, in one embodiment of the image processing method proposed in the present invention,
explain about. The method includes the operation of the image processing apparatus described above.
By applying the same processing to color image data,
The feature is that it is possible to efficiently handle mixed black and white images
And FIG. 15 shows an image processing method proposed by the present invention.
-This is an example of the processing flow for storing image data.
You. Color image input as multi-value data in RGB format
The data is converted into luminance information Y and two types of data by RGB / YIQ conversion.
It is converted into color difference information I and Q. After conversion,
Separating the mixed multi-valued data I and Q, 4 types
Class of multi-valued data Ip, InAnd Qp, QnIs output. afterwards,
5 types of multi-value data Y, Ip, In, Qp, QnAre each independently 2
Value. Binarization is performed using pseudo halftone processing.
By the above series of processing, the multi-valued color image data becomes 5
The image data is converted into binary image data. These five binary images
Data is encoded by a known method and stored on an optical disk
Stack. Here, if the input image is a monochrome image,
Of the five signals, only the luminance signal is stored, and the color image is stored.
In the case of an image, it is necessary to store all five types and to have a color difference signal.
Also record it. Next, a method for outputting the stored image data is described.
This will be described with reference to FIG. First, the case of outputting a color image will be described. 5
Brightness accumulated on optical discs and the like as pseudo halftone images
Degree signal Y 'and color difference signal Ip′, In′, Qp′, QnRead ′
And decodes each to obtain 5 pseudo halftone image data
Get. Next, halftone conversion is performed on each binary data using the method described above.
5 images of multi-valued image data Y and Ip, In, Qp, QnRestore
You. Further, among the four types of restored color difference signals, IpAnd In,
QpAnd QnAre combined to form a multi-valued data
Output the data I and Q. Finally, change the multivalued data Y, I, Q.
It outputs multi-valued RGB data. By the above processing
From the stored five pseudo halftone images.
Color image data can be output. On the other hand, when displaying the contents of each image in a short time,
The luminance data is obtained from the five pseudo halftone image data
Data Y 'is read out, decoded and output. Brightness
Data Y 'is a monochrome image of the target color data.
You. As described above, according to the apparatus and method described above, a color image,
In particular, it efficiently stores images with mixed monochrome parts such as documents.
A function to display monochrome images at high speed when searching for contents
With a conventional device for monochrome binary images.
A color image processing apparatus that can maintain compatibility can be realized.

【発明の効果】【The invention's effect】

本発明によれば、カラー画像、特に文書などモノクロ
部分や文字などの細いパターンの混在した画像を効率良
く蓄積し、内容検索時にはモノクロ画像を高速表示する
機能を有し、さらには従来のモノクロ2値画像用の装置
との互換性も有したカラー画像処理装置が実現できる。
According to the present invention, a color image, particularly an image in which a monochrome pattern such as a document or a thin pattern such as a character is mixed is efficiently accumulated, and a function of displaying a monochrome image at a high speed at the time of content search is provided. A color image processing device having compatibility with a device for a value image can be realized.

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

第1図は、装置の基本構成の一例を示すブロック図、第
2図は、正負分離部の内部構成の一例を示すブロック
図、第3図は、2値化処理部の一構成例を示すブロック
図、第4図は、平均誤差最小法で用いる重み係数の一例
を表した図、第5図は、中間調変換の原理を説明するた
めの、参照用走査窓の一例を示す図、第6図は、中間調
変換のための重み係数の一例を示す図、第7図は、中間
調変換部の一構成例を示すブロック図、第8図は、一次
加算部の一構成例を示すブロック図、第9図は、光ディ
スク中の記録形式の一例を示す図、第10図は、本発明の
一応用例を説明するブロック図、第11図は、2値化処理
方法の自動切り替えを実現するための構成図、第12図
は、モノクロ画像用の画像処理装置との互換性を保つた
めの、カラー画像データ記録形式の一例を示す図、第13
図は、本発明の一例として、輝度/色差信号への変換後
の中間調データを扱うシステムの一構成例を示す図、第
14図は、本発明の一例として、輝度/色差信号への変換
後の正負値の混在した中間調データを扱うシステムの一
構成例を示す図、第15図は、カラー画像データを蓄積す
るための処理の流れを示す図、第16図は、蓄積されたカ
ラー画像データを出力するための処理の流れを示す図で
ある。 符号の説明 10……画像入力部、15……セレクタ、21……メモリ
(R)、22……メモリ(G)、23……メモリ(B)、2
0,30,40,50,60……信号線束、31,32,33,34,35……メモ
リ、61,62,63,64,65……メモリ、70……フルカラーCR
T、75……カラーCRT、80……カラープリンタ、90……セ
レクタ、100……RGB/YIQ変換部、200,201……正負分離
部、220……差分器、230……比較器、240,250……セレ
クタ、300……2値化処理部、330,390……加算器、340
……比較器、347……ROM,355……差分器、335,345,350
……セレクタ、360,377,395……シフトレジスタ、370,3
80……ラインメモリ、361,375,378……ラッチ、400……
中間調変換部、411,412,413,414……ラインメモリ、42
1,422,423,424,425……一次加算部、431,432,433,434,4
35……ラッチ、451,452,453,471,472,473……シフトレ
ジスタ、490……加算器、510……セレクタ、530……符
号復号部、560……光ディスク、570……通信端子、610
……正負合成部、700……YIQ/RGB変換部、800,801,802
……2値化処理部、810……領域判定部、811,812,813,8
14……比較器、820……論理回路。
FIG. 1 is a block diagram showing an example of a basic configuration of the apparatus, FIG. 2 is a block diagram showing an example of an internal configuration of a positive / negative separation section, and FIG. 3 is an example of a configuration of a binarization processing section. FIG. 4 is a block diagram showing an example of a weight coefficient used in the average error minimizing method. FIG. 5 is a diagram showing an example of a reference scanning window for explaining the principle of halftone conversion. FIG. 6 is a diagram showing an example of a weight coefficient for halftone conversion, FIG. 7 is a block diagram showing an example of a configuration of a halftone conversion unit, and FIG. 8 is an example of a configuration of a primary adding unit. FIG. 9 is a block diagram illustrating an example of a recording format in an optical disk, FIG. 10 is a block diagram illustrating an application example of the present invention, and FIG. 11 realizes automatic switching of a binarization processing method. FIG. 12 shows color image data for maintaining compatibility with an image processing apparatus for monochrome images. It illustrates an example of the recording format, 13
FIG. 1 is a diagram showing, as an example of the present invention, a configuration example of a system that handles halftone data after conversion into a luminance / color difference signal.
FIG. 14 is a diagram showing an example of the configuration of a system for handling halftone data in which positive and negative values after conversion into a luminance / color difference signal are mixed, as an example of the present invention. FIG. 15 is a diagram for storing color image data. FIG. 16 is a diagram showing a flow of processing for outputting accumulated color image data. Description of reference numerals 10 ... image input unit, 15 ... selector, 21 ... memory (R), 22 ... memory (G), 23 ... memory (B), 2
0,30,40,50,60 …… Signal bundle, 31,32,33,34,35 …… Memory, 61,62,63,64,65 …… Memory, 70 …… Full-color CR
T, 75: Color CRT, 80: Color printer, 90: Selector, 100: RGB / YIQ converter, 200, 201 ... Positive / negative separator, 220: Difference device, 230: Comparator, 240, 250 ... Selector, 300 binarization processing unit, 330, 390 adder, 340
…… Comparator, 347 …… ROM, 355 …… Differentiator, 335,345,350
…… Selector, 360,377,395 …… Shift register, 370,3
80 …… Line memory, 361,375,378 …… Latch, 400 ……
Halftone conversion unit, 411, 412, 413, 414 ... Line memory, 42
1,422,423,424,425 …… Primary adder, 431,432,433,434,4
35 latch, 451, 452, 453, 471, 472, 473 shift register, 490 adder, 510 selector, 530 code decoder, 560 optical disk, 570 communication terminal, 610
…… Positive / negative combining unit, 700 …… YIQ / RGB converter, 800,801,802
...... binarization processing section, 810 area determination section, 811, 812, 813, 8
14 ... Comparator, 820 ... Logic circuit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 増崎 秀文 神奈川県小田原市国府津2880番地 株式 会社日立製作所小田原工場内 (72)発明者 伊藤 敏 神奈川県小田原市国府津2880番地 株式 会社日立製作所小田原工場内 (56)参考文献 特開 昭62−195982(JP,A) 特開 昭62−291262(JP,A) 特開 昭63−185169(JP,A) 特開 昭62−1373(JP,A) 特開 昭63−174472(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04N 1/41 - 1/419 ──────────────────────────────────────────────────の Continued on the front page (72) Inventor Hidefumi Masuzaki 2880 Kozuhara, Kodawara-shi, Kanagawa Prefecture Inside the Hitachi Odawara Plant Co., Ltd. (56) References JP-A-62-195982 (JP, A) JP-A-62-1291262 (JP, A) JP-A-63-185169 (JP, A) JP-A-62-1373 (JP, A) 63-174472 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) H04N 1/41-1/419

Claims (20)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】カラー画像を含む文書画像をディジタルデ
ータとして扱うカラー画像処理装置において、 入力されたRGB形式の多値のカラー画像データを、多値
の輝度情報Yと多値の複数の色差情報Iおよび多値の複
数の色差情報Qに変換する手段を有することを特徴とす
るカラー画像処理装置。
1. A color image processing apparatus for handling a document image including a color image as digital data, comprising the steps of: inputting multi-valued color image data of RGB format into multi-valued luminance information Y and a plurality of multi-valued color difference information; 1. A color image processing apparatus comprising means for converting into I and a plurality of multi-value color difference information Q.
【請求項2】請求項1記載のカラー画像処理装置におい
て、更に、 前記輝度情報Yと前記色差情報IおよびQを2値化する
手段と、 該2値化された輝度情報Y′と色差情報I′およびQ′
を符号化する手段と、 該符号化された輝度情報と色差情報をそれぞれ蓄積する
手段 を有することを特徴とするカラー画像処理装置。
2. A color image processing apparatus according to claim 1, further comprising means for binarizing said luminance information Y and said color difference information I and Q, and said binarized luminance information Y 'and color difference information. I 'and Q'
A color image processing apparatus comprising: means for encoding the color information; and means for accumulating the encoded luminance information and color difference information.
【請求項3】請求項2記載のカラー画像処理において、
更に、 前記蓄積された輝度情報と色差情報を読みだす手段と、 該読みだした輝度情報と色差情報を復号化する手段と、 該復号化された2値の輝度情報Y′のみを表示あるいは
印字出力する手段 を有することを特徴とするカラー画像処理装置。
3. The color image processing according to claim 2, wherein
A means for reading out the stored luminance information and color difference information; a means for decoding the read luminance information and color difference information; and displaying or printing only the decoded binary luminance information Y '. A color image processing apparatus comprising: means for outputting.
【請求項4】請求項2記載のカラー画像処理装置におい
て、更に、 前記蓄積された輝度情報と色差情報を読みだす手段と、 該読みだした輝度情報と色差情報を復号化する手段と、 該復号化された2値の輝度情報Y′と色差情報I′およ
びQ′を入力し多値の輝度情報Y″と色差情報I″およ
びQ″を出力する手段 を有することを特徴とするカラー画像処理装置。
4. The color image processing apparatus according to claim 2, further comprising: means for reading out the stored luminance information and color difference information; means for decoding the read luminance information and color difference information; A color image having means for receiving decoded binary luminance information Y 'and color difference information I' and Q 'and outputting multi-valued luminance information Y "and color difference information I" and Q " Processing equipment.
【請求項5】カラー画像を含む文書画像をディジタルデ
ータとして蓄積もしくは送信するカラー画像処理方法に
おいて、 画像をRGB形式の多値のカラー画像データとして入力す
るステップと、 多値の輝度情報Yと多値の複数の色差情報Iおよび多値
の複数の色差情報Qに変換するステップ を有することを特徴とするカラー画像処理方法。
5. A color image processing method for storing or transmitting a document image including a color image as digital data, comprising: inputting an image as multi-valued color image data in RGB format; Converting into a plurality of pieces of color difference information I of values and a plurality of pieces of color difference information Q of multi-values.
【請求項6】請求項5記載のカラー画像処理方法におい
て、更に、 前記輝度情報Yと前記色差情報IおよびQを2値化する
ステップと、 該2値化された輝度情報Y′と複数の色差情報I′およ
び複数の色差情報Q′を符号化するステップと、 該符号化された輝度情報と色差情報をそれぞれ蓄積する
ステップ を有することを特徴とするカラー画像処理方法。
6. A color image processing method according to claim 5, further comprising the step of binarizing said luminance information Y and said color difference information I and Q; A color image processing method comprising: encoding color difference information I ′ and a plurality of pieces of color difference information Q ′; and accumulating the encoded luminance information and color difference information, respectively.
【請求項7】請求項6記載のカラー画像処理方法におい
て、更に、 前記蓄積された輝度情報と色差情報を読みだすステップ
と、 該読みだした輝度情報と色差情報を復号するステップ
と、 該復号化された2値の輝度情報Y′のみを表示あるいは
印字出力するステップ を有することを特徴とするカラー画像処理方法。
7. The color image processing method according to claim 6, further comprising: reading out the stored luminance information and color difference information; decoding the read luminance information and color difference information; Displaying or printing out only the converted binary luminance information Y '.
【請求項8】請求項6記載のカラー画像処理方法におい
て、更に、 前記蓄積された輝度情報と色差情報を読みだすステップ
と、 該読みだした輝度情報と色差情報を復号するステップ
と、 該復号化された2値の輝度情報Y′と色差情報I′およ
びQ′に演算処理を加えて多値の輝度情報Y″と色差情
報I″およびQ″とするステップ を有することを特徴とするカラー画像処理方法。
8. The color image processing method according to claim 6, further comprising: reading out the stored luminance information and color difference information; decoding the read luminance information and color difference information; Applying a calculation process to the converted binary luminance information Y 'and color difference information I' and Q 'to obtain multi-value luminance information Y "and color difference information I" and Q ". Image processing method.
【請求項9】請求項1記載のカラー画像処理装置におい
て、 前記入力されたRGB形式の多値のカラー画像データを、
多値の輝度情報Yと多値の複数の色差情報Iおよび多値
の複数の色差情報Qに変換する手段は、 前記RGB形式の多値のカラー画像を多値の輝度情報Yと
多値の色差情報Iおよび多値の色差情報Qに変換する手
段と、該多値の色差情報Iが正の値ならばIpとして、負
の値ならばその符号を反転させてInとして出力する手段
と、該多値の色差情報Qが正の値ならばQpとして、負の
値ならばその符号を反転させてQnとして出力する手段と
を有し、 前記多値の複数の色差情報IはIp及びIn、前記多値の複
数の色差情報QはQp及びQnであることを特徴とするカラ
ー画像処理装置。
9. The color image processing apparatus according to claim 1, wherein the input multi-valued color image data in RGB format is
The means for converting the multi-valued luminance information Y, the multi-valued plural color difference information I and the multi-valued plural color difference information Q comprises: Means for converting into color difference information I and multi-valued color difference information Q; means for outputting Ip if the multi-valued color difference information I is a positive value; Means for outputting Qp if the multi-valued color difference information Q is a positive value, and inverting the sign if the value is a negative value, and outputting it as Qn. A color image processing apparatus, wherein the plurality of multi-valued pieces of color difference information Q are Qp and Qn.
【請求項10】カラー画像を含む文書画像をディジタル
データとして扱う画像処理装置において、 2値画像の形式で蓄積あるいは送信された1枚のカラー
画像データの輝度情報Y′と2値の複数の色差情報I′
および2値の複数の色差情報Q′を読みだす手段とし
て、 該蓄積された輝度情報および色差情報のうち輝度情報の
みを読みだす手段と、 該輝度情報Y′をモノクロ2値画像として表示あるいは
印字出力する手段 を有することを特徴とするカラー画像処理装置。
10. An image processing apparatus for handling a document image including a color image as digital data, comprising: a luminance information Y 'of one color image data stored or transmitted in the form of a binary image and a plurality of binary color differences; Information I '
Means for reading out a plurality of binary color difference information Q ', means for reading out only the luminance information of the accumulated luminance information and color difference information, and displaying or printing the luminance information Y' as a monochrome binary image. A color image processing apparatus comprising: means for outputting.
【請求項11】請求項10記載のカラー画像処理装置にお
いて、 前記2値の輝度情報Y′と2値の色差情報I′および
Q′を読みだす手段として、 該輝度情報Y′と該色差情報I′およびQ′を読みだし
カラー画像として出力する手段と、 該輝度情報Y′のみを読みだしモノクロ2値画像として
出力する手段と、 該2種類の出力手段を切り替える手段を有することを特
徴とするカラー画像処理装置。
11. The color image processing apparatus according to claim 10, wherein said luminance information Y 'and said color difference information are used as means for reading said binary luminance information Y' and binary color difference information I 'and Q'. Means for reading out I 'and Q' and outputting as a color image; means for reading out only the luminance information Y 'and outputting as a monochrome binary image; and means for switching between the two types of output means. Color image processing device.
【請求項12】請求項2記載のカラー画像処理装置にお
いて、更に、 前記蓄積された画像データを出力する手段と、 該蓄積されている画像データがカラー画像かモノクロ画
像かを検出する手段と、 該検出結果により、カラー画像とモノクロ画像では該蓄
積された画像データの読み出しかたを切り替える手段 を有することを特徴とするカラー画像処理装置。
12. The color image processing apparatus according to claim 2, further comprising: means for outputting the stored image data; means for detecting whether the stored image data is a color image or a monochrome image; A color image processing apparatus comprising: means for switching a method of reading out the stored image data between a color image and a monochrome image according to the detection result.
【請求項13】請求項12記載のカラー画像処理装置にお
いて、 前記蓄積してある画像データがカラー画像かモノクロ画
像かを検出する手段として、 蓄積媒体中に記録された信号を読みだす手段と、 外部からの指示を入力する手段の少なくとも一方 を有することを特徴とするカラー画像処理装置。
13. A color image processing apparatus according to claim 12, wherein said means for detecting whether the stored image data is a color image or a monochrome image is a means for reading a signal recorded in a storage medium. A color image processing apparatus comprising at least one of means for inputting an external instruction.
【請求項14】請求項5記載のカラー画像処理方法にお
いて、前記多値の輝度情報Yと多値の複数の色差情報I
および前記多値の複数の色差情報Qに変換するステップ
は、 前記RGB形式の多値のカラー画像データを多値の輝度情
報Yと多値の色差情報Iおよび多値の色差情報Qに変換
するステップと、 該多値の色差情報Iが正の値ならばIpとして、負の値な
らばその符号を反転させてInとして出力するステップ
と、 該多値の色差情報Qが正の値ならばQpとして、負の値な
らばその符号を反転させてQnとして出力するステップを
有し、 前記多値の複数の色差情報IはIp及びIn、前記多値の複
数の色差情報QはQp及びQnであることを特徴とするカラ
ー画像処理方法。
14. A color image processing method according to claim 5, wherein said multi-valued luminance information Y and a plurality of multi-valued color difference information I are provided.
And converting the multi-valued plurality of color difference information Q into the multi-valued color image data in RGB format into multi-valued luminance information Y, multi-valued color difference information I, and multi-valued color difference information Q. And if the multi-value color difference information I is a positive value, the sign is inverted and if the multi-value color difference information I is a positive value, the sign is inverted and output as In. If Qp is a negative value, the sign is inverted and output as Qn. The multi-valued plural pieces of color difference information I are Ip and In, and the multi-valued plural pieces of color difference information Q are Qp and Qn. A color image processing method.
【請求項15】カラー画像を含む文書画像をディジタル
データとして扱う画像処理方法において、 2値の画像の形式で蓄積あるいは送信された1枚のカラ
ー画像データの輝度情報Y′と2値の複数の色差情報
I′および2値の複数の色差情報Q′を読みだし出力す
る方法として、 該蓄積された輝度情報および色差情報のうち輝度情報の
みを読みだしモノクロ2値画像として表示あるいは印字
出力することを特徴とするカラー画像処理方法。
15. An image processing method in which a document image including a color image is treated as digital data, wherein the luminance information Y 'of one piece of color image data stored or transmitted in the form of a binary image and a plurality of binary As a method of reading and outputting the color difference information I 'and a plurality of binary color difference information Q', reading out only the luminance information from the stored luminance information and color difference information, and displaying or printing as a monochrome binary image. A color image processing method comprising:
【請求項16】請求項15記載のカラー画像処理方法にお
いて、 該2値の輝度情報Y′と2値の色差情報I′およびQ′
を読みだす場合において、 該輝度情報Y′と該色差情報I′およびQ′を読みだし
てカラー画像を出力するときと、 該輝度情報Y′のみを読みだしモノクロ2値画像として
出力するときを、 対象となる画像あるいは装置に応じて切り替えることを
特徴とするカラー画像処理方法。
16. A color image processing method according to claim 15, wherein said binary luminance information Y 'and binary color difference information I' and Q '.
When reading the luminance information Y 'and the color difference information I' and Q ', a color image is output, and when only the luminance information Y' is read and output as a monochrome binary image. A color image processing method characterized by switching according to a target image or device.
【請求項17】請求項2記載のカラー画像処理装置にお
いて、更に、 カラー画像とモノクロ画像では前記蓄積された画像デー
タの読み出しかたを切り替えることを特徴とするカラー
画像処理装置。
17. A color image processing apparatus according to claim 2, further comprising a step of switching the method of reading out the stored image data between a color image and a monochrome image.
【請求項18】請求項5記載のカラー画像処理方法にお
いて、更に、 蓄積媒体中に記録された信号を読むステップ又は外部か
らの指示のいづれか一方のステップと、 前記蓄積されている画像データがカラー画像かモノクロ
画像かを検出するステップと、 該画像データの読みだし方法と出力方法とを切り替える
ステップを有するカラー画像処理方法。
18. The color image processing method according to claim 5, further comprising the step of: reading a signal recorded in a storage medium or an external instruction; and storing the stored image data in color. A color image processing method comprising: detecting an image or a monochrome image; and switching between a method of reading and outputting the image data.
【請求項19】請求項1記載のカラー画像処理装置にお
いて、更に、 前記変換された多値の複数の色差情報Iおよび多値の複
数の色差情報Qをそれぞれ独立に2値化する手段を有す
ることを特徴とするカラー画像処理装置。
19. The color image processing apparatus according to claim 1, further comprising means for independently binarizing the plurality of converted multi-valued color difference information I and the plurality of multi-valued color difference information Q. A color image processing apparatus characterized by the above-mentioned.
【請求項20】請求項1記載のカラー画像処理装置にお
いて、更に、前記変換された多値の複数の色差情報Iお
よび多値の複数の色差情報Qから、1つの 多値の色差情報Iおよび1つの多値の色差情報Qを生成
する手段を有することを特徴とするカラー画像処理装
置。
20. The color image processing apparatus according to claim 1, further comprising: a plurality of pieces of multi-valued color difference information I and a plurality of pieces of multi-valued color difference information Q; A color image processing apparatus comprising means for generating one multi-value color difference information Q.
JP1033577A 1989-02-15 1989-02-15 Color image processing apparatus and method Expired - Fee Related JP2966426B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP1033577A JP2966426B2 (en) 1989-02-15 1989-02-15 Color image processing apparatus and method
US07/479,615 US5128748A (en) 1989-02-15 1990-02-13 Image processing system and apparatus for processing color documents
KR1019900001793A KR100194744B1 (en) 1989-02-15 1990-02-14 Color document image processing device
DE69026733T DE69026733T2 (en) 1989-02-15 1990-02-15 Color document image processing device
EP90102974A EP0383331B1 (en) 1989-02-15 1990-02-15 Color document image processing apparatus
US07/782,096 US5268771A (en) 1989-02-15 1991-10-24 Image restoration processing system and method
US08/400,385 US5576849A (en) 1989-02-15 1995-03-03 Image data transformation apparatus and image entry apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1033577A JP2966426B2 (en) 1989-02-15 1989-02-15 Color image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH02214260A JPH02214260A (en) 1990-08-27
JP2966426B2 true JP2966426B2 (en) 1999-10-25

Family

ID=12390387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1033577A Expired - Fee Related JP2966426B2 (en) 1989-02-15 1989-02-15 Color image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP2966426B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS621373A (en) * 1985-06-27 1987-01-07 Toshiba Corp Picture encoding system
JPS62195982A (en) * 1986-02-24 1987-08-29 Konishiroku Photo Ind Co Ltd Compression method and reproduction method for color picture data
JPS62291262A (en) * 1986-06-10 1987-12-18 Canon Inc Color image processing method
JPS63174472A (en) * 1987-01-13 1988-07-18 Fuji Xerox Co Ltd Color image processing device
JP2520891B2 (en) * 1987-01-28 1996-07-31 キヤノン株式会社 Image processing device

Also Published As

Publication number Publication date
JPH02214260A (en) 1990-08-27

Similar Documents

Publication Publication Date Title
KR100194744B1 (en) Color document image processing device
US6985630B2 (en) Image processing apparatus and method, program and storage medium
US5416606A (en) Method and apparatus for encoding or decoding an image in accordance with image characteristics
EP0507601A2 (en) Image processing method and apparatus
EP0613290B1 (en) Method and apparatus for binary image data compression
JP2005323326A (en) Image encoding apparatus, image decoding apparatus, control method thereof, computer program and computer-readable storage medium
CN1182730C (en) Image encoding/decoding by eliminating color components in pixels
JP3514050B2 (en) Image processing device
JP2966426B2 (en) Color image processing apparatus and method
JPS621373A (en) Picture encoding system
JP3144788B2 (en) Color document image processing device
JPS5947916B2 (en) Color image encoding processing method
JP2831954B2 (en) Image encoding / decoding device and image processing device
JP3259989B2 (en) Binary and multi-valued mixed coded image data restoration method and apparatus
JPH05324815A (en) Compression system and output system for multivalued image
JPH08298589A (en) Image processor of photograph/document mixed image
JPH08279913A (en) Method and equipment for picture communication
JP2954234B2 (en) Color document image processing system
JP3230122B2 (en) Data compression method and apparatus for binary image
JPS5947914B2 (en) Color image encoding processing method
JPS61169086A (en) Encoding system of half tone image
JPH0722345B2 (en) Image information compression method
JP3284684B2 (en) High-efficiency coding apparatus and decoding apparatus, high-efficiency coding method and decoding method, and coefficient data generating apparatus and method
JPH059828B2 (en)
JPS62234466A (en) Picture processor

Legal Events

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