JPH04326670A - Picture encoding device - Google Patents

Picture encoding device

Info

Publication number
JPH04326670A
JPH04326670A JP3096686A JP9668691A JPH04326670A JP H04326670 A JPH04326670 A JP H04326670A JP 3096686 A JP3096686 A JP 3096686A JP 9668691 A JP9668691 A JP 9668691A JP H04326670 A JPH04326670 A JP H04326670A
Authority
JP
Japan
Prior art keywords
circuit
encoding
data
extracted
gradation
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
JP3096686A
Other languages
Japanese (ja)
Other versions
JP3122481B2 (en
Inventor
Takashi Ishikawa
尚 石川
Nobutaka Miyake
信孝 三宅
Tadayoshi Nakayama
忠義 中山
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 JP03096686A priority Critical patent/JP3122481B2/en
Priority to US07/872,988 priority patent/US5818970A/en
Publication of JPH04326670A publication Critical patent/JPH04326670A/en
Application granted granted Critical
Publication of JP3122481B2 publication Critical patent/JP3122481B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To efficiently compress picture data while satisfactorily preserving the quality of characters and line drawings. CONSTITUTION:The decision result inputted from a signal line 101 is converted to raster scanning by a raster conversion circuit 14 for the purpose of improving the encoding efficiency and is encoded by an entropy encoding circuit 15 and is inputted to a multiplexing circuit 19. Extracted gradation data inputted from a signal line 102 is inputted to a change point detecting circuit 16 and a gradation table 17, and the change of extracted gradation data is detected by the change point detecting circuit 16. A gate circuit 18 is controlled in accordance with this change, and extracted gradation data is multiplexed by the multiplexing circuit 19.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、入力画像、例えば自然
画像に文字・線画等が合成された画像を符号化する画像
符号化装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding apparatus for encoding an input image, for example, an image in which characters, line drawings, etc. are synthesized with a natural image.

【0002】0002

【従来の技術】従来、写真等の連続階調を有する自然画
像を符号化する方法として、例えば、画像を8×8画素
の小ブロックに分割し、離散コサイン変換(以下、DC
Tと記す)等の直交変換を施した後、その係数を符号化
するものが知られている。
2. Description of the Related Art Conventionally, as a method for encoding continuous tone natural images such as photographs, the image is divided into small blocks of 8×8 pixels, and discrete cosine transform (hereinafter referred to as DC
A method is known in which the coefficients are encoded after performing orthogonal transformation such as (denoted as T).

【0003】0003

【発明が解決しようとしている課題】しかしながら、上
記従来例では、自然画像に文字・線画(グラフィックス
)のようなコンピュータ等で人工的に発生したパターン
が合成された画像を符号化する場合、背景の自然画像と
上書きされた文字・線画との境界部に急峻なエッジが発
生し、文字・線画の品位が著しく低下するという欠点が
あった。また、直交変換後の係数を量子化する際に、視
覚特性に合わせて高次の係数の量子化ステップ幅を大き
くとるため、高周波成分の歪が増加し、エッジ部におい
てリンギング等の劣化(モスキートノイズ)が発生し、
符号化効率が低下してしまうという欠点もあった。
[Problem to be Solved by the Invention] However, in the above conventional example, when encoding an image in which patterns artificially generated by a computer, such as characters and line drawings (graphics) are synthesized with a natural image, the background This has the disadvantage that sharp edges occur at the boundary between the natural image and the overwritten text/line drawings, resulting in a significant deterioration in the quality of the text/line drawings. In addition, when quantizing the coefficients after orthogonal transformation, the quantization step width of high-order coefficients is increased to match visual characteristics, which increases distortion of high-frequency components and causes deterioration such as ringing (mosquito noise) occurs,
There is also a drawback that encoding efficiency decreases.

【0004】本発明は、上記欠点に鑑みてなされたもの
であり、文字・線画の品位を良好に保存したまま、効率
の良い画像データの圧縮を可能とする画像符号化装置を
提供することを目的とする。
The present invention has been made in view of the above-mentioned drawbacks, and it is an object of the present invention to provide an image encoding device that can efficiently compress image data while preserving the quality of characters and line drawings. purpose.

【0005】[0005]

【課題を解決するための手段及び作用】上記目的を達成
するために、本発明の画像符号化装置は以下の構成を備
える。すなわち、入力画像の階調情報に基づいて線画を
抽出する抽出手段と、該抽出手段で抽出された線画を符
号化する符号化手段と、該符号化手段で符号化されたデ
ータに前記抽出された線画の階調情報に応じて該階調情
報を多重化する多重化手段とを備える。
Means and Effects for Solving the Problems In order to achieve the above object, an image encoding apparatus of the present invention has the following configuration. That is, an extraction means for extracting a line drawing based on gradation information of an input image, an encoding means for encoding the line drawing extracted by the extraction means, and an extraction means for encoding the line drawing extracted by the extraction means, and a and multiplexing means for multiplexing the gradation information according to the gradation information of the drawn line drawing.

【0006】また好ましくは、前記抽出手段で抽出され
た線画の階調情報を所定の値に置換する置換手段と、該
置換手段からの情報を符号化する符号化手段とを更に備
えることを特徴とする。
[0006] Preferably, the method further comprises replacement means for replacing the gradation information of the line drawing extracted by the extraction means with a predetermined value, and encoding means for encoding the information from the replacement means. shall be.

【0007】更に好ましくは、前記多重化手段は、階調
情報の変化を検出する検出手段と、該検出手段で検出し
た階調情報を登録するテーブルとを有し、階調情報の変
化に応じてテーブルに登録された階調情報を多重化する
[0007] More preferably, the multiplexing means has a detection means for detecting a change in tone information and a table for registering the tone information detected by the detection means, The gradation information registered in the table is multiplexed.

【0008】[0008]

【実施例】以下、図面を参照して本発明に係る好適な一
実施例を詳細に説明する。 <第1の実施例>図1は、第1の実施例における画像符
号化装置の構成を示す概略ブロック図である。図中、1
は入力端子であり、不図示のコンピュータ等からの画像
データを入力する。2は文字・線画抽出回路であり、画
像データから文字・線画を抽出し、詳細は後述する階調
データと判定結果とを出力する。3は符号化回路であり
、抽出された文字・線画を符号化する。4は抽出画素置
換回路であり、抽出された文字・線画に対応する画素を
所定の値で置換する。5は符号化回路であり、置換され
た画像データを符号化する。6は復号化回路であり、符
号化回路3で符号化されたデータを復号化する。7は復
号化回路であり、符号化回路5で符号化されたデータを
復号化する。そして、8は合成回路であり、復号化回路
6,7からのデータを元の画像データに合成する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described in detail below with reference to the drawings. <First Embodiment> FIG. 1 is a schematic block diagram showing the configuration of an image encoding apparatus in a first embodiment. In the figure, 1
is an input terminal, into which image data is input from a computer (not shown) or the like. Reference numeral 2 denotes a character/line drawing extraction circuit which extracts characters/line drawings from image data and outputs gradation data and determination results, details of which will be described later. 3 is an encoding circuit, which encodes extracted characters and line drawings. Reference numeral 4 denotes an extracted pixel replacement circuit, which replaces pixels corresponding to extracted characters/line drawings with predetermined values. 5 is an encoding circuit, which encodes the replaced image data. A decoding circuit 6 decodes the data encoded by the encoding circuit 3. A decoding circuit 7 decodes the data encoded by the encoding circuit 5. A composing circuit 8 composes the data from the decoding circuits 6 and 7 with the original image data.

【0009】以上の構成において、入力端子1より入力
された画像データは文字・線画抽出回路2にて、コンピ
ュータ等により合成された文字・線画に対応する画素が
抽出され、抽出画素の階調データ(文字・線画の色デー
タを含む)と抽出画素(文字・線画として抽出された画
素)か否かを示す判定結果(各画素1bit、実施例で
は抽出画素のとき“1”を、それ以外では“0”を出力
する)が符号化回路3に入力される。入力された判定結
果は、算術符号化,ハフマン符号化,MH,MR,MM
R等の2値データの符号化に適した公知のエントロピー
符号化手段を有する符号化回路3によって符号化される
。また、抽出画素の階調データは上述のエントロピー符
号化によって符号化された判定結果符号に多重化され、
伝送路に出力される。
In the above configuration, the image data inputted from the input terminal 1 is processed by the character/line drawing extraction circuit 2, in which pixels corresponding to the characters/line drawings synthesized by a computer or the like are extracted, and the gradation data of the extracted pixels are extracted. (including color data of characters/line drawings) and the judgment result indicating whether the pixel is an extracted pixel (pixel extracted as a character/line drawing) (each pixel is 1 bit, in the example, it is set as “1” if it is an extracted pixel, otherwise it is output “0”) is input to the encoding circuit 3. The input judgment results are arithmetic encoded, Huffman encoded, MH, MR, MM
The data is encoded by an encoding circuit 3 having a known entropy encoding means suitable for encoding binary data such as R. In addition, the gradation data of the extracted pixel is multiplexed with the judgment result code encoded by the above-mentioned entropy encoding,
Output to the transmission line.

【0010】次に、抽出画素置換回路4に入力された画
素データは、後述する符号化に都合が良い値(例えば、
ブロック内の抽出画素以外の平均値,中央値,最頻値,
或いは抽出画素の周辺画素より補間したデータ等)に置
換され、符号化回路5に入力される。置換後の画素デー
タは、JPEG(Joint Photographi
c Expert Group)において提案されてい
るカラー静止画像符号化方式のADCT(Adapti
ve Discrete Cosine Transf
orm)、或いはDCT、DST(離散サイン変換)等
、多値画像の符号化に適した符号化手段を有する符号化
回路5によって符号化され、伝送路に出力される。
Next, the pixel data input to the extracted pixel replacement circuit 4 is converted into a value convenient for encoding (for example,
Average value, median value, mode value of pixels other than extracted pixels in the block,
or data interpolated from surrounding pixels of the extracted pixel, etc.) and input to the encoding circuit 5. The pixel data after replacement is JPEG (Joint Photography).
ADCT (Adaptive Coding) is a color still image coding method proposed by
ve Discrete Cosine Transf
orm), or DCT, DST (discrete sine transform), or the like, is encoded by an encoding circuit 5 having an encoding means suitable for encoding a multivalued image, and output to a transmission path.

【0011】その後、上述の符号化回路3より伝送され
た抽出画素の判定結果及び抽出画素の階調データは、復
号化回路6によって復号化され、合成回路8へ出力され
る。また、符号化回路5より伝送された画像データは、
復号化回路7によって復号化され、合成回路8へ出力さ
れる。そして、合成回路8にて、上述の復号化された抽
出画素の判定結果が“1”(すなわち、抽出画素)のと
きは、抽出画素の階調データが選択され、判定結果が“
0”(すなわち、抽出画素以外)のときには、画像デー
タが選択されて元の入力画像信号に復元される。
Thereafter, the determination result of the extracted pixel and the gradation data of the extracted pixel transmitted from the above-mentioned encoding circuit 3 are decoded by the decoding circuit 6 and output to the synthesizing circuit 8. Furthermore, the image data transmitted from the encoding circuit 5 is
It is decoded by the decoding circuit 7 and output to the combining circuit 8. Then, in the synthesis circuit 8, when the determination result of the decoded extraction pixel described above is "1" (that is, the extraction pixel), the gradation data of the extraction pixel is selected, and the determination result is "1" (that is, the extraction pixel).
0'' (that is, other than the extracted pixel), the image data is selected and restored to the original input image signal.

【0012】次に、上述した文字・線画抽出回路2の詳
細な構成を図2に示すブロック図を参照して以下に説明
する。
Next, the detailed structure of the above-mentioned character/line drawing extraction circuit 2 will be explained below with reference to the block diagram shown in FIG.

【0013】まず、入力された画像データはブロック化
回路10にて、例えば8×8画素の小ブロック毎に切出
される。そして、ヒストグラム生成回路11にて切出さ
れた画素データに基づいてブロック毎のヒストグラムが
生成され、抽出画素判定回路12に結果が出力される。 一方、遅延回路13に入力された画像データは、上述の
ヒストグラム生成に必要な時間分だけ遅延された後、抽
出画素判定回路12と抽出画素置換回路4に出力される
。次に、抽出画素判定回路12にて入力されたヒストグ
ラムの結果から抽出階調が検出され、遅延回路13より
入力された画像データと上述の抽出階調とが比較される
。その結果、一致したときは、抽出画素であると判定さ
れ、判定結果として信号線101より“1”が出力され
、不一致の場合は“0”が出力される。
First, the input image data is cut out by a blocking circuit 10 into small blocks of, for example, 8×8 pixels. Then, a histogram for each block is generated based on the extracted pixel data in the histogram generation circuit 11, and the result is output to the extracted pixel determination circuit 12. On the other hand, the image data input to the delay circuit 13 is output to the extracted pixel determination circuit 12 and the extracted pixel replacement circuit 4 after being delayed by the time necessary for the above-described histogram generation. Next, the extraction gradation is detected from the result of the input histogram in the extraction pixel determination circuit 12, and the image data input from the delay circuit 13 is compared with the above-mentioned extraction gradation. As a result, if they match, it is determined that the pixel is an extraction pixel, and "1" is output from the signal line 101 as a result of the determination, and "0" is output if they do not match.

【0014】次に、実施例における抽出階調の検出方法
について図3を参照して以下に説明する。
Next, a method for detecting extracted gradations in this embodiment will be explained below with reference to FIG.

【0015】コンピュータ等により付加された文字・線
画のデータは、背景とは無相関であるため、階調は不連
続になる。また、付加された文字・線画の階調は通常、
特定の領域内においては同一データとなる。一方、写真
等の自然画像データは画素間の相関性が強く、また入力
時にノイズが重畳されたり、シェーディング等により分
布が広がっている。従って、生成されたヒストグラムの
分布に広がりがなく、頻度が所定の閾値Th以上の階調
を検出することにより、付加された文字・線画データが
判定できる。例えば、図3に示すようなヒストグラムが
生成された場合、階調Cは付近の頻度が“0”で孤立し
ており、その頻度も閾値Th以上であるため、その階調
Cが抽出階調となる。また、階調A,Dも孤立している
が、頻度が少なく、ノイズ等による孤立点の可能性が高
いため、抽出階調として判定されない。
Since character/line drawing data added by a computer or the like has no correlation with the background, the gradation becomes discontinuous. In addition, the gradation of added characters and line drawings is usually
The data will be the same within a specific area. On the other hand, natural image data such as photographs have a strong correlation between pixels, and the distribution is widened due to noise being superimposed upon input, shading, etc. Therefore, the added character/line drawing data can be determined by detecting gradations in which there is no spread in the distribution of the generated histogram and the frequency is equal to or higher than the predetermined threshold Th. For example, when a histogram as shown in FIG. 3 is generated, gradation C is isolated with a nearby frequency of "0", and its frequency is also greater than the threshold Th, so that gradation C becomes the extraction gradation. becomes. Furthermore, although gradations A and D are also isolated, they are not determined as extracted gradations because they are infrequent and likely to be isolated points due to noise or the like.

【0016】ここで、上述の判定結果及び抽出階調を入
力する符号化回路3の詳細な構成を図4に示すブロック
図を参照して説明する。上述したように、信号線101
より入力された判定結果は、符号化効率を向上させるた
め、ラスター化回路14にてラスター走査に変換され、
エントロピー符号化回路15に入力される。そして、エ
ントロピー符号化回路15にて符号化されたデータが多
重化回路19に入力される。なお、エントロピー符号化
回路15は、算術符号化やハフマン符号化等の2値デー
タの符号化に適した公知の符号化回路である。
The detailed configuration of the encoding circuit 3 to which the above-mentioned determination result and extracted gradation are input will now be described with reference to the block diagram shown in FIG. As mentioned above, the signal line 101
In order to improve encoding efficiency, the input judgment result is converted into raster scanning by the rasterization circuit 14,
The signal is input to the entropy encoding circuit 15. The data encoded by the entropy encoding circuit 15 is then input to the multiplexing circuit 19. Note that the entropy encoding circuit 15 is a known encoding circuit suitable for encoding binary data such as arithmetic encoding and Huffman encoding.

【0017】一方、信号線102より入力された抽出階
調データは、変化点検出回路16と階調テーブル17に
それぞれ入力される。変化点検出回路16では、入力さ
れた抽出階調データが前ブロックのデータと異なる場合
、ゲート回路18のゲートを開き、同一の場合にはゲー
トを閉じるようにゲート回路18を制御する。但し、抽
出画素がない場合は、同一とみなす。また、階調テーブ
ル17は、入力された階調データが新規の場合、テーブ
ル上にその階調データを登録し、階調データと対応する
インデックスとをゲート回路18に出力する。また、入
力されたデータが既に登録されている場合は、登録せず
にインデックスのみをゲート回路18に出力する。
On the other hand, the extracted gradation data input from the signal line 102 is input to a change point detection circuit 16 and a gradation table 17, respectively. The change point detection circuit 16 controls the gate circuit 18 to open the gate of the gate circuit 18 if the input extracted gradation data is different from the data of the previous block, and to close the gate if they are the same. However, if there is no extracted pixel, they are considered to be the same. Furthermore, when the inputted gradation data is new, the gradation table 17 registers the gradation data on the table, and outputs the gradation data and the corresponding index to the gate circuit 18 . Furthermore, if the input data has already been registered, only the index is output to the gate circuit 18 without being registered.

【0018】従って、ゲート回路18にて、抽出された
階調データが変化した時のみ、階調データに対応するイ
ンデックス(或いは階調データ)が多重化回路19に入
力され、多重化回路19にて、符号化された判定結果に
多重されて伝送される。多重化の方法としては、例えば
、1ページ毎あるいはnブロックライン毎に符号化され
た判定結果と階調データを交互に送るようにすることが
考えられる。また、伝送時には多重化しても、記憶時に
は別々のメモリに記憶させるようにしてもよい。通常、
同一ページ内に使用される文字・線画等の階調数は非常
に少ないため、本構成により、伝送データを大幅に削減
できる。特にフルカラーデータの場合、RGB各8bi
tの計24bitの階調データとなるため、効果は絶大
である。
Therefore, in the gate circuit 18, only when the extracted gradation data changes, the index (or gradation data) corresponding to the gradation data is input to the multiplexing circuit 19; and is multiplexed with the encoded determination result and transmitted. A conceivable method of multiplexing is, for example, to alternately send the coded determination results and gradation data every page or every n block lines. Further, the data may be multiplexed during transmission, or may be stored in separate memories during storage. usually,
Since the number of gradations of characters, line drawings, etc. used within the same page is extremely small, this configuration can significantly reduce the amount of transmitted data. Especially in the case of full color data, RGB each 8bi
Since the gradation data of t is 24 bits in total, the effect is tremendous.

【0019】次に、実施例における抽出画素置換回路4
の詳細な構成を図5に示すブロック図を参照して説明す
る。
Next, the extracted pixel replacement circuit 4 in the embodiment
The detailed configuration will be explained with reference to the block diagram shown in FIG.

【0020】まず、信号線101より入力された抽出判
定結果は、置換値生成回路20及び遅延回路22にそれ
ぞれ入力され、信号線103より入力された入力画線デ
ータは、置換値生成回路20及び遅延回路21にそれぞ
れ入力される。ここで、置換値生成回路20は、抽出画
素データを置換するデータを発生する回路で、置換後の
画像データを符号化回路5にて符号化する際に、符号化
効率が向上するようなデータを発生する。具体的には、
抽出画素を除いた画素データのブロック平均値等が生成
される。そして、遅延回路21,22は、入力画像デー
タ及び抽出判定結果を置換値生成に必要な時間だけ遅延
する回路で、遅延されたそれぞれの信号はセレクタ23
に入力される。セレクタ23は、抽出判定結果に従い、
入力画像データが抽出画素の場合は置換値生成回路24
の置換値を、それ以外では、遅延回路21の画像データ
を選択し、抽出画素部のデータ置換を行う。
First, the extraction determination result input from the signal line 101 is input to the replacement value generation circuit 20 and the delay circuit 22, and the input object line data input from the signal line 103 is input to the replacement value generation circuit 20 and the delay circuit 22. The signals are respectively input to the delay circuit 21. Here, the replacement value generation circuit 20 is a circuit that generates data to replace extracted pixel data, and generates data that improves encoding efficiency when the replaced image data is encoded by the encoding circuit 5. occurs. in particular,
A block average value, etc. of pixel data excluding extracted pixels is generated. The delay circuits 21 and 22 are circuits that delay the input image data and the extraction determination result by the time necessary to generate a replacement value, and each delayed signal is sent to the selector 23.
is input. According to the extraction determination result, the selector 23
If the input image data is an extracted pixel, the replacement value generation circuit 24
Otherwise, the image data of the delay circuit 21 is selected, and the data of the extracted pixel portion is replaced.

【0021】図6は、合成回路8の構成を示すブロック
図であり、信号線111には復号化回路6によって復号
化された抽出判定結果が、信号線112には抽出階調デ
ータが、また信号線113には復号化回路7によって復
号化された画像データがそれぞれ入力されているものと
する。
FIG. 6 is a block diagram showing the configuration of the synthesis circuit 8, in which a signal line 111 carries the extraction judgment result decoded by the decoding circuit 6, a signal line 112 carries the extracted gradation data, and It is assumed that image data decoded by the decoding circuit 7 is input to the signal line 113, respectively.

【0022】図において、抽出階調データ及び画像デー
タはそれぞれラスター化回路24,25にてラスター走
査に変換されると同時に、信号線111より入力される
抽出判定結果の画素と同一の位置の画素にタイミング調
整されてセレクタ26に共に入力される。セレクタ26
では、抽出判定結果が抽出画素を示す場合は、抽出階調
データを、それ以外では画像データを選択することによ
り抽出画素データが合成され、置換前の入力画像データ
に復元される。
In the figure, the extracted gradation data and image data are converted into raster scanning by rasterizing circuits 24 and 25, respectively, and at the same time, the pixels at the same position as the pixels of the extraction judgment result inputted from the signal line 111 are The timing is adjusted and the signals are input to the selector 26 together. selector 26
Then, when the extraction determination result indicates an extracted pixel, the extracted gradation data is selected, and otherwise, the extracted pixel data is combined and restored to the input image data before replacement by selecting the image data.

【0023】以上説明したように、第1の実施例によれ
ば、文字・線画の品位を保存したまま効率の良い画像デ
ータの圧縮が可能となる。 <第2の実施例>次に、本発明に係る第2の実施例を図
面を参照して以下に詳述する。
As described above, according to the first embodiment, it is possible to efficiently compress image data while preserving the quality of characters and line drawings. <Second Embodiment> Next, a second embodiment according to the present invention will be described in detail below with reference to the drawings.

【0024】図7は、第2の実施例における画像符号化
装置の構成を示す概略ブロック図である。図中、図1と
同様の機能を果たす構成要素には、同一符号を付し、第
1の実施例と異なる点についてのみ説明する。
FIG. 7 is a schematic block diagram showing the configuration of an image encoding apparatus in the second embodiment. In the figure, components that perform the same functions as those in FIG. 1 are given the same reference numerals, and only points different from the first embodiment will be described.

【0025】図7に示すように、この実施例では、画像
符号化装置をページプリンタに適用した場合であり、前
述した図1の伝送路121,122がそれぞれメモリ2
7,28に置換されている。この構成において、符号化
回路3,4にて符号化されたデータは、それぞれのメモ
リ27,28に順次格納され、1ページ分のデータが格
納されると、プリンタエンジン(図示せず)が起動され
る。ここで、入力端子31よりプリンタエンジンからの
同期信号が入力され復号化回路29,30は、上述の同
期信号に同期して復号化を行う。この結果、出力端子9
からはプリンタエンジンに同期した画像信号が出力され
、印刷が実行される。
As shown in FIG. 7, this embodiment is a case in which the image encoding device is applied to a page printer, and the transmission paths 121 and 122 in FIG.
7,28. In this configuration, the data encoded by the encoding circuits 3 and 4 are sequentially stored in the respective memories 27 and 28, and when one page's worth of data is stored, the printer engine (not shown) is started. be done. Here, a synchronization signal from the printer engine is input through the input terminal 31, and the decoding circuits 29 and 30 perform decoding in synchronization with the above-mentioned synchronization signal. As a result, output terminal 9
An image signal synchronized with the printer engine is output from the printer engine, and printing is executed.

【0026】第2の実施例によれば、文字はエントロピ
ー符号化にてデータ圧縮されるため、フォントがくずれ
ず、文字の品位が保存される。また、直交変換が不得意
な文字・線画等のデータが除去されるため、メモリ28
の容量を大幅に削減することができる。
According to the second embodiment, since characters are data compressed by entropy encoding, the font is not distorted and the quality of the characters is preserved. Also, since data such as characters and line drawings that are not suitable for orthogonal transformation are removed, the memory 28
capacity can be significantly reduced.

【0027】本発明は、例えばスキャナー、インターフ
ェース、プリンタ等の複数の機器により構成されるシス
テムに適用しても良いし、例えば複写機のように1つの
機器からなる装置に適用しても良い。また、システム或
いは装置に例えばフロッピーディスクやIDカードに格
納されたプログラムを供給することによって達成される
場合にも適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices such as a scanner, an interface, and a printer, or may be applied to an apparatus composed of a single device such as a copying machine. It goes without saying that the present invention can also be applied to a case where the present invention is achieved by supplying a program stored in a floppy disk or an ID card to a system or device, for example.

【0028】[0028]

【発明の効果】以上説明したように、本発明によれば、
文字・線画の品位を良好に保存したまま、効率の良い画
像データの圧縮が可能となる。
[Effects of the Invention] As explained above, according to the present invention,
It is possible to efficiently compress image data while preserving the quality of characters and line drawings.

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

【図1】第1の実施例における画像符号化装置の構成を
示す概略ブロック図である。
FIG. 1 is a schematic block diagram showing the configuration of an image encoding device in a first embodiment.

【図2】文字・線画抽出回路の構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing the configuration of a character/line drawing extraction circuit.

【図3】生成されたヒストグラムを示す図である。FIG. 3 is a diagram showing a generated histogram.

【図4】符号化回路の構成を示すブロック図である。FIG. 4 is a block diagram showing the configuration of an encoding circuit.

【図5】抽出画素置換回路の構成を示すブロック図であ
る。
FIG. 5 is a block diagram showing the configuration of an extracted pixel replacement circuit.

【図6】合成回路の構成を示すブロック図である。FIG. 6 is a block diagram showing the configuration of a synthesis circuit.

【図7】第2の実施例における画像符号化装置の構成を
示す概略ブロック図である。
FIG. 7 is a schematic block diagram showing the configuration of an image encoding device in a second embodiment.

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

2  文字・線画抽出回路 3  符号化回路 4  抽出画素置換回路 5  符号化回路 6  復号化回路 7  復号化回路 8  合成回路 2 Character/line drawing extraction circuit 3 Encoding circuit 4 Extracted pixel replacement circuit 5 Encoding circuit 6 Decoding circuit 7 Decoding circuit 8 Synthesis circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  入力画像の階調情報に基づいて線画を
抽出する抽出手段と、該抽出手段で抽出された線画を符
号化する符号化手段と、該符号化手段で符号化されたデ
ータに前記抽出された線画の階調情報に応じて該階調情
報を多重化する多重化手段と、を備えることを特徴とす
る画像符号化装置。
Claim 1: Extracting means for extracting line drawings based on gradation information of an input image; encoding means for encoding the line drawings extracted by the extraction means; and data encoded by the encoding means. An image encoding device comprising: multiplexing means for multiplexing tone information according to the tone information of the extracted line drawing.
【請求項2】  前記抽出手段で抽出された線画の階調
情報を所定の値に置換する置換手段と、該置換手段から
の情報を符号化する符号化手段とを更に備えることを特
徴とする請求項1に記載の画像符号化装置。
2. The method further comprises replacement means for replacing the gradation information of the line drawing extracted by the extraction means with a predetermined value, and encoding means for encoding the information from the replacement means. The image encoding device according to claim 1.
【請求項3】  前記多重化手段は、階調情報の変化を
検出する検出手段と、該検出手段で検出した階調情報を
登録するテーブルとを有し、階調情報の変化に応じてテ
ーブルに登録された階調情報を多重化することを特徴と
する請求項1に記載の画像符号化装置。
3. The multiplexing means has a detection means for detecting a change in gradation information, and a table for registering the gradation information detected by the detection means, and the multiplexing means includes a detection means for detecting a change in gradation information, and a table for registering the gradation information detected by the detection means. 2. The image encoding apparatus according to claim 1, wherein the gradation information registered in the image encoding apparatus is multiplexed.
JP03096686A 1991-04-26 1991-04-26 Image encoding apparatus and image encoding method Expired - Fee Related JP3122481B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP03096686A JP3122481B2 (en) 1991-04-26 1991-04-26 Image encoding apparatus and image encoding method
US07/872,988 US5818970A (en) 1991-04-26 1992-04-24 Image encoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03096686A JP3122481B2 (en) 1991-04-26 1991-04-26 Image encoding apparatus and image encoding method

Publications (2)

Publication Number Publication Date
JPH04326670A true JPH04326670A (en) 1992-11-16
JP3122481B2 JP3122481B2 (en) 2001-01-09

Family

ID=14171679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03096686A Expired - Fee Related JP3122481B2 (en) 1991-04-26 1991-04-26 Image encoding apparatus and image encoding method

Country Status (1)

Country Link
JP (1) JP3122481B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005283692A (en) * 2004-03-29 2005-10-13 Korg Inc Method of audio signal compression

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0944098A (en) * 1995-07-27 1997-02-14 Nec Niigata Ltd Notebook type personal computer with movable lcd
JP4816328B2 (en) 2006-08-24 2011-11-16 富士ゼロックス株式会社 Image processing system, image compression system, image editing system, image processing program, and image processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005283692A (en) * 2004-03-29 2005-10-13 Korg Inc Method of audio signal compression
JP4480135B2 (en) * 2004-03-29 2010-06-16 株式会社コルグ Audio signal compression method

Also Published As

Publication number Publication date
JP3122481B2 (en) 2001-01-09

Similar Documents

Publication Publication Date Title
US5818970A (en) Image encoding apparatus
JP3703195B2 (en) Color image transmission device
JP3063957B2 (en) Image processing device
US7013050B2 (en) Image encoding apparatus and method, program code, and storage medium
JP3843581B2 (en) Image encoding device, image decoding device, image processing device, image encoding method, image decoding method, and image processing method
US6219454B1 (en) Image processing apparatus
US7209266B2 (en) Image processing apparatus
JP3193086B2 (en) Adaptive encoding apparatus and decoding apparatus for color document image
JP3231800B2 (en) Image encoding apparatus and image encoding method
US20020012474A1 (en) Image processing apparatus and image processing method
JP3108133B2 (en) Adaptive coding of color document images
JPH04326670A (en) Picture encoding device
US20020006227A1 (en) Image compressing apparatus and image compressing method
JPH05176180A (en) Coding method for still natural picture with mixed existence of binary picture
JPH06178122A (en) Adaptive encoding device for color image
JPH11136515A (en) Picture processor
JP3233986B2 (en) Image processing apparatus and method
JP4209174B2 (en) Color image processing apparatus and method
JP2002051221A (en) Device, system and method for encoding and decoding image and storage medium
JP3083336B2 (en) Image processing apparatus and method
JPH05308529A (en) Image encoder
JP3576575B2 (en) Image processing apparatus and image processing method
JP2000227848A (en) Image processor
JP3241802B2 (en) Image processing apparatus and method
JPH06113145A (en) Image processor

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: 20000918

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

Free format text: PAYMENT UNTIL: 20071020

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081020

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091020

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees