JPS61183790A - Pattern/geometric converting system - Google Patents

Pattern/geometric converting system

Info

Publication number
JPS61183790A
JPS61183790A JP60023398A JP2339885A JPS61183790A JP S61183790 A JPS61183790 A JP S61183790A JP 60023398 A JP60023398 A JP 60023398A JP 2339885 A JP2339885 A JP 2339885A JP S61183790 A JPS61183790 A JP S61183790A
Authority
JP
Japan
Prior art keywords
geometric
image information
pixel
read
pattern
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
JP60023398A
Other languages
Japanese (ja)
Inventor
Yasuhiko Watabe
渡部 保日児
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP60023398A priority Critical patent/JPS61183790A/en
Publication of JPS61183790A publication Critical patent/JPS61183790A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To generate image information of a geometric graphic unit in a short period by determining whether a geometric graphic is generated in accordance with the contents of a picture element which has become an object of tracking or not, and converting it to a geometric graphic unit in accordance with this determination. CONSTITUTION:A comparator 25 compares a read-out data from a memory 25 with a value of an immediately before tracking object picture element register 26, and whether an inspection is to be shifted to the next picture element or not is determined. A read-out/write address generating part 27 generates a read-out address in accordance with an output of the comparator 25, and generates a write address for a mark. A memory address register 28 makes a value of an address outputted by the read-out/write address generating part 27 correspond to an address of the memory 22. A 2X2 bit shift register 29 obtains a coordinate point 30 of a geometric graphic by bringing an output from the read-out/write address generating part 27, to 1/4X1/4 in a coordinate system.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は1文字や図形による情報検索システムであるビ
デオテックスシステム等で用いる画像情報の入力装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image information input device used in a Videotex system, etc., which is an information retrieval system based on single characters or graphics.

(従来の技術) 従来のこの種装置は、入力された原画像情報を一旦、全
て調べ、原画像情報に相当する処理用表等を作成した後
、その表を用いて逐一幾何学図形へと変換している。
(Prior art) Conventional devices of this type first examine all input original image information, create a processing table, etc. corresponding to the original image information, and then use the table to create a geometric figure one by one. is converting.

(発明が解決しようとする問題点) しかしながら、従来の技術では処理が複雑であり、全て
ソフトウェアを用いて原画像情報から幾何学図形へと変
換しなければならず、その処理時間が美大なものとなる
ような欠点があった。
(Problem to be solved by the invention) However, with the conventional technology, the processing is complicated, and it is necessary to convert the original image information into geometric figures using software, which takes an enormous amount of processing time. There were flaws that made it worse.

(問題点を解決するための手段) ヒ記目的を達成するための本発明の特徴は、原画像情報
を、多角形をふくむ幾何学図形コマンドと、その幾何学
的な座標点によって表される幾何学図形を単位とする画
像情報へ変換するパターン/ジオメトリツク変換方式に
おいて、原画像情報を処理する際に、その画素値を縦横
共に3倍以上に拡大した画像の各画素値に対して、ある
画素のヒト左右に同一の画素が存在するとき、その画素
をキャンセルするエツジ抽出処理を行った画像情報を生
成した後、そのエツジの上を追跡すると同時に、既追跡
点を原画像情報の画素値と区別出来、もとの画素値と判
別できる値によりマークし、追跡の対象となった画素値
の内容に従って幾何学図形の生成をするか否かを決定し
、該決定に従って幾何学図形単位へ変換する。パターン
/ジオメトリツク変換方式にある。
(Means for Solving the Problems) A feature of the present invention for achieving the above object is that the original image information is expressed by a geometric figure command including a polygon and its geometric coordinate points. In the pattern/geometric conversion method that converts image information using geometric figures as units, when processing original image information, for each pixel value of an image whose pixel value is expanded by more than three times both vertically and horizontally, When the same pixel exists on the left and right sides of a certain pixel, after generating image information that has undergone edge extraction processing that cancels that pixel, the top of that edge is tracked, and at the same time, the already tracked point is added to the pixel of the original image information. mark with a value that can be distinguished from the original pixel value, determine whether to generate a geometric figure according to the content of the pixel value that is the target of tracking, and generate a geometric figure unit according to the decision. Convert to It is in the pattern/geometry conversion method.

(実施例) 幾何学図形学位へと変換するための原画像は画素毎にそ
の画素値が与えられる。第1図はそれをボしたもので、
画素が2値の場合である。1は、画素値「0」の画素、
2は画素値rlJの画素である。
(Example) A pixel value is given to each pixel of an original image to be converted into a geometric figure. Figure 1 shows that,
This is a case where the pixel is binary. 1 is a pixel with pixel value "0",
2 is a pixel with pixel value rlJ.

