JP3144788B2 - Color document image processing device - Google Patents

Color document image processing device

Info

Publication number
JP3144788B2
JP3144788B2 JP32371989A JP32371989A JP3144788B2 JP 3144788 B2 JP3144788 B2 JP 3144788B2 JP 32371989 A JP32371989 A JP 32371989A JP 32371989 A JP32371989 A JP 32371989A JP 3144788 B2 JP3144788 B2 JP 3144788B2
Authority
JP
Japan
Prior art keywords
frame memory
data
color
image
area
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
JP32371989A
Other languages
Japanese (ja)
Other versions
JPH03185970A (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 JP32371989A priority Critical patent/JP3144788B2/en
Priority to DE69030178T priority patent/DE69030178T2/en
Priority to PCT/JP1990/001630 priority patent/WO1991009488A1/en
Priority to US07/761,770 priority patent/US5231482A/en
Priority to EP91900331A priority patent/EP0458978B1/en
Publication of JPH03185970A publication Critical patent/JPH03185970A/en
Application granted granted Critical
Publication of JP3144788B2 publication Critical patent/JP3144788B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文書、特にカラー写真などの色情報を含む
ものを画像データとして入力,蓄積,検索する機能,デ
イスプレイやプリンタなどに出力する機能を有するシス
テムに係り、モノクロ画像とカラー画像の混在した画像
を効率良く符号化し、また従来のFAXなどモノクロ2値
データのみを出力する装置との互換性を有する形式で符
号化する機能を有する画像処理システムに係る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a function of inputting, storing, and retrieving a document, particularly a document containing color information such as a color photograph, as image data, and a function of outputting to a display or a printer. An image having the function of efficiently encoding an image in which a monochrome image and a color image are mixed, and encoding the image in a format compatible with a device that outputs only monochrome binary data such as a conventional facsimile. Related to a processing system.

〔従来の技術〕[Conventional technology]

従来より、カラー画像をデジタルデータとして扱う装
置において、画像は赤、緑、青の3原色に色分解して出
きる3種類の多値データ(以後、本明細書では各成分の
ことを、それぞれをR,G,Bと呼び、各色成分のデータ
を、Rデータ,Gデータ,Bデータと記す)として扱われて
いる。
2. Description of the Related Art Conventionally, in a device that handles a color image as digital data, the image is separated into three primary colors of red, green, and blue, and three types of multivalued data that can be output (hereinafter, each component is referred to in the present specification. Are called R, G, and B, and the data of each color component is referred to as R data, G data, and B data).

例えば、カラー複写機などにおいては、入力したR,G,
Bの多値画像データを出力する。また、プリンタに出力
するなど、2値化処理が必要な場合も、多値のRGBデー
タを、各色ごとにそれぞれ独立に2値化し出力する。こ
の方式の高機能化を図つた公知例としては、例えば特開
昭64−51583がある。この公知例は、カラー画像をイエ
ロー,マゼンタ,シアン,ブラツクの4色に分解し、各
色をそれぞれ2値化して蓄積する方式を示している。と
ころが、画像情報をイエロー,マゼンタ,シアン,ブラ
ツクの4色に分解した場合、この中のブラツクの情報だ
けを出力すると彩色部分の画像が欠落する。また、カラ
ー写真などの中間色を表示する場合については、考慮さ
れていない。
For example, in a color copying machine, the input R, G,
Output multi-valued image data of B. Also, when binarization processing is necessary, such as outputting to a printer, multi-valued RGB data is binarized and output independently for each color. As a well-known example for achieving high functionality of this system, there is, for example, JP-A-64-51583. This known example shows a method in which a color image is separated into four colors of yellow, magenta, cyan, and black, and each color is binarized and stored. However, when the image information is separated into four colors of yellow, magenta, cyan, and black, if only the information of the black is output, the image of the colored portion is lost. No consideration is given to displaying intermediate colors such as color photographs.

これに対して、TVあるいはVTR等では、RGBのカラー画
像データを、輝度情報と2種類の色差情報に変換し、さ
らに直交変換を施して、その係数を符号化して蓄積する
方式が広く用いられている。この方式は色差情報を持た
ないモノクロ領域では、輝度情報のみを扱う。したがつ
て、モノクロ領域を多く含む画像に対して符号化効率が
高い。そこで、文書に対しても、この手法を用いる例が
示されている。(例えば、特開昭63−9282など) 〔発明が解決しようとする課題〕 カラー画像は出力装置の特性により色調や彩度が大巾
に影響されるため、一度蓄積したデータを出力する場合
に、これらの補正する必要がある。しかしながら、その
補正処理を行うためには、画像を多値データとして扱う
必要がある。そのため、公知例に記されている画像を2
値化し蓄積する方式は、色調の再現が求められる画像に
対しては適用できなかつた。
On the other hand, in a TV or a VTR, a method of converting RGB color image data into luminance information and two kinds of color difference information, performing an orthogonal transform, encoding the coefficients, and storing the same is widely used. ing. This method handles only luminance information in a monochrome area having no color difference information. Therefore, the coding efficiency is high for an image including many monochrome areas. Therefore, an example of using this method for a document is shown. (For example, Japanese Patent Application Laid-Open No. 63-9282) [Problems to be Solved by the Invention] Since the color tone and the saturation of a color image are greatly affected by the characteristics of the output device, it is difficult to output once accumulated data. Need to correct these. However, in order to perform the correction processing, it is necessary to handle an image as multi-value data. Therefore, the image described in the known example is changed to 2
The binarization and accumulation method cannot be applied to an image in which color tone reproduction is required.

また、一般に用いられるカラー文書では、画像の一部
にカラー画像を含みながら、大きなモノクロの領域を有
する場合が多い。特に、朱印付きのモノクロ文書などに
おいては、カラー情報は色が付いている事にのみ意味が
あり、色彩を正確に再現することはさほど重要ではな
い。これらの画像に対しても、R,G,Bのデータを全て蓄
積するのは、非効率的である。また、カラー写真の混在
する文書においても、面積比ではモノクロの文字領域が
多く含まれる場合が多い。したがつて、文書を対象とす
るシステムは、たとえカラー画像を対象とするシステム
でも、モノクロ画像や文字に対する符号化効率の高さも
求められる。ところが、R,G,Bをそれぞれ単独に符号化
する方式では、冗長性が高く、符号化効率が低いため、
多数の文書画像データを蓄積する電子ファイルシステム
や、低いデータ転送速度で文書画像を送る必要のあるFA
Xなどには適さない。特にRGBの多値データそのまま扱う
方式では、データ量が膨大なものとなるため、上記の装
置には適さない。(なお、以後画像中のモノクロで表現
された部分を、モノクロ領域と呼ぶ) 一方、輝度/色差変換を用いるデータ符号化方式は、
本来TVなど自然画を扱う装置を対象として考案されたも
のである。そのため、濃度変化のゆるやかな画像に対し
ては適するが、文字など濃度変化の極めて大きい部分を
多く含む文書画像を扱う場合、以下のような問題が生じ
る。
Further, a generally used color document often has a large monochrome area while including a color image in a part of the image. In particular, in a monochrome document or the like with a red seal, the color information is significant only when it is colored, and it is not so important to accurately reproduce colors. It is inefficient to accumulate all R, G, B data for these images. Further, even in a document in which color photographs are mixed, a large number of monochrome character areas are often included in the area ratio. Therefore, a system for documents is required to have high encoding efficiency for monochrome images and characters, even for systems for color images. However, in the method of independently encoding R, G, and B, since redundancy is high and encoding efficiency is low,
An electronic file system that stores a large amount of document image data, or an FA that needs to send document images at a low data transfer rate
Not suitable for X etc. In particular, a method of handling RGB multi-valued data as it is is not suitable for the above-described device because the data amount becomes enormous. (Hereinafter, a monochrome portion of an image is referred to as a monochrome region.) On the other hand, a data encoding method using luminance / color difference conversion is as follows.
It was originally designed for devices that handle natural images such as TVs. Therefore, it is suitable for an image having a gradual change in density, but the following problem occurs when handling a document image including many portions having a very large change in density such as characters.

(a) 文字など線図形は濃度変化が急峻なため、符号
化効率が著しく低下する。
(A) Since the density change of a line graphic such as a character is sharp, the coding efficiency is significantly reduced.

(b) 符号化による圧縮効率を高めた場合、非可逆符
号化となる。したがつて、FAXなど、ラスタ画像データ
を媒介にデータ転送を実行した場合に、データを変換す
るたびに、つまり転送のたびにデータが順次変化する。
(B) When the compression efficiency by encoding is increased, lossy encoding is performed. Therefore, when data transfer is performed using raster image data as a medium such as a facsimile, the data changes sequentially every time the data is converted, that is, each time the data is transferred.

(c) FAXや電子ファイルシステムなど、文書を2値
画像として扱う装置で直接出力できない。
(C) Documents that handle documents as binary images, such as faxes and electronic file systems, cannot be directly output.

(d) 従来のモノクロ用システムと、データの互換性
が損なわれる。
(D) Data compatibility with the conventional monochrome system is lost.

したがつて、表示に階調性を要するカラー写真と、高
い解像度を要する文字の混在するカラー文書を、単一の
符号化方式によつて効率良く蓄積する手段は存在しなか
つた。
Therefore, there has been no means for efficiently accumulating a color document in which a color photograph requiring gradation and a character requiring high resolution are mixed by a single encoding method.

本発明の第1の目的は、カラー文書,モノクロ文書を
問わず、各種の文書画像を効率良く符号化し、蓄積する
カラー画像処理装置を提供することにある。なかでも、
カラー文書に多い、モノクロ部分の混在した画像に対し
て効率的な蓄積ができ、さらには、朱印付き文書などモ
ノクロ領域が主体で、色彩の再現が重要でないカラー文
書に対しては、より符号化効率の高いカラー画像処理装
置を提供することにある。
A first object of the present invention is to provide a color image processing apparatus that efficiently encodes and accumulates various types of document images regardless of whether they are color documents or monochrome documents. Above all,
Efficient storage can be performed efficiently for images with a mixture of monochrome parts, which are common in color documents.Furthermore, for color documents where color reproduction is not important, such as documents with red seals, where color reproduction is not important An object of the present invention is to provide an efficient color image processing apparatus.

また、別の第2の目的としては、従来のモノクロ画像
を対象としていた画像処理装置との互換性を有するカラ
ー画像処理装置を提供することにある。
Another object of the present invention is to provide a color image processing apparatus compatible with a conventional image processing apparatus for monochrome images.

同時に第3の目的として、従来蓄積していたモノクロ
画像データとの互換性を保つた形式で、カラー画像デー
タを蓄積するための、カラー画像処理方式を提供するこ
とがある。
At the same time, a third object is to provide a color image processing method for storing color image data in a format that maintains compatibility with conventionally stored monochrome image data.

また、一度蓄積されたカラー画像を出力する場合で
も、画像の色調や再度の変更が可能なカラー画像処理装
置を提供することが第4の目的である。
It is a fourth object of the present invention to provide a color image processing apparatus capable of changing the color tone and the color of an image even when a color image stored once is output.

さらに、本発明の別の第5の目的は、例えば、光デイ
スク等に大量に蓄積されたカラー画像データの内容を検
索する際などに、各画像の内容を高速に表示できる画像
処理装置を提供することにある。
Still another object of the present invention is to provide an image processing apparatus capable of displaying the content of each image at a high speed, for example, when searching for the content of color image data stored in a large amount on an optical disk or the like. Is to do.

さらに、これまでに広く要いられているFAXや電子フ
アイルシステムの多くは、2値のモノクロ画像を対象と
した入出力装置を備えている。したがつて、カラー文書
画像システムも、それらとの互換性を備えれば、より幅
広い利用が可能になる。そのためには、データの記録形
式に互換性が保たれることが必要であるが、従来はこの
互換性も考慮されていない。
Furthermore, many fax and electronic file systems that have been widely required so far have an input / output device for binary monochrome images. Therefore, color document imaging systems can also be used more widely if they are compatible with them. For this purpose, it is necessary to maintain compatibility in the data recording format, but this compatibility has not been considered in the past.

〔課題を解決するための手段〕[Means for solving the problem]

上記の各課題を解決するため、本発明では、カラー画
像のデータを、それぞれ独立な複数枚の2値画像データ
として扱う手段を有する。
In order to solve each of the above-mentioned problems, the present invention has means for handling color image data as a plurality of independent binary image data.

具体的には、1枚のカラー画像を記録する場合、当該
画像の、R成分,G成分,B成分をそれぞれ記録した3枚の
2値画像を、それぞれをRデータ,Gデータ,Bデータとし
て蓄積し、出力時には当該3枚の2値画像を合成し、1
枚のカラー画像を表現する手段を持つ。
Specifically, when one color image is recorded, three binary images of the image in which the R component, the G component, and the B component are respectively recorded are referred to as R data, G data, and B data, respectively. It accumulates and combines the three binary images at the time of output,
It has a means to represent two color images.

また、当該画像の輝度データのみを単独の画像として
蓄積し、モノクロ画像を表現する手段を有する。輝度デ
ータは、例えばGデータで代用することもできる。な
お、以後本明細書においては、カラー画像の3原色のデ
ータをそれぞれ、Rデータ,Gデータ,Bデータと呼び、ま
た、1枚の画像を表現するのに用いる3枚の2値画像デ
ータを個々に指す場合は、それぞれプレーンと呼ぶ。ま
た、輝度データはYと示す。
Further, the image processing apparatus has means for storing only luminance data of the image as a single image and expressing a monochrome image. The luminance data can be replaced with, for example, G data. Hereinafter, in the present specification, data of three primary colors of a color image are called R data, G data, and B data, respectively, and three pieces of binary image data used to represent one image are referred to as three pieces of binary image data. When individually indicated, they are called planes. The luminance data is represented by Y.

まず、朱印付きの文書など、画像中の赤や、青など特
定の色のみをカラーで表現するため、本発明は、輝度情
報を示す2値データYと、当該色の部分のみを示す2値
データをそれぞれ独立した画像として蓄積する手段を有
する。具体的には、白黒2値画像を記録する輝度データ
のプレーンを蓄積する手段と、例えば赤で表示すべき画
素のみを示した2値画像データを蓄積する手段である。
つまり、2枚の2値画像として画像データを蓄積する。
そのため、画像中より当該色の画素のみを抽出する手段
を有する。
First, in order to express only a specific color such as red or blue in an image such as a document with a red seal in color, the present invention provides a binary data Y indicating luminance information and a binary data Y indicating only a portion of the color. It has means for accumulating data as independent images. Specifically, there are means for storing a plane of luminance data for recording a black and white binary image, and means for storing binary image data indicating only pixels to be displayed in red, for example.
That is, image data is accumulated as two binary images.
Therefore, there is provided a means for extracting only pixels of the color from the image.

一方、写真などのフルカラー画像を表現するために
は、R,G,Bの各プレーンのデータを記録し、各プレーン
を、それぞれR,G,Bで表示する手段を有する。
On the other hand, in order to express a full-color image such as a photograph, data of each plane of R, G, and B is recorded, and each plane is provided with means for displaying R, G, and B, respectively.

したがつて、第1の目的を実現するため、本発明は上
記各形式での入力蓄積手段を有し、さらに対象となる画
像に応じて、各処理手段を切り替える手段を有する。
Therefore, in order to realize the first object, the present invention has an input storage unit in each of the above-mentioned formats, and further has a unit for switching each processing unit according to a target image.

また、上記第2の目的は、前述のように各多値データ
をそれぞれ独立の画像として2値化する手段と、該2値
データを従来のモノクロ2値画像と同様の形式で蓄積す
る手段を有することにより達成できる。つまり、個々の
プレーンのデータ形式を従来のモノクロ2値画像システ
ムと同一にすることである。
The second object is to provide a means for binarizing each multi-value data as an independent image as described above and a means for accumulating the binary data in the same format as a conventional monochrome binary image. It can be achieved by having. That is, the data format of each plane is the same as that of the conventional monochrome binary image system.

また、第3の目的は、輝度プレーンのみをモノクロで
表示する手段を有し、従来のモノクロシステムで蓄積し
た画像データを輝度プレーンとして表示することにより
達成できる。
The third object can be achieved by having means for displaying only the luminance plane in monochrome, and displaying the image data accumulated by the conventional monochrome system as a luminance plane.

一方、第4の目的は、画像出力時に、各プレーンの2
値画像データより、多値の画像データを再生する手段
と、再生された多値画像データに画像処理を施す手段を
有することにより達成できる。
On the other hand, the fourth purpose is to output 2
This can be achieved by having means for reproducing multi-valued image data from value image data and means for performing image processing on the reproduced multi-valued image data.

第5の目的は、画像表示時に前述の輝度プレーンのみ
をモノクロで表示する手段を有することにより実現でき
る。
The fifth object can be realized by providing means for displaying only the above-mentioned luminance plane in monochrome when displaying an image.

なお、これまで述べた各種の画像に対応するために
は、本発明は、データの蓄積および2値処理方式とし
て、複数の処理モードを実行する手段を有し、さらに対
象文書に応じてそれらを切り替える手段と、蓄積する画
像データと共に当該モードを識別する識別子も記録する
する手段を有する。また、蓄積されたデータの読みだし
部には記録された識別子も読みだす手段を有し、画像表
示部では、識別子に応じて各プレーンによつて表示する
色を切り替える手段を有する。
In order to cope with the various types of images described above, the present invention has means for executing a plurality of processing modes as a data accumulation and binary processing method, and furthermore, according to a target document, these are executed. It has means for switching and means for recording an identifier for identifying the mode together with the image data to be stored. Further, the reading section of the stored data has means for reading the recorded identifier, and the image display section has means for switching the color to be displayed on each plane according to the identifier.

〔作用〕[Action]

まず、前述した各種画像に対応するため、本発明が実
行するデータの蓄積および2値処理方式のモードについ
て説明する。
First, a description will be given of data accumulation and binary processing mode executed by the present invention in order to cope with the various images described above.

本発明は、各モードごとにあらかじめ定められたデー
タを蓄積および2値処理方式を実行し、画像蓄積字に
は、このモードの識別子も記録する。このモード識別子
は、画像表示に参照され、表示に必要なデータの指定
や、適切な合成方式を決定することに用いる。
According to the present invention, data predetermined for each mode is stored and a binary processing method is executed, and an identifier of this mode is also recorded in the image storage character. This mode identifier is referred to in image display, and is used for designating data necessary for display and determining an appropriate combination method.

各モードの内容は以下の通りである。 The contents of each mode are as follows.

モード(I) モノクロモード:画像データの内、輝
度データYのみを蓄積する。
Mode (I) Monochrome mode: of the image data, only the luminance data Y is stored.

モード(II) マルチカラーモード:入力されたカラ
ー画像データより、輝度データY、赤で表示する画素の
データRを抽出し、それぞれの画像データを別々のプレ
ーンに蓄積する。例えば、輝度データを2値化して得ら
れる2値画像と、その2値画像で黒と記録された画素の
内、例えば赤で表現したい画素ののみを記述した2値画
像の2枚の2値画像を蓄積する。
Mode (II) Multi-color mode: luminance data Y and pixel data R to be displayed in red are extracted from the input color image data, and the respective image data are accumulated in separate planes. For example, a binary image obtained by binarizing luminance data and a binary image of a binary image in which only pixels desired to be expressed in red among pixels recorded as black in the binary image are described. Store the image.

表示時には、Rプレーンの画像を赤で表現し、その他
の画素はYプレーンに従い白黒で表示する。
At the time of display, the image of the R plane is expressed in red, and the other pixels are displayed in black and white according to the Y plane.

モード(III) フルカラーモード:R,G,Bのカラー画
像データを、それぞれR,G,Bのプレーンに蓄積する。表
示時には各プレーンをそれぞれR,G,Bを合成して表示す
る。
Mode (III) Full color mode: R, G, B color image data is stored in R, G, B planes, respectively. At the time of display, each plane is combined with R, G, and B and displayed.

モード(IV) 混在モード:画像中より色情報を必要
とするカラー領域と、モノクロ領域を識別し、モノクロ
領域に付いては輝度信号YをGプレーンに蓄積し、Rお
よびBプレーンは空白とする。一方、カラー領域では、
R,G,Bの2値データを、それぞれのプレーンに蓄積す
る。また、カラー領域とモノクロ領域を示す領域識別子
Fcmを第4のプレーンとして蓄積する。
Mode (IV) Mixed mode: a color area that requires color information from an image and a monochrome area are identified, and for the monochrome area, the luminance signal Y is stored in the G plane, and the R and B planes are left blank. . On the other hand, in the color area,
R, G, and B binary data are accumulated in each plane. An area identifier indicating a color area and a monochrome area
Fcm is stored as a fourth plane.

ここで、モード(I)は、モノクロ文書を入力する場
合に用いる。モード(II)は、先ほど述べたように、事
務文書などに多く存在する、モノクロ文書上に赤あるい
は青で、捺印や訂正がなされている文書を対象とするモ
ードである。ただし、このモードは表現したい色が2色
以上の場合でも適用できる。また、モード(III)はカ
ラー写真等を対象とした場合に用いるモードである。さ
らに、モード(IV)は、モノクロ文書とカラー写真の混
在する文書を対象とするモードである。
Here, the mode (I) is used when a monochrome document is input. As described above, the mode (II) is a mode for red and blue monochromatic documents, which are abundant in office documents and the like, and which have been stamped and corrected. However, this mode can be applied even when there are two or more colors to be expressed. The mode (III) is a mode used for a color photograph or the like. Further, the mode (IV) is a mode for a document in which a monochrome document and a color photograph are mixed.

続いて、上記の課題解決手段における各部の動作につ
いて説明する。
Next, the operation of each unit in the above-described problem solving means will be described.

まず、モノクロ画像を扱う場合に符号化効率が低下す
る点は、画像中で色彩情報を必要とする場合にのみ、つ
まりモード(III)の場合にのみ、R,G,Bすべてのカラー
情報を蓄積し、画像中のモノクロ部分あるいは初めから
モノクロ画像として指定された文書の場合には輝度情報
のみを蓄積することにより解決できる。
First, when dealing with a monochrome image, the encoding efficiency is reduced only when color information is required in the image, that is, only in mode (III), where all the R, G, B color information is This can be solved by accumulating and storing only luminance information in the case of a monochrome part in an image or a document specified as a monochrome image from the beginning.

なお、本明細書では、一例としてモード(I)および
(II)の場合、輝度データYは黒で表示する画素を
“1"、空白部分を“0"と記録することとする。
In the present specification, as an example, in the modes (I) and (II), the luminance data Y is recorded as “1” for a pixel displayed in black and “0” for a blank portion.

モード(I)の場合、蓄積されるデータは輝度情報の
みであるため、前述した課題は生じない。
In the case of the mode (I), since the stored data is only the luminance information, the above-described problem does not occur.

一方、朱印付きの文書など、正確な色の再現を必要と
しない場合は、モード(II)の処理により、モノクロ部
分のデータ量をモード(I)と同一にできる。
On the other hand, when accurate color reproduction is not required, such as a document with a red seal, the data amount of the monochrome portion can be made the same as that of the mode (I) by the processing of the mode (II).

朱印付きの文書、朱筆訂正文書などにおいて、赤は
「色が付いている」ということが重要な情報なのであつ
て、カラー写真のような正確な色彩の再現は、一般に求
められない。したがつて、これらの画像は、モノクロ画
像データ,プラス,色付き部分を指定する画像データと
いう形式で扱う。具体的には、まず輝度データYを単独
のプレーンとして記録する。ここで、輝度プレーンには
黒画素のみを記載するのではなく、赤あるいは他の色で
表示すべき画素も含めて記載する。そして、モノクロで
表示した場合には黒で表現される画素つまり、Y=“1"
の画素の内、赤の文字など“赤”で表示すべき画素を抽
出し、Rプレーンに“1"として記録する。ここで、Rプ
レーンは、“赤”で書かれた画素のみを“1"で、その他
を“0"で表現した2値画像データが記録される。する
と、白黒で記載された領域ではRプレーンは全て“0"と
なるため、符号化効率が高く、モノクロの2値画像デー
タのみの場合と、ほとんど同一のデータ量で、色情報も
含めて記録できる。
In red-marked documents, red-paper correction documents, and the like, it is important information that red is "colored", and accurate reproduction of colors such as color photographs is generally not required. Therefore, these images are handled in the form of monochrome image data, plus, image data specifying a colored portion. Specifically, first, the luminance data Y is recorded as a single plane. Here, not only black pixels are described in the luminance plane, but also pixels that should be displayed in red or another color are described. Then, when displayed in monochrome, a pixel expressed in black, that is, Y = “1”
Among the pixels of the above, pixels to be displayed in “red” such as red characters are extracted and recorded as “1” in the R plane. Here, in the R plane, binary image data in which only pixels written in “red” are represented by “1” and others are represented by “0” is recorded. Then, since the R plane is all "0" in the area described in black and white, the encoding efficiency is high, and the data amount is almost the same as that of the case of only monochrome binary image data, including the color information, and is recorded. it can.

出力時には、輝度データYの内、Rプレーンの内容が
“0"画素を黒で表示し、Rプレーンの内容が“1"の画素
は赤で表示する。前述のように、輝度プレーンには赤で
表示すべき画素も含めて記載されているので、輝度プレ
ーンのみモノクロで表示すれば、当該カラー文書を、従
来のモノクロシステムで入力した場合と同様に表示する
ことができる。
At the time of output, of the luminance data Y, pixels whose R plane content is "0" are displayed in black, and pixels whose R plane content is "1" are displayed in red. As described above, the luminance plane includes the pixels to be displayed in red, so if only the luminance plane is displayed in monochrome, the color document will be displayed in the same way as when inputting with a conventional monochrome system can do.

一方、写真などのフルカラー画像と、モノクロ画像の
混在する文書を対象とするモード(IV)では、カラー/
モノクロ識別情報Fcmを蓄積することにより、モノクロ
部分のデータの冗長性を抑制できる。このモードは特
に、大量の文書を自動給紙機などを用いて連続的に入力
する場合等に有効である。入力する文書の一部の頁に、
カラー写真が含められる場合、モード(III)では、文
書の全頁をRGBの3枚のデータで記録することになるた
め、蓄積されるデータ量はモノクロ蓄積時の3倍必要に
なる。これに対して、モード(IV)では大半の頁では、
輝度データYのみが蓄積され、RおよびBプレーン、属
性識別子Fcmは、ほとんどの頁で空白を示すため、効率
的な符号化が実現できる。
On the other hand, in the mode (IV) that targets a document in which a full-color image such as a photo and a monochrome image are mixed,
By accumulating the monochrome identification information Fcm, the redundancy of the data of the monochrome portion can be suppressed. This mode is particularly effective when a large amount of documents are continuously input using an automatic paper feeder or the like. On some pages of the document to be entered,
When a color photograph is included, in mode (III), all pages of the document are recorded with three pieces of RGB data, and the amount of data to be stored is three times as large as that in monochrome storage. On the other hand, in mode (IV), on most pages,
Since only the luminance data Y is accumulated, and the R and B planes and the attribute identifier Fcm indicate blanks on almost all pages, efficient encoding can be realized.

なお、以後本明細書においては、属性識別子Fcmは対
象となる領域がモノクロ画像の場合“0"、カラー領域と
判定された場合“1"を出力する。と考える。
Hereinafter, in the present specification, the attribute identifier Fcm outputs “0” when the target area is a monochrome image, and outputs “1” when the target area is determined to be a color area. Think.

この場合、カラー領域では3枚のデータとしてR,G,B
の各データを記録し、モノクロ領域では前述した輝度お
よび赤、青のデータを記録し、画像出力時には、属性情
報によりデータの表示方法を切り替える手段有すること
が必要である。
In this case, in the color area, R, G, B
It is necessary to record the above-described data, record the above-described luminance and red and blue data in the monochrome area, and have a means for switching the data display method according to the attribute information when outputting an image.

本方式では、画像データは、2値化して蓄積するた
め、従来のモノクロ2値画像用の装置と同様に、MH(Mo
dified Huffman),MR(Modified Read)などの方式で符
号化できる。そのため、例えば光ディスクなどの記録媒
体は、従来のモノクロシステムと互換性が維持できる。
したがつて、前述の通り、輝度データYは、従来のモノ
クロシステムで出力することができる。
In this method, since image data is binarized and stored, the MH (Motion) is used in the same manner as in a conventional apparatus for monochrome binary images.
dified Huffman) and MR (Modified Read). Therefore, for example, a recording medium such as an optical disk can maintain compatibility with a conventional monochrome system.
Therefore, as described above, the luminance data Y can be output by a conventional monochrome system.

また、これらの2値画像の符号化方式では、文字など
の線図形部分で、符号化効率が急激に低下するといつた
問題も生じない。
In addition, in these binary image coding methods, there is no problem when the coding efficiency is sharply reduced in a line figure such as a character.

さらに、これらの2値画像データの符号化方式では、
0または1が連続する部分のデータ量を極小にできる。
したがつて、カラー/モノクロ識別情報等、値の変化が
領域単位になる情報は符号化効率が極めて高い。また、
モード(II)で蓄積するRのプレーンも、当該色の部分
以外は空白となるため、高い符号化効率が得られる。本
例では、白黒に付加する色情報として、赤のみを表示す
る場合について記したが、2色以上を表現する場合も、
蓄積するプレーン数を増加することにより、同様の手段
で実行できる。
Furthermore, in these binary image data encoding methods,
The data amount of a portion where 0s or 1s continue can be minimized.
Accordingly, information such as color / monochrome identification information in which a value change is in units of regions has extremely high coding efficiency. Also,
The R plane stored in the mode (II) is also blank except for the color portion, so that high coding efficiency can be obtained. In this example, the case where only red is displayed as the color information to be added to black and white is described.
By increasing the number of planes to be stored, it can be executed by the same means.

次に、フルカラー画像を蓄積する場合について述べ
る。フルカラー画像を2値情報で表す場合、濃度だけで
なく色を再現するために、擬似中間調処理を施す必要が
ある。しかしながら、擬似中間調処理は文字など線図形
に適用すると画像の解像度を低下することになる。した
がつて、混在文書のモノクロ部分や、マルチカラー文書
など、色の再現を必要としない部分に対しては適応型2
値化処理により線図形をより精細に記録する。一方、カ
ラー領域に対しては色を再現するため線図形であつても
擬似中間調処理を施す。
Next, a case where a full-color image is stored will be described. When a full-color image is represented by binary information, it is necessary to perform pseudo halftone processing in order to reproduce not only density but also color. However, when the pseudo halftone processing is applied to a line figure such as a character, the resolution of an image is reduced. Therefore, the adaptive type 2 is used for a portion that does not require color reproduction, such as a monochrome portion of a mixed document and a multi-color document.
The line figure is more finely recorded by the value processing. On the other hand, in the color area, pseudo halftone processing is performed even for a line figure in order to reproduce a color.

また、R,G,Bの3枚の2値画像データを重ねることに
より画像を表示する場合、3つのデータ間の値の差によ
り、本来存在しない色が出現する場合が生じる。これを
以後、色ノイズと呼ぶ。
Further, when an image is displayed by superimposing three binary image data of R, G, and B, a color that does not originally exist may appear due to a difference in values between the three data. This is hereinafter referred to as color noise.

本発明において、色ノイズはモード(III)と(IV)
の場合に生じる。この色ノイズを防止するためには、3
プレーンのデータが等しい値を有する必要がある。
In the present invention, the color noise is divided into the modes (III) and (IV).
Occurs in the case of To prevent this color noise, 3
The plane data must have equal values.

そこで、本発明は、モード(III)の場合に、カラー
/モノクロ判定部において、モノクロ領域と判定され、
さらにも文字/写真領域判定部において文字領域と判定
された画素に対しては、R,G,Bの3プレーンに同じ値を
記録する手段を有することにより、この問題を解決す
る。
Therefore, according to the present invention, in the mode (III), the color / monochrome determination section determines the monochrome area,
Further, this problem is solved by having means for recording the same value on the three planes of R, G, and B for pixels determined as a character area by the character / photograph area determination unit.

上記の各動作を実現するために、データの2値化方式
や、蓄積するデータの選択を、モードや、各領域識別装
置の出力を用い、所定の条件に基づき実行する手段が必
要である。
In order to realize each of the above operations, it is necessary to provide a means for executing a binarization method of data and selecting data to be stored based on a predetermined condition using a mode and an output of each area identification device.

一方、カラー画像を出力する場合、アフイン変換等の
画像処理や、特定色の変更、あるいは色調の調整など
は、処理の時点で画像データが多値であることが必要で
ある。したがつて、2値データとして蓄積された画像か
ら、多値データを再生することにより、これらの機能が
実現できる。
On the other hand, when a color image is output, image processing such as affine transformation, change of a specific color, or adjustment of color tone requires that the image data be multi-valued at the time of processing. Therefore, these functions can be realized by reproducing multi-value data from an image stored as binary data.

さらに、例えば検索などの場合に、2,3プレーンある
いは4プレーンのデータより構成されるカラー画像の内
容をを高速に表示する場合、例えば光デイスクなどに蓄
積された画像データの内、輝度プレーンのみを読みだし
モノクロで表示するとにより、1プレーン分のデータを
読みだすだけで、モノクロ画像を高速に表示することが
できる。
Further, for example, in the case of searching, when displaying the contents of a color image composed of data of 2, 3 or 4 planes at a high speed, for example, only the luminance plane of the image data stored on an optical disk or the like is used. Is read and displayed in monochrome, a monochrome image can be displayed at high speed simply by reading data for one plane.

〔実施例〕〔Example〕

本発明の一実施例を図を用いて詳細に説明する。 One embodiment of the present invention will be described in detail with reference to the drawings.

まず第1図を用いて、本発明の特徴の一つであるマル
チカラー画像のデータ記録形式について説明する。これ
は、前述のモード(II)の場合にあたる。
First, a data recording format of a multi-color image, which is one of the features of the present invention, will be described with reference to FIG. This corresponds to the mode (II) described above.

第1図中(a)は黒と赤の2色の文字が書かれた文書
である。図中11中の文字は黒で、12中の文字は赤でそれ
ぞれ書かれている。この文書を前述のモード(II)で入
力する場合、例えば光デイスクなどに蓄積される2枚の
2値画像データは第1図中の(b),(c)に示す画像
となる。(b)は輝度データYを記録するプレーンであ
る。画像は2値データで記録されており、原画中におい
て黒と赤で記載された文字が両方とも、単色2値画像と
して記載されている。この輝度データYのみを記録する
モードが、前述したモード(I)にあたる。本明細書に
おいては、前述の通りモード(I)の場合は、文字が記
載されている画素を“1"、空白部分の画素を“0"とす
る。
FIG. 1A shows a document in which black and red characters are written. In the figure, the characters in 11 are black, and the characters in 12 are red. When this document is input in the above-mentioned mode (II), for example, two pieces of binary image data stored on an optical disk or the like are images shown in (b) and (c) in FIG. (B) is a plane for recording the luminance data Y. The image is recorded as binary data, and both the characters described in black and red in the original image are described as a single-color binary image. The mode in which only the luminance data Y is recorded corresponds to the mode (I) described above. In this specification, as described above, in the case of the mode (I), a pixel in which a character is described is “1”, and a pixel in a blank portion is “0”.

一方、(c)はRプレーン中に記載される2種画像デ
ータを示す。輝度データ中に“1"として記載されている
画素のうちで、赤と判断された画素のみに対して“1"が
記載される。この赤を抽出し2値化する部分の構成は後
にのべる。
On the other hand, (c) shows two types of image data described in the R plane. Of the pixels described as "1" in the luminance data, "1" is described only for pixels determined to be red. The structure of the part for extracting and binarizing this red will be described later.

この結果、(b)に示した輝度データY(x,y)と、
(c)に示したR(x,y)との間には、以下の関係が成
り立つ。
As a result, the luminance data Y (x, y) shown in FIG.
The following relationship holds between R (x, y) shown in (c).

if R(x,y)=1 then Y(x,y)=1 したがつて、Rプレーンが“1"で、Yプレーンが“0"
となる場合は生じない。
if R (x, y) = 1 then Y (x, y) = 1, so that the R plane is “1” and the Y plane is “0”
Does not occur when

第2図は、モード(II)において文書中の各色を表現
するデータ形式の一例である。図中Yは輝度データ、R
はRデータの内容をそれぞれ示す。表現する色が白,
黒,赤の場合データの取りうる値は、図に示す3通りと
なる。
FIG. 2 is an example of a data format for expressing each color in a document in mode (II). In the figure, Y is luminance data, R
Indicates the contents of the R data. The color to express is white,
In the case of black and red, data can take three values as shown in the figure.

一方、光デイスクなどに蓄積された3枚の2値画像
(b),(c)からマルチカラー画像を表示する場合、
カラー出力と、モノクロ出力の2種類の場合が存在す
る。第2図に出力時の色についても示す。第1図の画像
をカラー表示する場合、(c)の画像を赤で表示し、赤
以外の部分を(b)にしたがつて白黒で表示する。この
表示法を実現する具体的手段については、後に述べる。
On the other hand, when displaying a multi-color image from three binary images (b) and (c) stored on an optical disk or the like,
There are two types of cases, color output and monochrome output. FIG. 2 also shows the colors at the time of output. When the image of FIG. 1 is displayed in color, the image of (c) is displayed in red, and the parts other than red are displayed in black and white according to (b). Specific means for realizing this display method will be described later.

また、蓄積された複数の画像を連続して表示する場合
などもYデータのみを読みだしモノクロで表示すること
により、高速表示が可能となる。
Also, when a plurality of stored images are continuously displayed, high-speed display is possible by reading out only the Y data and displaying the data in monochrome.

このYデータのみを用いることにより、例えばFAXな
どのモノクロ2値画像を扱う装置とも、データの互換性
を保つことができる。この特徴は、他のモードにおいて
も同様である。
By using only this Y data, data compatibility can be maintained with a device that handles a monochrome binary image such as a fax. This feature is the same in other modes.

なお、本例では、画像表示時に再現する色として、赤
一色を対象としたが、他の色の場合でも同様である。ま
た、特定色として複数の個を表示することもできる。こ
の場合、例えばn個の表現を必要とする場合は、n+1
プレーンの2値画像データを蓄積する。
In this example, the color reproduced at the time of displaying an image is one color red, but the same applies to other colors. Also, a plurality of individual colors can be displayed as a specific color. In this case, for example, when n expressions are required, n + 1
The binary image data of the plane is stored.

一例として、白黒の他、赤と青の2色を表現する場合
の例を第3図に示す。図中(a)は黒と赤と青の3色の
文字が書かれた文書である。図中16中の文字は黒、17中
の文字は赤、18中の文字は青で、それぞれ書かれてい
る。この文書を前述のモード(II)で入力した場合、画
像は第3図中の(b),(c),(d)に示す3枚の2
値画像データとして蓄積される。(b)は輝度データY
を記録するプレーン、(c)は赤、(d)は青で表示す
べき画素を記した2値画像データである。この場合に、
文書中の各色を表現するデータ形式を第4図に示す。
As an example, FIG. 3 shows an example of expressing two colors of red and blue in addition to black and white. (A) in the figure is a document in which characters of three colors of black, red and blue are written. In the figure, the character in 16 is black, the character in 17 is red, and the character in 18 is blue. When this document is input in the mode (II) described above, the image is composed of three images shown in (b), (c), and (d) in FIG.
It is stored as value image data. (B) is luminance data Y
(C) is binary image data describing pixels to be displayed in red and (d) in blue. In this case,
FIG. 4 shows a data format for expressing each color in the document.

次に、カラー写真等を対象とするモード(III)につ
いて説明する。第5図に、モード(III)の場合による
データの記録形式を示す。データはR,G,B3枚の2値デー
タとして記録される。図中(a)20はカラー写真の混在
する画像、(b)はRプレーン、(c)はGプレーン、
(d)はBプレーンの2値画像データの内容を示す。図
中21中の文字は黒で、22中の文字はある特定の中間色
で、記載されている。一方、23はカラー写真の記載され
ている領域を示す。
Next, the mode (III) for color photographs and the like will be described. FIG. 5 shows a data recording format in the mode (III). The data is recorded as R, G, B three pieces of binary data. In the figure, (a) 20 is an image in which color photographs are mixed, (b) is an R plane, (c) is a G plane,
(D) shows the contents of the binary image data of the B plane. In the figure, the characters in 21 are described in black, and the characters in 22 are described in a specific intermediate color. On the other hand, 23 indicates an area where a color photograph is described.

ここで、本モードにおいて、各プレーンのデータの内
容により記録される色を、第6図に示す。モード(II
I)の場合、白および黒も一つの色として扱われる。
Here, in this mode, the colors recorded according to the data content of each plane are shown in FIG. Mode (II
In the case of I), white and black are also treated as one color.

2値化に関しては、第5図中において領域21として示
した写真などフルカラー画像をR,G,Bの2値データで表
現する場合、R,G,B各データを、それぞれ擬似中間調処
理によつて2値化する。したがつて、第5図中の33,43,
53はR,G,B各データを擬似中間調処理によりそれぞれ独
立に2値化したデータである。
Regarding binarization, when a full-color image such as a photograph shown as an area 21 in FIG. 5 is represented by binary data of R, G, and B, each of the R, G, and B data is subjected to pseudo halftone processing. And binarized. Therefore, 33, 43, in FIG.
Reference numeral 53 denotes data obtained by binarizing each of the R, G, and B data independently by pseudo halftone processing.

一方、このモードにおいては、例えば21など白黒の文
字領域は、2値化処理時に擬似中間調処理は施さない。
これは、既知の方式により、文書画像中より文字領域と
写真領域とを分離する手段を用いて2種類の2値化方式
を切り替えることにより実行する。そしてさらに、黒文
字の記載されている領域を正しく表現するためには、R,
G,B各プレーンの間で値を等しくする。具体的には、文
字領域中で、かつモノクロ領域と判定された画素は、R,
G,Bの3プレーンに同一の値を記載することにより実現
できる。したがつて、31,41,51は同一の値を記載する。
On the other hand, in this mode, for example, a monochrome halftone area such as 21 is not subjected to pseudo halftone processing during binarization processing.
This is performed by switching between two types of binarization methods using means for separating a character area and a photograph area from a document image by a known method. Further, in order to correctly represent the area where black characters are described, R,
Make the value equal between G and B planes. Specifically, pixels in the character area and determined as the monochrome area are R,
This can be realized by writing the same value on the three planes G and B. Therefore, 31, 41, and 51 describe the same value.

しかしながら、文字領域においても、例えば22など彩
色された文字で、色を再現する必要のある場合は、色の
表現のため、擬似中間調処理を必要とする。したがつ
て、文字領域と写真領域の識別の他、カラー領域とモノ
クロ領域を識別する手段を有することにより、本機能を
実現する。この場合、32,42,52は、それぞれ独立の値が
記載される。
However, even in the character area, if it is necessary to reproduce the color of a colored character such as 22, for example, pseudo halftone processing is required for expressing the color. Accordingly, this function is realized by having means for identifying a color area and a monochrome area in addition to the identification of a character area and a photograph area. In this case, independent values are described for 32, 42, and 52, respectively.

なお、各種判定結果と指定モードによる2値化処理方
式の選択条件については、後に詳しく述べる。
The various determination results and the conditions for selecting the binarization processing method according to the designated mode will be described later in detail.

次に、カラー領域とモノクロ領域の混在する画像を対
象とするモード(IV)について述べる。
Next, a mode (IV) for an image in which a color area and a monochrome area are mixed will be described.

このモードは、特に多数の頁から構成される文献等を
画像データとして蓄積する場合に効果がある。一般に、
多数の画像より構成される文献等を入力する場合、例え
ばソータと呼ばれる自動入力のための装置を用いる。
This mode is particularly effective when a document or the like composed of many pages is stored as image data. In general,
When a document or the like composed of a large number of images is input, for example, a device for automatic input called a sorter is used.

この場合、操作者のつき添いを不要とすることにより
入力作業の効率を向上できる。しかしながら、入力中、
操作者がいない場合、各画像ごとにモードを切り替える
ことは困難である。すると、入力する文献中の一部の頁
にカラー領域が含まれる場合、全画像をカラー画像とし
て入力する必要がある。ここで全画像をモード(III)
で蓄積すると、モノクロ画像は、本来のモノクロモード
で入力した場合と比べ3倍のデータ量を必要する。
In this case, the efficiency of the input operation can be improved by eliminating the need for the attendant of the operator. However, while typing,
If there is no operator, it is difficult to switch the mode for each image. Then, when a color region is included in some pages in the input document, it is necessary to input the entire image as a color image. Here all images are in mode (III)
, The monochrome image requires three times the data amount as compared with the case of inputting in the original monochrome mode.

これに対してモード(IV)は、第4のプレーンとして
画像中の各部がカラー領域か、モノクロ領域かを示す識
別子を有する。この識別子は2値のフラグにて実現でき
るので、これまで述べてきた各プレーンと同様に記録す
ることができる。
On the other hand, the mode (IV) has, as the fourth plane, an identifier indicating whether each part in the image is a color area or a monochrome area. Since this identifier can be realized by a binary flag, it can be recorded in the same manner as each plane described above.

第7図にモード(IV)での記録形式の一例を示す。図
中(a)は第5図(a)と全く同じカラー画像の例であ
る。(b),(c),(d)は、それぞれR,G,Bの2値
画像データ、Fcmは画像の各部に対して、カラー領域と
モノクロ領域を識別する2値の識別子である。ここで、
仮に識別子Fcm(x,y)は当該画素IM(x,y)がカラーの
場合“1"、モノクロの場合“0"とする。すると2値デー
タFcmにおいて、画像(a)中のカラー領域22,23に対応
する、92,93は“1"、其の他の部分は“0"となる。
FIG. 7 shows an example of a recording format in the mode (IV). (A) in the figure is an example of the same color image as in FIG. 5 (a). (B), (c), and (d) are binary image data of R, G, and B, respectively, and Fcm is a binary identifier for identifying a color area and a monochrome area for each part of the image. here,
It is assumed that the identifier Fcm (x, y) is “1” when the pixel IM (x, y) is color, and “0” when the pixel IM (x, y) is monochrome. Then, in the binary data Fcm, 92 and 93 corresponding to the color regions 22 and 23 in the image (a) are “1”, and the other portions are “0”.

ここで、Fcm=1となる部分は、R,G,B各プレーンにそ
れぞれR,G,Bの2値画像データを記載する。ここの領域
において、黒は、R=G=B=0として記載される。一
方、例えば黒文字部分21においては、記録形式はモノク
ロ入力と同様であり、黒として記載する画素は、R,G,B
の内1プレーンにのみ“1"と記載する。本例では、Gプ
レーンを当該プレーンとする。
Here, in the portion where Fcm = 1, binary image data of R, G, and B is described in each of the R, G, and B planes. In this region, black is described as R = G = B = 0. On the other hand, for example, in the black character portion 21, the recording format is the same as the monochrome input, and the pixels described as black are R, G, B
Is described as "1" only in one plane. In this example, the G plane is the plane.

画像表示の場合、本記録方式では、Fcm=0の部分で
は画像データとしてGプレーンのみを読みだし、G=1
ならば黒、G=0ならば白を出力する。一方、Fcm=1
の画素に対しては、R,G,Bの3プレーンを読みだし、モ
ード(III)と同様に表示する。したがつて、モード(I
V)に対応した画像出力部には、識別子Fcmの値に応じて
Gプレーンの表示色を切り替える手段を有する必要があ
る。
In the case of image display, in the present recording method, only the G plane is read as image data in the portion where Fcm = 0, and G = 1
If so, black is output, and if G = 0, white is output. On the other hand, Fcm = 1
The three planes of R, G, and B are read for the pixel of, and displayed in the same manner as in the mode (III). Therefore, the mode (I
The image output unit corresponding to V) needs to have means for switching the display color of the G plane according to the value of the identifier Fcm.

本方式により画像データを記録すると、モノクロ画像
に対しては、常にFcm=0,R=0,G=0であり、高い符号
化効率が得られるため、モノクロモードでの入力とほぼ
同等のデータ量でカラー画像の混在する文献の記録がで
きる。一方、カラーとモノクロの混在する領域において
も、識別子Fcmは領域を単位として0と1を切り替える
ため、符号化効率が高く、モード(III)と、ほぼ同等
のデータ量で画像データの蓄積ができる。
When image data is recorded by this method, for a monochrome image, Fcm = 0, R = 0, G = 0, and high coding efficiency can be obtained. Documents with mixed color images can be recorded by volume. On the other hand, even in an area where color and monochrome are mixed, the identifier Fcm switches between 0 and 1 in units of area, so that the coding efficiency is high and image data can be stored with a data amount almost equal to that in mode (III). .

次に、前述の各記録形式による画像蓄積を実現する方
式について述べる。まずはじめに、第8図で、本発明の
全体構成をの一例を示す。
Next, a method for realizing image storage in each of the above-described recording formats will be described. First, FIG. 8 shows an example of the entire configuration of the present invention.

図中100は既知の手段による文書などの画像を光学的
に読み取り、例えばRGBなどの多値のデジタルデータと
して出力するカラースキヤナ、150は前述した記録形式
モード(I)〜(IV)の内1つを指定する入力モード指
定部、200は入力されたRGB各色の多値データを、データ
の蓄積用に2値化する画像入力部、310,320,330,340は
出力結果を一時蓄積しておくフレームメモリ400は2値
の画像データを、例えば高精細カラーCRTなどの表示装
置の入力に適した形式に変換するデータ変換部、500はR
GBの多値データを入力し表示する高精細CRTなどの画像
表示部、600はフレームメモリ中の2値データを符号化
して光デイスクなどの大容量データ蓄積部に記録した
り、すでに蓄積されたデータを読みだして復号化するデ
ータ蓄積部、900はシステム全体を制御する制御部であ
る。
In the figure, reference numeral 100 denotes a color scanner which optically reads an image of a document or the like by a known means and outputs it as multivalued digital data such as RGB, for example, and 150 denotes one of the above-described recording mode (I) to (IV) An input mode designating unit for designating image data, 200 is an image input unit for binarizing input multi-value data of each color of RGB for data storage, 310, 320, 330, 340 is a frame memory 400 for temporarily storing output results, and a binary binary memory A data conversion unit that converts the image data into a format suitable for input to a display device such as a high-definition color CRT.
An image display unit such as a high-definition CRT that inputs and displays multi-valued data of GB, 600 encodes binary data in the frame memory and records it in a large-capacity data storage unit such as an optical disk, or has already been stored A data storage unit 900 for reading and decoding data is a control unit for controlling the entire system.

ここで、本発明の特徴適部分の一つが、データ入力部
200である。そこで、次に画像の入力部分200に関して説
明する。第8図に示した各部のうち、画像入力に関する
部分を、第9図を用いて説明する。
Here, one of the characteristic suitable portions of the present invention is a data input section.
200. Therefore, the image input portion 200 will be described next. The part related to image input among the parts shown in FIG. 8 will be described with reference to FIG.

図中100は前述した様に文書などの画像を光学的に読
み取るカラースキヤナ、150は入力時にモードを指定す
る入力モード指定部である。また、310,320,330,340
は、各プレーンの2値データを一時蓄積するフレームメ
モリである。
In the figure, reference numeral 100 denotes a color scanner for optically reading an image such as a document as described above, and reference numeral 150 denotes an input mode designation unit for designating a mode at the time of input. Also, 310,320,330,340
Is a frame memory for temporarily storing binary data of each plane.

データ入力部200の特徴は、複数種類の領域判定結果
により、2値化方式はもとより、各プレーンに記載する
データを選択することにある。
A feature of the data input unit 200 is that data described in each plane is selected in addition to the binarization method based on a plurality of types of area determination results.

入力画像に対して領域を判定する手段として、210は
後述する手段などによりRGBの3枚の多値画像データよ
り、画像の各画素がカラー領域とモノクロ領域のいずれ
に属するかを識別するカラー/モノクロ識別部、220は
画像の各画素が例えば赤や青などあらかじめ定めた特定
の色に属するか否かを判定する色識別部、230は既知の
手段により、多値のデジタル画像データを入力し、画像
の各画素が文字など線図形領域と写真など中間調領域の
いずれに属するかを判定する文字/写真領域判定部であ
る。また、RGBの多値画像データをそれぞれ独立に2値
化する手段として、240は既知の手段により線図形など
の画像に対応した2値化処理部、250は擬似中間調処理
により2値化処理を施すデイザ処理部である。一方、26
0は入力モードおよび各判定結果より、RGB3枚の画像に
対する2種類の2値化処理結果から蓄積するデータを選
択し出力するセレクタである。
As means for determining an area with respect to an input image, a color / color identification unit 210 determines whether each pixel of the image belongs to a color area or a monochrome area based on three pieces of RGB multi-valued image data by means described later. A monochrome identification unit, 220 is a color identification unit that determines whether each pixel of the image belongs to a predetermined color such as red or blue, and 230 is a unit that inputs multi-valued digital image data by known means. And a character / photograph area determination unit that determines whether each pixel of the image belongs to a line graphic area such as a character or a halftone area such as a photograph. As means for independently binarizing RGB multi-valued image data, 240 is a binarization processing unit corresponding to an image such as a line figure by a known means, and 250 is a binarization processing by pseudo halftone processing Is a dither processing unit that performs the following. Meanwhile, 26
A selector 0 selects and outputs data to be stored from two types of binarization processing results for three RGB images based on the input mode and each determination result.

ここで、各モードにおける、各フレームメモリ310,32
0,330,340に、記録するデータの内容を第10図に示す。
なお、本明細書では以後、フレームメモリ310中に展開
されたデータをDATA−1,320,330,340に蓄積されたデー
タを、それぞれDATA−2,DATA−3,DATA−4と呼ぶ。
Here, in each mode, each frame memory 310, 32
At 0,330,340, the contents of the data to be recorded are shown in FIG.
Hereinafter, in this specification, the data expanded in the frame memory 310 is referred to as DATA-2, DATA-3, and DATA-4, respectively, the data stored in DATA-1, 320, 330, and 340.

第10図中“−”はデータの記録を行わないことを示
す。モード(I)で蓄積する画像データはYのみでフレ
ームメモリ810に記録される。モード(II)は2プレー
ン、モード(III)は3プレーンのデータを蓄積する。
さらにモード(IV)では、4プレーンを310,320,330,34
0に蓄積する。
In FIG. 10, "-" indicates that data is not recorded. The image data stored in the mode (I) is recorded in the frame memory 810 in Y only. Mode (II) stores data of two planes, and mode (III) stores data of three planes.
Furthermore, in mode (IV), 4 planes are 310,320,330,34
Store at 0.

今、本発明の特徴を簡潔に説明するため、カラースキ
ヤナ100からは画像上の各画素のRGB多値データが同時に
出力されると考える。信号線110はRデータ、120はGデ
ータ、130はBデータをそれぞれ送る。また、本例では
説明の簡素化のため、輝度データをGデータで代用する
が、RGB3種類の多値データに対する演算処理によつて輝
度データを算出することも可能である。
Now, in order to briefly describe the features of the present invention, it is assumed that the color scanner 100 simultaneously outputs RGB multi-value data of each pixel on an image. The signal line 110 sends R data, 120 sends G data, and 130 sends B data. Further, in this example, the luminance data is substituted with the G data for simplification of the description, but it is also possible to calculate the luminance data by performing arithmetic processing on three types of RGB multi-valued data.

カラー/モノクロ識別部210は、入力されたRGBの多値
データより、既知の手段などを用いて、モード(III)
および(IV)で用いられる。2値のカラー/モノクロ識
別部Fcmを出力する。
The color / monochrome discriminating unit 210 uses the known means or the like to convert the mode (III) from the input RGB multivalued data.
And (IV). The binary color / monochrome discriminating unit Fcm is output.

一方、色識別部220は、モード(II)において特定の
色プレーンに記載される画素を抽出することを目的とす
る。本実施例では、赤の画素を抽出する場合を例に説明
するが、抽出する色の数が1以上任意であり、かつ色自
体も任意に設定しうる。色識別部220から出力される識
別子Frbは、抽出される色の数により形式が異なり、赤
一色を抽出する場合1bitの信号となる。ここで抽出する
色の数Cnbと識別子Frbのbit数Nの間には、以下の関係
が存在する。
On the other hand, the purpose of the color identification section 220 is to extract pixels described in a specific color plane in the mode (II). In the present embodiment, a case where a red pixel is extracted will be described as an example. However, the number of colors to be extracted is one or more, and the color itself can be arbitrarily set. The identifier Frb output from the color identification unit 220 has a different format depending on the number of colors to be extracted, and is a 1-bit signal when extracting only red. The following relationship exists between the number Cnb of colors to be extracted here and the number N of bits of the identifier Frb.

N≧log2(Cnb+1) 特定色の抽出法は、RGB間の値の偏りなどを用いる方
式が、既に多数公知となつている。
N ≧ log 2 (Cnb + 1) As a method of extracting a specific color, a number of methods using a bias of values between RGB and the like have already been known.

一方、文字/写真領域判定部230は、2値化方式とし
て、線図形用の処理を行うべき領域と、擬似中間調処理
を行うべき領域を識別することを目的とする。具体的な
手段としては、例えば特開昭63−316566などに記載され
ている。判定結果Fdmは2値データとなる。判定結果Fdm
が各色により異なるとセレクタ700の出力が不安定とな
るため、文字/写真領域判定は輝度データに対して実行
する。本例では、前述の通りGデータにて輝度データを
代用する。
On the other hand, the character / photo region determination unit 230 aims to identify, as a binarization method, a region where a line graphic process is to be performed and a region where a pseudo halftone process is to be performed. Specific means are described, for example, in JP-A-63-316566. The determination result Fdm is binary data. Judgment result Fdm
Is different for each color, the output of the selector 700 becomes unstable, so that the character / photograph area determination is performed on the luminance data. In this example, as described above, the luminance data is substituted by the G data.

第11図に入力モード指定部100より入力されるモード
指定コードFmodの例を示す。
FIG. 11 shows an example of the mode designation code Fmod input from the input mode designation unit 100.

上記4種類のコード情報により、セレクタ260を駆動
する。セレクタ260は、2値処理部240、およびデイザ処
理部250よりそれぞれ出力されるRGB各3プレーンの2値
画像データ,計6プレーンのデータより、4枚のフレー
ムメモリ310,320,330,340中の1〜4枚に出力する2値
データDTATA−1〜DATA−4を選択する。
The selector 260 is driven by the above four types of code information. The selector 260 converts the binary image data of each of the three planes of RGB output from the binary processing section 240 and the dither processing section 250 into one to four of the four frame memories 310, 320, 330, and 340 based on the data of a total of six planes. Select binary data DTATA-1 to DATA-4 to be output.

セレクタ260の動作内容の一例を第12図に示す。 FIG. 12 shows an example of the operation content of the selector 260.

図中出力されるデータは、Rc,Gc,Bcはそれぞれ第9図
中の位置化処理部240より出力されるR,G,Bの2値化処理
結果、Rd,Gd,Bdはデイザ処理部250より出力されるR,G,B
の2値化処理結果である。モード(I)においては、輝
度情報のみを出力として、GcもしくはGdの一方のみをフ
レームメモリ310に出力する。ここで、GcとGdの切り替
えは、文字/写真領域判定部230の出力Fdmによつて実行
される。ただし、入力対象となる画像が、文字あるいは
写真の一方のみから構成される場合、入力設定部100な
どを用いて外部よりいずれか一方に固定することも可能
であるが、これについては後に述べる。
In the data output in the figure, Rc, Gc, and Bc are the binary processing results of R, G, and B output from the positioning processing unit 240 in FIG. 9, respectively, and Rd, Gd, and Bd are dither processing units. R, G, B output from 250
Are the binarization processing results. In the mode (I), only the luminance information is output, and only one of Gc and Gd is output to the frame memory 310. Here, switching between Gc and Gd is executed by the output Fdm of the character / photograph area determination unit 230. However, when the image to be input is composed of only one of a character and a photograph, it can be fixed to either one of the outside using the input setting unit 100 or the like, which will be described later.

モード(II)においては、2プレーン分の2値画像デ
ータをフレームメモリ310,320に蓄積する。蓄積される
データの選択は、文字/写真領域判定部230の出力Fdm
と、色識別部220の出力Frbにより制御される。ここで、
DATA−1には、モード(I)と同様に、FdmによりGcとG
dのいずれか一方を選択し記録する。
In the mode (II), binary image data of two planes is stored in the frame memories 310 and 320. The selection of the data to be stored is determined by the output Fdm of the character / photo area determination unit 230.
Is controlled by the output Frb of the color identification unit 220. here,
DATA-1 contains Gc and G by Fdm as in mode (I).
Select and record one of d.

また、この図では、Frbとして1bitのコードデータを
用いた場合について示している。
Also, this figure shows a case where 1-bit code data is used as Frb.

識別子Frbは、対象となる画素が“赤”の場合、
“1"、そのほかの場合、“0"とする。DATA−2は、Frb
が“1"の場合、GcあるいはGdとなり、Frbが“0"の場
合、DATA−2は“0"となる。
The identifier Frb is, if the target pixel is “red”,
Set to “1”, otherwise set to “0”. DATA-2 is Frb
Is "1", it becomes Gc or Gd, and if Frb is "0", DATA-2 becomes "0".

なお、GcとGdの切り替えは、モード(I)と同様Fdm
により選択される。
The switching between Gc and Gd is performed in the same manner as in mode (I).
Is selected by

モード(III)においても、画像はR,G,B3プレーンの
2値画像として蓄積する。ここで、蓄積するデータはR,
G,Bの各プレーンである。
Also in the mode (III), the image is stored as a binary image of R, G, B3 planes. Here, the stored data is R,
G and B planes.

一方、モード(IV)においては、R,G,B及びFcmをそれ
ぞれ、4個所のフレームメモリ310,320,330,340にそれ
ぞれ蓄積する。ここで、フレームメモリ320には、Gプ
レーンと輝度プレーンの一方を、カラー/モノクロ識別
部210の出力Fcmにより選択し蓄積するが、前述のよう
に、本例においては、Gデータと輝度データは同一であ
るので、通常選択の必要はない。しかしながら、文字領
域の混在した文書においては、モノクロの線図形領域は
2値化処理部240の出力を選択し、そのほかの選択に対
しては、デイザ処理部250の選択する。従つて、カラー
/モノクロ識別部210の出力Fcmにより、GcもしくはGdの
いずれか一方を選択する。
On the other hand, in the mode (IV), R, G, B, and Fcm are stored in four frame memories 310, 320, 330, and 340, respectively. Here, one of the G plane and the luminance plane is selected and stored in the frame memory 320 based on the output Fcm of the color / monochrome discriminating unit 210. As described above, in this example, the G data and the luminance data are Since they are identical, there is usually no need to select. However, in a document in which character areas are mixed, the output of the binarization processing section 240 is selected for the monochrome line graphic area, and the dither processing section 250 selects the other selection. Therefore, one of Gc and Gd is selected according to the output Fcm of the color / monochrome identifying section 210.

さて、ここまで述べた例は、対象となる文書が文字と
写真の混在した文書であることを前提としていた。しか
し、文書全体が文字、または写真からなる文書を入力す
る場合には、例えば入力モード指定部150などにより、
(I)〜(IV)の他に、[文字],[写真],[混在]
といつた領域の種類も指定することにより、文字/写真
領域判定部400と独立にセレクタ260の動作条件を定める
ことができる。この場合、入力モード指定部150からセ
レクタ260への信号は、入力モード4種の選択コード
と、対象文書による識別コード2bitが加わる。
The examples described so far have been based on the premise that the target document is a document in which characters and photographs are mixed. However, when inputting a document in which the entire document is composed of characters or photos, for example, by the input mode specifying unit 150,
In addition to (I)-(IV), [text], [photo], [mixed]
By specifying the type of the region, the operating condition of the selector 260 can be determined independently of the character / photo region determination unit 400. In this case, a signal from the input mode designating unit 150 to the selector 260 is added with four types of input mode selection codes and an identification code of 2 bits according to the target document.

第12図にこの場合の、入力モード指定部150からの出
力コードの一例を示す。基本的に4種類モードそれぞれ
に、デイザ処理を選択しない[文字]と、必ず選択する
[写真],文字/写真領域判定の出力に基づく[混在]
が存在する。ただし、[文字]の場合、通常2値化処理
部240の出力を蓄積する。ところが、モード(III)およ
びモード(IV)では、中間色の再現が必要であるため、
カラー領域に対して2値化処理部240の出力を蓄積する
ことはない。したがつて、モード(III)および(IV)
では、[文字]と指定する場合を除外する。
FIG. 12 shows an example of an output code from input mode designating section 150 in this case. Basically, in each of the four types of modes, [character] for which dither processing is not selected, [photo] that must be selected, and [mixed] based on the output of character / photo area determination
Exists. However, in the case of [character], the output of the binarization processing unit 240 is normally stored. However, in mode (III) and mode (IV), it is necessary to reproduce an intermediate color.
The output of the binarization processing unit 240 is not accumulated for the color area. Therefore, modes (III) and (IV)
Then, the case where [character] is specified is excluded.

ここで[文字]と指定した場合のセレクタ260の動作
の一例を第14図に、[写真]を指定した場合の一例を第
15図にそれぞれ示す。
FIG. 14 shows an example of the operation of the selector 260 when [character] is specified here, and FIG. 14 shows an example of the operation when [photo] is specified.
Each is shown in Figure 15.

次に、前述の各記録形式のデータを蓄積を方式の一例
について述べる。
Next, an example of a method of storing data in each of the above-described recording formats will be described.

フレームメモリ310,320,330,340中に蓄積されたDATA
−1,DATA−2,DATA−3,DATA−4の2値データは、既知の
手段により符号化された後、光デイスクなどの大容量デ
ータ蓄積装置中に蓄積される。第16図を用いてデータ蓄
積部分の一実施例を説明する。図中310,320,330,340
は、前述の通り、1プレーンごとの2値画像データを蓄
積するフレームメモリ、600は第8図のデータ蓄積部に
あたる。データ蓄積部600は以下に述べる構成で実現で
きる。図中610は接続された各メモリ中のデータを逐次
読みだし、符号復号処理部620に出力するセレクタであ
る。符号復号処理部620は、既知の手段により2値デー
タを符号化し、光デイスクなどデータ蓄積部650に蓄積
する。
DATA stored in frame memories 310, 320, 330, 340
The binary data of -1, DATA-2, DATA-3, and DATA-4 are encoded by known means and then stored in a large-capacity data storage device such as an optical disk. An embodiment of the data storage portion will be described with reference to FIG. 310,320,330,340 in the figure
Is a frame memory for storing binary image data for each plane as described above, and 600 corresponds to the data storage section in FIG. The data storage unit 600 can be realized by the configuration described below. In the figure, reference numeral 610 denotes a selector for sequentially reading data in each connected memory and outputting the data to the code decoding processing unit 620. The encoding / decoding processing unit 620 encodes the binary data by a known means, and accumulates the data in the data accumulation unit 650 such as an optical disk.

制御部900より、データ蓄積の指示が与えられた場
合、システムはまず、ヘツダ情報を光デイスク890に転
送蓄積する。ヘツダ情報は、例えば文書の名称など検索
時に用いる情報や、文書のサイズなどからなる。ただ
し、本発明においては、ヘツダ情報の一項目として、入
力時のモードをコードなどにより記録する。
When an instruction to store data is given from the control unit 900, the system first transfers and stores the header information to the optical disk 890. The header information includes, for example, information used at the time of search, such as a document name, and the size of the document. However, in the present invention, a mode at the time of input is recorded by a code or the like as one item of the header information.

ヘツダ情報を蓄積した後、モードに応じて、1〜4プ
レーンの2値画像データを順次、符号化処理部620にて
符号化し、データ蓄積部650に蓄積する。蓄積するデー
タの順序は、制御部900からの指示により、セレクタ610
により選択される。
After accumulating the header information, the binary image data of 1 to 4 planes are sequentially encoded by the encoding processing unit 620 and accumulated in the data accumulation unit 650 according to the mode. The order of the data to be stored is determined by the selector 610 according to an instruction from the control unit 900.
Is selected by

ここで、データ蓄積部650に蓄積されるデータの記録
順について、第17図を用いて説明する。第17図(a)〜
(d)は、モード(I)〜(IV)で入力したデータの記
録フオーマトの一例である。図中910はヘツダ情報を記
録する領域、920はDATA−1、930,940,950はそれぞれDA
TA−2,DATA−3,DATA−4を記録する領域である。
Here, the recording order of the data stored in the data storage unit 650 will be described with reference to FIG. Fig. 17 (a)-
(D) is an example of a recording format of data input in modes (I) to (IV). In the figure, 910 is an area for recording header information, 920 is DATA-1, and 930, 940, and 950 are DAs, respectively.
This is an area for recording TA-2, DATA-3, and DATA-4.

モード(I)においては、画像データは、輝度プレー
ンのみであり、フレームメモリ310中のDATA−1のみを
蓄積する。一方、モード(II)〜(III)においては、
画像データとして、先頭に輝度プレーンを蓄積し、その
後に各色にプレーンを記録する。モード(II)におい
て、複数の色を表現する場合、この輝度プレーンの後
に、各プレーンを順に記録する。この結果、画像を検
索,表示する場合、1枚目のデータを読みだすだけで、
モノクロ2値画像を出力することもできる。一方、モー
ド(IV)の場合、画像データの先頭には、Gデータを記
録する。GデータはR,G,B、3種類のデータのうち、分
光スペクトルが中間に位置するため、特定色が再現され
ない現象が最も生じにくいためである。したがつて、こ
の場合も表示する際には、1枚目のデータを読みだすだ
けで、モノクロ2値画像を出力することもできる。
In the mode (I), the image data is only the luminance plane, and stores only DATA-1 in the frame memory 310. On the other hand, in modes (II) to (III),
As image data, a luminance plane is accumulated at the head, and thereafter, a plane is recorded for each color. In the case of expressing a plurality of colors in the mode (II), each plane is sequentially recorded after the luminance plane. As a result, when searching and displaying images, simply read out the first data,
It is also possible to output a monochrome binary image. On the other hand, in the mode (IV), G data is recorded at the head of the image data. This is because, among the three types of data, R data, G data, and B data, the spectral spectrum is located in the middle, so that the phenomenon that the specific color is not reproduced is most unlikely to occur. Therefore, in this case, when displaying, it is possible to output a monochrome binary image only by reading the first data.

一方、ヘツダ情報中の記録領域911に、各画像の入力
時のモードを表すコード情報を記録する。
On the other hand, code information indicating the mode at the time of inputting each image is recorded in the recording area 911 in the header information.

次に、データ蓄積部500中に記録された画像データを
読みだし、画像を表示する処理について述べる。
Next, a process of reading out image data recorded in the data storage unit 500 and displaying an image will be described.

まず、データ蓄積部650中に蓄積された画像データを
読みだし、フレームメモリ310,320,330,340に入力する
部分について第16図を用いて説明する。まず、まじめに
データ蓄積部中に記録された各データのヘツダ情報を読
みだし、対象となるデータを検索する。
First, the part of reading out the image data stored in the data storage unit 650 and inputting it to the frame memories 310, 320, 330, 340 will be described with reference to FIG. First, the header information of each data recorded in the data storage unit is read out, and the target data is searched.

対象となるデータが確認されたならば、続いてヘツダ
情報中に記録されているモード識別子Fmodにより、読み
だすプレーンの数を決定し、データ蓄積部650中の適応
するデータを必要な枚数分読みだし、それぞれ符号復号
処理部620にて2値データに復号化した後、フレームメ
モリ310,320,330,340にDATA−1からDATA−4として蓄
積する。
If the target data is confirmed, then the number of planes to be read is determined by the mode identifier Fmod recorded in the header information, and the necessary data in the data storage unit 650 is read by the required number. However, after being decoded into binary data by the code decoding processing unit 620, the data is stored as DATA-1 to DATA-4 in the frame memories 310, 320, 330, and 340.

次に、フレームメモリ310,320,330,340中に展開され
たDATA−1からDATA−4をデータ変換部400にて、高精
細カラーCRTなどの画像表示部500の入力に適した形式の
データに変換し、画像表示部500に表示する。
Next, DATA-1 to DATA-4 developed in the frame memories 310, 320, 330, and 340 are converted into data in a format suitable for input to the image display unit 500 such as a high-definition color CRT by the data conversion unit 400, and image display is performed. Displayed in section 500.

データ変換部400における動作は、まず、入力された
1〜4プレーンの2値画像データより、RGBの3プレー
ンの画像データを生成することにある。なお以後、本明
細書では、多値情報より再生したR,G,Bそれぞれのデー
タをDATA−R,DATA−G,DATA−Bと呼ぶ。ここで、DATA−
R,DATA−G,DATA−Bと画像表示部500に表示される色の
関係は第6図と同様である。DATA−R,DATA−G,DATA−B
のいずれもが“1"の場合、“白”が表示され、“0"の場
合“黒”が表示される。
The operation of the data conversion unit 400 is to generate image data of three RGB planes from the input binary image data of one to four planes. Hereinafter, in this specification, data of R, G, and B reproduced from multi-valued information are referred to as DATA-R, DATA-G, and DATA-B. Where DATA−
The relationship between R, DATA-G, DATA-B and the colors displayed on the image display section 500 is the same as in FIG. DATA-R, DATA-G, DATA-B
If both are “1”, “white” is displayed, and if both are “0”, “black” is displayed.

次に第18図を用いて、データ変換部の一構成例を説明
する。図中データセレクタ410は、読み込まれたヘツダ
情報中のモード識別子Fmodにより制御部900により制御
され、DATA−1,DATA−2,DATA−3,DATA−4の内必要なデ
ータを合成し、DATA−R,DATA−G,DATA−Bを出力する。
この動作の内容は後に述べる。データセレクタ410から
出力されたRGBの3プレーンの2値データは多値化処理
部420にて、画像表示部500に応じた形式のデータに変換
される。ここでの処理は例えばビツトシフトなどによ
り、2値データにより画像表示部の各画素の点滅を制御
する値の変換する。
Next, a configuration example of the data conversion unit will be described with reference to FIG. The data selector 410 in the figure is controlled by the control unit 900 according to the mode identifier Fmod in the read header information, and combines necessary data among DATA-1, DATA-2, DATA-3, and DATA-4, and -R, DATA-G, DATA-B are output.
The details of this operation will be described later. The RGB three-plane binary data output from the data selector 410 is converted into data in a format corresponding to the image display unit 500 by the multi-value processing unit 420. In this process, a value for controlling the blinking of each pixel of the image display unit is converted by binary data using, for example, a bit shift.

データ変換部の動作は、対象となる画像のモードや、
表示の種別、さらにはデータの内容によつて異なる。
The operation of the data conversion unit depends on the mode of the target image,
It differs depending on the type of display and the content of the data.

第19図にデータセレクタ410の動作の一例を示す。こ
こで、例えばモード(II)の画像をカラーで表示する場
合、DATA−1,DATA−2の論理式により、DATA−R,DATA−
G,DATA−Bは決定される。輝度情報DATA−1のみが“1"
の場合は、DATA−R,DATA−G,DATA−Bのいずれも“0"と
なり“黒”を表示し、DATA−1とDATA−2が“1"の場合
は、DATA−Rのみ“1"とすることにより“赤”を表示す
る。
FIG. 19 shows an example of the operation of the data selector 410. Here, for example, when an image in mode (II) is displayed in color, DATA-R, DATA-
G, DATA-B is determined. Only luminance information DATA-1 is "1"
In the case of, all of DATA-R, DATA-G, and DATA-B become "0" and "black" is displayed, and when DATA-1 and DATA-2 are "1", only DATA-R becomes "1". To display “red”.

一方、画像を表示するタイミングは以下のようにでき
る。例えば、モノクロ画像を表示する場合、フレームメ
モリ310に輝度データYが入力されると同時に、データ
セルからRGBの3プレーンのデータとしてそれぞれ輝度
データ出力される。そして、多値化処理部420からR,G,B
各プレーンに等しい値の画像データが画像表示部500へ
送られることにより、モノクロの画像が画像表示部500
上に表示される。
On the other hand, the timing of displaying an image can be as follows. For example, when displaying a monochrome image, the luminance data Y is input to the frame memory 310, and at the same time, the luminance data is output from the data cell as RGB three-plane data. Then, the R, G, B
By sending image data of the same value to each plane to the image display unit 500, a monochrome image is displayed on the image display unit 500.
Displayed above.

一方、モード(III)のフルカラー画像を表示する場
合は、DATA−R,DATA−G,DATA−Bの値は、それぞれ独立
にDATA−1,DATA−2,DATA−3によつて決められる。ま
た、画像表示のタイミングは、DATA−1,DATA−2,DATA−
3がフレームメモリに書き込まれると同時に、それぞれ
G,R,Bプレーンを順に表示する。
On the other hand, when displaying a full-color image in mode (III), the values of DATA-R, DATA-G, and DATA-B are independently determined by DATA-1, DATA-2, and DATA-3. The timing of image display is DATA-1, DATA-2, DATA-
3 is written to the frame memory and at the same time
G, R, and B planes are displayed in order.

モード(II)の画像データを表示する場合、3プレー
ンのデータがフレームメモリ310〜330に蓄積されるま
で、最終的な色の決定はできない。この場合、はじめモ
ード(I)と同様に輝度データをモノクロ画像で表示し
ておき、逐次書き換える方式も有効である。
When displaying the image data of mode (II), the final color cannot be determined until the data of three planes is accumulated in the frame memories 310 to 330. In this case, it is also effective to first display the luminance data as a monochrome image in the same manner as in the mode (I), and to sequentially rewrite the luminance data.

一方、制御部900からの指示により、データセレクタ4
10の動作を制御することにより、例えばカラー画像をモ
ノクロで表示することなどが実現できる。具体的には、
例えばモノクロ表示の場合は、DATA−1のみを読みだ
し、R,G,B共にこのDATA−1を表示することにより、実
現できる。
On the other hand, according to an instruction from the control unit 900, the data selector 4
By controlling the operations of 10, it is possible to realize, for example, displaying a color image in monochrome. In particular,
For example, in the case of monochrome display, it can be realized by reading out only DATA-1 and displaying this DATA-1 for all of R, G and B.

また、例えばモード(II)により入力したマルチカラ
ー文書の2プレーンの画像データのうち、DATA−2のみ
を表示することにより、赤プレーンのみを選択して表示
することもできる。
Further, for example, only the red plane can be selected and displayed by displaying only DATA-2 of the image data of two planes of the multi-color document input in the mode (II).

さて、モード(III)あるいは(IV)が対象とするフ
ルカラー画像は、本来、中間調で濃淡を表現する必要が
ある。特にカラー写真などは、出力装置の特性による微
妙な色調の差が、人間の視覚には大きな違いとなつて感
じられる。
By the way, the full-color image targeted for the mode (III) or (IV) originally needs to express shades in halftones. In particular, in color photographs and the like, a slight difference in color tone due to the characteristics of the output device is perceived as a great difference to human vision.

したがつて、フルカラー画像を高画質に表示するため
には、中間調データに対する、輝度や色度の補正や変更
が必要である。本発明では、画像を2値データとして蓄
積しているため、本目的を実現するためには、2値の画
像データを濃淡を有する多値データに変換する手段が必
要である。
Therefore, in order to display a full-color image with high image quality, it is necessary to correct or change the luminance and chromaticity of the halftone data. In the present invention, since an image is stored as binary data, a means for converting binary image data into multi-valued data having shading is required to achieve the object.

第20図に、本目的を実現するための画像表示部の一構
成例を示す。この例では、DATA−R,DATA−G,DATA−Bの
3種の2値データを同時に入力し、画像表示部500へ出
力する場合を示しているが、データを一時蓄積するメモ
リを用いることにより1プレーンずつ変換することもで
きる。
FIG. 20 shows a configuration example of an image display unit for realizing the object. In this example, three types of binary data, DATA-R, DATA-G, and DATA-B, are simultaneously input and output to the image display unit 500. However, a memory for temporarily storing data is used. Can be converted one plane at a time.

図中、431,432,433は2値の画像データより多値のデ
ータを再生する中間調変換部、441,442,443は得られた
中間調データを変換する色調変換部、451,452,453は2
値データを特定倍するシフトレジスタ、470は入力され
たデータが、線図形などの2値データが、擬似中間調デ
ータかを判定する領域判定部461,462,463は領域判定部4
70の出力により2種類の中間調データの一方を選択する
セレクタ、500はRGB系の多値データを入力しフルカラー
画像を表示する画像表示部である。
In the figure, 431, 432, 433 are halftone converters for reproducing multi-valued data from binary image data, 441, 442, 443 are color tone converters for converting the obtained halftone data, and 451, 452, 453 are 2
A shift register for multiplying the value data by a specific value; 470, an area determining unit 461, 462, 463 for determining whether input data is binary halftone data such as a line figure or the like;
A selector for selecting one of two types of halftone data based on the output of 70, and an image display unit 500 for inputting RGB multi-value data and displaying a full-color image.

ここでは、簡単のため、1プレーン分の動作について
説明するが、他のプレーンも同様である。ここで中間調
変換部431は、擬似中間調処理画像から多値の中間調デ
ータを再生する。再生の手段は、既に多数の方式が公知
であるが、例えば特願昭63−240973などの、近傍の局所
領域中での黒画素の分布密度を抽出するの方式などが適
用できる。中間調に変換された画像は、色調変換部によ
り必要な変換をRGB各プレーンごとに施される。色調変
換部441は例えば、RAM(Read Only Memory)などによ
つて表現できる。RAMの内容は、あらかじめ設定してお
くほか、例えば制御部より転送したり、あらかじめ設定
した複数種類の内部より接続された装置に応じて選択す
る方式などが実現できる。
Here, for simplicity, the operation for one plane will be described, but the same applies to other planes. Here, the halftone conversion unit 431 reproduces multi-value halftone data from the pseudo halftone processed image. Although a large number of methods are already known as a reproducing means, for example, a method of extracting the distribution density of black pixels in a nearby local region, such as Japanese Patent Application No. 63-240973, can be applied. The halftone-converted image is subjected to necessary conversion by the color tone conversion unit for each of the RGB planes. The color tone conversion unit 441 can be represented by, for example, a RAM (Read Only Memory). In addition to setting the contents of the RAM in advance, a method of transferring the contents from the control unit or selecting the contents according to a plurality of types of internally set devices connected in advance can be realized.

一方、文字など線図形の領域においては、黒画素の位
置関係が重要であり、濃淡を表現することは、むしろ解
像度を低下させることにより、画質を劣化させる。した
がつて、例えばシステムに接続された表示部500の入力
範囲が、8bitの場合、入力された2値データを単に8bit
シフトすることにより、画質の劣化を防ぐ。
On the other hand, in the area of a line figure such as a character, the positional relationship of black pixels is important, and expressing the shading rather deteriorates the resolution, thereby deteriorating the image quality. Therefore, for example, when the input range of the display unit 500 connected to the system is 8 bits, the input binary data is simply converted to 8 bits.
The shift prevents deterioration of image quality.

セレクタ461は、この色調変換部441および、シフトレ
ジスタ421の出力の一方を選択し、出力する。選択は、
出力の対象となる領域が、線図形領域と擬似中間調領域
の、いずれに属するかを判定する領域判定部470の出力
により切り替えられる。入力された2値画像の領域を判
定する手段については、すでに多数の方式が公知であ
り、本実施例でもそれらを利用する。
The selector 461 selects and outputs one of the outputs of the color tone conversion unit 441 and the shift register 421. The choice is
The area to be output is switched by the output of the area determination unit 470 that determines which of the line graphic area and the pseudo halftone area belongs to. As a means for determining the area of the input binary image, many methods are already known, and these methods are also used in this embodiment.

セレクタ461において選択された画像はCRTなどの画像
表示部500に転送され表示される。
The image selected by the selector 461 is transferred to an image display unit 500 such as a CRT and displayed.

この結果、カラー写真など中間調の画像を、2値デー
タで蓄積したうえで、中間調画像として表示できる。ま
た、濃度や色度などの変換を施すこともできる。
As a result, a halftone image such as a color photograph can be stored as binary data and then displayed as a halftone image. Further, conversion such as density and chromaticity can be performed.

なお、本実施例では、3プレーンの2値データを、同
時に変換する法の一例について説明したが、データを一
時蓄積する手段を有することにより、各プレーンをそれ
ぞれ順に変換することもできる。画像をCRT上に表示す
る場合を例に説明したが、他の出力装置、例えばプリン
タなどに対しても同様の方式で実現できる。
In the present embodiment, an example of a method of simultaneously converting three planes of binary data has been described. However, the provision of the means for temporarily storing data allows each plane to be converted in turn. Although the case where the image is displayed on the CRT has been described as an example, the same method can be used for other output devices such as a printer.

〔発明の効果〕〔The invention's effect〕

本発明によれば、カラー文書,モノクロ文書を問わ
ず、各種の文書画像、特にカラー文書に多い、モノクロ
部分の混在した画像に対して効率的な蓄積ができ、さら
には、朱印付き文書などモノクロ領域が主体で、色彩の
再現が重要でないカラー文書に対しては、より符号化効
率の高いカラー画像処理装置を実現することができる。
According to the present invention, it is possible to efficiently accumulate various types of document images irrespective of whether they are color documents or monochrome documents, in particular, images having a mixture of monochrome portions, which are common in color documents. For a color document whose area is mainly used and color reproduction is not important, a color image processing apparatus with higher encoding efficiency can be realized.

また、従来のモノクロ画像を対象としていた画像処理
装置との互換性を有するデータ形式でカラー画像を蓄積
するカラー画像処理装置が実現できる。同時に、従来蓄
積していたモノクロ画像データとの互換性を保つた形式
で、カラー画像データを蓄積するための、カラー画像処
理方式が実現できる。
Further, it is possible to realize a color image processing apparatus that stores a color image in a data format compatible with the conventional image processing apparatus for monochrome images. At the same time, it is possible to realize a color image processing method for storing color image data in a format that maintains compatibility with monochrome image data that has been conventionally stored.

また、一度蓄積されたカラー画像を出力する場合で
も、画像の色調や彩度の変更が可能なカラー画像処理装
置が次元できる。さらに、例えば、光デイスク等に大量
に蓄積されたカラー画像データの内容を検索する際など
に、各画像の内容を高速に表示できる画像処理装置が実
現できる。
Further, even when a color image once stored is output, a color image processing apparatus capable of changing the color tone and saturation of the image can be realized. Further, for example, when retrieving the contents of color image data stored in large quantities on an optical disk or the like, an image processing apparatus capable of displaying the contents of each image at high speed can be realized.

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

第1図は、マルチカラー文書を蓄積する場合の画像デー
タ形式を説明する図、第2図は、マルチカラー文書を蓄
積する場合の各データの表現する色を示す図、第3図
は、赤と青を含むマルチカラー文書を蓄積する場合の画
像データ形式を説明する図、第4図は、赤と青を含むマ
ルチカラー文書を蓄積する場合の各データの表現する色
を示す図、第5図は、フルカラー文書を蓄積する場合の
画像データ形式を説明する図、第6図は、フルカラーモ
ードでの各データが表現する色を示す図、第7図は、カ
ラー領域とモノクロ領域が混在する文書を入力する場合
のデータ形式を説明する図、第8図は、本発明を実現す
るためのシステムの全体概要を説明するための図、第9
図は、本画像を入力し、2値の画像データに変換する部
分の一構成例を示す図、第10図は、各モードで、フレー
ムメモリ中に記載されるデータの種類を示す図、第11図
は、入力モード指定部より指示される、各モードを示す
コードデータの一例を示す図、第12図は、各モード及
び、各種領域判定結果により蓄積するデータを選択する
データセレクタの動作の一例を示す図、第13図は、入力
モード指定部により、入力のモードの他、対象となる領
域を限定する指示を入力する場合のコードデータの一例
を示す図、第14図は、入力される文書が文字など線図形
に限定した場合に、各フレームメモリに蓄積するデータ
の内容を示す図、第15図は、入力される文書が文字など
線図形に限定した場合に、各フレームメモリに蓄積する
データの内容を示す図、第16図は、各画像データを光デ
イスクなど、大容量のデータ蓄積部の記録する過程を説
明する図、第17図は、光デイスク中に記録される各モー
ドの画像データの蓄積手順を示す図、第18図は、画像デ
ータを表示する過程を説明する図、第19図は、各状態に
おけるデータセレクタの動作を説明する図、第20図は、
多値化処理部の一構成例を説明する図である。
FIG. 1 is a diagram for explaining an image data format when a multi-color document is stored, FIG. 2 is a diagram showing colors represented by respective data when a multi-color document is stored, and FIG. FIG. 4 is a diagram illustrating an image data format when a multi-color document including red and blue is stored. FIG. 4 is a diagram illustrating colors represented by respective data when a multi-color document including red and blue is stored. FIG. 6 is a diagram illustrating an image data format when a full-color document is stored. FIG. 6 is a diagram illustrating colors represented by respective data in a full-color mode. FIG. 7 is a diagram in which a color region and a monochrome region are mixed. FIG. 8 is a diagram for explaining a data format when a document is input, FIG. 8 is a diagram for explaining an overall outline of a system for realizing the present invention, and FIG.
FIG. 10 is a diagram showing an example of the configuration of a part for inputting a main image and converting it into binary image data. FIG. 10 is a diagram showing the types of data described in a frame memory in each mode. FIG. 11 is a diagram showing an example of code data indicating each mode instructed by the input mode designating section. FIG. 12 is a diagram showing the operation of each mode and the operation of the data selector for selecting data to be stored based on various area determination results. FIG. 13 is a diagram showing an example, FIG. 13 is a diagram showing an example of code data in the case of inputting an instruction for limiting a target area, in addition to an input mode by an input mode designating section, and FIG. Figure 15 shows the contents of data stored in each frame memory when the document to be input is limited to line graphics such as characters. Diagram showing the contents of data to be stored, FIG. 16 is a diagram for explaining a process of recording each image data in a large-capacity data storage unit such as an optical disk, and FIG. 17 is a diagram showing a storage procedure of image data of each mode recorded on the optical disk. , FIG. 18 is a diagram for explaining the process of displaying image data, FIG. 19 is a diagram for explaining the operation of the data selector in each state, FIG.
FIG. 3 is a diagram illustrating a configuration example of a multi-value processing section.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤澤 浩道 東京都国分寺市東恋ケ窪1丁目280番地 株式会社日立製作所中央研究所内 (72)発明者 増崎 秀文 神奈川県小田原市国府津2880番地 株式 会社日立製作所小田原工場内 (72)発明者 高橋 次男 神奈川県小田原市国府津2880番地 株式 会社日立製作所小田原工場内 (72)発明者 木下 和憲 神奈川県小田原市国府津2880番地 株式 会社日立製作所小田原工場内 (72)発明者 黒須 康雄 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (56)参考文献 特開 昭63−197173(JP,A) 特開 昭63−199569(JP,A) 特開 昭62−188566(JP,A) 特開 昭63−232681(JP,A) 特開 平3−122678(JP,A) 特開 平3−46869(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 - 1/64 ──────────────────────────────────────────────────の Continued on the front page (72) Inventor Hiromichi Fujisawa 1-280 Higashi Koikebo, Kokubunji-shi, Tokyo Inside the Central Research Laboratory, Hitachi, Ltd. In the factory (72) Inventor Tsugio Takahashi 2880 Kozu, Kokuzu, Odawara City, Kanagawa Prefecture Inside the Odawara Plant, Hitachi, Ltd. Yasuo 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside the Microelectronics Device Development Laboratory, Hitachi, Ltd. (56) References JP-A-63-197173 (JP, A) JP-A-63-199569 (JP, A) JP-A-62-188566 (JP, A) JP-A-63-232681 (JP, A) , A) JP flat 3-122678 (JP, A) JP flat 3-46869 (JP, A) (58 ) investigated the field (Int.Cl. 7, DB name) H04N 1/40 - 1/409 H04N 1/46-1/64

Claims (15)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像を光学的に読み取り出力するスキヤナ
と、 モード指定コードを入力する入力モード指定部と、 2値画像データを格納する第1のフレームメモリ、第2
のフレームメモリ、第3のフレームメモリ及び第4のフ
レームメモリと 前記スキャナと前記入力モード指定部とに接続され、ス
キヤナからの画像の各画素がカラー領域とモノクロ領域
のいずれかに属するかを識別し、スキヤナからの画像の
各画素が予め定めた特定の色に属するか否かを判定し、
前記スキャナから入力された画像を2値データに変換し
て、前記第1のフレームメモリ、前記第2のフレームメ
モリ、前記第3のフレームメモリ及び前記第4のフレー
ムメモリへ前記入力モード指定部の出力に基づいて前記
2値データを出力するデータ入力部とを有し、 前記データ入力部は、前記モード指定部から入力された
モードにより、前記第1のフレームメモリに輝度情報と
して用いる前記2値データを蓄積する第1のモードと、
前記第1のフレームメモリに輝度情報として用いる前記
2値データを、前記第2のフレームメモリに所定の色で
表示するカラー画素情報である前記2値データを蓄積す
る第2のモードと、第1のフレームメモリ、第2のフレ
ームメモリ及び第3のフレームメモリにそれぞれ3原色
のカラー画素情報である前記2値データを蓄積する第3
のモードと、モノクロ領域は前記第1のフレームメモリ
に輝度情報である前記2値データを蓄積し、カラー領域
は第1のフレームメモリ、第2のフレームメモリ及び第
3のフレームメモリにそれぞれ3原色のカラー画素情報
である前記2値データを蓄積し、第4のフレームメモリ
にそれぞれの画素がモノクロ領域かカラー領域かを示す
領域識別子を蓄積する第4のモードとを選択することを
特徴とするカラー文書画像処理装置。
A scanner for optically reading and outputting an image; an input mode designating unit for entering a mode designating code; a first frame memory for storing binary image data;
Frame memory, a third frame memory, a fourth frame memory, and the scanner and the input mode designating unit, and identifies whether each pixel of the image from the scanner belongs to a color area or a monochrome area. Then, it is determined whether each pixel of the image from the scanner belongs to a predetermined specific color,
The image input from the scanner is converted into binary data, and the binary data is converted to the first frame memory, the second frame memory, the third frame memory, and the fourth frame memory. A data input unit that outputs the binary data based on an output, wherein the data input unit uses the binary data used as luminance information in the first frame memory according to a mode input from the mode designating unit. A first mode for storing data,
A second mode in which the binary data used as the luminance information in the first frame memory is stored in the second frame memory as the binary data which is color pixel information to be displayed in a predetermined color; Storing the binary data as color pixel information of the three primary colors in the frame memory, the second frame memory, and the third frame memory, respectively.
Mode, the monochrome area stores the binary data as luminance information in the first frame memory, and the color area stores three primary colors in the first frame memory, the second frame memory, and the third frame memory, respectively. A fourth mode in which the binary data as color pixel information is stored, and an area identifier indicating whether each pixel is a monochrome area or a color area is stored in a fourth frame memory. Color document image processing device.
【請求項2】請求項1記載のカラー文書画像処理装置に
おいて、前記3原色のカラー画素情報である前記2値デ
ータは、RGBの3プレーンから成る2値データであるカ
ラー文書画像処理装置。
2. A color document image processing apparatus according to claim 1, wherein said binary data as color pixel information of said three primary colors is binary data composed of three planes of RGB.
【請求項3】請求項1記載のカラー文書画像処理装置
は、前記第1のフレームメモリ、前記第2のフレームメ
モリ、第3のフレームメモリ及び第4のフレームメモリ
と前記入力モード指定部とに接続されるデータ蓄積部を
有し、前記第1のフレームメモリ、前記第2のフレーム
メモリ、第3のフレームメモリ及び第4のフレームメモ
リに蓄積された2値データが前記入力モード指定部によ
って指定されるモードに従って蓄積されたカラー文書画
像処理装置。
3. The color document image processing device according to claim 1, wherein the first frame memory, the second frame memory, the third frame memory, the fourth frame memory, and the input mode designation unit A binary data stored in the first frame memory, the second frame memory, the third frame memory, and the fourth frame memory is specified by the input mode specifying unit. Color document image processing device stored according to the mode performed.
【請求項4】請求項3記載のカラー文書画像処理装置に
おいて、前記データ蓄積部が有する記憶媒体上では、前
記入力モード指定部によって指定されるモードをヘッダ
情報の一項目として記録するカラー文書画像処理装置。
4. A color document image processing apparatus according to claim 3, wherein a mode specified by said input mode specifying unit is recorded as one item of header information on a storage medium of said data storage unit. Processing equipment.
【請求項5】請求項1記載のカラー文書画像処理装置
は、前記第1のフレームメモリ、前記第2のフレームメ
モリ、第3のフレームメモリ及び第4のフレームメモリ
と前記入力モード指定部とに接続されるデータ変換部と
前記データ変換部に接続される画像表示部とを有し、前
記第1のフレームメモリ、前記第2のフレームメモリ、
第3のフレームメモリ及び第4のフレームメモリから読
み出された2値データは、前記モードに従って前記デー
タ変換部によって前記画像表示部の入力に適した形式の
データに変換され、前記画像表示部は前記データ変換部
の出力に基づいて画像を表示するカラー文書画像処理装
置。
5. The color document image processing device according to claim 1, wherein the first frame memory, the second frame memory, the third frame memory, the fourth frame memory, and the input mode designating unit are A data conversion unit connected thereto and an image display unit connected to the data conversion unit, wherein the first frame memory, the second frame memory,
The binary data read from the third frame memory and the fourth frame memory is converted into data in a format suitable for input to the image display unit by the data conversion unit according to the mode, and the image display unit A color document image processing device for displaying an image based on the output of the data conversion unit.
【請求項6】画像を光学的に読み取り出力するスキヤナ
と、 モード指定コードを入力する入力モード指定部と、 2値データを格納する第1のフレームメモリ、第2のフ
レームメモリ、第3のフレームメモリ及び第4のフレー
ムメモリと スキヤナからの画像の各画素がカラー領域とモノクロ領
域のいずれかに属するかを識別するカラー/モノクロ識
別部と、 スキヤナからの画像の各画素が予め定めた特定の色に属
するか否かを判定する色識別部と、 スキヤナからの画像の各画素が文字その他の線図形領域
及び写真その他の中間調領域のいずれに属するかを判定
する文字/写真領域判定部と、 スキヤナからの画像が線図形領域にあるときに2値化を
行う2値化処理部と、 スキヤナからの画像が中間調領域にあるときに2値化を
行う擬似中間調処理部と、 2値画像データを格納する第1のフレームメモリ、第2
のフレームメモリ、第3のフレームメモリ及び第4のフ
レームメモリと 前記カラー/モノクロ識別部と前記色識別部と前記文字
/写真領域判定部と前記2値化処理部と前記擬似中間調
処理部とに接続され、前記2値化処理部あるいは前記擬
似中間調処理部から出力された2値データを、前記第1
のフレームメモリ、前記第2のフレームメモリ、前記第
3のフレームメモリ及び前記第4のフレームメモリへ前
記2値データを選択して出力する第1のセレクタとを有
し、 前記第1のセレクタは、前記モード指定部から入力され
たモードにより、前記第1のフレームメモリに輝度情報
として用いる前記2値データを蓄積する第1のモード
と、 各画素が、前記色識別部各画素が予め定めた特定の色に
属さないと判定した場合は第1のフレームメモリに輝度
情報として用いる前記2値データを蓄積し、各画素が、
前記色識別部各画素が予め定めた特定の色に属すると判
定した場合は第1のフレームメモリに輝度情報として用
いる前記2値データを、第2のフレームメモリに該特定
の色のカラー画素情報である前記2値データを蓄積する
第2のモードと、 各画素が前記カラー/モノクロ識別部がモノクロ領域に
属すと判断し、かつ、文字/写真領域判定部が文字その
他の線図形領域に属すると判断した場合は、第1のフレ
ームメモリ、第2のフレームメモリ、及び、第3のフレ
ームメモリに3原色のうち輝度情報として使用する色の
2値データを蓄積し、各画素が、前記カラー/モノクロ
識別部がモノクロ領域に属すと判断し、かつ、文字/写
真領域判定部が写真その他の中間調領域に属すると判断
した場合、及び、前記カラー/モノクロ識別部がカラー
領域に属すと判断した場合は、第1のフレームメモリ、
第2のフレームメモリ、及び、第3のフレームメモリに
3原色のカラー画像情報である前記2値データを蓄積す
る第3のモードと、 各画素が、前記カラー/モノクロ識別部がモノクロ領域
に属すと判断し、かつ、前記文字/写真領域判定部が文
字その他の線図形領域に属すると判断した場合は、第1
のフレームメモリにに3原色のうち輝度情報として使用
する色の2値データを、第2のフレームメモリ、第3の
フレームメモリ、及び、第4のフレームメモリに“0"を
蓄積し、各画素が、前記カラー/モノクロ識別部がモノ
クロ領域に属すと判断し、かつ、前記文字/写真領域判
定部が写真その他の中間調領域に属すると判断した場
合、及び、前記カラー/モノクロ識別部がカラー領域に
属すと判断した場合は、第1のフレームメモリ、第2の
フレームメモリ、及び、第3のフレームメモリに3原色
のカラー画像情報である前記2値データを蓄積し、第4
のフレームメモリに“1"を蓄積するする第4のモードと
を選択することを特徴とするカラー文書画像処理装置。
6. A scanner for optically reading and outputting an image, an input mode specifying unit for inputting a mode specifying code, a first frame memory, a second frame memory, and a third frame for storing binary data. A color / monochrome identifying section for identifying whether each pixel of the image from the memory and the fourth frame memory and the scanner belongs to either the color area or the monochrome area; and a predetermined specific pixel for each pixel of the image from the scanner. A color identification unit that determines whether the pixel belongs to a color; and a character / photo region determination unit that determines whether each pixel of the image from the scanner belongs to a character or other line graphic region or a photograph or other halftone region. A binarization processing unit that performs binarization when an image from the scanner is in the line graphic area; and a pseudo halftone that performs binarization when the image from the scanner is in the halftone area. A processing unit; a first frame memory for storing binary image data;
A frame memory, a third frame memory, and a fourth frame memory, the color / monochrome identifying section, the color identifying section, the character / photograph area determining section, the binarizing section, and the pseudo halftone processing section. And the binary data output from the binarization processing unit or the pseudo halftone processing unit,
And a first selector for selecting and outputting the binary data to the frame memory, the second frame memory, the third frame memory, and the fourth frame memory, wherein the first selector A first mode for storing the binary data used as luminance information in the first frame memory according to a mode input from the mode designating unit; If it is determined that the pixel does not belong to a specific color, the binary data used as luminance information is stored in the first frame memory, and each pixel is
If it is determined that each pixel of the color identification unit belongs to a predetermined specific color, the binary data used as luminance information is stored in a first frame memory, and color pixel information of the specific color is stored in a second frame memory. A second mode in which the binary data is stored, and each pixel determines that the color / monochrome identifying section belongs to a monochrome area, and the character / photograph area determining section belongs to a character or other line / graphic area. If it is determined that the color data to be used as the luminance information among the three primary colors is accumulated in the first frame memory, the second frame memory, and the third frame memory, each pixel If the color / monochrome identifying unit determines that the image belongs to a monochrome area and the character / photograph area determining unit determines that the image belongs to a photograph or other halftone area, If it is determined to belong to the area, the first frame memory,
A third mode in which the binary data, which is color image information of the three primary colors, is stored in the second frame memory and the third frame memory; If the character / photograph area determination unit determines that the character / photograph area belongs to a character or other line / graphic area, the first
The binary data of the color to be used as the luminance information among the three primary colors is stored in the frame memories of the three primary colors, and “0” is stored in the second frame memory, the third frame memory, and the fourth frame memory. However, when the color / monochrome identifying section determines that the image belongs to a monochrome area and the character / photograph area determining section determines that the image belongs to a photograph or other halftone area, If it is determined that the image data belongs to the area, the binary data, which is the color image information of the three primary colors, is stored in the first frame memory, the second frame memory, and the third frame memory.
A fourth mode in which "1" is stored in the frame memory of the color document.
【請求項7】請求項6記載のカラー文書画像処理装置に
おいて、前記3原色のカラー画素情報である前記2値デ
ータは、RGBの3プレーンから成る2値データであるカ
ラー文書画像処理装置。
7. A color document image processing apparatus according to claim 6, wherein said binary data as color pixel information of said three primary colors is binary data composed of three planes of RGB.
【請求項8】請求項6記載のカラー文書画像処理装置に
おいて、 前記第1のセレクタは、前記第1のモードと前記第2の
モードの時は、前記文字/写真領域判定部が文字その他
の線図形領域に属すると判断した場合は、前記2値化処
理部の出力を、前記文字/写真領域判定部が写真その他
の中間調領域に属すると判断した場合は、前記擬似中間
調処理部の出力を第1のフレームメモリ、及び、第2の
フレームメモリに出力し、 前記第3のモードと前記第4のモードの時は、前記カラ
ー/モノクロ識別部がモノクロ領域に属すと判断し、か
つ、前記文字/写真領域判定部が文字その他の線図形領
域に属すると判断した場合は、前記2値化処理部の出力
を、前記カラー/モノクロ識別部がモノクロ領域に属す
と判断し、かつ、文字/写真領域判定部が写真その他の
中間調領域に属すると判断した場合、及び、前記カラー
/モノクロ識別部がカラー領域に属すと判断した場合
は、前記擬似中間調処理部の出力を第1のフレームメモ
リ、第2のフレームメモリ、及び、第3のフレームメモ
リに出力するカラー文書画像処理装置。
8. The color document image processing apparatus according to claim 6, wherein the first selector is configured to determine whether the character / photograph area determination unit is a character or other character in the first mode and the second mode. When it is determined that the image belongs to the line graphic area, the output of the binarization processing unit is determined. When the character / photograph area determination unit determines that the output belongs to the photograph or other halftone area, the output of the pseudo halftone processing unit is determined. Outputting the output to a first frame memory and a second frame memory; in the third mode and the fourth mode, the color / monochrome discriminating unit determines that the color / monochrome identification unit belongs to a monochrome area; and If the character / photograph area determination unit determines that the color / monochrome identification unit belongs to a monochrome area, the output of the binarization processing unit is determined to belong to a character or other line graphic area; and Text / photo area format If it is determined that the unit belongs to a photograph or other halftone area, and if the color / monochrome discriminating unit is determined to belong to a color area, the output of the pseudo halftone processing unit is stored in a first frame memory. A color document image processing device for outputting to a second frame memory and a third frame memory.
【請求項9】請求項6記載のカラー文書画像処理装置
は、前記第1のフレームメモリ、前記第2のフレームメ
モリ、第3のフレームメモリ及び第4のフレームメモリ
と前記入力モード指定部とに接続されるデータ蓄積部を
有し、前記第1のフレームメモリ、前記第2のフレーム
メモリ、第3のフレームメモリ及び第4のフレームメモ
リに蓄積された2値データが前記入力モード指定部によ
って指定されるモードに従って蓄積されるカラー文書画
像処理装置。
9. The color document image processing device according to claim 6, wherein the first frame memory, the second frame memory, the third frame memory, the fourth frame memory, and the input mode designation unit A binary data stored in the first frame memory, the second frame memory, the third frame memory, and the fourth frame memory is specified by the input mode specifying unit. Color document image processing device that accumulates according to the mode performed.
【請求項10】請求項9記載のカラー文書画像処理装置
において、前記データ蓄積部が有する記憶媒体上では、
前記入力モード指定部によって指定されるモードをヘッ
ダ情報の一項目として記録するカラー文書画像処理装
置。
10. A color document image processing apparatus according to claim 9, wherein: on a storage medium of said data storage section,
A color document image processing apparatus for recording a mode specified by the input mode specifying unit as one item of header information.
【請求項11】請求項6記載のカラー文書画像処理装置
は、 前記第1のフレームメモリ、前記第2のフレームメモ
リ、第3のフレームメモリ及び第4のフレームメモリと
前記入力モード指定部とに接続され、前記モードと前記
第1のフレームメモリ、前記第2のフレームメモリ、第
3のフレームメモリ及び第4のフレームメモリからの2
値データに基づいて3原色の2値データを出力する第2
のセレクタと、 前記第2のセレクタに接続され、前記第2のセレクタか
ら出力されたデータを画像を表示するためのデータに変
換する多値化処理部と、 前記多値化処理部に接続され、多値化処理部から出力さ
れるデータに基づいて画像を表示する画像表示部とを有
するカラー文書画像処理装置。
11. The color document image processing apparatus according to claim 6, wherein: the first frame memory, the second frame memory, the third frame memory, the fourth frame memory, and the input mode designating unit Connected, the mode and two of the first frame memory, the second frame memory, the third frame memory and the fourth frame memory.
Second output of binary data of three primary colors based on the value data
A multi-value processing unit that is connected to the second selector and converts data output from the second selector into data for displaying an image, and is connected to the multi-value processing unit. A color document image processing apparatus having an image display unit for displaying an image based on data output from the multi-value processing unit.
【請求項12】請求項11記載のカラー文書画像処理装置
において、前記多値化処理部は、 前記第2のセレクタからの2値の画像データが、線図形
領域にあるデータか、中間調領域にあるデータかを判定
する領域判定部と、 前記第2のセレクタからの2値の画像データのうち、中
間調領域にあるデータから、多値の中間調データを再生
する中間調変換部と、 前記中間調変換部からの中間調データを変換する色調変
換部と、 前記第2のセレクタからの2値の画像データのうち、線
図形領域にあるデータを通過させるシフトレジスタと、 前記領域判定部と前記色調変換部と前記シフトレジスタ
とに接続され、前記領域判定部が線図形領域にあると判
定した場合は前記シフトレジスタからのデータを選択
し、中間調領域にあると判定した場合は前記色調変換部
からのデータを選択する第3のセレクタとを有するカラ
ー文書画像処理装置。
12. The color document image processing apparatus according to claim 11, wherein the multi-value processing section is configured to determine whether the binary image data from the second selector is in a line graphic area or in a halftone area. An area determination unit that determines whether the data is located in a halftone area; and a halftone conversion unit that reproduces multilevel halftone data from data in a halftone area, among binary image data from the second selector. A tone conversion unit that converts halftone data from the halftone conversion unit; a shift register that passes data in a line graphic area among binary image data from the second selector; And the tone conversion unit and the shift register, the area determination unit selects data from the shift register when it is determined to be in the line graphic area, and when it is determined to be in the halftone area, A color document image processing apparatus having a third selector for selecting data from the color tone conversion unit.
【請求項13】画像を光学的に読み取り出力するスキヤ
ナと、 モード指定コードを入力する入力モード指定部と、 2値画像データを格納する第1のフレームメモリ、第2
のフレームメモリ、第3のフレームメモリ及び第4のフ
レームメモリと 前記スキャナと前記入力モード指定部とに接続され、ス
キヤナからの画像の各画素がカラー領域とモノクロ領域
のいずれかに属するかを識別し、スキヤナからの画素の
各画素が予め定めた特定の色に属するか否かを判定し、
前記スキャナから入力された画像を2値データに変換し
て、前記第1のフレームメモリ、前記第2のフレームメ
モリ、前記第3のフレームメモリ及び前記第4のフレー
ムメモリへ前記入力モード指定部の出力に基づいて前記
2値データを出力するデータ入力部とを有し、 前記データ入力部は、モノクロ領域は前記第1のフレー
ムメモリに輝度情報である前記2値データを蓄積し、カ
ラー領域は第1のフレームメモリ、第2のフレームメモ
リ及び第3のフレームメモリにそれぞれ3原色のカラー
画素情報である前記2値データを蓄積し、第4のフレー
ムメモリにそれぞれの画素がモノクロ領域かカラー領域
かを示す領域識別子を蓄積するモードを有することを特
徴とするカラー文書画像処理装置。
13. A scanner for optically reading and outputting an image, an input mode specifying unit for inputting a mode specification code, a first frame memory for storing binary image data, and a second frame memory for storing binary image data.
Frame memory, a third frame memory, a fourth frame memory, and the scanner and the input mode designating unit, and identifies whether each pixel of the image from the scanner belongs to a color area or a monochrome area. Then, it is determined whether each pixel of the pixels from the scanner belongs to a predetermined specific color,
The image input from the scanner is converted into binary data, and the binary data is converted to the first frame memory, the second frame memory, the third frame memory, and the fourth frame memory. A data input unit for outputting the binary data based on an output, wherein the data input unit stores the binary data, which is luminance information, in the first frame memory in the monochrome area, and stores the binary data in the first frame memory. The first frame memory, the second frame memory, and the third frame memory store the binary data, which is color pixel information of the three primary colors, and the fourth frame memory stores each pixel in a monochrome area or a color area. A color document image processing apparatus having a mode for storing an area identifier indicating whether the color document is stored in the image processing apparatus.
【請求項14】請求項13記載のカラー文書画像処理装置
は、前記第1のフレームメモリ、前記第2のフレームメ
モリ、第3のフレームメモリ及び第4のフレームメモリ
と前記入力モード指定部とに接続されるデータ蓄積部を
有し、 前記データ蓄積部は、前記第4のフレームメモリの出力
がモノクロ領域であることを示す識別子である場合は前
記第1のフレームメモリの前記2値データを、前記第4
のフレームメモリの出力がカラー領域であることを示す
識別子である場合は前記第1のフレームメモリ、前記第
2のフレームメモリ、第3のフレームメモリの2値デー
タを蓄積するカラー文書画像処理装置。
14. The color document image processing device according to claim 13, wherein the first frame memory, the second frame memory, the third frame memory, the fourth frame memory, and the input mode designating unit are A data storage unit to be connected, wherein the data storage unit stores the binary data in the first frame memory when an output of the fourth frame memory is an identifier indicating a monochrome area; The fourth
A color document image processing device that stores binary data of the first frame memory, the second frame memory, and the third frame memory when the output of the frame memory is an identifier indicating a color area.
【請求項15】請求項13記載のカラー文書画像処理装置
は、前記第1のフレームメモリ、前記第2のフレームメ
モリ、第3のフレームメモリ及び第4のフレームメモリ
と前記入力モード指定部とに接続されるデータ変換部と
前記データ変換部に接続される画像表示部とを有し、 前記データ変換部は、前記第4のフレームメモリの出力
がモノクロ領域であることを示す識別子である場合は前
記第1のフレームメモリの前記2値データに基づいて前
記データ変換部によって前記画像表示部の入力に適した
形式のモノクロ画像データに変換して出力し、前記第4
のフレームメモリの出力がカラー領域であることを示す
識別子である場合は前記第1のフレームメモリ、前記第
2のフレームメモリ、第3のフレームメモリの2値デー
タに基づいて前記画像表示部の入力に適した形式のカラ
ー画像データに変換して出力し、前記画像表示部は前記
データ変換部の出力に基づいて画像を表示するカラー文
書画像処理装置。
15. The color document image processing device according to claim 13, wherein the first frame memory, the second frame memory, the third frame memory, the fourth frame memory, and the input mode designating unit are A data conversion unit connected to the data conversion unit; and an image display unit connected to the data conversion unit. When the data conversion unit is an identifier indicating that the output of the fourth frame memory is a monochrome area, The data conversion unit converts the binary data of the first frame memory into monochrome image data in a format suitable for input to the image display unit, and outputs the monochrome image data.
When the output of the frame memory is an identifier indicating a color area, the input of the image display unit is based on the binary data of the first frame memory, the second frame memory, and the third frame memory. A color document image processing apparatus that converts the image into color image data in a format suitable for the image data and outputs the image, and the image display unit displays an image based on the output of the data conversion unit.
JP32371989A 1989-12-15 1989-12-15 Color document image processing device Expired - Fee Related JP3144788B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP32371989A JP3144788B2 (en) 1989-12-15 1989-12-15 Color document image processing device
DE69030178T DE69030178T2 (en) 1989-12-15 1990-12-13 DEVICE AND METHOD FOR STORING IMAGES
PCT/JP1990/001630 WO1991009488A1 (en) 1989-12-15 1990-12-13 Picture filing device and method thereof
US07/761,770 US5231482A (en) 1989-12-15 1990-12-13 Image filing apparatus and method for thereby encoding and storing various documents
EP91900331A EP0458978B1 (en) 1989-12-15 1990-12-13 Picture filing device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32371989A JP3144788B2 (en) 1989-12-15 1989-12-15 Color document image processing device

Publications (2)

Publication Number Publication Date
JPH03185970A JPH03185970A (en) 1991-08-13
JP3144788B2 true JP3144788B2 (en) 2001-03-12

Family

ID=18157842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32371989A Expired - Fee Related JP3144788B2 (en) 1989-12-15 1989-12-15 Color document image processing device

Country Status (1)

Country Link
JP (1) JP3144788B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8187018B2 (en) 2008-10-01 2012-05-29 Fujitsu Limited Connector and connecting unit

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003115039A (en) 2001-07-11 2003-04-18 Ricoh Co Ltd Document filing device, its method and program and storage medium
JP3693666B2 (en) * 2003-09-11 2005-09-07 シャープ株式会社 Image processing apparatus, image forming apparatus, and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8187018B2 (en) 2008-10-01 2012-05-29 Fujitsu Limited Connector and connecting unit
US8317532B2 (en) 2008-10-01 2012-11-27 Fujitsu Limited Connector and connecting unit

Also Published As

Publication number Publication date
JPH03185970A (en) 1991-08-13

Similar Documents

Publication Publication Date Title
US5231482A (en) Image filing apparatus and method for thereby encoding and storing various documents
US6118552A (en) Image signal encoding apparatus
KR100194744B1 (en) Color document image processing device
EP0685963B1 (en) Image processing apparatus and method
US5361147A (en) Method and apparatus for encoding and decoding color images
US7308155B2 (en) Image processing apparatus, image processing method, image processing program, and storage medium
CA2061057C (en) Multi-source printer controller
EP0259981A2 (en) Colour image processing method and apparatus
US7190837B2 (en) Compression of mixed raster content (MRC) image data
JP3144788B2 (en) Color document image processing device
US7139442B2 (en) Template matching applied to selector planes for multiple raster content (MRC) representation of documents
EP1215920B1 (en) Apparatus for compressing picture-representing data and data recovery apparatus
JPS59128873A (en) Picture signal converting system of color facsimile
JP3455078B2 (en) Image processing apparatus and image processing method
JP2954234B2 (en) Color document image processing system
JP2831954B2 (en) Image encoding / decoding device and image processing device
JP2534744B2 (en) Color image coding method
JPH0481979A (en) Method and device for processing document image
WO1991009488A1 (en) Picture filing device and method thereof
JPH0496575A (en) Picture coding method
JP3736107B2 (en) Image processing device
JP3630828B2 (en) Image forming apparatus and image data storage method
JP2966426B2 (en) Color image processing apparatus and method
JPH07336675A (en) Image encoding and decoding method
JP2534746B2 (en) Color image coding method

Legal Events

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