JPS6331826B2 - - Google Patents

Info

Publication number
JPS6331826B2
JPS6331826B2 JP55038533A JP3853380A JPS6331826B2 JP S6331826 B2 JPS6331826 B2 JP S6331826B2 JP 55038533 A JP55038533 A JP 55038533A JP 3853380 A JP3853380 A JP 3853380A JP S6331826 B2 JPS6331826 B2 JP S6331826B2
Authority
JP
Japan
Prior art keywords
information
run length
memory
pixel
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.)
Expired
Application number
JP55038533A
Other languages
Japanese (ja)
Other versions
JPS56149675A (en
Inventor
Toshuki Sakai
Mitsuhiro Murao
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP3853380A priority Critical patent/JPS56149675A/en
Publication of JPS56149675A publication Critical patent/JPS56149675A/en
Publication of JPS6331826B2 publication Critical patent/JPS6331826B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storing Facsimile Image Data (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は、メモリ内に記憶された情報を検索す
る情報検索方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information retrieval method for retrieving information stored in a memory.

一般に、メモリ内に蓄積された情報を必要に応
じて読出す際にメモリ内の情報検索を行なわせる
必要があるが、その検索手段として、普通、その
記録内容に応じたキーワード付けや分類等のコー
ド化を予め行なつておくようにしている。しか
し、このような情報検索手段にあつて、例えばキ
ーワード付けをなす際に情報の内容を充分理解し
たうえで最適なキーワードを付さないとあとで検
索不能になるばかりでなく、キーワード付けに個
人差を生じて能率の悪いものになつてしまつてい
る。
In general, when reading out information stored in memory as needed, it is necessary to search for information in memory, and the search methods usually include keywording and classification according to the recorded content. I try to code it in advance. However, when using such information retrieval methods, for example, when assigning keywords, if you do not fully understand the content of the information and then assign optimal keywords, not only will it become impossible to search later, but it will also be difficult for individuals to assign keywords. This has resulted in differences and inefficiency.

その解決策として、従来、文章情報の中から使
用頻度が多過ぎもせずまた少なくもないような適
切な名詞を記憶情報の中から自動的に抽出させて
情報検索を行なわせる方法が試みられているが、
充分満足のいく結果が得られていない実状であ
る。
As a solution to this problem, attempts have been made to automatically extract appropriate nouns that are used neither too often nor too often from text information to perform information retrieval. There are, but
The current situation is that fully satisfactory results have not been obtained.

さらに、今までの情報検索方式において、根本
的に困難な問題点として、パターン情報の検索が
ある。すなわち、画像情報を記憶するメモリにあ
つて、例えば文書画像中に存在する特定の図形、
写真などをキーワードなどによつて検索すること
は非常に困難なものになつている。
Furthermore, a fundamentally difficult problem with conventional information retrieval methods is the retrieval of pattern information. That is, in a memory that stores image information, for example, a specific figure existing in a document image,
It has become extremely difficult to search for photos and the like using keywords.

本発明は以上の点を考慮してなされたもので、
特に画像情報を画素単位とする白、黒の濃度レベ
ル情報として記憶するメモリ内から特定のパター
ン情報の検索を容易かつ迅速に行なわせることが
できるようにした情報検索方式を提供するもので
ある。
The present invention has been made in consideration of the above points, and
In particular, the present invention provides an information retrieval method that allows specific pattern information to be easily and quickly retrieved from a memory that stores image information as white and black density level information in pixel units.

以下、添付図面を参照して本発明の一実施例に
ついて詳述する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明による情報検索方式を具体的に
実施するための一構成例を示すもので、例えばス
キヤナによつて原稿画像を画素単位で走査、サン
プリングして読取つた画像情報を量子化器により
2値量子化した濃度レベル情報が記憶された画像
メモリMと、そのメモリ内容を1画素ごとに順次
読出して特定画像領域分の情報を一時集合的に蓄
積するバツフアメモリBMと、それに取出された
特定画素領域についてランレングス分布関数を算
出する第1のランレングス分布作成器RLF1と、
検索対象のパターン画像を発生させるパターン発
生器PGと、その発生パターンのランレングス分
布関数を算出する第2のランレングス分布作成器
RLF2と、その結果を蓄積するレジスタRGと、
そのレジスタRGに設定された比較基準と前記第
1のランレングス分布作成器RLF1の出力とを
比較して検索を実行する比較器CMPとによつて
構成されている。なお、普通、画像メモリMには
2値画像がランレングス符号化されてデータ圧縮
された状態で記憶されることが多いが、ここでは
非符号化された2値画像がそのまま記憶されてい
るものとする。
FIG. 1 shows an example of a configuration for concretely implementing the information retrieval method according to the present invention. an image memory M in which binary quantized density level information is stored; a buffer memory BM in which the contents of the memory are sequentially read out pixel by pixel and information for a specific image area is temporarily stored collectively; a first run length distribution generator RLF1 that calculates a run length distribution function for a specific pixel region;
A pattern generator PG that generates a pattern image to be searched, and a second run length distribution generator that calculates a run length distribution function of the generated pattern.
RLF2, register RG that stores the result,
It is constituted by a comparator CMP that performs a search by comparing the comparison standard set in the register RG with the output of the first run length distribution generator RLF1. Note that normally, binary images are often stored in the image memory M in a run-length encoded and data-compressed state, but here the non-encoded binary images are stored as they are. shall be.

いま、その画像メモリM内に第2図に示すよう
なパターン情報が存在するか否かの検索を行なわ
せる場合について説明する。
Now, a case will be described in which a search is performed to determine whether or not pattern information as shown in FIG. 2 exists in the image memory M.

本発明にあつては、まず、検索対象の第2図の
パターン情報をパターン発生器PGによつて発生
させ、その発生パターンに応じてランレングス分
布作成器RLF2によりそのランレングス頻度分
布を算出させる。その際、第2図のパターン情報
では白画素のランレングスのみに関するランレン
グス分布関数F(l)が第3図に示すように求めら
れ、その分布関数F(l)をレジスタRGにセツトさ
せる。また、画像メモリMから1画素単位でその
濃度レベル情報が順次読出されてバツフアメモリ
BMへ送られ、そこで2次元的に再配置されてM
×N画素構成の特定画像領域におけるパターン情
報がとり出される。次いで、ランレングス分布作
成器RLF1によりその抽出された特定画像領域
におけるランレングス分布関数F′(l)が算出され、
その結果F′(l)が比較器CMPに送られてそこでレ
ジスタRGに予めセツトされている比較基準F(l)
との比較がなされる。その際、比較器CMPにお
いて、F′(l)とF(l)との差分または相関係数が求め
られ、その比較結果が予め設定されたしきい値の
範囲内にあればそのときの画像メモリMから抽出
された特定画像領域におけるパターン情報が検索
されたと判定され、その判定結果が外部の表示装
置などへ送出されることになる。
In the present invention, first, the pattern information shown in FIG. 2 to be searched is generated by the pattern generator PG, and the run length frequency distribution is calculated by the run length distribution generator RLF2 according to the generated pattern. . At this time, using the pattern information shown in FIG. 2, a run length distribution function F(l) relating only to the run length of white pixels is obtained as shown in FIG. 3, and the distribution function F(l) is set in the register RG. Further, the density level information is sequentially read out from the image memory M pixel by pixel and stored in the buffer memory.
It is sent to BM, where it is two-dimensionally rearranged and M
Pattern information in a specific image area having a ×N pixel configuration is extracted. Next, the run length distribution function F′(l) in the extracted specific image area is calculated by the run length distribution generator RLF1,
The result F'(l) is sent to the comparator CMP where the comparison reference F(l) is preset in the register RG.
A comparison is made with At that time, the comparator CMP calculates the difference or correlation coefficient between F′(l) and F(l), and if the comparison result is within a preset threshold, the image at that time is It is determined that the pattern information in the specific image area extracted from the memory M has been retrieved, and the determination result is sent to an external display device or the like.

第4図は前記第1のランレングス分布作成器
RLF1の具体的な回路構成例を示すもので、M
×N画素構成のバツフアメモリBMからクロツク
CLKに同期して読出された画素情報が1画素分
のシフトレジスタSR1,SR2に順次送られ、各
シフトレジスタSR1,SR2の出力を比較器
CMPにより比較させて両者の内容が一致してい
るか否かの判定を行なわせ、一致していればカウ
ンタCNTにカウント指令が出されてランレング
スが計数される。また、その際、比較器CMPに
よる比較内容が一致していないときには、そのと
きのカウンタCNTの出力をアドレスとしてそれ
までのランレングスRを記憶しているRAMの内
容を読出して加算器ADDへ送り、そこで1が加
算されて白画素のランレングスWとして再び
RAMの同一アドレスに書込まれる。このように
して、容易に特定画像領域内におけるパターン情
報のランレングス分布関数F′(l)が求められること
になる。また、第2のランレングス分布作成器
RLF2の構成にあつても全く同様である。
FIG. 4 shows the first run length distribution generator.
This shows a specific example of the circuit configuration of RLF1.
Clock from buffer memory BM with ×N pixel configuration
Pixel information read out in synchronization with CLK is sequentially sent to shift registers SR1 and SR2 for one pixel, and the output of each shift register SR1 and SR2 is sent to a comparator.
A comparison is made by CMP to determine whether or not the contents of the two match. If they match, a count command is issued to the counter CNT to count the run length. At that time, if the comparison contents by the comparator CMP do not match, the contents of the RAM storing the run length R up to that point are read out using the output of the counter CNT at that time as an address and sent to the adder ADD. , then 1 is added and it becomes the run length W of the white pixel again.
Written to the same address in RAM. In this way, the run length distribution function F'(l) of pattern information within a specific image area can be easily determined. In addition, a second run length distribution generator
The configuration of RLF2 is exactly the same.

なお、以上の実施例ではランレングスの頻度分
布によつて検索対象のパターン情報とその参照パ
ターン情報との比較を行なわせるようにしている
が、本発明は何らこれに限定されるものではな
く、その他に例えばM×Nの画素領域における各
走査ラインごとのランレングス長を比較させるな
どして検索を実行するようにしてもよいことはい
うまでもない。その場合、第1図中の第1および
第2の各ランレングス分布作成器RLF1,RLF
2は、それぞれ走査ラインごとにランレングスカ
ウンタを設けることによつて置換されることにな
る。ただし、この場合には当然のことながら、パ
ターン画像のサンプリング誤差(読取画素の位置
誤差)の影響を受けやすいものになつてしまうこ
とは否めない。また、検索対象のパターン情報と
参照パターンとのスケールが異なるとき、両者の
スケールがランレングスで同じ値に近づくように
サンプリング密度(画素単位の大きさ)を予めま
たは適宜変更するようにしてもよいことはいうま
でもない。
Note that in the above embodiment, the pattern information to be searched and its reference pattern information are compared based on the frequency distribution of run lengths, but the present invention is not limited to this in any way. It goes without saying that the search may also be performed by comparing the run lengths of each scanning line in an M×N pixel area, for example. In that case, each of the first and second run length distribution generators RLF1 and RLF in FIG.
2 would be replaced by providing a run length counter for each scan line. However, in this case, as a matter of course, it cannot be denied that the pattern image becomes susceptible to sampling errors (positional errors of reading pixels). Furthermore, when the scales of the pattern information to be searched and the reference pattern are different, the sampling density (size in pixel units) may be changed in advance or as appropriate so that the scales of both approaches the same value in terms of run length. Needless to say.

以上、本発明による情報検索方式にあつては、
画像を画素単位の2値情報として記憶しているメ
モリから特定のパターン情報をその参照パターン
情報と比較させながら検索させる際、両者の比較
一致の判定を行なわせるパラメータとしてランレ
ングスを用いるようにしたもので、従来困難であ
つた図形、写真などのパターン情報の検索を容易
かつ迅速に行なわせることができるという優れた
利点を有している。
As mentioned above, regarding the information retrieval method according to the present invention,
When retrieving specific pattern information from a memory that stores images as pixel-by-pixel binary information while comparing it with reference pattern information, run length is now used as a parameter to compare and determine whether the two match. It has the excellent advantage of making it possible to easily and quickly search for pattern information such as figures and photographs, which has been difficult in the past.

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

第1図は本発明による情報検索方式を具体的に
実施するためのブロツク構成図、第2図は検索対
象のパターン情報の一例を示す図、第3図はその
ランレングス頻度分布を示す特性図、第4図は前
記実施例におけるランレングス分布作成器の具体
的な構成例を示すブロツク図である。 M…画像メモリ、BM…バツフアメモリ、RLF
1,RLF2…ランレングス分布作成器、PG…パ
ターン発生器、RG…レジスタ、CMP…比較器、
SR1,SR2…シフトレジスタ、CLK…クロツ
ク、CNT…カウンタ。
Fig. 1 is a block configuration diagram for concretely implementing the information retrieval method according to the present invention, Fig. 2 is a diagram showing an example of pattern information to be searched, and Fig. 3 is a characteristic diagram showing its run length frequency distribution. , FIG. 4 is a block diagram showing a specific example of the configuration of the run length distribution generator in the embodiment. M...Image memory, BM...Buffer memory, RLF
1, RLF2...Run length distribution generator, PG...Pattern generator, RG...Register, CMP...Comparator,
SR1, SR2...Shift register, CLK...Clock, CNT...Counter.

Claims (1)

【特許請求の範囲】[Claims] 1 画像を画素単位の2値情報として記憶してい
るメモリから、特定のパターン情報をその参照パ
ターン情報と比較させながら検索させる際、両者
の比較一致の判定を行なわせるパラメータとして
ランレングスを用いるようにしたことを特徴とす
る情報検索方式。
1 When searching for specific pattern information while comparing it with reference pattern information from a memory that stores images as binary information in pixel units, run length is used as a parameter to compare and determine whether the two match. An information retrieval method characterized by the following.
JP3853380A 1980-03-26 1980-03-26 Information retrieving system Granted JPS56149675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3853380A JPS56149675A (en) 1980-03-26 1980-03-26 Information retrieving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3853380A JPS56149675A (en) 1980-03-26 1980-03-26 Information retrieving system

Publications (2)

Publication Number Publication Date
JPS56149675A JPS56149675A (en) 1981-11-19
JPS6331826B2 true JPS6331826B2 (en) 1988-06-27

Family

ID=12527909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3853380A Granted JPS56149675A (en) 1980-03-26 1980-03-26 Information retrieving system

Country Status (1)

Country Link
JP (1) JPS56149675A (en)

Also Published As

Publication number Publication date
JPS56149675A (en) 1981-11-19

Similar Documents

Publication Publication Date Title
US7454060B2 (en) Image processor for character recognition
US7277584B2 (en) Form recognition system, form recognition method, program and storage medium
US6754391B2 (en) Systems and methods for rendering image-based data
US5195147A (en) Image forming apparatus
JPS61225974A (en) Picture processing system
US6983077B2 (en) Image processor
JPS6331826B2 (en)
US6301391B1 (en) Coding apparatus
JP3062224B2 (en) Image coding method
JPH0140376B2 (en)
JPH07118002B2 (en) Image processing device
JPS5914070A (en) Filing system of picture
JPS62243067A (en) Image file device
KR100434727B1 (en) Method for inserting password in image file
JPS6122499B2 (en)
JP2839578B2 (en) Image data input processing device
JP3143502B2 (en) Area discriminating apparatus and method
JPS6331825B2 (en)
JPH11308438A (en) Image processor
JPS6063677A (en) Storage system for image information
JPS60251772A (en) Method and apparatus for compressing and reproducing picture data
JPH0744682A (en) Picture reader
JP3880240B2 (en) Image processing apparatus and method
JPH04311278A (en) One-dimensional picture processor
JPH09321993A (en) Color image reproduction system and method