幾何学図形単位の画像においては、第1図の画素値「1
」の領域は、第2図のように与えられる。3は、第1図
に対応する画素値rlJの領域を定義する幾何学図形の
頂点であり、4は、この画素値rlJの領域全体を定義
する幾何学図形コマンドであり、多角形でしかも内部を
塗り込むことを示す。
In the image of geometric figures, the pixel value "1" in Figure 1 is
” area is given as shown in FIG. 3 is a vertex of a geometric figure that defines the area of pixel value rlJ corresponding to FIG. 1, and 4 is a geometric figure command that defines the entire area of this pixel value rlJ, and Indicates to fill in.

第3図は、1画素を4×4画素に拡大し、エツジを抽出
することを示す図であり、これによって、全ての画素の
上/下/左/右いずれかの連結が保証される。5は1画
素を示し、6は原画像情報の7画素の形状である。7は
、6の原画像情報の7画素を、4x4に拡大したものを
示す0次に、8は、これをエツジ抽出した後の画像の画
素毎のつながりを示す。
FIG. 3 is a diagram showing that one pixel is enlarged to 4×4 pixels and edges are extracted, thereby ensuring that all pixels are connected to the top/bottom/left/right. 5 indicates one pixel, and 6 indicates the shape of 7 pixels of original image information. 7 indicates the 0-order enlargement of the 7 pixels of the original image information in 6 to 4x4, and 8 indicates the connection of each pixel of the image after edge extraction.

画素を単位とした画像を、幾何学図形を単位とした画像
に変換する時には、幾何学図形の変換の順序を考慮しな
ければならない、第4図は、このような幾何学図形単位
の符号階層を示す図である。5は、1画素を示す、9と
10は各々画素の領域を示す、ここで、9の領域に対す
る幾何学図形、lOの領域に対する幾何学図形の変換順
序は、9→10の順序でなければならない、(10→9
の順序となると、10が描かれた後で9の領域が塗られ
るため、lOの領域が消失してしまう、)ここで、9.
10の領域を4×4に拡大しエツジ抽出を行うと、11
の画素値に対する外側の境界、12の画素値に対する内
側の境界、13の画素値に対する境界が生じる。14は
、幾何学図形に変換する際の画素の検査順序を示してい
る。11の境界を追跡し、追跡した結果をマークすれば
、追跡中にマークに達すれば、それで、1つの幾何学図
形が生成する。この場合に、この追跡した境界の直前に
、追跡の対象となった画素値が、この画素値と等しい(
又は等しかった)場合には、追跡中にマークのみを行い
、幾何学図形を生成しない。このようにすることにより
、11の画素値に対する外側の境界のための幾何学図形
は生成されるが、12の画素値に対する内側の境界のた
めの幾何学図形は生成されない、その後で、13の画素
値に対する境界のための幾何学図形が生成され、幾何学
図形の生成順序が正しくなる。
When converting an image based on pixels into an image based on geometric figures, the order of conversion of the geometric figures must be considered. Figure 4 shows the code hierarchy for such geometric figures. FIG. 5 indicates one pixel, 9 and 10 each indicate a pixel area, where the conversion order of the geometric figure for the area 9 and the geometric figure for the area lO must be in the order 9 → 10. No, (10 → 9
(If the order is 9., the area of 9 will be painted after 10 is drawn, so the area of lO will disappear.)Here, 9.
When expanding the 10 regions to 4×4 and performing edge extraction, 11
An outer boundary occurs for pixel values of , an inner boundary for pixel values of 12, and a boundary for pixel values of 13. 14 indicates the inspection order of pixels when converting into a geometric figure. If the boundaries of 11 are traced and the traced results are marked, if the mark is reached during the trace, one geometrical figure is generated. In this case, immediately before this tracked boundary, the tracked pixel value is equal to this pixel value (
or equal), only marks are made during tracking and no geometry is generated. By doing this, the geometry for the outer boundary for the pixel value of 11 is generated, but the geometry for the inner boundary for the pixel value of 12 is not generated, and then the geometry for the inner boundary for the pixel value of 13 is generated. Geometric figures for boundaries for pixel values are generated, and the generation order of the geometric figures is correct.

第5図に、本発明のブロック図を示す、20は、原画像
の入力であり、テレビカメラ、ドラムスキャナ等からの
入力である。21は20の原画像入力を拡大して、22
のメモリに書き込む、4X4拡大部である。23はエツ
ジ抽出部であり、22のメモリ中の格納されている原画
像の4X4のデータをエツジ抽出する。なお、拡大とエ
ツジの抽出を同時に行ってもよい、25は、比較器であ
り、24のメモリからの読出データと、2Bの直前追跡
対象画素レジスタの値を比較し、幾何学図形の座標点を
出力すべきか、追跡を行ってマークするのみか、何もせ
ず次の画素に検査を移るべきかを決定する。27の読出
/書込アドレス生成部は、25の比較器の出力に従い、
1つの画素の上/下/左/右の画素のための読出アドレ
スを生成したり、マークのための書込アドレスを生成す
る。28のメモリアドレスレジスタは、28の読出/書
込アドレス生成部の出力したアドレスの値と、22のメ
モリのアドレスの対応をとる。28の2×2ビツトシフ
トレジスタは、27の読出/書込アドレス生成部からの
出力を座標系において、1/4 XI/4することによ
り、20の原画像人力に相当する30の幾何学図形の座
標点を得る。
FIG. 5 shows a block diagram of the present invention. Reference numeral 20 indicates an input of an original image, which is input from a television camera, drum scanner, or the like. 21 enlarges the original image input of 20, and
It is a 4×4 enlarged section that writes to the memory of Reference numeral 23 denotes an edge extraction unit, which extracts edges from the 4×4 data of the original image stored in the memory 22. Incidentally, enlargement and edge extraction may be performed at the same time. 25 is a comparator, which compares the read data from the memory 24 with the value of the immediately preceding tracking target pixel register 2B, and calculates the coordinate points of the geometric figure. Determine whether to output the pixel, track and mark it, or do nothing and move on to the next pixel. According to the output of the comparator 25, the read/write address generation unit 27
Generate read addresses for pixels above/below/left/right of one pixel, or generate write addresses for marks. The memory address register 28 makes a correspondence between the address value output by the read/write address generator 28 and the memory address 22. The 28 2×2 bit shift registers generate 30 geometric figures corresponding to the 20 original images by multiplying the output from the 27 read/write address generator by 1/4 XI/4 in the coordinate system. Obtain the coordinates of the point.

なお、ここでは、4X4の拡大であったため、2×2ビ
ツトのシフトレジスタで座標値を元にもどしているが、
例えば、8x8の拡大であったなら、3×3ビツトのシ
フトレジスタを用いて座標値を元にもどす。
In addition, since this was a 4x4 enlargement, the coordinate values were returned to their original values using a 2x2 bit shift register.
For example, if the image is enlarged to 8x8, a 3x3 bit shift register is used to restore the coordinate values.

(発明の効果) 以上説明したように、本発明を用いれば、単純なハード
ウェアによって、原画像情報を幾何学図形中位の情報に
変換できるため、非常に短時間に幾何学図形単位の画像
情報が作成できる利点がある。
(Effects of the Invention) As explained above, by using the present invention, it is possible to convert original image information into geometric figure-based information using simple hardware, so it is possible to convert the original image information into geometric figure-based information in a very short time. It has the advantage of being able to create information.

例えば、256 X25B画素の原画像情報を本発明の
装置によって幾何学図形単位の画像情報に変換するとす
れば、1024X 1024のメモリを探索するが、1
つのメモリのアクセスタイムを0.5 X10秒とすれ
ば、最悪でも、1秒以内で幾何学図形単位の画像情報に
変換できる。
For example, if original image information of 256 x 25B pixels is to be converted into image information in units of geometric figures using the apparatus of the present invention, 1024 x 1024 memories will be searched, but 1
If the access time of one memory is 0.5 x 10 seconds, in the worst case, it can be converted into image information in units of geometric figures within one second.

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

第1図は画素を単位とした原画像情報を示す図形2図は
幾何学図形を単位とした画像情報を示す図、 第3図は1画素を4X4画素に拡大し、エツジ抽出する
ことを示す図、 第4図は幾何学図形単位の符号階層を示す図、第5図は
本発明装置のブロック図である。 1−m−画素値rQJの画素、 2−m−画素値rlJの画素、 3−m−幾何学図形の頂点、 4−一一幾何学図形コマント、 5−−−1画素、 6一−−原画像情報、 7−−−4X4に拡大した画像情報、 8−m−拡大した後、エツジ抽出した画像情報、14−
−−1つの幾何学図形変換の最初の画素の検査順序、 20−m−原画像入力。 2l−−−4X4拡大部、 22−m−メモリ、 23−m−エッジ抽出部、 24−−−メモリからの読出データ。 25−m−比較器、 26一−−直前追跡対象画素レジスタ、27一−−読出
/書込アドレス生成部、28−−−メモリアドレスレジ
スタ、 29−−−2 X 2ビツトシフトレジスタ、30−m
−幾何学図形の座標点、 特  許  出  順  人 日本電信電話公社 特許出願代理人
Figure 1 shows the original image information in units of pixels. Figure 2 shows the image information in units of geometric shapes. Figure 3 shows how to enlarge one pixel to 4x4 pixels and extract edges. 4 is a diagram showing a code hierarchy in units of geometric figures, and FIG. 5 is a block diagram of the apparatus of the present invention. 1-m-pixel with pixel value rQJ, 2-m-pixel with pixel value rlJ, 3-m-vertex of geometric figure, 4-11 geometric figure command, 5----1 pixel, 61-- Original image information, 7--image information enlarged to 4X4, 8-image information after edge extraction after m-enlargement, 14-
--Inspection order of the first pixel of one geometrical transformation, 20-m-Original image input. 2l---4X4 enlargement section, 22-m-memory, 23-m-edge extraction section, 24--read data from memory. 25-m-Comparator, 26--Previous tracking target pixel register, 27--Read/write address generation section, 28--Memory address register, 29--2 x 2 bit shift register, 30-- m
− Coordinate points of geometric figures, patent application order Person Nippon Telegraph and Telephone Corporation patent application agent

Claims (1)

【特許請求の範囲】[Claims] 原画像情報を、多角形をふくむ幾何学図形コマンドと、
その幾何学的な座標点によって表される幾何学図形を単
位とする画像情報へ変換するパターン/ジオメトリック
変換方式において、原画像情報を処理する際に、その画
素値を縦横共に3倍以上に拡大した画像の各画素値に対
して、ある画素の上下左右に同一の画素が存在するとき
、その画素をキャンセルするエッジ抽出処理を行った画
像情報を生成した後、そのエッジの上を追跡すると同時
に、既追跡点を原画像情報の画素値と区別出来、もとの
画素値と判別できる値によりマークし、追跡の対象とな
った画素値の内容に従って幾何学図形の生成をするか否
かを決定し、該決定に従って幾何学図形単位へ変換する
ことを特徴とする、パターン/ジオメトリック変換方式
Original image information, geometric figure commands including polygons,
In the pattern/geometric conversion method that converts image information into image information whose unit is a geometric figure represented by its geometric coordinate points, when processing the original image information, the pixel values are tripled or more in both the vertical and horizontal directions. For each pixel value of the enlarged image, when there are identical pixels on the top, bottom, left, and right of a certain pixel, after generating image information that performs edge extraction processing to cancel that pixel, if you trace the top of that edge. At the same time, whether or not to mark the already tracked points with a value that can be distinguished from the pixel value of the original image information and to generate a geometric figure according to the content of the pixel value that was the target of tracking. A pattern/geometric conversion method, characterized in that the pattern/geometric conversion method is characterized in that the pattern/geometric conversion method is characterized in that:
JP60023398A 1985-02-12 1985-02-12 Pattern/geometric converting system Pending JPS61183790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60023398A JPS61183790A (en) 1985-02-12 1985-02-12 Pattern/geometric converting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60023398A JPS61183790A (en) 1985-02-12 1985-02-12 Pattern/geometric converting system

Publications (1)

Publication Number Publication Date
JPS61183790A true JPS61183790A (en) 1986-08-16

Family

ID=12109402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60023398A Pending JPS61183790A (en) 1985-02-12 1985-02-12 Pattern/geometric converting system

Country Status (1)

Country Link
JP (1) JPS61183790A (en)

Similar Documents

Publication Publication Date Title
US6133923A (en) Method and apparatus for texture data
JPH1173521A (en) Texture recording method
JPS61183790A (en) Pattern/geometric converting system
JP2846486B2 (en) Image input device
JP2993007B2 (en) Image area identification device
JP2735197B2 (en) Graphic input device
JPH09106460A (en) Adjacent relation discriminating method for image parts
US10410052B2 (en) Stroke based skeletonizer
JP2845376B2 (en) Pixel density converter
JPH0535872A (en) Contour tracing system for binary image
Fazekas Skeletonization on projection pictures
JPH0217588A (en) System for eliminating unnecessary data at the time of generating character outline
JPH0120469B2 (en)
JPH09185683A (en) Method and device for processing image for character checking device
JPS5899886A (en) Oblique scanning method
JP2962613B2 (en) Pattern filling method
JP2620094B2 (en) How to measure figure patterns
JPS62298883A (en) Preprocessing system for linear clipping
JPH06303434A (en) Image processing method
JPH0636195B2 (en) Fixed point removal method for three-dimensional measurement by spherical mapping
JPS62208181A (en) Graphic extracting system
JPS59102286A (en) Cursor generation circuit for graphic display
JPS63163685A (en) Direction code adding method
JPH0398175A (en) Method and device for image processing
JPS63113780A (en) Peak extracting method