[go: up one dir, main page]

JPH04326671A - Picture encoding device - Google Patents

Picture encoding device

Info

Publication number
JPH04326671A
JPH04326671A JP3096687A JP9668791A JPH04326671A JP H04326671 A JPH04326671 A JP H04326671A JP 3096687 A JP3096687 A JP 3096687A JP 9668791 A JP9668791 A JP 9668791A JP H04326671 A JPH04326671 A JP H04326671A
Authority
JP
Japan
Prior art keywords
line drawing
edge
image
continuity
signal
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.)
Withdrawn
Application number
JP3096687A
Other languages
Japanese (ja)
Inventor
Yoshitake Nagashima
長島 良武
Takashi Ishikawa
尚 石川
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 JP3096687A priority Critical patent/JPH04326671A/en
Publication of JPH04326671A publication Critical patent/JPH04326671A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To perform efficient encoding with a high picture quality by using the continuity of an outline to extract and separate the line drawing part of a picture. CONSTITUTION:An inputted picture signal is divided into NXM picture element blocks by an NXM-picture element memory 201, and edge parts of picture element blocks are detected by an edge detecting part 202 and are stored in an edge memory 203. A close loop part of edge parts is detected by a continuity detecting part 204, and the line drawing part is extracted by a line drawing part extracting part 205, and bit map information and gradation information of its pattern are outputted, and thereby, compression adapted to each signal is performed, and efficient encoding is possible with a high picture quality.

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 device capable of compressing image information.

【0002】0002

【従来の技術】従来、画像符号化装置では、入力した画
像信号に対し、単にデータ圧縮を行い符号化している。
2. Description of the Related Art Conventionally, an image encoding apparatus simply compresses and encodes input image signals.

【0003】0003

【発明が解決しようとしている課題】しかしながら、上
記従来例では、次に示すような欠点があった。
[Problems to be Solved by the Invention] However, the above conventional example has the following drawbacks.

【0004】(1)(文字、線画)と(自然画)で構成
されている入力画像を圧縮して符号化する場合、(自然
画)に対して高能率な符号化を行うと、(文字、線画)
に対して著しい画像劣化が生ずる。
(1) When compressing and encoding an input image consisting of (characters, line drawings) and (natural images), if highly efficient encoding is performed on (natural images), (characters, line drawings) and (natural images) , line drawing)
Significant image deterioration occurs.

【0005】(2)また、(文字、線画)に対して劣化
が生じない符号化方式を用いると、(自然画)に対して
高能率な符号化ができない。
(2) Furthermore, if an encoding method that does not cause deterioration of (characters, line drawings) is used, highly efficient encoding of (natural images) cannot be performed.

【0006】上記(1)と(2)から(文字、線画)と
(自然画)とは、互いに画像の性質が異なるため、同一
の符号化方式では高能率な符号化は不可能であった。
[0006] From (1) and (2) above, it was impossible to encode characters (characters, line drawings) and (natural images) with high efficiency using the same encoding method because their image properties were different from each other. .

【0007】本発明は、上記課題を解決するために成さ
れたもので、エッジ部の連続性を用いて画像の線画部を
抽出し分離することにより、高画質で、高能率な符号化
を可能とする画像符号化装置を提供することを目的とす
る。
The present invention has been made to solve the above problems, and by extracting and separating the line drawing part of an image using the continuity of the edge part, it is possible to perform high-quality and highly efficient encoding. The purpose of the present invention is to provide an image encoding device that enables image encoding.

【0008】[0008]

【課題を解決するための手段及び作用】上記目的を達成
するために、本発明の画像符号化装置は以下の構成から
なる。すなわち、画像情報を符号化する画像符号化装置
であって、画像情報のエッジ部の連続性を検出する連続
性検出手段と、該連続性検出手段で検出された情報に基
づいて線画部を抽出する線画部抽出手段と、該線画部抽
出手段で抽出された線画部を所定の値で置換する置換手
段とを備える。
Means for Solving the Problems and Operations In order to achieve the above object, an image encoding device of the present invention has the following configuration. That is, an image encoding device that encodes image information includes a continuity detection means for detecting continuity of edge portions of the image information, and a line drawing portion is extracted based on the information detected by the continuity detection means. and a replacement means that replaces the line drawing extracted by the line drawing extracting means with a predetermined value.

【0009】また好ましくは、前記連続性検出手段は、
エッジ情報をスタックメモリに記録することにより、エ
ッジ部の連続性を検出することを特徴とする。
[0009] Also preferably, the continuity detection means comprises:
It is characterized by detecting continuity of edge portions by recording edge information in a stack memory.

【0010】更に好ましくは、前記線画部抽出手段は、
スタックメモリに記録されたエッジ部のアドレス情報に
基づいて線画部を抽出することを特徴とする。
More preferably, the line drawing portion extraction means comprises:
A feature of this method is that the line drawing portion is extracted based on the address information of the edge portion recorded in the stack memory.

【0011】[0011]

【実施例】以下、図面を参照して本発明に係る好適な一
実施例を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described in detail below with reference to the drawings.

【0012】図1は、実施例における画像符号化装置の
構成を示す概略ブロック図である。図示するように、符
号化部101に入力された画像信号は、詳細は後述する
信号分離部111において、文字、線画部に対してはビ
ットマップ信号103と階調信号104が抽出され分離
される。また、画像信号の画像信号の自然画に対しては
文字、線画部が所定の値に置換された自然画信号105
が出力され、JPEG(Joint Photogra
phic Expert Group)のADCT(A
dvanced Discrete CosineTr
ansform)112において高能率のデータ圧縮が
行われる。その後、IADCT121で復号化された信
号と上述のビットマップ信号103及び階調信号104
が合成部122に入力され、元の画像信号に合成されて
出力される。
FIG. 1 is a schematic block diagram showing the configuration of an image encoding apparatus in an embodiment. As shown in the figure, an image signal input to an encoding unit 101 is extracted and separated into a bitmap signal 103 and a gradation signal 104 for characters and line drawings by a signal separation unit 111, the details of which will be described later. . Furthermore, for a natural image of an image signal, a natural image signal 105 in which characters and line drawing portions are replaced with predetermined values.
is output, JPEG (Joint Photogra
phic Expert Group) ADCT (A
dvanced Discrete CosineTr
high efficiency data compression is performed at 112 (transform) 112. After that, the signal decoded by IADCT 121, the above-mentioned bitmap signal 103 and grayscale signal 104
is input to the combining section 122, and is combined with the original image signal and output.

【0013】次に、上述した信号分離部111の詳細な
構成を図2に示すブロック図を参照して説明する。まず
、入力された画像信号は、N×M画素メモリ201でN
×Mの画素ブロックにブロック化される。ここでは、簡
単のため、8×8ブロックとして説明する。次に、公知
の2次元エッジ検出部202によって画素ブロックのエ
ッジ部が検出され、エッジメモリ203に記憶される。 そして、連続性検出部204によってエッジ部の閉ルー
プ部が検出され、線画部抽出部205において閉ループ
パターンを抽出し、ビットマップ情報とそのパターンの
階調情報として出力する。また、自然画情報は、N×M
画素メモリ201からの信号より、上述の閉ループパタ
ーンを除き、高能率データ圧縮が容易になるように、適
当な値が代入されて出力される。
Next, the detailed configuration of the signal separation section 111 described above will be explained with reference to the block diagram shown in FIG. First, the input image signal is stored in the N×M pixel memory 201.
It is divided into ×M pixel blocks. Here, for the sake of simplicity, an 8×8 block will be explained. Next, an edge portion of the pixel block is detected by a known two-dimensional edge detection unit 202 and stored in an edge memory 203. The continuity detection unit 204 detects the closed loop part of the edge part, and the line drawing part extraction unit 205 extracts the closed loop pattern and outputs it as bitmap information and gradation information of the pattern. Also, natural image information is N×M
From the signals from the pixel memory 201, appropriate values are substituted and output so as to facilitate high-efficiency data compression, except for the above-mentioned closed loop pattern.

【0014】ここで、上述の連続性検出部204のアル
ゴリズムを以下に説明する。
The algorithm of the continuity detecting section 204 described above will be explained below.

【0015】図3は、8×8ブロックに対するアドレス
を示す図である。図4に示す(a)は、N×M画素メモ
リ201に入力された画像パターンの一例を示す図であ
り、同(b)は、エッジ検出部202でエッジ部が検出
され、エッジメモリ203に記憶されたエッジパターン
を示す図である。そして、(b)に示すメモリ203の
上から順に、左から右に走査し、データの有無をチェッ
クして行き、エッジ部1が検出されると、図5に示すス
タックメモリS1にそのアドレスを記録する。ここで、
注目画素のアドレス(i,j)に対して、隣接するアド
レスの何れかがスタックに記録されている場合、注目画
素はスタックに記録されているアドレスの画素と連続し
ていると判定される。例えば、エッジ部2又は3のアド
レスは、スタックS1上に記録されているアドレスと隣
接関係にあるため、スタックS1に記録される。しかし
、エッジ部4のアドレスは、スタックS1上のエッジ部
3のアドレスと隣接関係にないため、新たなスタックS
2が作成され、そこに記録される。このように、エッジ
部の連続性を判定して行き、スタックS1とS2の最上
位のアドレス(エッジ部12)が同じであり、隣接して
いると識別できる。また、スタックS1とS2の最下位
のアドレス(エッジ部1、エッジ部4)から隣接してい
ることが分かる。
FIG. 3 is a diagram showing addresses for 8×8 blocks. FIG. 4A shows an example of an image pattern input to the N×M pixel memory 201, and FIG. 4B shows an edge portion detected by the edge detection unit 202 and stored in the edge memory 203. FIG. 3 is a diagram showing stored edge patterns. Then, the memory 203 shown in FIG. 5B is scanned sequentially from left to right from the top, and the presence or absence of data is checked. When edge part 1 is detected, the address is stored in the stack memory S1 shown in FIG. Record. here,
If any address adjacent to the address (i, j) of the pixel of interest is recorded in the stack, it is determined that the pixel of interest is continuous with the pixel at the address recorded in the stack. For example, the address of edge portion 2 or 3 is recorded in stack S1 because it is adjacent to the address recorded on stack S1. However, since the address of edge section 4 is not adjacent to the address of edge section 3 on stack S1, new stack S
2 is created and recorded there. In this way, the continuity of the edge portions is determined, and it can be determined that the top addresses (edge portions 12) of the stacks S1 and S2 are the same and are adjacent. Further, it can be seen that the stacks S1 and S2 are adjacent to each other from the lowest addresses (edge part 1, edge part 4).

【0016】従つて、このパターンは閉ループになって
いることが分かり、これを線画部と認識し、ビットパタ
ーンを生成する。また、階調信号はこの閉ループ内のデ
ータを1つ代表値として取り出す。
Therefore, it is found that this pattern is a closed loop, and this is recognized as a line drawing portion, and a bit pattern is generated. Furthermore, for the gradation signal, one piece of data within this closed loop is taken out as a representative value.

【0017】なお、図6に示す(a)の画像パターンの
場合、そのパターンがブロック端にかかっている。この
場合、上述したアルゴリズムによって同様に処理され、
その結果、図7に示すスタックS1〜S4がそれぞれ作
成される。ここで、スタックS1とスタックS3の最上
位に記録されたアドレス(エッジ部8)から隣接関係が
識別でき、また、スタックS2とスタックS4の最上位
に記録されたアドレス(エッジ部14)からの隣接関係
が識別できる。そして、スタックS1とS2の最下部に
記録されたアドレスを調べると、エッジ部1とエッジ部
2のアドレスのy成分が零で、ブロックの端であること
から、これらは隣接していると見なす。また、エッジ部
7とエッジ部12も同様に、アドレスのx成分が零とな
っているため、隣接していると見なす。従って、図7か
ら閉ループが切り出され、前述の場合と同様に、ビット
パターン、階調信号が生成される。
In the case of the image pattern (a) shown in FIG. 6, the pattern extends over the edge of the block. In this case, it is processed similarly by the algorithm described above,
As a result, stacks S1 to S4 shown in FIG. 7 are respectively created. Here, the adjacency relationship can be identified from the addresses (edge part 8) recorded at the top of stacks S1 and S3, and the adjacency relationship can be identified from the addresses (edge part 14) recorded at the top of stacks S2 and S4. Adjacency relationships can be identified. Then, when we examine the addresses recorded at the bottom of stacks S1 and S2, we see that the y components of the addresses of edge part 1 and edge part 2 are zero, and these are the edges of the block, so these are considered to be adjacent. . Similarly, since the x component of the address of edge portion 7 and edge portion 12 is zero, they are considered to be adjacent. Therefore, a closed loop is cut out from FIG. 7, and a bit pattern and grayscale signal are generated as in the case described above.

【0018】以上説明したように、本実施例によれば、
輪郭(エッジ部)の連続性を用い、線画部を抽出するこ
とにより、画像信号をビット・マップ信号、階調信号、
自然画信号に分離し、それぞれの信号に適した圧縮を行
い、高画質を保ったままで高能率な符号化が可能となる
。特に、エッジ部の連続性を用いて線画部を検出するの
で、的確に検出することができる。
As explained above, according to this embodiment,
By extracting the line drawing part using the continuity of the contour (edge part), the image signal can be converted into a bit map signal, gradation signal,
By separating the natural image signals and applying appropriate compression to each signal, highly efficient encoding is possible while maintaining high image quality. In particular, since the line drawing portion is detected using the continuity of the edge portion, it can be detected accurately.

【0019】[0019]

【他の実施例】次に、本発明に係る他の実施例を図面を
参照して以下に説明する。
[Other Embodiments] Next, other embodiments according to the present invention will be described below with reference to the drawings.

【0020】図8は、他の実施例における信号分離部の
詳細な構成を示すブロック図である。なお、前述した実
施例で参照した図2と同一の機能を有するブロックには
同一の符号を付し、ここでの説明は省略する。
FIG. 8 is a block diagram showing the detailed configuration of the signal separation section in another embodiment. Note that blocks having the same functions as those in FIG. 2 referred to in the above-described embodiment are designated by the same reference numerals, and description thereof will be omitted here.

【0021】図示するように、この実施例では、エッジ
検出部202とエッジメモリ203との間に比較器20
7を備え、エッジ検出部202からの信号とある設定さ
れた閾値とを比較して、閾値より大きい信号のみエッジ
メモリ203に記録するように構成されている。ここで
、閾値は、自然画信号を圧縮したとき、妨害ノイズが検
知限以下となる値に設定する。これにより、線画部抽出
部205でのスタックメモリを減らすことでき、更に高
能率の符号化ができる。
As shown in the figure, in this embodiment, a comparator 20 is provided between the edge detection section 202 and the edge memory 203.
7, and is configured to compare the signal from the edge detection unit 202 with a certain set threshold value, and record only signals larger than the threshold value in the edge memory 203. Here, the threshold value is set to a value at which disturbing noise is below the detection limit when the natural image signal is compressed. This makes it possible to reduce the stack memory in the line drawing portion extracting unit 205 and to perform encoding with higher efficiency.

【0022】尚、本発明は例えばリーダー、インターフ
ェース、プリンタ等の複数の機器から構成されるシステ
ムに適用しても良いし、複写機など1つの機器からなる
装置に適用しても良い。また、システム或いは装置に例
えば、フロッピーディスクやIDカードなどに格納され
たプログラムを供給することによって達成される場合に
も適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices such as a reader, an interface, and a printer, or 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, an ID card, etc. to a system or device.

【0023】[0023]

【発明の効果】以上説明したように、本発明によれば、
輪郭の連続性を用いて画像の線画部を抽出し分離するこ
とにより、高画質で、高能率な符号化が可能となる。
[Effects of the Invention] As explained above, according to the present invention,
By extracting and separating the line drawing portion of an image using the continuity of contours, high-quality and highly efficient encoding becomes possible.

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

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

【図2】本実施例における信号分離部の詳細な構成を示
すブロック図である。
FIG. 2 is a block diagram showing a detailed configuration of a signal separation section in this embodiment.

【図3】8×8画素ブロックの番地割当てを示す図であ
る。
FIG. 3 is a diagram showing address assignment of an 8×8 pixel block.

【図4】画像パターンと検出されたエッジパターンを示
す図である。
FIG. 4 is a diagram showing an image pattern and a detected edge pattern.

【図5】スタックメモリに記録された状態を示す図であ
る。
FIG. 5 is a diagram showing a state recorded in a stack memory.

【図6】画像パターンと検出されたエッジパターンを示
す図である。
FIG. 6 is a diagram showing an image pattern and a detected edge pattern.

【図7】スタックメモリに記録された状態を示す図であ
る。
FIG. 7 is a diagram showing a state recorded in a stack memory.

【図8】他の実施例における信号分離部の詳細な構成を
示すブロック図である。
FIG. 8 is a block diagram showing a detailed configuration of a signal separation section in another embodiment.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  画像情報を符号化する画像符号化装置
であって、画像情報のエッジ部の連続性を検出する連続
性検出手段と、該連続性検出手段で検出された情報に基
づいて線画部を抽出する線画部抽出手段と、該線画部抽
出手段で抽出された線画部の値を所定の値で置換する置
換手段とを備えることを特徴とする画像符号化装置。
1. An image encoding device for encoding image information, comprising: continuity detection means for detecting continuity of edge portions of the image information; and a line drawing based on the information detected by the continuity detection means. 1. An image encoding device comprising: a line drawing part extracting means for extracting a line drawing part; and a replacing means for replacing a value of the line drawing part extracted by the line drawing part extracting means with a predetermined value.
【請求項2】  前記連続性検出手段は、エッジ情報を
スタックメモリに記録することにより、エッジ部の連続
性を検出することを特徴とする請求項1に記載の画像符
号化装置。
2. The image encoding device according to claim 1, wherein the continuity detection means detects continuity of edge portions by recording edge information in a stack memory.
【請求項3】  前記線画部抽出手段は、スタックメモ
リに記録されたエッジ部のアドレス情報に基づいて線画
部を抽出することを特徴とする請求項2に記載の画像符
号化装置。
3. The image encoding apparatus according to claim 2, wherein the line drawing portion extracting means extracts the line drawing portion based on address information of an edge portion recorded in a stack memory.
JP3096687A 1991-04-26 1991-04-26 Picture encoding device Withdrawn JPH04326671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3096687A JPH04326671A (en) 1991-04-26 1991-04-26 Picture encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3096687A JPH04326671A (en) 1991-04-26 1991-04-26 Picture encoding device

Publications (1)

Publication Number Publication Date
JPH04326671A true JPH04326671A (en) 1992-11-16

Family

ID=14171708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3096687A Withdrawn JPH04326671A (en) 1991-04-26 1991-04-26 Picture encoding device

Country Status (1)

Country Link
JP (1) JPH04326671A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832123A (en) * 1995-11-24 1998-11-03 Kokusai Electric Co., Ltd. Method and apparatus for producing an enhanced two-grayscale image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832123A (en) * 1995-11-24 1998-11-03 Kokusai Electric Co., Ltd. Method and apparatus for producing an enhanced two-grayscale image

Similar Documents

Publication Publication Date Title
US8331671B2 (en) Image processing apparatus and image encoding method related to non-photo image regions
US8548241B2 (en) Enhanced multilayer compression of image files using OCR systems
US20120128199A1 (en) Watermark information embedding device, watermark information processing system, watermark information embedding method, and program
JP2006005939A (en) Hybrid compression mechanism based on segmentation for scanned documents
US7133559B2 (en) Image processing device, image processing method, image processing program, and computer readable recording medium on which image processing program is recorded
US7433082B2 (en) Method of, apparatus for, and computer program for image processing
JP2003179738A (en) Image processor
US20080159650A1 (en) Image processing apparatus and image processing method
CN100456802C (en) Image compression device, image output device, image decompression device, printer, image processing device, copier, image compression method, image decompression method, image processing program, and
US7085422B2 (en) Layer based compression of digital images
JPH1070654A (en) Image processor
JPH04326671A (en) Picture encoding device
JP4787776B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP4001446B2 (en) Method, apparatus and computer-readable recording medium for specifying image background color
JPH04356873A (en) Adaptive encoding system for color document image
US6728426B1 (en) Compression of form images in gray-level
JPH04287179A (en) Method and device for processing image information and image information transmitter
JP3233986B2 (en) Image processing apparatus and method
JP4742632B2 (en) Image processing apparatus, image processing method, and program
JP2760791B2 (en) Image information processing device
JP4228905B2 (en) Image processing apparatus and program
JP3882603B2 (en) Image processing apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded
JPH04220086A (en) Image data control system
JP2003189090A (en) Image processing apparatus and method, image processing program and storage medium
JP2001333280A (en) Device and method for processing image

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980711