JPH10178528A - System and device for image storage - Google Patents

System and device for image storage

Info

Publication number
JPH10178528A
JPH10178528A JP9350971A JP35097197A JPH10178528A JP H10178528 A JPH10178528 A JP H10178528A JP 9350971 A JP9350971 A JP 9350971A JP 35097197 A JP35097197 A JP 35097197A JP H10178528 A JPH10178528 A JP H10178528A
Authority
JP
Japan
Prior art keywords
image
image data
color
data
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9350971A
Other languages
Japanese (ja)
Other versions
JP3101597B2 (en
Inventor
Akihiro Katayama
昭宏 片山
Yasuhiko Yasuda
靖彦 安田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP35097197A priority Critical patent/JP3101597B2/en
Publication of JPH10178528A publication Critical patent/JPH10178528A/en
Application granted granted Critical
Publication of JP3101597B2 publication Critical patent/JP3101597B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To store image in an efficient data form by selectively using a data form which uniformly represents an image as the same color, a data form which represents the image in a reversible type or a data form which represent the image as irreversible type and storing it. SOLUTION: Multivalued image data is inputted to an image inputting part 1. This storage system has a 1st storage step which generates 1st image data that uniformly represents an image in a prescribed area which is shown by multivalued image data as the same color and stores it in an image file 21, a 2nd storage step which generates 2nd image data that similarly represents the image in the prescribed area as a reversible type and stores it in the file 21 and a 3rd step which generates 3rd image data that similarly represents the image in the prescribed area as irreversible type and stores it in the file 21. Multivalued image data is stored in the file 21 by selectively using any of the 1st to 3rd storage steps.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は入力画像を複数のデ
ータ形式で格納することのできる画像格納方式及び装置
に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image storage method and apparatus capable of storing an input image in a plurality of data formats.

【0002】[0002]

【従来の技術】従来、カラー画像を符号化する方法とし
て、画像をブロックに分割し、直交変換を施した後、そ
の係数を量子化、符号化するものが知られていた。
2. Description of the Related Art Heretofore, as a method of encoding a color image, there has been known a method of dividing an image into blocks, performing orthogonal transformation, and then quantizing and encoding the coefficients.

【0003】ところが、上記従来例では、直交変換後の
係数を量子化するため、高周波成分が失われ、エッジ部
でリンギング(Ringing)を起こし、原稿の文字
部の品位が低下していた。
However, in the above-mentioned conventional example, since the coefficients after the orthogonal transformation are quantized, high-frequency components are lost, ringing occurs at an edge portion, and the quality of a character portion of a document is degraded.

【0004】また、低ビットレートで符号化する場合に
ブロックとブロックの境界においてブロック歪を生じ、
文字のアウトラインが見苦しくなっていた。
In addition, when coding at a low bit rate, block distortion occurs at the boundary between blocks,
The outline of the text was unsightly.

【0005】これに対し、最も使用頻度高い黒文字及び
複数色の文字の品位を向上させるために、複数色文字部
とそれ以外の部分を分離して符号化する技術が本出願人
により提案されている。
On the other hand, in order to improve the quality of the most frequently used black characters and multi-color characters, the present applicant has proposed a technique of separating and encoding a multi-color character portion and other portions. I have.

【0006】この方式においては、文字とその他の部分
を分離した後、その他の部分に対して、DCT符号化を
行っている。
In this method, after separating a character and other parts, DCT coding is performed on the other parts.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、DCT
符号化においては、YCbCr信号に変換され、Y、C
b、CrそれぞれをDCT符号化して変換係数を量子化
し、一次元系列に変換してハフマン符号化しているた
め、「白」信号、つまり、入力信号値がブロック内です
べて255、であった場合に対しても、それぞれの信号
(Y、Cb、Cr)に対して少くとも各1ビット計3ビ
ット/blockのデータ量が必要である。また、直交
変換の結果得られるDC成分は別の符号化(DPCM)
を用いているため、さらに最低でも1ビット/bloc
k必要となり、符号化効率の損失が大きい。
SUMMARY OF THE INVENTION However, DCT
In encoding, it is converted into a YCbCr signal, and Y, C
Since each of b and Cr is DCT-coded and the transform coefficient is quantized, converted to a one-dimensional sequence and Huffman-coded, the “white” signal, that is, when the input signal values are all 255 in the block , A data amount of at least 3 bits / block is required for each signal (Y, Cb, Cr). Further, the DC component obtained as a result of the orthogonal transform is encoded separately (DPCM).
, And at least 1 bit / bloc
k is required, and loss of coding efficiency is large.

【0008】また、入力画像データの所定の色の線画部
分を抽出し、その部分を他の部分と分離して符号化する
際に、単に線画部のみを除去するのみでは、抽出手段の
精度等の関係上、不十分であり例えば色文字周辺の高周
波部分が残ってしまう場合がある。このような問題は、
符号化以外の画像処理、例えば色変換処理等、において
も生じていた。
Further, when a line drawing portion of a predetermined color of input image data is extracted, and the portion is separated from other portions and encoded, simply removing only the line drawing portion requires accuracy of the extracting means. In some cases, for example, high-frequency portions around color characters may remain. Such a problem,
This has also occurred in image processing other than encoding, such as color conversion processing.

【0009】本発明は上記従来例に鑑みて成されたもの
であり、画像を効率良いデータ形態で格納することので
きる画像格納方式を提供することを目的とする。
The present invention has been made in view of the above conventional example, and has as its object to provide an image storage method capable of storing images in an efficient data format.

【0010】[0010]

【課題を解決するための手段】上述の課題を解決するた
めに本発明の画像格納方式によれば、多値画像データを
入力する入力ステップと、前記多値画像データが示す所
定領域内の画像を、一様に同色として表現した第1画像
データを発生し、所定の格納手段に格納する第1格納ス
テップと、前記多値画像データが示す所定領域内の画像
を、可逆形式として表現した第2画像データを発生し、
前記所定の格納手段に格納する第2格納ステップと、前
記多値画像データが示す前記所定領域内の画像を、非可
逆形式として表現した第3画像データを発生し、前記所
定の格納手段に格納する第3格納ステップとを有し、前
記多値画像データを、第1乃至第3格納ステップの何れ
かを選択的に用いて前記所定の格納手段に格納すること
を特徴とする。
According to an image storing method of the present invention, an inputting step of inputting multi-valued image data and an image in a predetermined area indicated by the multi-valued image data are provided. Generating first image data uniformly expressed as the same color, and storing the first image data in a predetermined storage unit; and a second image processing in which an image in a predetermined area indicated by the multi-valued image data is expressed as a reversible format. Generate two image data,
A second storing step of storing the image in the predetermined area indicated by the multi-valued image data as third image data in an irreversible format, and storing the third image data in the predetermined storing means. And storing the multi-valued image data in the predetermined storage means by selectively using any of the first to third storage steps.

【0011】[0011]

【発明の実施の形態】以下図面を用いて本発明の好適な
実施の形態を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings.

【0012】1.図1は、本発明の第1の実施の形態の
画像符号化装置の全体構成を示す図である。
1. FIG. 1 is a diagram illustrating an overall configuration of an image encoding device according to a first embodiment of the present invention.

【0013】図1において、1は原稿を表す画像信号を
入力する画像入力部であり、CCDラインセンサーによ
り原稿を走査し、画素毎にR(レッド)、G(グリー
ン)、B(ブルー)各々8ビットの色成分信号を出力す
るイメージセンサーにより構成される。2はエッジ検出
部であり、後述の方法により原稿画像の高周波成分の部
分を検出する。3は色検出部であり、所定の色成分の画
素を検出する。4は、ブロック内の画素値がすべて特定
の色(例えばすべて白)であるか否かを判定する特定色
判定回路である。5は色文字判定部であり、エッジ部か
つ所定の色成分の画素を判定する。6は、第1の算術符
号化回路であり、特定色判定回路4からの出力を動的算
術符号化のアルゴリズムにより符号化する。7は2値系
列変換部であり、複数色を表す画素データを算術符号化
に適した2値系列信号に変換する。8は、第2の算術符
号化部であり、特定色判定回路4より出力された信号に
より、符号化しようとする注目画素が特定色で構成され
たブロックであるならば、何も処理せず、特定色でない
ならば、2値系列信号を動的算術符号化により符号化す
る。9は色文字除去部であり、色文字と判定された画素
のデータをその画素の属するブロックの平均値データで
置換する。10は直交変換部であり、ブロック毎にDC
T(Discrete Cosine Transfo
rm)を行い、更にハフマン符号化を行う、いわゆるA
DCT方式の符号化を行う。但し、第2の算術符号化部
8の時と同様に、ADCT符号化を行なおうとする注目
ブロックが、特定色であるならば、その処理を行なわ
ず、特定色でないときのみADCT符号化を行なう。1
1は、符号データ送信部であり、第1の算術符号化部6
及び第2の算術符号化部8及び直交変換部10の出力を
統合し、送信すべき符号データを生成する。12は、符
号データ受信部であり、受信した符号データを2つの算
術符号系列とハフマン符号系列に分離する。13は第1
の逆算術符号化部であり、算術符号を復号し、特定色ブ
ロックか否かの信号を出力する。14は、第2の逆算術
符号化部であり、算術符号を復号し、色文字データを出
力する。15は逆直交変換部であり、ハフマン復号化、
逆直交変換を行い、多値画像データを出力する。
In FIG. 1, reference numeral 1 denotes an image input unit for inputting an image signal representing an original, which scans the original with a CCD line sensor and outputs R (red), G (green), and B (blue) for each pixel. It is configured by an image sensor that outputs an 8-bit color component signal. Reference numeral 2 denotes an edge detection unit that detects a high-frequency component portion of a document image by a method described later. Reference numeral 3 denotes a color detection unit that detects pixels of a predetermined color component. Reference numeral 4 denotes a specific color determination circuit that determines whether all pixel values in a block are a specific color (for example, all white). Reference numeral 5 denotes a color character determination unit which determines an edge portion and a pixel of a predetermined color component. Reference numeral 6 denotes a first arithmetic encoding circuit, which encodes an output from the specific color determination circuit 4 by a dynamic arithmetic encoding algorithm. Reference numeral 7 denotes a binary sequence conversion unit that converts pixel data representing a plurality of colors into a binary sequence signal suitable for arithmetic coding. Reference numeral 8 denotes a second arithmetic coding unit, which performs no processing based on the signal output from the specific color determination circuit 4 if the target pixel to be coded is a block composed of a specific color. If the color is not a specific color, the binary sequence signal is encoded by dynamic arithmetic encoding. Reference numeral 9 denotes a color character removal unit that replaces data of a pixel determined as a color character with average value data of a block to which the pixel belongs. Reference numeral 10 denotes an orthogonal transform unit, which performs DC for each block.
T (Discrete Cosine Transfo
rm) and further performs Huffman coding, so-called A
DCT coding is performed. However, as in the case of the second arithmetic coding unit 8, if the target block to be subjected to ADCT coding is a specific color, the processing is not performed, and the ADCT coding is performed only when the block is not the specific color. Do. 1
Reference numeral 1 denotes a code data transmitting unit, and a first arithmetic coding unit 6
And the outputs of the second arithmetic coding unit 8 and the orthogonal transformation unit 10 are integrated to generate code data to be transmitted. A code data receiving unit 12 separates the received code data into two arithmetic code sequences and a Huffman code sequence. 13 is the first
, Decodes the arithmetic code, and outputs a signal indicating whether or not the block is a specific color block. Reference numeral 14 denotes a second inverse arithmetic encoding unit, which decodes an arithmetic code and outputs color character data. Reference numeral 15 denotes an inverse orthogonal transform unit, which performs Huffman decoding,
Performs inverse orthogonal transformation and outputs multi-valued image data.

【0014】第2の逆算術符号化部14及び逆直交変換
部15は、それぞれ注目画素及び注目ブロックが特定色
であるとき、それぞれの復号の動作を止め、特定色の値
を出力し、特定色でないときは、それぞれ復号動作を行
ない、復号データを出力する。16は平滑化部であり復
号化された画像のブロック歪みを除去すべく、平滑化を
行う。17は合成部であり色文字と多値画像データを合
成し、再生すべき画像データを出力する。18は画像出
力部であり、画像データを可視画像形成する。
When the target pixel and the target block are of a specific color, the second inverse arithmetic coding unit 14 and the inverse orthogonal transform unit 15 stop the decoding operation, output the value of the specific color, and output the value of the specific color. When the color is not the color, the decoding operation is performed and the decoded data is output. Reference numeral 16 denotes a smoothing unit which performs smoothing to remove block distortion of the decoded image. A synthesizing unit 17 synthesizes the color characters and the multi-valued image data and outputs image data to be reproduced. Reference numeral 18 denotes an image output unit for forming image data into a visible image.

【0015】以下各部について説明する。Hereinafter, each part will be described.

【0016】〈エッジ検出部2〉エッジ検出部2におい
ては、注目画素Xに対して、図2に示す様に周辺画素
A、B、C、Dとのあいだで以下に示す様な演算を行
い、RGB空間における2点間の距離を算出し、画像中
のエッジを検出する。即ち、いま注目画素及び周辺画素
の画像データをそれぞれ(Xr、Xg、Xb)(Ar、
Ag、Ab)とすると、 S=((Xr−Ar)2+(Xg−Ag)2+(Xb−Ab)21/2…(1) S>TH1(=100)…(2) を満たすとき、XとAとの間にはエッジがあると判定す
る。
<Edge Detection Unit 2> The edge detection unit 2 performs the following calculation on the target pixel X between the peripheral pixels A, B, C, and D as shown in FIG. , The distance between two points in the RGB space is calculated, and edges in the image are detected. That is, the image data of the pixel of interest and the peripheral pixels are respectively represented by (Xr, Xg, Xb) (Ar,
Ag, Ab), S = ((Xr-Ar) 2 + (Xg-Ag) 2 + (Xb-Ab) 2 ) 1/2 (1) S> TH1 (= 100) (2) If so, it is determined that there is an edge between X and A.

【0017】同様にして、B、C、Dとの間においても
エッジの有無を判定し、A、B、C、Dのいずれか1つ
でもエッジと判定されれば、注目画素Xはエッジである
と判定する。
Similarly, the presence or absence of an edge between B, C, and D is determined. If any one of A, B, C, and D is determined to be an edge, the target pixel X is determined to be an edge. It is determined that there is.

【0018】この様に、注目画素と周辺画素との3次元
の色空間上の距離を算出することにより、エッジの有無
を判定するので、例えば、同じ明度で色相や彩度が異な
る色エッジも判定することができる。従って、本発明に
おいて色文字を検出するうえで極めて有効である。
As described above, the presence or absence of an edge is determined by calculating the distance in the three-dimensional color space between the target pixel and the peripheral pixels. For example, color edges having the same lightness but different hues and saturations are also determined. Can be determined. Therefore, the present invention is extremely effective in detecting a color character.

【0019】上記画素ごとのエッジ判定に加え、後述の
色文字除去、直交変換を行なう8×8画素ブロック内に
エッジ画素が含まれているか否かの判定も行ない、その
判定信号も出力する。
In addition to the above-described edge determination for each pixel, it also determines whether or not an edge pixel is included in an 8 × 8 pixel block for performing color character removal and orthogonal transformation described later, and outputs a determination signal.

【0020】なお、周辺画素の取り方は上述の例に限ら
ず、例えば周辺8画素を取ってもよい。
The method of obtaining peripheral pixels is not limited to the above example, and for example, eight peripheral pixels may be used.

【0021】又、例えば、A、B、C、Dの画像データ
の平均値を算出し、その平均値と画素Xとの間で上記演
算を行なってもよい。
Further, for example, an average value of the image data of A, B, C, and D may be calculated, and the above calculation may be performed between the average value and the pixel X.

【0022】〈色検出部3〉色検出部3は、下記の式に
より所定の複数の限定色カラーの検出を行なう。いま、
注目画素Xの画像データを(r、g、b)とすると、 r、g、b<th1かつ |r−g|、|g−b|、|b−r|<th3…(3) のとき、注目画素XをK(黒)と判定する。
<Color Detecting Unit 3> The color detecting unit 3 detects a plurality of predetermined limited colors by the following equation. Now
Assuming that the image data of the target pixel X is (r, g, b), when r, g, b <th1 and | r−g |, | g−b |, | br− <th3 (3) , The target pixel X is determined to be K (black).

【0023】同様にして、 r>th2かつg、b<th1かつ|g−b|<th3…(4) のとき、X=R(赤)、 g>th2かつr、b<th1かつ|r−b|<th3…(5) のとき、X=G(緑)、 b>th2かつr、g<th1かつ|r−g|<th3…(6) のとき、X=B(青)、 r、g>th2かつb<th1かつ|r−g|<th3…(7) のとき、X=Y(イエロー)、 r、b>th2かつg<th1かつ|r−b|<th3…(8) のとき、X=M(マゼンタ)、 g、b>th2かつr<th1かつ|g−b|<th3…(9) のとき、X=C(シアン)、として色検出を行なう。Similarly, when r> th2 and g, b <th1 and | g−b | <th3 (4), X = R (red), g> th2 and r, b <th1 and | r −b | <th3 (5), X = G (green), b> th2 and r, g <th1 and | r−g | <th3 (6), X = B (blue), When r, g> th2, b <th1, and | r−g | <th3 (7), X = Y (yellow), r, b> th2, g <th1, and | rb− <th3 ( 8), X = M (magenta), g, b> th2, r <th1, and | g−b | <th3 (9), and color detection is performed as X = C (cyan).

【0024】なお、ここでth1、th2、th3は所
定の閾値であり、例えば、th1=50、th2=20
5、th3=30とすると、検出結果が良好である。
Here, th1, th2, and th3 are predetermined thresholds, for example, th1 = 50, th2 = 20.
5, when th3 = 30, the detection result is good.

【0025】色検出信号は(R、G、B)の3ビットで
表され、各検出色とR、G、Bの値との対応関係は図3
に示す通りである。
The color detection signal is represented by three bits (R, G, B). The correspondence between each detected color and the values of R, G, B is shown in FIG.
As shown in FIG.

【0026】〈特定色判定部4〉特定色判定部4は、ブ
ロック中の画素値が、すべて特定色値と一致したとき
に、特定色ブロックと判定する。
<Specific Color Determination Unit 4> The specific color determination unit 4 determines that a block is a specific color block when all the pixel values in the block match the specific color value.

【0027】〈色文字判定部5〉色文字判定部5は、エ
ッジ検出部2によりエッジに該当する画素が存在すると
判定されたブロック内の画素であって、色検出部3によ
り上記式(3)〜(9)のいずれかを満たす画素を色文
字と判定する。
<Color character determination unit 5> The color character determination unit 5 is a pixel in a block in which it is determined by the edge detection unit 2 that a pixel corresponding to an edge exists. Pixels satisfying any of (1) to (9) are determined as color characters.

【0028】〈第1算術符号化部6〉算術符号化部6に
おいては、2値信号を可逆符号化である算術符号により
符号化する。算術符号化の方法及び回路構成は、特開平
2−65372号公報に示される通りである。
<First Arithmetic Encoding Unit 6> In the arithmetic encoding unit 6, the binary signal is encoded by an arithmetic code which is lossless encoding. The arithmetic coding method and circuit configuration are as disclosed in JP-A-2-65372.

【0029】〈2値系列変換部7〉2値系列変換部7
は、3ビットの色文字判定信号により表される8色の色
信号を図3に示す2値系列信号に変換する。
<Binary sequence converter 7> Binary sequence converter 7
Converts eight color signals represented by a three-bit color character determination signal into a binary sequence signal shown in FIG.

【0030】2値系列変換部7のブロック図を図4に示
す。入力データ200〜202はROM等で構成される
変換テーブル91で、画素ごとに図3に示した最大7ビ
ットの信号212に変換され、信号出力器92に入力さ
れる。ここで、変換テーブル91に、出現頻度の多い色
に短いビット長を割り当てられるように、複数のROM
が用意し、コントロール信号300に応じて複数のRO
Mを選択できる様にしてもよい。
FIG. 4 shows a block diagram of the binary sequence converter 7. The input data 200 to 202 are converted into a signal 212 having a maximum of 7 bits for each pixel as shown in FIG. Here, a plurality of ROMs are assigned to the conversion table 91 so that a short bit length can be assigned to a color having a high appearance frequency.
Are prepared, and a plurality of ROs are
M may be selectable.

【0031】信号出力器92はシフトレジスタの構成を
とっており、7ビットの入力信号212が並列に入力さ
れ、MSBから1ビットずつシリアルに出力される。こ
れが2値系列信D203である。信号出力器92は2値
系列信号が1になったとき、または0を7個出力したと
き、1画素の色信号の出力を終了させ、次の入力データ
を受け取る。また、信号出力器92からは現在出力して
いるbitが2値系列信号の何bit目かを表す信号B
t204が出力される。
The signal output unit 92 has a shift register configuration, in which a 7-bit input signal 212 is input in parallel, and is output serially from the MSB one bit at a time. This is a binary sequence signal D203. When the binary sequence signal becomes 1 or when 7 signals are output, the signal output device 92 terminates the output of the color signal of one pixel, and receives the next input data. Also, a signal B representing the bit of the binary sequence signal that the currently output bit is
t204 is output.

【0032】このように、3ビットの色文字判定信号を
2値系列変換して、1ビットのシリアル信号として符号
化することにより、互いに相関性をもった3ビットの信
号を別々に符号化することなく、色相関性を保存したま
まで符号化ができる。しかも、例えば算術符号化のごと
く、注目画素を予測しながら符号化を行なう際に、R、
G、Bの色成分毎に予測、符号化を行なうことなく、色
情報として予測、符号化ができ、符号化効率を上げるこ
とができる。
As described above, by converting the 3-bit color character determination signal into a binary sequence and encoding it as a 1-bit serial signal, 3-bit signals having mutual correlation are separately encoded. Encoding can be performed without preserving the color correlation. In addition, for example, when performing encoding while predicting a target pixel as in arithmetic encoding, R,
Prediction and encoding can be performed as color information without performing prediction and encoding for each of the G and B color components, and encoding efficiency can be improved.

【0033】また、各画素の色を表すR、G、Bの各色
成分が1つのデータとして表されるので、復号時に1つ
データを復号することで、各画素に対応するR、G、B
信号を一度に得ることができ、カラー画像の再生を迅速
に行なうことができる。
Further, since each color component of R, G, and B representing the color of each pixel is represented as one data, one data is decoded at the time of decoding, so that R, G, B corresponding to each pixel is decoded.
A signal can be obtained at a time, and a color image can be reproduced quickly.

【0034】〈算術符号化部8〉算術符号化部8におい
ては、数色を表す2値系列信号を可逆符号化である算術
符号化により符号化する。算術符号化の方法及び回路構
成は特開平2−65372号公報に示される通りであ
る。但し、ここでは非特定色ブロックのデータのみ符号
化処理が行われ、特定色ブロックのデータは、符号化さ
れない。
<Arithmetic Encoding Unit 8> The arithmetic encoding unit 8 encodes a binary sequence signal representing several colors by arithmetic encoding which is lossless encoding. The arithmetic coding method and circuit configuration are as disclosed in Japanese Patent Application Laid-Open No. 2-65372. However, here, only the data of the non-specific color block is encoded, and the data of the specific color block is not encoded.

【0035】〈色文字除去部9〉色文字除去部9は、上
記色文字判定部5により色文字と判定された画素のデー
タを該画素の属するブロック中の他の画素のデータに応
じた値を用いて置換する。
<Colored character removing unit 9> The colored character removing unit 9 converts the data of the pixel determined as a colored character by the colored character determining unit 5 into a value corresponding to the data of another pixel in the block to which the pixel belongs. Replace with

【0036】即ち、図5(a)のように色文字の存在す
る画像から図5(b)のように色文字データを除去す
る。またその際に、色文字を差し引くことによって図5
(b)のように生じるエッジも除去するため図5(c)
のように色文字の周囲の画素であって、色文字画素と同
様の色相を有する画素のデータも合わせて差し引き、ブ
ロック内の他の画素データの平均値で置換する。
That is, the color character data is removed from the image having the color character as shown in FIG. 5A, as shown in FIG. 5B. At this time, the color characters are subtracted to
FIG. 5C also shows the removal of the edge as shown in FIG.
As described above, data of pixels surrounding the color character and having the same hue as the color character pixel are also subtracted and replaced with the average value of other pixel data in the block.

【0037】このとき、色文字除去処理のブロックと後
述の直交変換のブロックのサイズは同一とする。
At this time, the size of the block for the color character removal processing and the size of the block for the orthogonal transform described later are the same.

【0038】色文字除去部9の構成を図6に示す。FIG. 6 shows the structure of the color character removing section 9.

【0039】各8ビットの画素画像データr、g、bは
色検出器71に入力され、上記式(3)〜(9)に基づ
いて除去すべき色の画素を検出する。その際、色文字周
辺部も検出される様にするため、閾値を例えば下記の様
に定める。
Each of the 8-bit pixel image data r, g, and b is input to a color detector 71, and a pixel of a color to be removed is detected based on the above equations (3) to (9). At this time, in order to detect the peripheral portion of the color character, the threshold value is determined as follows, for example.

【0040】 th1=120、th2=130、th3=30 このように、前述の色検出の閾値を変更して色検出部3
よりも広い範囲で色検出を行なうことにより、色文字に
近似する色味の部分を抽出することができ、この部分の
入力画像データも除去することができる。
Th1 = 120, th2 = 130, th3 = 30 As described above, the above-described color detection threshold is changed to change the color detection unit 3
By performing color detection in a wider range, it is possible to extract a portion having a color similar to a color character, and to remove the input image data of this portion.

【0041】色検出器71の検出信号R′、G′、B′
のうち少なくとも1つが1の場合に、除去すべき色が存
在する画素と判断し、減算回路72において該画素の
r、g、bの値を0とする。次に平均値演算回路73に
おいて、8x8画素ブロック内のr、g、bデータの平
均値を演算し、置換部74において、その平均値を色が
除去された画素の画像データとして置換し、r′、
g′、b′として出力する。
Detection signals R ', G', B 'of the color detector 71
When at least one of them is 1, it is determined that the pixel has a color to be removed, and the values of r, g, and b of the pixel are set to 0 in the subtraction circuit 72. Next, the average value calculation circuit 73 calculates the average value of the r, g, and b data in the 8 × 8 pixel block, and replaces the average value as the image data of the pixel from which the color has been removed. ′,
Output as g 'and b'.

【0042】なお、平均値での置換に限らず、もっとも
頻度の多い値に置き換えること、或はメディアンフィル
タを用いてブロック内の画素の中央値に置き換えること
もできる。
Not only the replacement with the average value, but also the replacement with the most frequent value or the replacement with the median value of the pixels in the block using a median filter can be performed.

【0043】また、色文字周囲の画素であって、色文字
に近似する色実の部分のみをより正確に抽出するため
に、色文字判定信号R、G、BのORをとった信号と第
6図の2つのOR回路の出力信号のANDをとって、減
算回路72及び置換部74における処理を行う様にして
もよい。
Further, in order to more accurately extract only a portion of the actual color approximating the color character, which is a pixel surrounding the color character, a signal obtained by ORing the color character determination signals R, G, and B is The processing in the subtraction circuit 72 and the replacement unit 74 may be performed by taking the AND of the output signals of the two OR circuits in FIG.

【0044】〈直交変換部10〉直交変換部10は、8
×8画素ブロック単位で2次元離散コサイン変換を行な
い、得られた変換係数を量子化した後ハフマン符号化す
る、いわゆるADCT方式の符号化を行なう。
<Orthogonal Transformation Unit 10> The orthogonal transformation unit 10
A two-dimensional discrete cosine transform is performed in units of × 8 pixel blocks, and the obtained transform coefficients are quantized and then subjected to Huffman coding.

【0045】図7に直交変換部10の構成を示す。前処
理部81において、画素毎にr′、g′、b′の8ビッ
トの信号が、輝度信号Y及び色度信号Cr、Cbに変換
される。次に、サブサンプリング部82においてCr、
Cb信号は2×2画素ブロック毎に平均値がとられる。
これは、色度信号の劣化が輝度信号の劣化に比べて人間
の視覚にとらえられにくいという性質を利用したもので
ある。最後に、直交変換部83において、Y、Cr、C
bの各面について、独立にADCT方式の符号化を行な
う。この符号化は、専用の演算回路を構成し、あるいは
コンピュータのソフトウエアにより実行することができ
る。
FIG. 7 shows the configuration of the orthogonal transform unit 10. In the pre-processing unit 81, an 8-bit signal of r ', g', b 'is converted into a luminance signal Y and chromaticity signals Cr, Cb for each pixel. Next, in the sub-sampling unit 82, Cr,
The Cb signal is averaged for each 2 × 2 pixel block.
This makes use of the property that deterioration of the chromaticity signal is less noticeable to human vision than deterioration of the luminance signal. Finally, in the orthogonal transform unit 83, Y, Cr, C
ADCC encoding is performed independently for each surface of b. This encoding can be performed by configuring a dedicated arithmetic circuit or by software of a computer.

【0046】但し、この直交変換部10は、処理しよう
とするブロックが非特定色のときのみ符号化処理を行
い、特定色の場合は符号化を行わない。通常Cb、Cr
データは、サブサンプリングにより2つのブロックが1
つのブロックに変換されるがこの2つのブロックのう
ち、1つが特定色だった場合は、サブサンプリングを行
わず、非特定色のブロックのCb、Crデータをそのま
ま直交変換に用いる。
However, the orthogonal transform unit 10 performs the encoding process only when the block to be processed is a non-specific color, and does not perform encoding when the block is a specific color. Normal Cb, Cr
The data is divided into two blocks by subsampling.
When one of the two blocks is a specific color, the sub-sampling is not performed, and the Cb and Cr data of the block of the non-specific color is used as it is for the orthogonal transformation.

【0047】〈符号データ送信部11〉符号データ送信
部11においては、最初に色文字のパターン符号が送信
され、次に、Y、Cr、Cbの符号データが面順次に送
信される。各面の送信に先立って、そのデータがどの成
分であるかを示すフラッグが送信される。このとき、各
データの送信順序に応じた時間的なずれを補償するため
のメモリを有する。
<Code Data Transmitting Unit 11> The code data transmitting unit 11 first transmits a color character pattern code, and then transmits Y, Cr, and Cb code data in a frame-sequential manner. Prior to transmission of each surface, a flag indicating which component the data is is transmitted. At this time, a memory for compensating for a time lag according to the transmission order of each data is provided.

【0048】以上の様に、色文字パターンを可逆符号化
により、符号化することで色文字の品位を保ちつつ、高
能率のデータ圧縮を行なうことができる。
As described above, by encoding a color character pattern by reversible encoding, highly efficient data compression can be performed while maintaining the quality of the color character pattern.

【0049】一方、色文字をオリジナルデータから分離
する際にその周囲の部分も含めて所定の置換を行なうこ
とにより、直交変換符号化の効率を向上させることがで
きる。
On the other hand, when color characters are separated from the original data, by performing a predetermined replacement including the surrounding parts, the efficiency of orthogonal transform coding can be improved.

【0050】〈符号データ受信部12〉符号データ受信
部12は、送信部11からの符号データを受信し、フラ
ッグに基づき算術符号であるかY、Cr、Cbのいずれ
かのハフマン符号であるかを判断し、それぞれのデータ
を逆算術符号化部11、逆直交変換符号化部12に出力
する。
<Code Data Reception Unit 12> The code data reception unit 12 receives the code data from the transmission unit 11, and determines whether the code data is an arithmetic code or any one of Y, Cr, and Cb based on a flag. And outputs the respective data to the inverse arithmetic encoding unit 11 and the inverse orthogonal transform encoding unit 12.

【0051】〈第1逆算術符号化部13、第2逆算術符
号化部14、逆直交変換符号化部15〉第1逆算術符号
化部13、第2逆算術符号化部14、逆直交変換符号化
部15は、算術符号化、直交変換符号化と逆の手順で、
特定色ブロックを表すデータ、色文字データ、および
r′、g′、b′の多値データを復号化する。但し、第
2逆算術符号化部14及び逆直交変換部15で復号され
るデータは、特定色ブロックを除いた部分のデータであ
るので、それぞれにおいて、特定色ブロック部分を補っ
て再構成する必要がある。たとえば、ここでいう特定色
を白とする。説明を簡単にするために全体の画像サイズ
を8×8画素、ブロックサイズを2×2画素とする。
<First Inverse Arithmetic Encoder 13, Second Inverse Arithmetic Encoder 14, Inverse Orthogonal Transform Encoder 15> First Inverse Arithmetic Encoder 13, Second Inverse Arithmetic Encoder 14, Inverse Orthogonal The transform coding unit 15 performs the reverse procedure of the arithmetic coding and the orthogonal transform coding,
The data representing the specific color block, the color character data, and the multi-valued data r ', g', b 'are decoded. However, since the data decoded by the second inverse arithmetic coding unit 14 and the inverse orthogonal transform unit 15 is data excluding the specific color block, it is necessary to reconstruct the specific color block portion in each case. There is. For example, the specific color here is white. For the sake of simplicity, the entire image size is 8 × 8 pixels and the block size is 2 × 2 pixels.

【0052】図8(a)のように特定色ブロックが存在
したとする。ただし、1が特定色ブロックを表わし、0
が非特定色ブロックを表わすものとする。第2逆算術符
号化部14において復号されるデータ数は、非特定ブロ
ックの部分のみであり、ここでは20画素分(4×5ブ
ロック)である。従って、図8(b)に示すように、特
定色ブロックに対応する部分には、特定色0を補い、復
号データを非特定色ブロックに対応する部分(図の斜線
部)に挿入していく。逆直交変換部15も同様に動作す
る。
It is assumed that a specific color block exists as shown in FIG. However, 1 represents a specific color block, and 0
Represents a non-specific color block. The number of data decoded by the second inverse arithmetic coding unit 14 is only the portion of the non-specific block, and here is 20 pixels (4 × 5 blocks). Therefore, as shown in FIG. 8B, a portion corresponding to the specific color block is supplemented with the specific color 0, and the decoded data is inserted into a portion corresponding to the non-specific color block (hatched portion in the drawing). . The inverse orthogonal transform unit 15 operates similarly.

【0053】復号化されたr′、g′、b′の多値デー
タは、平滑化部16において、それぞれの面で平滑化さ
れる。色文字データに対して平滑化を行なわず、多値デ
ータのみに平滑化を行なうのは、色文字の解像度の劣化
を防止し、鮮明な色文字を再生するためである。
The decoded multivalued data of r ', g', and b 'is smoothed by the smoothing unit 16 on each surface. The reason why the smoothing is not performed on the color character data but only on the multi-valued data is to prevent the resolution of the color character from deteriorating and to reproduce a clear color character.

【0054】〈合成部17〉合成部17は、復号化され
た色文字データとr′、g′、b′多値データとを合成
する。
<Synthesizing Unit 17> The synthesizing unit 17 synthesizes the decoded color character data and r ', g', b 'multi-value data.

【0055】即ち、色文字データ(R、G、B)に所定
の係数aを乗算した結果(R×a、G×a、B×a)と
多値データ(r′、g′、b′)とを合成する。この合
成に際しては、色文字の存在する画素の画像データとし
て色文字データを優先させる様にする。これにより、色
文字をくっきりと再現することができる。
That is, the result (R × a, G × a, B × a) of multiplying the color character data (R, G, B) by a predetermined coefficient a and the multi-value data (r ′, g ′, b ′) ) And. In this combination, the color character data is prioritized as the image data of the pixel where the color character exists. As a result, color characters can be clearly reproduced.

【0056】〈画像出力部18〉画像出力部18は、例
えばレーザービームプリンタ、LEDプリンタ、液晶プ
リンタ、熱転写プリンタ、ドットプリンタ、インクジェ
ットプリンタ等の画像出力装置、CRT等の画像表示装
置であり、再生信号に応じて記録媒体上に可視画像形成
を行なう。
<Image Output Unit 18> The image output unit 18 is an image output device such as a laser beam printer, an LED printer, a liquid crystal printer, a thermal transfer printer, a dot printer, an ink jet printer, or an image display device such as a CRT. A visible image is formed on a recording medium according to the signal.

【0057】特に、インクジェットプリンタには、熱エ
ネルギーを利用した膜沸騰により液滴を吐出させるタイ
プのヘッドを用いたいわゆるバブルジェットプリンタが
含まれる。
In particular, the ink jet printer includes a so-called bubble jet printer using a head of a type that ejects liquid droplets by film boiling using thermal energy.

【0058】2.図9は、本発明の2つの算術符号化部
を一部変更した場合の実施例である。1〜18は図1と
同様なので、その説明は省略する。41は色文字データ
と特定色ブロック判定データを混合する混合器である。
たとえば、この混合器は各ブロックのデータの先頭に特
定色ブロック判定データを挿入する。混合器41からの
出力を図で表わすと図10になる。斜線部が特定色ブロ
ック判定データである。このように構成することによ
り、算術符号化部を複数個用いなくて済む。算術符号化
部8では、特定色ブロック判定データは必ず符号化され
るが、その他の色文字データの符号化は、前述の通り特
定色ブロックのデータならば符号化されず、非特定色ブ
ロックのデータのときのみ符号化される。図9中の42
は、復号された特定色ブロック判定データを格納するメ
モリである。
2. FIG. 9 shows an embodiment in which the two arithmetic coding units of the present invention are partially changed. 1 to 18 are the same as those in FIG. Reference numeral 41 denotes a mixer for mixing the color character data and the specific color block determination data.
For example, this mixer inserts specific color block determination data at the beginning of the data of each block. FIG. 10 shows the output from the mixer 41 in a diagram. The hatched portion is the specific color block determination data. With this configuration, it is not necessary to use a plurality of arithmetic coding units. In the arithmetic encoding unit 8, the specific color block determination data is always encoded. However, the encoding of the other color character data is not encoded if the data of the specific color block is as described above. Encoded only for data. 42 in FIG.
Is a memory for storing the decoded specific color block determination data.

【0059】3.本発明は、カラーファクシミリ等の画
像通信装置に限らず、画像ファイル等の記憶装置にも適
用することができる。
3. The present invention can be applied not only to an image communication device such as a color facsimile but also to a storage device such as an image file.

【0060】図11は、本発明を記憶装置に用いた場合
の例である。図11において、1〜18は図1と同様な
のでその説明は省略する。21は、ハードディスク、R
OM、RAMなどにより構成される画像ファイルであ
り、複数の画像を記憶することができる。記憶時には、
前記算術符号とハフマン符号を別々に記憶させても良
く、画像ごとにまとめて記憶させても良い。また、例え
ば、文字部のみをディスプレイやハードコピーで利用し
たい場合には、算術符号のみを復号化すれば良く、その
場合には処理時間を短縮することができる。
FIG. 11 shows an example in which the present invention is applied to a storage device. In FIG. 11, 1 to 18 are the same as those in FIG. 21 is a hard disk, R
This is an image file including an OM, a RAM, and the like, and can store a plurality of images. When remembering,
The arithmetic code and the Huffman code may be stored separately, or may be stored collectively for each image. Further, for example, when only the character portion is to be used for display or hard copy, only the arithmetic code needs to be decoded, and in that case, the processing time can be reduced.

【0061】4.本実施の形態は、第1の実施形態の構
成に加え、復号化時の画像合成部14の後に、更に平滑
化部31を設けたものである。
4. In the present embodiment, in addition to the configuration of the first embodiment, a smoothing unit 31 is further provided after the image synthesizing unit 14 at the time of decoding.

【0062】平滑化のためには、例えば3×3画素ブロ
ックの平滑フィルターを用いることができる。また、フ
ィルター係数として、注目画素と周辺画素の加重平均を
とる様な係数を用いても良い。
For smoothing, for example, a smoothing filter of a 3 × 3 pixel block can be used. Further, as the filter coefficient, a coefficient for obtaining a weighted average of the target pixel and the peripheral pixels may be used.

【0063】本実施の形態によれば、色文字と多値画像
の合成後にも平滑化を行なうので、色文字部と多値画像
との境界が不自然になるのを防止することができる。こ
れは特にCCDセンサーにより文字と自然画像の混在し
た原稿を読み取った場合に有効である。従って、例え
ば、コンピュータグラフィックスの様に、文字をはっき
り分離できる様な画像の場合には、この平滑化を行なわ
ない様にしても良い。
According to the present embodiment, since the smoothing is performed even after the combination of the color character and the multi-valued image, it is possible to prevent the boundary between the color character portion and the multi-valued image from becoming unnatural. This is particularly effective when a document in which characters and natural images are mixed is read by the CCD sensor. Therefore, for example, in the case of an image in which characters can be clearly separated like computer graphics, this smoothing may not be performed.

【0064】以上の様に、本発明の上記実施の形態によ
れば、入力画像中の出現頻度の高い特定色(例えば白)
で構成されたブロックを抽出し、特定色ブロック部分
は、符号化しないことにより、符号化効率を向上させる
ことができる。
As described above, according to the above embodiment of the present invention, a specific color (for example, white) having a high appearance frequency in an input image
Is extracted, and the specific color block portion is not encoded, so that the encoding efficiency can be improved.

【0065】入力画像に存在する色文字部分を同時に検
出し、これらを同時に符号化する様にしたので、複数の
色文字を迅速に符号化することができ、しかも、階調画
像部とは、別に符号化することにより、高品位を保ちな
がら高能率の符号化を行なうことができる。即ち、階調
画像に対しては非可逆の高能率符号化を行ない、この階
調画像の符号化により高周波成分が失われるという欠点
を補うために、エッジ部、特に色文字部に対してはエン
トロピー符号化することによりリンギングを防止し、色
文字部を高品位に再現することができる。
Since the color character portions existing in the input image are detected at the same time and are simultaneously coded, a plurality of color characters can be coded quickly. By separately encoding, highly efficient encoding can be performed while maintaining high quality. That is, irreversible high-efficiency encoding is performed on the gradation image, and in order to compensate for the disadvantage that the high-frequency component is lost due to the encoding of the gradation image, the edge part, especially the color character part is used. By performing entropy coding, ringing can be prevented, and a color character portion can be reproduced with high quality.

【0066】また、色文字部に加え、色文字部とほぼ等
しい色相の周囲の色部分も階調画像から除去し、所定の
置換を行なうことにより、階調画像の効率が格段に向上
する。
Further, in addition to the color character portion, the color portion around the hue substantially equal to the color character portion is also removed from the gradation image, and a predetermined replacement is performed, thereby significantly improving the efficiency of the gradation image.

【0067】なお、上記画像入力部1はCCDラインセ
ンサーに限らず、コンピュータの処理結果を出力するイ
ンターフェース、静止画像を記録するスチルビデオカメ
ラ、動画像を記録するビデオカメラなどであってもよ
い。
The image input unit 1 is not limited to a CCD line sensor, but may be an interface for outputting a processing result of a computer, a still video camera for recording a still image, a video camera for recording a moving image, or the like.

【0068】特に、コンピュータのインターフェースと
しては、例えば、ポストスクリプト、PCLなどのペー
ジ記述言語のインタープリンタが含まれる。
In particular, examples of the computer interface include an interprinter in a page description language such as PostScript or PCL.

【0069】また、入力信号もR、G、Bの色成分に限
らず例えば、(Y、I、Q)、(L*、a*、b*)、
(L*、u*、v*)、(Y、M、C)などの信号であっ
てもよい。
The input signal is not limited to the R, G, and B color components, but may be, for example, (Y, I, Q), (L * , a * , b * ),
It may be a signal such as (L * , u * , v * ), (Y, M, C).

【0070】また、色検出のための色成分信号も同様に
上述のR、G、B信号に限らない。
Similarly, the color component signals for color detection are not limited to the above-described R, G, and B signals.

【0071】また、上記色文字の符号化方法は2値系列
変換、算術符号化に限らず、ランレングス符号化、M
H、MR、MMRなど他の可逆符号化であってもよい。
The color character encoding method is not limited to binary sequence conversion and arithmetic encoding, but may be run-length encoding, M
Other lossless coding such as H, MR, and MMR may be used.

【0072】また、多値画像の符号化方法もADCTに
限らず、ベクトル量子化や他の直交変換符号化であって
もよい。
The encoding method of the multi-valued image is not limited to ADCT, but may be vector quantization or other orthogonal transform encoding.

【0073】また検出する色文字の種類や数も上述の例
に限らない。
The type and number of color characters to be detected are not limited to those described above.

【0074】また、本発明を上述の様な可逆符号化と不
可逆符号化のハイブリッド方式にではなく、通常のDC
Tのみによる符号化装置に適用してもよい。この場合
は、図13の様な構成になる。1〜18は図1と同じな
ので説明は省略する。
The present invention is not limited to the hybrid system of lossless coding and irreversible coding as described above,
You may apply to the encoding apparatus only by T. In this case, the configuration is as shown in FIG. 1 to 18 are the same as those in FIG.

【0075】また完全にブロック内のすべての画素が白
(レベル255)の場合だけでなく、例えばブロック内
の平均値が一定レベル以上(極めて白に近い)のブロッ
クを特定色ブロックとしてもよい。
In addition to the case where all the pixels in the block are completely white (level 255), for example, a block in which the average value in the block is equal to or higher than a certain level (extremely close to white) may be set as the specific color block.

【0076】また、逆に黒の多い画像の場合には、ブロ
ック内の画素がすべて黒(レベル0)のブロックを特定
色ブロックとしてもよい。また、青、赤、緑等を特定色
としてもよい。
Conversely, in the case of an image having a lot of black, a block in which all the pixels in the block are black (level 0) may be set as the specific color block. Further, blue, red, green, and the like may be used as the specific colors.

【0077】また、本発明は、符号化装置に限らず、画
素処理装置、特に、色変換処理、線画抽出処理を行なう
複写機、カラー画像編集装置等に適用可能である。
The present invention can be applied not only to an encoding device but also to a pixel processing device, in particular, a copying machine, a color image editing device, and the like for performing a color conversion process and a line drawing extraction process.

【0078】[0078]

【発明の効果】以上の様に本発明によれば、画像を一様
に同色として表現したデータ形態、或いは画像を可逆形
式として表現したデータ形態、或いは画像を非可逆形式
として表現したデータ形態を選択的に用いて格納手段に
格納するので、画像を効率良いデータ形態で格納するこ
とが可能となる。
As described above, according to the present invention, a data format in which an image is uniformly expressed in the same color, a data format in which an image is expressed in a reversible format, or a data format in which an image is expressed in an irreversible format is used. Since the data is selectively used and stored in the storage unit, the image can be stored in an efficient data format.

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

【図1】本発明の第1の実施の形態の符号化装置のブロ
ック図。
FIG. 1 is a block diagram of an encoding device according to a first embodiment of the present invention.

【図2】エッジ検出を説明する図。FIG. 2 is a diagram illustrating edge detection.

【図3】2値系列変換を説明する図。FIG. 3 is a diagram illustrating binary sequence conversion.

【図4】2値系列変換部の構成を示すブロック図。FIG. 4 is a block diagram showing a configuration of a binary sequence conversion unit.

【図5】色文字除去を説明する図。FIG. 5 is a view for explaining color character removal.

【図6】色文字除去部の構成を示すブロック図。FIG. 6 is a block diagram illustrating a configuration of a color character removing unit.

【図7】直交変換部の構成を示すブロック図。FIG. 7 is a block diagram showing a configuration of an orthogonal transform unit.

【図8】特定色ブロックと復号処理における補間を説明
する図。
FIG. 8 is a diagram illustrating specific color blocks and interpolation in decoding processing.

【図9】本発明の第2実施の形態の構成を示すブロック
図。
FIG. 9 is a block diagram showing the configuration of a second embodiment of the present invention.

【図10】特定色ブロックの判定データを2値信号系列
中のどの位置に挿入するかを示すための図。
FIG. 10 is a view showing where in the binary signal sequence determination data of a specific color block is inserted;

【図11】本発明の第3の実施の形態の構成を示すブロ
ック図。
FIG. 11 is a block diagram showing a configuration of a third embodiment of the present invention.

【図12】本発明の第4の実施の形態の構成を示すブロ
ック図。
FIG. 12 is a block diagram showing a configuration according to a fourth embodiment of the present invention.

【図13】本発明をDCTのみによる、符号化装置に適
用した例を示すブロック図。
FIG. 13 is a block diagram showing an example in which the present invention is applied to an encoding device using only DCT.

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

4 特定色判定部 6 第1算術符号化部 4 Specific color determination unit 6 First arithmetic coding unit

フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 11/04 H04N 7/13 Z Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 11/04 H04N 7/13 Z

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 多値画像データを入力する入力ステップ
と、 前記多値画像データが示す所定領域内の画像を、一様に
同色として表現した第1画像データを発生し、所定の格
納手段に格納する第1格納ステップと、 前記多値画像データが示す前記所定領域内の画像を、可
逆形式として表現した第2画像データを発生し、前記所
定の格納手段に格納する第2格納ステップと、 前記多値画像データが示す前記所定領域内の画像を、非
可逆形式として表現した第3画像データを発生し、前記
所定の格納手段に格納する第3格納ステップとを有し、 前記多値画像データを、第1乃至第3格納ステップの何
れかを選択的に用いて前記所定の格納手段に格納するこ
とを特徴とする画像格納方式。
An input step of inputting multi-valued image data; generating first image data in which an image in a predetermined area indicated by the multi-valued image data is uniformly expressed as the same color; A first storage step of storing; a second storage step of generating second image data expressing an image in the predetermined area indicated by the multi-valued image data in a reversible format, and storing the second image data in the predetermined storage unit; Generating a third image data representing an image in the predetermined area indicated by the multi-valued image data in an irreversible format, and storing the generated third image data in the predetermined storage means; An image storage method, wherein data is stored in said predetermined storage means by selectively using any of first to third storage steps.
【請求項2】 前記所定の格納手段は、ハードディスク
又はROM又はRAMであることを特徴とする請求項1
に記載の画像格納方式。
2. The apparatus according to claim 1, wherein the predetermined storage unit is a hard disk, a ROM, or a RAM.
Image storage method described in 1.
【請求項3】 更に前記第1画像データは可逆符号化方
式で符号化されたものであることを特徴とする請求項1
に記載の画像格納方式。
3. The apparatus according to claim 1, wherein said first image data is encoded by a reversible encoding method.
Image storage method described in 1.
【請求項4】 更に前記第2画像データは可逆符号化方
式で符号化されたものであることを特徴とする請求項1
に記載の画像格納方式。
4. The apparatus according to claim 1, wherein said second image data is encoded by a lossless encoding method.
Image storage method described in 1.
【請求項5】 更に前記第2画像データは非可逆方式で
符号化されたものであることを特徴とする請求項1に記
載の画像格納方式。
5. The image storage method according to claim 1, wherein the second image data is encoded by a lossy method.
【請求項6】 前記第1乃至第3格納ステップの選択
は、前記所定領域毎に行われることを特徴とする請求項
1に記載の画像格納方式。
6. The image storage method according to claim 1, wherein the selection of the first to third storage steps is performed for each of the predetermined areas.
【請求項7】 多値画像データを入力する入力手段と、 前記入力手段により入力された多値画像データが示す所
定領域内の画像を、一様に同色として表現した第1画像
データを発生する第1発生手段と、 前記入力手段により入力された多値画像データが示す前
記所定領域内の画像を、可逆形式として表現した第2画
像データを発生する第2発生手段と、 前記入力手段により入力された多値画像データが示す前
記所定領域内の画像を、非可逆形式として表現した第3
画像データを発生する第3発生手段と、 前記第1乃至第3発生手段の何れかから発生した前記第
1乃至第3画像データを選択的に格納する格納手段を有
することを特徴とする画像格納装置。
7. An input means for inputting multi-value image data, and first image data which uniformly expresses an image in a predetermined area indicated by the multi-value image data input by the input means as the same color. First generating means, second generating means for generating second image data representing an image in the predetermined area indicated by the multi-valued image data input by the input means in a reversible format, and inputting by the input means A third image representing the image in the predetermined area indicated by the obtained multi-valued image data as an irreversible format.
An image storage, comprising: third generation means for generating image data; and storage means for selectively storing the first to third image data generated from any of the first to third generation means. apparatus.
JP35097197A 1997-12-19 1997-12-19 Image storage method and apparatus Expired - Fee Related JP3101597B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35097197A JP3101597B2 (en) 1997-12-19 1997-12-19 Image storage method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35097197A JP3101597B2 (en) 1997-12-19 1997-12-19 Image storage method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP40354890A Division JP3072776B2 (en) 1990-12-19 1990-12-19 Image processing device

Publications (2)

Publication Number Publication Date
JPH10178528A true JPH10178528A (en) 1998-06-30
JP3101597B2 JP3101597B2 (en) 2000-10-23

Family

ID=18414169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35097197A Expired - Fee Related JP3101597B2 (en) 1997-12-19 1997-12-19 Image storage method and apparatus

Country Status (1)

Country Link
JP (1) JP3101597B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001084387A (en) * 1999-08-18 2001-03-30 Zsp Geodaetische Systeme Gmbh Method for measuring edge position in color image, especially relating to color transition and luminance transition within
JP2001313569A (en) * 2000-04-28 2001-11-09 Denso Corp Image compression method and device, recording medium
US6836564B2 (en) 2000-04-28 2004-12-28 Denso Corporation Image data compressing method and apparatus which compress image data separately by modifying color
US7526133B2 (en) 2003-01-09 2009-04-28 Ricoh Company, Ltd. Image processing apparatus, image processing program, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001084387A (en) * 1999-08-18 2001-03-30 Zsp Geodaetische Systeme Gmbh Method for measuring edge position in color image, especially relating to color transition and luminance transition within
JP2001313569A (en) * 2000-04-28 2001-11-09 Denso Corp Image compression method and device, recording medium
US6836564B2 (en) 2000-04-28 2004-12-28 Denso Corporation Image data compressing method and apparatus which compress image data separately by modifying color
US7526133B2 (en) 2003-01-09 2009-04-28 Ricoh Company, Ltd. Image processing apparatus, image processing program, and storage medium

Also Published As

Publication number Publication date
JP3101597B2 (en) 2000-10-23

Similar Documents

Publication Publication Date Title
JP3072776B2 (en) Image processing device
EP0441586B1 (en) Image processing apparatus
US5909505A (en) Color image encoding method and apparatus
JPH06223172A (en) Method and processor for image processing
US6486981B1 (en) Color image processing method and apparatus thereof
EP0446018B1 (en) Image processing apparatus
CN100375499C (en) Image signal processing method and image signal processing apparatus
JP3101597B2 (en) Image storage method and apparatus
JP2015122619A (en) Information processing device, information processing method, and program
US8233731B2 (en) Method and apparatus to encode and decode halftone image
JP3176057B2 (en) Image processing device
JP3595601B2 (en) Image communication method and apparatus
JP2877448B2 (en) Image coding device
JPH04139960A (en) Picture coder
JP2832073B2 (en) Image coding device
JP3327684B2 (en) Color image processing method and apparatus
JPH05130426A (en) Picture coder
JP2015122617A (en) Information processing device, information processing method, and program
JP2559726B2 (en) Color image processor
JP2015122618A (en) Information processing device, information processing method, and program
JPH0797829B2 (en) Color image input / output device
JPH0763177B2 (en) Image information coding device
JPH1084555A (en) Image pickup device
JPH0799853B2 (en) Image data compression / decompression method for printing
JPH0879542A (en) Picture communication equipment and picture communication method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000801

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

Free format text: PAYMENT UNTIL: 20070818

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080818

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080818

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090818

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090818

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100818

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees