JPH03145278A - Image information encoding method - Google Patents

Image information encoding method

Info

Publication number
JPH03145278A
JPH03145278A JP1281867A JP28186789A JPH03145278A JP H03145278 A JPH03145278 A JP H03145278A JP 1281867 A JP1281867 A JP 1281867A JP 28186789 A JP28186789 A JP 28186789A JP H03145278 A JPH03145278 A JP H03145278A
Authority
JP
Japan
Prior art keywords
information
picture
small areas
page
contour
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.)
Pending
Application number
JP1281867A
Other languages
Japanese (ja)
Inventor
Yasuyuki Nomizu
泰之 野水
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP1281867A priority Critical patent/JPH03145278A/en
Publication of JPH03145278A publication Critical patent/JPH03145278A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To improve the coding efficiency by decomposing a contour of a black picture into vectors, coding the picture, dividing one page of picture into plural small areas and applying coding the picture in the unit of small areas. CONSTITUTION:One page of original is divided into small areas of a prescribed size of rectangular shape, contours L1, L2 of a black level picture appearing in picture information are extracted in the unit of small areas, then kind information of plural vectors constituting the contour and coordinates of start points P1, P2 of the contour is used as coding information. Furthermore, coding information is arranged in response to the prescribed order of arrangement of the small areas to constitute the coding information by one page. Since the contours L1, L2 of the black level picture are decomposed into a vector and coded, the coding efficiency is excellent and since one page of picture is divided into plural small areas and coded in the unit of the small areas, then the kind of the vector required for coding is reduced and the code quantity is reduced. Thus, the coding efficiency is improved.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、原稿画像をラスタ走査して得られる画像情報
を符号化圧縮する画像情報の符号化方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image information encoding method for encoding and compressing image information obtained by raster scanning a document image.

[従来の技術] 例えば、ファクシミリ装置など、原稿画像をラスタ走査
して得られる画像情報を符号化圧縮する方法としては、
例えば、グループ3フアクシミリ装置における標準的な
符号化圧縮方法であるMH符号化方式などのいわゆる一
次元符号化方式や、グループ3フアクシミリ装置におけ
るオプションの符号化圧縮方法であるMR符号化方式な
どのいわゆる二次元符号化方式などが用いられている。
[Prior Art] For example, as a method for encoding and compressing image information obtained by raster scanning a document image using a facsimile machine, etc.
For example, so-called one-dimensional encoding methods such as the MH encoding method, which is a standard encoding and compression method for Group 3 facsimile equipment, and so-called MR encoding methods, such as the MR encoding method that is an optional encoding and compression method for Group 3 facsimile equipment. A two-dimensional encoding method is used.

−次元化符号方式は、ライン単位に走査開始位置から白
黒画素の連続数(ランレングス)を調べて、それを可変
長のデータに変換するものであり、二次元符号化方式は
、基準となる参照ラインと符号化ラインの白黒変化の状
態を符号化するものである。
- Dimensional encoding method checks the consecutive number of black and white pixels (run length) from the scan start position line by line and converts it into variable length data, and two-dimensional encoding method is the standard. It encodes the state of black and white change between the reference line and the encoded line.

通常は、−次元符号化方式よりも、二次元符号化方式の
方が、符号化圧縮率が高い。
Usually, a two-dimensional encoding method has a higher encoding compression rate than a -dimensional encoding method.

[発明が解決しようとする課題] しかしながら、このような従来方式では、符号化圧縮率
は、−次元符号化方式よりも二次元符号化方式の方がよ
り大きいが、それにしても、符号化効率がよくないとい
う不都合を生じていた。
[Problems to be Solved by the Invention] However, in such conventional methods, the encoding compression ratio is higher in the two-dimensional encoding method than in the -dimensional encoding method, but even so, the encoding efficiency is high. This caused the inconvenience of not having one.

本発明は、このような実情に鑑みてなされたものであり
、符号化効率の良好な画像情報の符号化方法を提供する
ことを目的としている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a method for encoding image information with good encoding efficiency.

[課題を解決するための手段] 本発明では、lページ分の原稿を所定寸法の矩形状の小
領域に分割し、おのおのの小領域単位に画像情報にあら
われる黒画像の輪郭を抽出し、その輪郭を構成する複数
のベクトルを検出し、その輪郭の開始点の座標と輪郭を
構成する複数のベクトルの種別情報を符号化情報として
いる。さらに。
[Means for Solving the Problems] In the present invention, one page of a document is divided into rectangular small regions of a predetermined size, and the outline of a black image appearing in image information is extracted for each small region. A plurality of vectors forming the contour are detected, and the coordinates of the starting point of the contour and type information of the plurality of vectors forming the contour are used as encoded information. moreover.

小領域の所定の並び順序に応じて符号化情報を配列し、
それによって、1ページ分の符号化情報を構成している
Arranging the encoded information according to a predetermined arrangement order of the small areas,
This constitutes one page of encoded information.

[作用コ したがって、黒画像の輪郭をベクトルに分解して符号化
しているので、符号化効率がよい。また、1ページの画
像を複数の小領域に分割して、その小領域単位に符号化
しているので、符号化に必要なバク1ヘルの種類を減少
することができ、符号を短縮できるので、より符号化効
率が向上する。さらに、おのおのの小領域で黒画像の輪
郭を見つける方向を決定し、小領域の配列順序で符号化
情報を並べて1ページ分の符号化情報を構成するので、
おのおのの小領域を識別するための情報を省略すること
ができ、さらに符号化効率が向上する。
[Operations] Therefore, since the outline of the black image is decomposed into vectors and encoded, the encoding efficiency is high. In addition, since the image of one page is divided into multiple small areas and encoded in units of small areas, it is possible to reduce the types of Baku1Hel required for encoding, and the code can be shortened. Encoding efficiency is further improved. Furthermore, the direction in which the outline of the black image is found in each small area is determined, and the coded information is arranged in the order in which the small areas are arranged to form one page of coded information.
Information for identifying each small area can be omitted, further improving encoding efficiency.

[実施例コ 以下、添付図面を参照しながら、本発明の実施例を詳細
に説明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

本発明の符号化方法では、まず、第1図に示すように、
1ページ分の原稿画像を縦横所定寸広の矩形状の小領域
に分割し、おのおのの小領域で、黒画像の輪郭を抽出す
る。なお、同図においては、便宜上おのおのの小領域に
識別符号(a、b)を付している。
In the encoding method of the present invention, first, as shown in FIG.
A document image for one page is divided into rectangular small regions of predetermined width and height, and the outline of a black image is extracted from each small region. In addition, in the same figure, identification codes (a, b) are attached to each small area for convenience.

例えば、第2図(a)に示したような黒画像では、その
黒画像を構成する外側の輪郭Llと、内側の輪郭L2が
それぞれ抽出される。
For example, in a black image as shown in FIG. 2(a), an outer contour Ll and an inner contour L2 constituting the black image are extracted.

このように、輪郭を抽出すると、次に、第3図に示すよ
うに、おのおのの小領域の左上角の基準点から、右下方
向に向かって輪郭の開始点となる画素を探す。
Once the contour has been extracted in this way, next, as shown in FIG. 3, from the reference point at the upper left corner of each small area, a pixel that is the starting point of the contour is searched for in the lower right direction.

これにより、例えば、輪郭L1については、画素P1が
開始点となり、また、輪郭L2については、画素P2が
開始点となる。
As a result, for example, the pixel P1 becomes the starting point for the contour L1, and the pixel P2 becomes the starting point for the contour L2.

そして、その開始点から、一定の方向に、輪郭を追跡し
、その追跡結果を複数のベクトルの結合に分解する。こ
れにより、例えば、第2図(C)のように、おのおのの
輪郭LL、L2を構成するベクトルが検出される。
Then, the contour is traced in a fixed direction from the starting point, and the traced results are decomposed into a combination of a plurality of vectors. As a result, vectors forming each of the contours LL and L2 are detected, for example, as shown in FIG. 2(C).

このようにして、輪郭を構成する複数のベクトルを検出
すると、おのおのの輪郭について、開始点の座標と、開
始点から連続するベクトルの種類をあられす符号化デー
タの集合からなる小領域データを構成する。
In this way, when multiple vectors making up a contour are detected, for each contour, small area data is constructed consisting of a set of encoded data that includes the coordinates of the starting point and the types of vectors that continue from the starting point. do.

そして、このようにして得た小領域データを、第4図に
示すように、小領域の並び順序に配列して、lページ分
の符号化情報を構成する。
Then, the small area data obtained in this way is arranged in the order of the small areas as shown in FIG. 4, thereby configuring one page of encoded information.

また、この1ページ分の符号化情報に基づいて、元の画
情報を復号化するときには、まず、最初の小領域データ
をその先頭から順次復号化して黒画像の輪郭を復元し、
それらの輪郭で囲まれる部分の内側を黒画素で埋めるこ
とによって、元の画像を再構する。
Also, when decoding the original image information based on this one page's worth of encoded information, first, the first small area data is sequentially decoded from the beginning to restore the outline of the black image,
The original image is reconstructed by filling in the area surrounded by these outlines with black pixels.

このとき、ある小領域データとその次の小領域データの
境界部分においては、その直前に復号化した輪郭の開始
点の座標から次の小領域データの輪郭の開始点の座標ま
での方向が、符号化するときの方向とは沿わない状態と
なるので(第5図参照)、かかる状態を検出したときに
、小領域データの区切りであるということを判定するこ
とができる。
At this time, at the boundary between one small area data and the next small area data, the direction from the coordinates of the starting point of the contour decoded immediately before to the coordinates of the starting point of the next small area data is Since the state does not follow the direction during encoding (see FIG. 5), when such a state is detected, it can be determined that it is a break in small area data.

したがって、おのおのの小領域データを識別するための
識別情報を付加しなくても、適切に符号化情報を復号化
することができる。
Therefore, the encoded information can be appropriately decoded without adding identification information for identifying each small area data.

なお、符号化時の輪郭の抽出処理、輪郭の開始点の検出
処理、輪郭をベクトル化する処理、および、符号化時の
ベクトルから輪郭への変換処理、輪郭で囲まれる内側領
域を黒画素で埋める処理などは、従来周知のものである
ので、その詳細については、説明を省略する。
In addition, during encoding, the process of extracting contours, detecting the start point of contours, converting contours into vectors, converting vectors to contours during encoding, and converting the inner area surrounded by contours into black pixels. Since the filling process and the like are conventionally known, detailed explanation thereof will be omitted.

以上説明したように、本実施例では、原稿画像を複数の
小領域に分割して、その小領域単位に黒画像の輪郭を抽
出してベクトル化しているので、符号化に使用するベク
トルの種類を少なくすることができ、したがって、ベク
トルを表現するデータのビット数が減少し、符号化後の
データ量を小さくすることができる。
As explained above, in this embodiment, the document image is divided into a plurality of small regions, and the outline of the black image is extracted and vectorized for each small region, so the types of vectors used for encoding are Therefore, the number of bits of data representing the vector can be reduced, and the amount of data after encoding can be reduced.

また1輪郭の開始点をあられす座標を表現するデータの
ビット数も減少することができるので、より符号化デー
タを減少することができる。
Furthermore, since the number of bits of data representing the coordinates of the starting point of one contour can be reduced, the amount of encoded data can be further reduced.

本発明者の実験によれば、従来のMR方式に比べて、本
発明の符号化方法の方が、符号化後のデータ量を20%
程度減少することができた。
According to experiments conducted by the inventor, the encoding method of the present invention reduces the amount of data after encoding by 20% compared to the conventional MR method.
It was possible to reduce the degree.

[発明の効果] 以上のように、本発明によれば、黒画像の輪郭をベクト
ルに分解して符号化しているので、符号化効率がよく、
また、lページの画像を複数の小領域に分割して、その
小領域単位に符号化しているので、符号化に必要なベク
トルの種類を減少することができ、ベクトルをあられす
符号長を短縮できるので、より符号化効率が向上する。
[Effects of the Invention] As described above, according to the present invention, since the outline of a black image is decomposed into vectors and encoded, the encoding efficiency is high.
In addition, since the image of one page is divided into multiple small areas and encoded in units of small areas, the number of types of vectors required for encoding can be reduced, and the code length for vectors can be shortened. As a result, encoding efficiency is further improved.

さらに、おのおのの小領域で黒画像の輪郭を見つける方
向を決定し、小領域の配列順序で符号化情報を並べて1
ページ分の符号化情報を構成するので、おのおのの小領
域を識別するための情報を省略することができ、さらに
符号化効率が向上するという効果を得る。
Furthermore, the direction in which to find the outline of the black image in each small area is determined, and the encoded information is arranged in the order of arrangement of the small areas.
Since the encoded information for each page is configured, information for identifying each small area can be omitted, and the encoding efficiency is further improved.

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

第1図は小領域の一例を示す概略図、第2図(a)は黒
画像の一例を示す概略図、同図(b)は同図(a)の黒
画像の輪郭の一例を示す概略図、同図(C)は同図(b
)の輪郭をベクトルに分解した場合の一例を示す概略図
、第3図は符号化する輪郭を探す方向の一例を示す概略
図、第4図は1ページ分の符号化情報の一例を示す概略
図、第5図は復号化時における小領域データの区切りの
判別の方法を説明するための概略図である。 第2図
Fig. 1 is a schematic diagram showing an example of a small area, Fig. 2 (a) is a schematic diagram showing an example of a black image, and Fig. 2 (b) is a schematic diagram showing an example of the outline of the black image in Fig. 2 (a). , the same figure (C) is the same figure (b)
) Figure 3 is a schematic diagram showing an example of the direction in which contours to be encoded are searched for. Figure 4 is a schematic diagram showing an example of encoded information for one page. 5A and 5B are schematic diagrams for explaining a method for determining the delimitation of small area data during decoding. Figure 2

Claims (2)

【特許請求の範囲】[Claims] (1)原稿画像をラスタ走査して得られる画像情報を符
号化圧縮する画像情報の符号化方法において、1ページ
分の原稿を所定寸法の矩形状の小領域に分割し、おのお
のの小領域単位に画像情報にあらわれる黒画像の輪郭を
抽出し、その輪郭を構成する複数のベクトルを検出し、
その輪郭の開始点の座標と輪郭を構成する複数のベクト
ルの種別情報を符号化情報とすることを特徴とする画像
情報の符号化方法。
(1) In an image information encoding method that encodes and compresses image information obtained by raster scanning a document image, one page of the document is divided into rectangular small regions of predetermined dimensions, and each small region is divided into extracts the outline of the black image that appears in the image information, detects multiple vectors that make up that outline,
A method for encoding image information, characterized in that the coordinates of the starting point of the contour and type information of a plurality of vectors constituting the contour are used as encoded information.
(2)前記符号化情報は、おのおのの小領域で一定の方
向に輪郭を探し出して形成するとともに、前記小領域の
所定の並びに順序に応じて配列して、1ページ分の符号
化情報を構成することを特徴とする請求項1記載の画像
情報の符号化方法。
(2) The encoded information is formed by finding an outline in a certain direction in each small area, and is arranged in a predetermined order of the small areas to form one page of encoded information. The method of encoding image information according to claim 1, characterized in that:
JP1281867A 1989-10-31 1989-10-31 Image information encoding method Pending JPH03145278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1281867A JPH03145278A (en) 1989-10-31 1989-10-31 Image information encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1281867A JPH03145278A (en) 1989-10-31 1989-10-31 Image information encoding method

Publications (1)

Publication Number Publication Date
JPH03145278A true JPH03145278A (en) 1991-06-20

Family

ID=17645089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1281867A Pending JPH03145278A (en) 1989-10-31 1989-10-31 Image information encoding method

Country Status (1)

Country Link
JP (1) JPH03145278A (en)

Similar Documents

Publication Publication Date Title
US6016361A (en) Method and apparatus for compressing binary data using pattern matching encoding
JPH10143604A (en) Pattern extraction device
US8774511B2 (en) Image processing apparatus and image processing method
JP2001203897A (en) Pattern-matching encoding device and its method
US6728412B1 (en) Method and apparatus for on-the-fly image coding
JP2836681B2 (en) Pattern matching encoding method and encoding device
JPH03145278A (en) Image information encoding method
JP3150856B2 (en) Image processing method
JP4260908B2 (en) Run-length encoding method and image processing apparatus
JP2789622B2 (en) Character / graphic area determination device
JPH0993612A (en) Image coding method using contour information
JPH09167222A (en) Image processor
Pinho A JBIG-based approach to the encoding of contour maps
KR910005390B1 (en) Automatic Document Processing and English Character Recognition
JPH0495180A (en) Segment/curve recognizing system
JPS60101676A (en) Picture processing method
Murakami et al. Proposal of line element chain coding
JPS60210069A (en) Document information encoding method
JPH0832816A (en) Image compression method
JPH07129760A (en) Image processing method and apparatus
JPH03192487A (en) Pattern recognizing method
JPS586672A (en) Character pattern information compression device
JPH03102964A (en) Character/drawing separating device
JPS61241884A (en) Pattern data compression method
Kurosu Evaluation of effective data reduction methods for MMR coding