JPS61874A - Coding system of binary coded picture data - Google Patents

Coding system of binary coded picture data

Info

Publication number
JPS61874A
JPS61874A JP59119905A JP11990584A JPS61874A JP S61874 A JPS61874 A JP S61874A JP 59119905 A JP59119905 A JP 59119905A JP 11990584 A JP11990584 A JP 11990584A JP S61874 A JPS61874 A JP S61874A
Authority
JP
Japan
Prior art keywords
data
pixel
image data
picture data
coding
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
JP59119905A
Other languages
Japanese (ja)
Inventor
Koichi Nagata
公一 永田
Fumio Tsujii
辻井 文男
Takanori Shibata
柴田 孝則
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59119905A priority Critical patent/JPS61874A/en
Publication of JPS61874A publication Critical patent/JPS61874A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/20Contour coding, e.g. using detection of edges

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Navigation (AREA)
  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To shorten the refresh time of pictures and to attain the satisfactory compression of data without producing any loss of information quantity, by providing a line thinning part where the pictures are converted into lineworks, a start point detecting part, a coding part, etc. CONSTITUTION:The picture data read out of a map 1 is converted into the binary coded picture data by an input part 2 and undergoes the line thinning process through a line thinning part 4 via a memory 8. Then the start point of the picture data is detected at a start point detecting part 5 to check the adjacent direction of the next picture element continuous to the start point via the memory 8. The coding process is performed after the adjacent direction is decided. When the coding is through with the picture element in such a way, this picture element is erased out of the original picture data. If the end point is detected with the picture element under coding, the procedure proceeds to the part 5 again from a coding part 6 for detection of the next start point. In such a way, the picture data is coded through the part 4, etc. and the satisfactory compression of data is attained and also the refresh time of pictures is shortened.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、道路地図など線画像データで表わされる画像
データの処理方式に係り、特にこのような画像データの
データ量を圧縮するだめの符号化方式に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a method for processing image data represented by line image data such as road maps, and in particular to a method for encoding image data to compress the amount of such image data. Regarding the method.

〔発明の背景〕[Background of the invention]

自動車用ナビゲーシ肩ンシステムなトニおいては、多数
の異なった範囲の道路地図な予じめ用意しておき、必要
に応じてそのうちの一つを任意に表示できるようにして
おかなければならない。
In an automobile navigation system, a large number of road maps of different ranges must be prepared in advance, and one of them must be displayed as desired.

しかして、このため、従来は、フィルムや紙などに描い
た道路地図を用いていたので、地図の選択や表示切換が
面倒で、自動化が難めて困難であるという問題点があっ
た。
For this reason, conventionally, road maps drawn on film or paper have been used, which poses problems in that map selection and display switching is troublesome and automation is difficult.

そこで、電子的な画像処理技術により、多数の道路地図
などを画像データ化し、これをメモリに予じめ記憶して
おき、必要に応じてCRTなどにより画像再生するよう
にしたシステムが使用されるようになってきた。
Therefore, a system is used that uses electronic image processing technology to convert a large number of road maps into image data, stores this in advance in memory, and reproduces the image on a CRT or the like as needed. It's starting to look like this.

ところで、上記したナビゲーシ四ンシステムなどでは、
かなり多くの地図を必要とする。従って、これをそのま
ま画像データ化すると、そのデータ量はかなり膨大なも
のとなり、メモリ容量が多く必要になってコストアップ
となり、実装が困難になるという問題点がある。
By the way, in the navigation system mentioned above,
Requires quite a lot of maps. Therefore, if this is converted into image data as it is, the amount of data will be quite enormous, which will require a large memory capacity, increasing costs and making implementation difficult.

そこで、従来から種々の画像データ圧縮方式、例えばベ
クトル化方式やランレングスコード化方式などが提案さ
れているが、ベクトル化方式では情報量の損失が生じて
画質の低下が避けられず、ランレングスコード化方式で
は画像再生に時間が掛り過ぎ、ナビゲーシ層ンシステム
には不向キであるなどの欠点があった。
Therefore, various image data compression methods, such as vectorization methods and run-length coding methods, have been proposed in the past, but vectorization methods inevitably cause a loss of information and degrade image quality, The coding method had drawbacks such as it took too much time to reproduce images and was not suitable for navigation systems.

一方、このような欠点を除(ものとしては特開昭58−
139567号公報による発明が提案されており、情報
量の損失を少くするという点では有効な提案であるが、
汎用性に重点が置かれているため、データ圧縮の面では
いささかもの足りない点がある。
On the other hand, such drawbacks have been removed (as for
The invention disclosed in Publication No. 139567 has been proposed, and although it is an effective proposal in terms of reducing the loss of information,
Because the emphasis is on versatility, data compression leaves a bit to be desired.

〔発明の目゛的〕[Aim of the invention]

本発明の目的は、上記した従来技術の欠点を除き、情報
量の損失を生じることなく充分なデータ圧縮が得られ、
しかも画像のリフレッシュ時間が短かくて済む2値化画
像データ符号化方式を提供するにある。
An object of the present invention is to eliminate the drawbacks of the prior art described above, obtain sufficient data compression without causing loss of information, and
Moreover, it is an object of the present invention to provide a binary image data encoding method that requires a short image refresh time.

〔発明の概要〕 この目的を達成するため、本発明は、道路地図など線画
を主体とした画像の特性を活かし、画像を複数の線分の
集合とみなした上でそれぞれの線分をその始点位置デー
タと、この始点から順次隣接して連続する画素ごとの隣
接方向を表わすデータと、それぞれの線分の終点を表わ
すデータとによって表現するようにした点を特徴とする
[Summary of the Invention] In order to achieve this object, the present invention makes use of the characteristics of images that mainly consist of line drawings such as road maps, treats the image as a set of multiple line segments, and then identifies each line segment as its starting point. It is characterized by a point expressed by position data, data representing the adjacent direction of each successive adjacent pixel from the starting point, and data representing the end point of each line segment.

〔発明の実施例〕[Embodiments of the invention]

以下1本発明による2値化画像データ符号化方式につい
て、図示の実施例を参照して詳細に説明する。
Hereinafter, a binary image data encoding method according to the present invention will be explained in detail with reference to the illustrated embodiments.

第1図は本発明の一実施例で、1は画像データを読取る
べき地図(原画)、2は画像データ読取り用の入力部で
、CCDや撮像管を用いたテレビジョンカメラ、或いは
ドラムスキャナなどからなるもの、3は入力部2で読取
った画像データを2値化するための2値化部、4は画像
を線画化するための細線化部であり、さらに5は始点検
出部、6は符号化部、7は出力部、8はメモリであり、
これらの部分により符号化処理が行なわれる。
FIG. 1 shows an embodiment of the present invention, where 1 is a map (original image) from which image data is to be read, and 2 is an input unit for reading image data, such as a television camera using a CCD or an image pickup tube, or a drum scanner. 3 is a binarization unit for binarizing the image data read by the input unit 2, 4 is a thinning unit for converting the image into a line drawing, 5 is a starting point detection unit, and 6 is a thinning unit for converting the image into a line drawing. An encoding unit, 7 an output unit, 8 a memory,
Encoding processing is performed by these parts.

次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.

入力部2によって地図1から読取った画像データは2値
化部3によって白部分と黒部分とだけからなる2値化画
像データに変換された上でメモリに一旦、記憶される。
The image data read from the map 1 by the input section 2 is converted by the binarization section 3 into binarized image data consisting of only white parts and black parts, and is temporarily stored in the memory.

しかしながら、この時点で得られた画像データは、地図
1に対応して線画データになってはいるものの、その線
の幅がまちまちになっているから、これを細線化部4に
よって細線化処理を行ない、1画素分の幅の線画データ
とする。このようにして細線化処理を施こした画像デー
タの一例を第2図に示すっ 、 こ5して、地図1の細線化データがメモリ8つ中に
格納されたら、符号化処理に進む。
However, although the image data obtained at this point is line drawing data corresponding to map 1, the line widths vary, so this is subjected to line thinning processing by the line thinning section 4. Then, line drawing data with a width of one pixel is obtained. An example of image data subjected to line thinning processing in this manner is shown in FIG. 2. After the line thinning data of map 1 is stored in the eight memories, the process proceeds to encoding processing.

まず、始点検出部5で画像データの始点S(第2図)の
検出を行なう。この始点検出動作は、画像データの各画
素をX方向とy方向に順次走査し、最初に見つかった画
素の位置を検出することKよって行なわれる。従って、
第2図の画像データでは始点S(4,2)となる。
First, the starting point detection section 5 detects the starting point S (FIG. 2) of the image data. This starting point detection operation is performed by sequentially scanning each pixel of the image data in the X and Y directions and detecting the position of the first pixel found. Therefore,
In the image data of FIG. 2, this is the starting point S(4,2).

こうして始点Sが検出できたら、その座標(4,2)を
メモリ8に記憶する。この場合、符号化すべき地図1の
大きさなどによって、このX座標とy座標を表わすのに
必要なビット数は異なってくるが、この実施例では、そ
れぞれ1バイトを用いることにし、従って、この始点S
を表わすデータは第3図に示すようになる。なお、この
第3図で、11がX座標(4)を表わし、12がy座標
(2)を表わす。
Once the starting point S has been detected in this way, its coordinates (4, 2) are stored in the memory 8. In this case, the number of bits required to represent the X and Y coordinates will vary depending on the size of the map 1 to be encoded, but in this example, 1 byte is used for each; Starting point S
The data representing this is shown in FIG. In this figure, 11 represents the X coordinate (4) and 12 represents the Y coordinate (2).

次に、この始点Sに連続する次の画素の隣接力°向を探
す。このときの隣接方向は第4図に示すように3×3の
マスクを用い、1から8までの8方向について調べる。
Next, the adjacent force direction of the next pixel following this starting point S is searched. At this time, the adjacent directions are examined in eight directions from 1 to 8 using a 3×3 mask as shown in FIG.

第2図のデータの場合、始点Sに第4図のマスクの中心
を一致させると、3の方向に次の画素が隣接しているこ
とが判る。こうして隣接方向が判別したら、これをデー
タ化するのであるが、このときには方向が全部で8種類
あり、さらに始点Sに隣接画素がない場合な0で表わす
ため4ビツトを用い、第2図の始点Sに隣接する画素(
4,3)は、その隣接方向が第4図の方向3であるから
、第5図の13で示すように符号化されろう こうして隣接する画素の符号化が終了したら、その画素
は元の画像データ(細線化データ、例えば第2図)から
消去する。
In the case of the data in FIG. 2, if the center of the mask in FIG. 4 is made to coincide with the starting point S, it can be seen that the next pixel is adjacent in direction 3. Once the adjacent direction is determined in this way, it is converted into data. At this time, there are eight types of directions in total, and if there is no adjacent pixel at the starting point S, 4 bits are used to represent it as 0. Pixel adjacent to S (
4, 3), since its adjacent direction is direction 3 in Figure 4, it will be encoded as shown by 13 in Figure 5. When the encoding of the adjacent pixels is completed, the pixels will be converted to the original image. Erase from the data (thinned data, for example, FIG. 2).

画素(4,3)の符号化を終ったら、再び第4図に示し
た3×3のマスクを用い、このマスクの中心を画素(4
,3)に一致させ、連続する画素の隣接方向を調べる。
After encoding pixel (4,3), use the 3×3 mask shown in Figure 4 again, and set the center of this mask to pixel (4,3).
, 3), and examine the adjacent direction of consecutive pixels.

但し、始点Sにおける隣接方向の検出には8方向全部を
調べたが、始点S以外の画素からの場合には、8方向全
部ではな(て、起点となる画素(この場合は画素(4,
3)となる)が、さらにその前の画諏(この場合は画素
(4,2)となる)に対して隣接していた方向(この場
合は方向3)の延長方向と、その右方及び左方の3つの
方向−についてだけ調べるようにするのである。
However, although all eight directions were examined to detect adjacent directions at the starting point S, in the case of pixels other than the starting point S, the detection was performed not in all eight directions, but in the case of detecting adjacent directions at the starting point S (in this case, pixel (4,
3)) is further extended in the direction (direction 3 in this case) that was adjacent to the previous pixel (in this case, pixel (4, 2)), and the direction to the right and Only the three directions to the left are investigated.

これは、ナビゲーションシステムに必要な地図などでは
、線で表わした道路が主なデータであり、このような道
路データでは一般の線画と異なってその連続方向が急激
には変化しないという特徴をもっているので、これを利
用して符号化を簡単に行なえるようにしたものである。
This is because the main data in maps required for navigation systems is roads represented by lines, and unlike ordinary line drawings, the continuous direction of such road data does not change rapidly. , which makes encoding easier.

つまり、画素(4,3)はその前の画素(始点S)から
3の方向に隣接しているので、次の画素(5,4)に対
しては、それと同じ3の方向と、画素(4,3)からみ
て前方左側の方向2及び前方右側の方向4だけを調べる
ようにしているのである。
In other words, since pixel (4, 3) is adjacent in the direction 3 from the previous pixel (starting point S), the next pixel (5, 4) is adjacent in the same direction 3 and pixel ( 4, 3), only the front left direction 2 and the front right direction 4 are examined.

さて、第2図の画像データでは画素(4,3)に連続す
る画素は座標(5,4)であり、これは前方左斜め方向
に当るので、第6図に示すように(01)2  と符号
化され、従って、第7図の14のようなデータとなる。
Now, in the image data in Figure 2, the pixel that follows pixel (4, 3) has coordinates (5, 4), which corresponds to the front diagonal left direction, so as shown in Figure 6, it is (01) 2. Therefore, the data is encoded as 14 in FIG.

なお、前方直進方向は第6図に示すように(10)zと
符号化され、同じく前方右斜め方向は(11)zと符号
化される。
Note that the forward straight direction is encoded as (10)z, as shown in FIG. 6, and the forward right diagonal direction is similarly encoded as (11)z.

こうして画素(5,4)の符号化を終ったら、上記した
ように、この画素は元の画像データから消去する。
Once the pixel (5, 4) has been encoded in this manner, this pixel is deleted from the original image data, as described above.

次に、画素(5,4)に連続する画素としては、画素(
6,5)と画素(4,5)の2つの画素がある。
Next, as a pixel continuous to pixel (5, 4), pixel (
There are two pixels: pixel (6,5) and pixel (4,5).

しかしながら、第4図の3×3マスクを用い1、これの
中心を画素(5,4)に一致させて隣接方向を調べると
、このときの画素(5,4)の直進方向は3X3マスク
の2方向であり、従って、その前方左斜め方向は1、そ
して前方右斜め方向は3になっており、これ以外の方向
は第6図から明らかなように無視されてしまう。従って
、このときには、画素(4,5)は方向1.2.3のい
ずれの隣接方向にもないため無視され、一方、画素(6
,5)はその隣接方向が直進方向、つまり第4図のマス
クの2の方向となっているため、第6図から(10)2
として符号化され、この結果、第8図の15で示すデー
タが付加される。そして、このあと、画素(6,5)は
消去される。
However, if we use the 3x3 mask in Figure 4 and examine the adjacent direction by aligning its center with pixel (5, 4), the straight direction of pixel (5, 4) at this time will be the same as that of the 3x3 mask. There are two directions, therefore, the front left diagonal direction is 1, and the front right diagonal direction is 3, and as is clear from FIG. 6, the other directions are ignored. Therefore, at this time, pixel (4,5) is ignored because it is not in any of the adjacent directions of directions 1, 2, and 3, while pixel (6,
, 5), the adjacent direction is the straight direction, that is, the direction of 2 of the mask in Fig. 4, so from Fig. 6, (10) 2
As a result, data shown at 15 in FIG. 8 is added. After this, pixel (6, 5) is erased.

同様に、次の画素(7,6)も(10)2として符号化
され、第8図の16のデータとして付加される。
Similarly, the next pixel (7,6) is also encoded as (10)2 and added as data 16 in FIG.

次に、画素(7,6)を消去し、再び第4図の3×3マ
スクを用い、その中心を(7,6)に一致させ、連続す
る画素を調べると、このときKは、画素(7,6)の前
進方向、つまり3×3マスクの2の方向にも、それの左
側の1の方向にも、そして右側の3の方向にも画素が隣
接していない。
Next, erase pixel (7, 6), use the 3x3 mask in Figure 4 again, match the center to (7, 6), and examine consecutive pixels. At this time, K is the pixel No pixels are adjacent in the forward direction of (7, 6), that is, in the 2 direction of the 3×3 mask, nor in the 1 direction to the left of it, nor in the 3 direction to the right.

そこで、このときには、第6図から終点であると判断し
、この終点を表わす符号(00)2によってデータ化し
、第9図のデータ17として付加する。
Therefore, at this time, it is determined from FIG. 6 that it is the end point, and the data is converted into data using the code (00)2 representing this end point, and added as data 17 in FIG.

ここまでの符号化データは第9図のようになるが、これ
を1バイトづつ区切て示したのが第10図である。なお
、最後尾の4ビツトは1バイト分に満たないので、その
後に0詰めをして1バイトにする。
The encoded data up to this point is as shown in FIG. 9, and FIG. 10 shows this divided by byte. Note that the last 4 bits are less than 1 byte, so they are padded with 0's to make 1 byte.

ここまでの符号化が終ると、第2図の画像データは符号
化に伴なって画素が消去されているため。
When the encoding up to this point is completed, the pixels of the image data in FIG. 2 have been erased as a result of the encoding.

第11図に示すような画像データになっている。The image data is as shown in FIG.

一方、こうして符号化中の画素に終点が検出されると、
符号化部6(第1図)から再び始点検出部、5に動作が
戻り、画素(4,5)が次の始点Sとして検出され、以
下、画素(4,6)、(4,7)、が符号化されるので
、この第11図の画像データによる符号化データは第1
2図のようになる。
On the other hand, when the end point is detected at the pixel being encoded,
The operation returns from the encoding unit 6 (FIG. 1) to the start point detection unit 5 again, and pixel (4, 5) is detected as the next start point S. Hereafter, pixels (4, 6), (4, 7) , is encoded, so the encoded data based on the image data in Fig. 11 is the first
It will look like Figure 2.

従って、第2図の画像データは結局、第10図と第12
図から第13図に示すように符号化して表わされること
になる。
Therefore, the image data in Figure 2 ends up being the image data in Figures 10 and 12.
From the figure, it is encoded and represented as shown in FIG.

そこで、出力部7(第1図)は、この第13図のデータ
を第2図の画像データに対応するものとして、所定の識
別コードを付した上で不揮発性のメモリに書込む。そし
て、このメモリをナビゲーションシステムの画像再生装
置などに組込み、必要に応じて符号化データを選択して
読出し、画像再生を行なうのである。
Therefore, the output unit 7 (FIG. 1) writes the data shown in FIG. 13 into a nonvolatile memory after attaching a predetermined identification code to the data shown in FIG. 13 as corresponding to the image data shown in FIG. Then, this memory is installed in an image reproducing device of a navigation system, etc., and encoded data is selected and read out as necessary to reproduce images.

次に、細線化部4、始点検出部5、それに符号化部6(
第1図)による画像データの符号化処理の詳細を第14
図(αl 、 (A+のフローチャートによって説明す
る。なお、特に注釈しなかったが、以上の説明で画素と
呼んでいたのは、画像面で背景を白とした場合の黒とな
っている部分(反対でもよい)を指し、白画素のデータ
が“0”なら黒画素のデータは1”となっているもので
あり、以下の説明でもこれと同じで、画像面で線になっ
ている部分の画素は1”、そうでない部分の画素は0”
にしである。
Next, the thinning section 4, the starting point detection section 5, and the encoding section 6 (
The details of the image data encoding process according to FIG.
This will be explained using the flowchart in Figure (αl, (A+).Although not particularly annotated, in the above explanation, the pixel is the part that is black when the background is white on the image plane ( If the white pixel data is "0", the black pixel data is "1".This is the same in the following explanation, and the line part of the image plane is Pixel is 1", other pixels are 0"
It's Nishide.

さて、第1図では省略しであるが、この実施例ではコン
ピュータ(マイクロコンピュータなど)を含み、それに
格納しであるプログラムに従って符号化処理が行なわれ
るようになっており、このプログラムは2値化部2から
メモリ8に、地図1から読取った1フレ一ム分の画像の
格納が完□了したあとの所定のタイミングでスタートす
る。
Although it is omitted in Fig. 1, this embodiment includes a computer (such as a microcomputer), and the encoding process is performed according to a program stored in the computer. The process starts at a predetermined timing after the storage of one frame worth of images read from the map 1 from the unit 2 to the memory 8 is completed.

1401でスタートすると、次の1402で2値化され
た画像データを配列A(1,J)に入力し、 1403
で細線化して線幅を1画素分にする。
Starting at 1401, the next step 1402 inputs the binarized image data into the array A(1, J), and 1403
Thin the line to make the line width one pixel.

次に、1405から1408および1410でA(I、
J)のどの画素が11”になっているか調べる。■。
Next, from 1405 to 1408 and 1410 A(I,
Find out which pixel in J) is 11".■.

Jはそれぞれ1から順に増やしていくため、初めに1″
が見つかった画素を線の始点Sとする。
Since J increases sequentially from 1, start with 1"
The pixel where is found is set as the starting point S of the line.

このときのI、Jを1411で出力する。1412で今
出力した点(I、J)の連続方向を調べる。連続方向と
しては第4図に示す8方向を考える。点(I。
I and J at this time are output as 1411. At step 1412, the direction of continuity of the points (I, J) just output is checked. The eight directions shown in FIG. 4 are considered as continuous directions. Point (I.

J)を中心に、その回りの点を調べ、どこが1″となっ
ているか探す。順番は方向1、方向2、方向3の順に調
べ、′1”が見つかるとその方向を1413で出力する
。8方向のうちどこにも連続点が見つからなければ、1
416で終点を表わす”oo″を出力する。1414で
連続点の方向を変数DIRに代入する。次に1419か
ら1423で、DIR7)反時計方向に45゜隣り会っ
た方向をDIRIに代入し、DIR2にDIRを代入し
、DIR3にI)IRQ時計方向に45°隣り合った方
向を代入する。1412で見つかった連続点が、更にD
IRI、DIFL2、DIR3のどの方向に連続してい
るかを調べる。1424でDIR2の方向に連続点が見
つかると、1431でlO″と出力し、1432でDI
RK DI)12を代入し1419へ行く。1425で
DII(3の方向に連続点が見つかると1429で11
”と出力し、1430でDIRにDIR3を代入し14
19へ行(。1426でDIRIの方向に連続点が見つ
かると1427で01”出力し、1428でDIRにD
IR1を代入し1419へ行く。DI R1、DII’
t2、DIR3のいずれにも連続方向が見つからなけれ
ば、1416で”oo’を出力し、  1404へ行く
。そして、  1408で、J = INY−ト1とな
った時点で、処理が終了する。
Centering on point J), check the points around it to find out where the value is 1''. The order is direction 1, direction 2, and direction 3. If '1'' is found, that direction is output in step 1413. If no consecutive points are found in any of the 8 directions, 1
At 416, "oo" representing the end point is output. At step 1414, the direction of the continuous points is assigned to the variable DIR. Next, from 1419 to 1423, DIR7) A direction adjacent to each other by 45 degrees in a counterclockwise direction is assigned to DIRI, DIR is assigned to DIR2, and a direction adjacent to I) IRQ by 45 degrees in a clockwise direction is assigned to DIR3. The continuous points found at 1412 are further
Check which direction of IRI, DIFL2, and DIR3 is continuous. When a continuous point is found in the direction of DIR2 at 1424, it outputs lO'' at 1431, and DI is output at 1432.
RK DI) 12 and go to 1419. DII at 1425 (11 at 1429 if a continuous point is found in the direction of 3)
”, and at 1430, substitute DIR3 for DIR and 14
Go to 19 (.If a continuous point is found in the direction of DIRI at 1426, output 01" at 1427, and output D to DIR at 1428.
Substitute IR1 and go to 1419. DI R1, DII'
If a continuous direction is not found in either t2 or DIR3, "oo" is output in 1416 and the process goes to 1404. Then, in 1408, when J=INY-t1 is reached, the process ends.

なお、INX 、 INYは地図データの大きさである
Note that INX and INY are the sizes of map data.

この実施例によれば、画像データの全ての画素について
符号化する必要がないから、データ量を大幅に減少させ
ることができ、成る道路地図データについてみると、元
の画像データに対して数%以内に減少させることができ
たg  ′また、有意義な画素については、それらの全
てがデータとして符号化されるため、画像再生に際して
の情報の損失が無く、有意義な画素だけがデータ化され
ているから符号化データのメモリからの読出しや、それ
から画像データへの変換が短時間で行なえ、再生画像の
選択、切替えを高速で行なうことができる。
According to this embodiment, it is not necessary to encode every pixel of the image data, so the amount of data can be significantly reduced. Since all meaningful pixels are encoded as data, there is no loss of information during image reproduction, and only meaningful pixels are converted into data. Reading encoded data from memory and converting it to image data can be performed in a short time, and reproduction images can be selected and switched at high speed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、必要な情報に全
く損失を生じることなく、画像再生に必要なデータ量を
大幅に減少させることができるから、従来技術の欠点を
除き、必要な画像データを少ないメモlj [1で保持
することができ、しかも再生画像に画質低下を生じるこ
となく、高速での画像のりフレツシーが可能な2値化画
像データ符号化方式を提供することができる。
As explained above, according to the present invention, the amount of data required for image reproduction can be significantly reduced without causing any loss in necessary information. It is possible to provide a binary image data encoding method that can hold data in a small memory lj [1, and also allows high-speed image transfer without deteriorating the image quality of the reproduced image.

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

第1図は本発明による2値化画像データ符号化方式の一
実施例を示すブロック図、第2図ないし第13図はそれ
ぞれ符号化処理動作中におけるデータの説明図、第14
図(α)、<h>は動作説明用のフローチャートである
。 1・・・・・・地図、2・・・・・・入力部、3・・・
・・・2値化部、4・・・・・・細線化部、5・・・・
・・始点検出部、6・・・・・・符号化部、7・・・・
・・出力部、8・・・・・・メモリ。 →為]々易
FIG. 1 is a block diagram showing an embodiment of the binary image data encoding method according to the present invention, FIGS. 2 to 13 are explanatory diagrams of data during encoding processing operation, and FIG.
Figures (α) and <h> are flowcharts for explaining the operation. 1...Map, 2...Input section, 3...
... Binarization section, 4 ... Thinning section, 5 ...
...Starting point detection unit, 6... Encoding unit, 7...
...Output section, 8...Memory. →Tame】Easy

Claims (1)

【特許請求の範囲】[Claims] 1、2値化画素データからなる画像データの処理方式に
おいて、上記画像データを1画素幅で1以上の画素の連
続からなる複数の線分データに分割し、これら複数の線
分データのそれぞれを、線分データの始点の画素位置を
表わすデータと、この始点の画素に順次連続する複数の
画素のそれぞれの隣接方向を表わす複数のデータ群と、
線分データの終点の画素を表わすデータの3種のデータ
によつて表現するように構成したことを特徴とする2値
化画像データ附号化方式。
1. In a method for processing image data consisting of binary pixel data, the above image data is divided into a plurality of line segment data consisting of a series of one or more pixels with a width of one pixel, and each of these plural line segment data is , data representing the pixel position of the starting point of the line segment data, and a plurality of data groups representing adjacent directions of each of the plurality of pixels successively following the starting point pixel;
A binarized image data encoding method characterized in that it is configured to be represented by three types of data: data representing a pixel at the end point of line segment data.
JP59119905A 1984-06-13 1984-06-13 Coding system of binary coded picture data Pending JPS61874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59119905A JPS61874A (en) 1984-06-13 1984-06-13 Coding system of binary coded picture data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59119905A JPS61874A (en) 1984-06-13 1984-06-13 Coding system of binary coded picture data

Publications (1)

Publication Number Publication Date
JPS61874A true JPS61874A (en) 1986-01-06

Family

ID=14773106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59119905A Pending JPS61874A (en) 1984-06-13 1984-06-13 Coding system of binary coded picture data

Country Status (1)

Country Link
JP (1) JPS61874A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61115122A (en) * 1984-11-12 1986-06-02 Casio Comput Co Ltd Input system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61115122A (en) * 1984-11-12 1986-06-02 Casio Comput Co Ltd Input system

Similar Documents

Publication Publication Date Title
US4566128A (en) Method for data compression for two-value picture image
JPH02277185A (en) Extracting method for rectangle coordinates
JPH0434669A (en) Image processing system
JPS61874A (en) Coding system of binary coded picture data
JPS6353586B2 (en)
US20020024525A1 (en) Image encoding apparatus and method
US5706102A (en) Data managing device in image variable magnification processing apparatus
JPS61243570A (en) Form information compression method
JPS6348054A (en) Picture information inputting device
JP2595900B2 (en) Change point coordinate detection device for binary image data
JPH1011576A (en) Component shape recognizing method
JPH01119872A (en) Conversion circuit
JPS62125482A (en) Line tracing method for thinned picture
JPS6143078A (en) Processing system of original picture
JPS6051370A (en) Picture information encoding processor
JPH01174173A (en) Compression coding method for binary picture data
JPH0962845A (en) Labeling method for picture data
JPS5887648A (en) Picture processor
JPS5820063A (en) Picture processor
JPS60211579A (en) Access control system for picture data
KR19980030011A (en) How to get connected elements from bitmap image
JPS60194690A (en) Auxiliary equipment for positioning
JP2001111844A (en) Coding processing method and coding processing device
JPH0681244B2 (en) Image signal reduction processing circuit
JPH0447867B2 (en)