JPH0467668B2 - - Google Patents

Info

Publication number
JPH0467668B2
JPH0467668B2 JP60258741A JP25874185A JPH0467668B2 JP H0467668 B2 JPH0467668 B2 JP H0467668B2 JP 60258741 A JP60258741 A JP 60258741A JP 25874185 A JP25874185 A JP 25874185A JP H0467668 B2 JPH0467668 B2 JP H0467668B2
Authority
JP
Japan
Prior art keywords
contour
point
pattern
reading
black
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 - Lifetime
Application number
JP60258741A
Other languages
Japanese (ja)
Other versions
JPS62119688A (en
Inventor
Sadamasa Hirogaki
Shiro Atsumi
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP60258741A priority Critical patent/JPS62119688A/en
Publication of JPS62119688A publication Critical patent/JPS62119688A/en
Publication of JPH0467668B2 publication Critical patent/JPH0467668B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Collating Specific Patterns (AREA)
  • Image Input (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は印影入力装置に関し、特に読取パタン
から印影部のみを切り出すことのできる印影入力
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a seal imprint input device, and more particularly to a seal imprint input device that can cut out only a seal imprint portion from a read pattern.

(従来の技術) 従来、この種の装置としては特開昭58−109976
号公報に開示されたものがある。第5図はこの文
献に示された印影入力装置の構成を示すブロツク
図である。この印影入力装置は読取部11、読取
メモリ12、切り出し部13及び印影メモリ14
から構成される。
(Prior art) Conventionally, this type of device was disclosed in Japanese Patent Application Laid-Open No. 58-109976.
There is something disclosed in the publication No. FIG. 5 is a block diagram showing the configuration of the seal imprint input device disclosed in this document. This seal imprint input device includes a reading section 11, a reading memory 12, a cutting section 13, and an imprint memory 14.
It consists of

読取部11は紙面上に押捺された印影を所定方
向に順次走査し、光電変換を介し白黒の2値化さ
れた読取パタンを作成する。読取メモリ12は作
成された読取パタンの格納を行う。切り出し部1
3は走査線上の印影の有無を検出し、印影が有り
とされた走査線が該走査線と直角な方向に一定値
以上連続した部分を切り出し領域として印影パタ
ンを切り出す。印影メモリ14は切り出された印
影パタンの格納を行う。以上のようにして印影の
ヨゴレ等を除去して印影の必要部分の入力を行つ
ていた。
The reading unit 11 sequentially scans the stamp imprinted on the paper in a predetermined direction, and creates a black and white binary reading pattern through photoelectric conversion. The reading memory 12 stores the created reading pattern. Cutout part 1
Step 3 detects the presence or absence of a seal imprint on a scanning line, and cuts out a seal imprint pattern by using a portion where scanning lines with a seal imprint are continuous for a certain value or more in a direction perpendicular to the scanning line as a cutting area. The seal impression memory 14 stores the extracted seal impression pattern. In the manner described above, dirt and the like on the seal impression are removed and the necessary parts of the seal impression are input.

(発明が解決しようとする問題点) しかしながら、上記構成の装置では印影外接枠
内にある印影以外のデータを取り除くことはでき
ないという問題点があつた。
(Problems to be Solved by the Invention) However, the apparatus having the above configuration has a problem in that data other than the seal imprint within the seal imprint circumscribing frame cannot be removed.

本発明はこのような従来技術の問題点を解決す
るためになされたものであつて、読取パタンから
印影部のみを取り出すことのできる印影入力装置
を提供することを目的とする。
The present invention has been made to solve the problems of the prior art, and it is an object of the present invention to provide a seal imprint input device that can extract only the imprint portion from a read pattern.

(問題点を解決するための手段) この出願の発明の印影入力装置は、 印影を光学的に読取り、白黒の2値化された読
取パタンを得る読取部と、 該読取部が得た読取パタンを切り出す切り出し
部とを有するものであつて、 前記読取パタンを所定方向に走査して白点から
黒点に変化する点を検出したときは、その点を追
跡開始点として前記読取パタンを含む全領域につ
いて輪郭追跡を行ない、輪郭点情報を求める輪郭
追跡部と、 該輪郭追跡部からの輪郭点情報より前記読取パ
タンの輪郭枠幅を求め、前記輪郭枠幅と予め定め
た値とを比較し、前記輪郭枠幅が前記予め定めた
値より小さいときは前記輪郭追跡部に新たな輪郭
追跡を指示し、前記輪郭枠幅が前記予め定めた値
以上のときは前記切り出し部に対して前記輪郭追
跡部からの前記輪郭点情報を基に読取パタンの切
り出しを指示する判定部と を設け、 前記切り出し部は 前記輪郭追跡部により求めた前記輪郭点情報の
輪郭点座標から前記読取パタンの輪郭点を黒点と
し、かつ前記輪郭点以外を白点として輪郭パタン
を作成し、 前記輪郭パタンをそのX方向に順次スキヤンし
て各X方向スキヤン毎に最初に発見した黒点と最
後に発見した黒点との間の領域を塗りつぶしてX
方向塗りつぶし点を得ると共に、 前記輪郭パタンをそのY方向に順次スキヤンし
て各Y方向スキヤン毎に最初に発見した黒点と最
後に発見した黒点との間の領域を塗りつぶしてY
方向塗りつぶし点を得て、 前記X方向及び前記Y方向塗りつぶし点により
定められた塗りつぶし領域に対応する前記読取パ
タンから印影パタンを取り出すようにした ことを特徴とするものである。
(Means for Solving the Problems) The seal imprint input device of the invention of this application includes: a reading section that optically reads a seal imprint and obtains a black and white binary reading pattern; and a reading pattern obtained by the reading section. and a cutting section for cutting out the read pattern, and when a point that changes from a white point to a black point is detected by scanning the read pattern in a predetermined direction, the entire area including the read pattern is set with that point as a tracking start point. a contour tracing unit that performs contour tracing to obtain contour point information; a contour tracing unit that calculates the contour frame width of the read pattern from the contour point information from the contour tracing unit; and compares the contour frame width with a predetermined value; When the outline frame width is smaller than the predetermined value, the outline tracking unit is instructed to perform new outline tracking, and when the outline frame width is greater than or equal to the predetermined value, the cutting unit is instructed to perform the outline tracking. a determination unit that instructs cutting out of the read pattern based on the contour point information from the contour tracking unit; A contour pattern is created with black points as black points and white points other than the contour points, and the contour pattern is sequentially scanned in the X direction, and the distance between the first black point discovered and the last black point discovered for each X direction scan is created. Fill in the area with
At the same time, the contour pattern is sequentially scanned in the Y direction, and the area between the first black point discovered and the last black point discovered is filled in for each Y direction scan, and the Y direction is filled in.
The present invention is characterized in that directional fill points are obtained, and a seal impression pattern is extracted from the read pattern corresponding to the fill area defined by the X direction and Y direction fill points.

(作用) 本願の印影入力装置は、前記構成により、前記
塗りつぶし領域から抽出された読取パタンのうち
から輪郭枠幅が予め定めた値以上のものを塗りつ
ぶし領域として抽出して、この塗りつぶし領域内
に存在する印影パタンを全て保存することによ
り、印影情報としての精度を高める。
(Function) With the above configuration, the seal imprint input device of the present application extracts, as a filled area, a reading pattern whose outline frame width is equal to or larger than a predetermined value from among the reading patterns extracted from the filled area, and By saving all existing seal impression patterns, the accuracy of seal impression information is increased.

(実施例) 第1図は本発明の一実施例の印影入力装置の構
成を示すブロツク図である。同図に示すように、
この印影入力装置は読取部1、輪郭追跡部2、判
定部3及び切り出し部4から構成される。接続関
係について述べると、読取部1は輪郭追跡部2及
び切り出し部4に接続される。輪郭追跡部2は判
定部3と相互に接続されるとともに切り出し部4
にも接続される。また判定部3は切り出し部4に
も接続される。読取部1は紙面上に押捺された印
影を光学的に読み取り、2値化された白黒の読取
パタン5として出力する。輪郭追跡部2は読取パ
タン5の輪郭追跡を行い、輪郭点情報を出力す
る。判定部3は輪郭追跡部2からの輪郭点情報に
基づき追跡された部分が印影であるか否かの判定
を行う。判定部3は追跡した部分が印影であると
判定したときは、切り出し部4に対し輪郭追跡部
2で得られている輪郭点情報に基づいて読取パタ
ン5から印影を切り出して印影パタン6を作成す
ることを指示する。一方、印影でないと判定した
ときには、輪郭追跡部2に新たな追跡を指示し、
印影が検出するまで判定と追跡指示をくり返す。
(Embodiment) FIG. 1 is a block diagram showing the configuration of a seal imprint input device according to an embodiment of the present invention. As shown in the figure,
This seal imprint input device includes a reading section 1, a contour tracing section 2, a determining section 3, and a cutting section 4. Regarding the connection relationship, the reading section 1 is connected to the contour tracking section 2 and the cutting section 4. The contour tracking section 2 is interconnected with the determination section 3 and the cutting section 4.
is also connected to. Further, the determining section 3 is also connected to the cutting section 4. The reading section 1 optically reads the seal imprinted on the paper and outputs it as a binary black and white reading pattern 5. The contour tracing section 2 traces the contour of the read pattern 5 and outputs contour point information. The determination unit 3 determines whether the tracked portion is a seal impression based on the contour point information from the contour tracking unit 2. When the determination unit 3 determines that the traced portion is a seal impression, it instructs the cutting unit 4 to cut out the seal impression from the read pattern 5 based on the contour point information obtained by the contour tracking unit 2 and create a seal impression pattern 6. instruct what to do. On the other hand, when it is determined that it is not a seal imprint, the contour tracking unit 2 is instructed to perform new tracking,
The judgment and tracking instructions are repeated until the seal impression is detected.

次に動作について述べる。先ず、帳票等の紙面
上に押捺された印影は読取部1により光学的に読
み取られ、白、黒の2値化された読取パタン5と
して出力される。この読取パタン5は輪郭追跡部
2と切り出し部4に送出される。
Next, we will discuss the operation. First, a seal imprinted on a paper such as a form is optically read by the reading section 1 and output as a binary reading pattern 5 of white and black. This read pattern 5 is sent to the contour tracking section 2 and the cutting section 4.

ここで輪郭追跡部2は以下のような動作を行
う。輪郭追跡部2はまず読取パタン5の左上隅か
らX方向にラスタスキヤンして行き、最初に白点
から黒点に変化する点を追跡開始点として輪郭追
跡を始める。そして追跡された点の座標(以下輪
郭点座標とする)を記憶しつつ追跡を行い、追跡
開始点を再び追跡したとき追跡を終了する。又、
判定部3から新たな追跡の指示があつたときには
以前の追跡開始点の次の点から再びラスタスキヤ
ンを開始して新たな追跡開始点を探査しその点よ
り新たな追跡をする。なお、輪郭追跡を行う方法
としては8連結−境界線追跡アルゴリズム〔電子
通信学会誌56−D巻、11号第667〜668頁(1973年
11月)〕等公知の方法で良い。
Here, the contour tracking section 2 performs the following operations. The contour tracing section 2 first performs raster scanning in the X direction from the upper left corner of the read pattern 5, and starts contour tracing with the point where the white point first changes to a black point as the tracing start point. Then, tracking is performed while storing the coordinates of the tracked point (hereinafter referred to as outline point coordinates), and the tracking ends when the tracking start point is tracked again. or,
When a new tracking instruction is received from the determining section 3, raster scan is started again from the point next to the previous tracking start point, a new tracking start point is searched, and new tracking is performed from that point. Note that a method for contour tracing is the 8-connection-boundary tracing algorithm [Journal of the Institute of Electronics and Communication Engineers Vol. 56-D, No. 11, pp. 667-668 (1973).
(November)] or other known methods may be used.

判定部3は以下のような動作を行う。すなわ
ち、判定部3は輪郭追跡部2で得られた輪郭点座
標から輪郭枠のX,Y方向のXW,YWを求め、
枠巾が一定値WT以上であるとき、即ちXW≧WT
かつYW≧WTであるとき、追跡した部分が印影
であると判定し、印影の切り出しを切り出し部4
に指示する。又、枠巾が一定値WTより小さいと
き、即ちXW<WT又はYW<WTのとき、追跡し
た部分が印影ではないと判定し、新たな輪郭追跡
を輪郭追跡部2に指示する。
The determination unit 3 performs the following operations. That is, the determination unit 3 determines XW and YW in the X and Y directions of the contour frame from the contour point coordinates obtained by the contour tracking unit 2,
When the frame width is greater than a certain value W T , that is, XW≧W T
And when YW≧W T , the tracked part is determined to be a seal impression, and the seal impression is cut out by the cutting unit 4.
instruct. Furthermore, when the frame width is smaller than a certain value W T , that is, when XW<W T or YW<W T , it is determined that the traced portion is not a seal impression, and the contour tracking section 2 is instructed to perform new contour tracing.

輪郭点座標を(X1,Y1),(X2,Y2),…,
(Xn,Yn)としたとき、輪郭枠を定めるX,Y
座標値XS,XE,YS,YEは、 XS=(X1,X2,…,Xn)の最小値 XE=(X1,X2,…,Xn)の最大値 YS=(Y1,Y2,…,Yn)の最小値 YE=(Y1,Y2,…,Yn)の最大値 より求められる。そして輪郭枠巾XW,YWは、 XW=XE−XS+1 YW=YE−YS+1 より求められる。
The contour point coordinates are (X 1 , Y 1 ), (X 2 , Y 2 ), ...,
When (Xn, Yn), X, Y that defines the outline frame
The coordinate values XS, XE, YS, YE are: XS = minimum value of (X 1 , X 2 , ..., Xn) XE = maximum value of (X 1 , X 2 , ..., 2 ,..., Yn), and the maximum value of YE = (Y 1 , Y 2 ,..., Yn). The outline frame widths XW and YW are obtained from XW=XE−XS+1 YW=YE−YS+1.

なお、一定値WTの値は印鑑の大きさにより定
められるべきものである。一般に印鑑の大きさは
最小8mm程度であるので例えばWTを7mm相当と
すれば良い。。即ち、読取部1の読取分解能を8
画素/mmとしたときにはWT=7×8=56(画素)
とすれば良い。
Note that the value of the constant value W T should be determined depending on the size of the seal. Generally, the minimum size of a seal is about 8 mm, so for example, W T may be equivalent to 7 mm. . That is, the reading resolution of the reading section 1 is 8
When expressed as pixels/mm, W T = 7 x 8 = 56 (pixels)
It's fine if you do this.

次に、切り出し部4は以下のような動作を行
う。切り出し部4は判定部3により印影の切り出
しが指示されたときは、まず輪郭追跡部2で得ら
れている輪郭点座標から輪郭点を黒点、その他の
点を白点とする輪郭パタンを作成する。次に輪郭
パタンを例えば特開昭58−191083号公報に示され
る様な方法にてX及びY方向に塗りつぶして塗り
つぶしパタンを作成する。即ち、輪郭パタン面上
をまずX方向に順次スキヤンして各X方向スキヤ
ン毎に最初に見つかつた黒点と最後に見つかつた
黒点との間を塗りつぶしてX方向塗りつぶし点と
し、次にY方向に順次スキヤンして各Y方向スキ
ヤン毎に上記塗りつぶしを施しY方向塗りつぶし
点とする。次にこの塗りつぶし領域に対応する読
取パタン5上の領域のみを取り出して印影パタン
6を作成する。
Next, the cutting section 4 performs the following operation. When the cutting unit 4 is instructed to cut out the seal imprint by the determining unit 3, it first creates a contour pattern in which contour points are black points and other points are white points from the contour point coordinates obtained by the contour tracing unit 2. . Next, the contour pattern is filled in in the X and Y directions by a method such as that disclosed in Japanese Patent Laid-Open No. 58-191083, to create a filled pattern. That is, the contour pattern surface is first scanned sequentially in the X direction, and for each scan in the X direction, the space between the first black point found and the last black point found is filled in as a fill point in the X direction, and then sequentially in the Y direction. The area is scanned and filled in as described above for each scan in the Y direction to form a point to be filled in in the Y direction. Next, only the area on the read pattern 5 corresponding to this filled area is extracted to create a seal pattern 6.

次に具体例を挙げて本実施例の装置による印影
パタン作成動作について述べる。第2図Aは読取
パタン5の一例を示す図で、第2図B,C,Dは
それぞれ該パタンを基に本実施例の装置が作成し
た輪郭パタン、塗りつぶしパタン、印影パタンを
示す図である。
Next, a specific example will be given to describe the operation of creating a seal pattern by the apparatus of this embodiment. FIG. 2A is a diagram showing an example of the read pattern 5, and FIGS. 2B, C, and D are diagrams each showing an outline pattern, a fill pattern, and a seal pattern created by the apparatus of this embodiment based on the pattern. be.

読取部1が、2図Aに示すような印影データ
P2と共に印影以外のデータ(以下ヨゴレという)
P1を読み取つたとする。輪郭追跡部2はパタン
面上の左上隅からX方向にラスタスキヤンしてい
き、まず追跡開始点として点(TX1,TY1)を
みつける。この追跡開始点(TX1,TY1)から
輪郭追跡を開始し、輪郭点座標を得る。判定部3
はこの輪郭点座標から、輪郭枠を定めるX,Y座
標値XS1,XE1,YS1,YE1を求める。そして更
にこれらの値により輪郭枠巾XW1(=XE1−XS1
+1),YW1(=YE1−YS1+1)を求める。とこ
ろが、XW1<WT,YW1<WTであるのでヨゴレ
P1を印影と判定しない。
The reading unit 1 reads seal impression data as shown in Figure 2A.
Along with P 2 , data other than the seal impression (hereinafter referred to as dirt)
Suppose we read P 1 . The contour tracking unit 2 performs raster scanning in the X direction from the upper left corner of the pattern surface, and first finds a point (TX 1 , TY 1 ) as the tracking start point. Contour tracing is started from this tracing start point (TX 1 , TY 1 ) to obtain contour point coordinates. Judgment section 3
From these contour point coordinates, find the X and Y coordinate values XS 1 , XE 1 , YS 1 , and YE 1 that define the contour frame. Furthermore, using these values, the outline frame width XW 1 (=XE 1 −XS 1
+1), YW 1 (=YE 1 −YS 1 +1). However, since XW 1 < W T and YW 1 < W T , the dirt is
Do not judge P 1 as a seal impression.

次に、輪郭追跡部2は上記追跡開始点(TX1
TY1)の次の点すなわち点(TX1+1,TY1
から新たな追跡開始点の探査を行い、新たな追跡
開始点(TX2,TY1)をみつける。そしてこの
追跡開始点(TX2,TY1)から上記と同様に輪
郭追跡を開始し、輪郭点座標を得る。判定部3は
この輪郭点座標から、輪郭枠を定めるX,Y座標
値XS2,XE2,YS2,YE2を求める。そして更に
輪郭枠巾XW2(=XE2−XS2+1),YW2(=YE2
−YS2+1)を求める。ここでは、XW2≧WT
つYW2≧WTであるのでP2を印影と判定し、切り
出し部4に対し印影を切り出して印影パタン6の
作成することを指示する。切り出し部4はこの指
示により輪郭点座標に基づき第2図Bに示す輪郭
パタンを作成する。そして前述した方法によりこ
の輪郭パタンをX及びY方向に塗りつぶし、第2
図Cに示す塗りつぶしパタンを作成する。第2図
Cの斜線部がX及びY方向に塗りつぶされた点で
ある。次に、第2図Cの塗りつぶしパタンの塗り
つぶし領域に対応する第2図Aの印影パタン面上
の領域を取り出して第2図Dに示す印影パタン6
を得る。
Next, the contour tracking unit 2 selects the tracking start point (TX 1 ,
TY 1 ) next point or point (TX 1 +1, TY 1 )
A new tracking starting point is searched from , and a new tracking starting point (TX 2 , TY 1 ) is found. Contour tracing is then started from this tracing start point (TX 2 , TY 1 ) in the same manner as above to obtain contour point coordinates. The determination unit 3 determines the X and Y coordinate values XS 2 , XE 2 , YS 2 , and YE 2 that define the contour frame from the contour point coordinates. Furthermore, the outline frame width XW 2 (=XE 2 −XS 2 +1), YW 2 (=YE 2
−YS 2 +1). Here, since XW 2 ≧W T and YW 2 ≧W T , P 2 is determined to be a seal impression, and the cutting unit 4 is instructed to cut out the seal impression and create a seal impression pattern 6 . In response to this instruction, the cutting section 4 creates the contour pattern shown in FIG. 2B based on the contour point coordinates. Then, use the method described above to fill in this outline pattern in the X and Y directions, and
Create the fill pattern shown in Figure C. The shaded area in FIG. 2C is filled in in the X and Y directions. Next, an area on the stamp pattern surface of FIG. 2A corresponding to the filled area of the fill pattern of FIG. 2C is taken out, and a stamp pattern 6 shown in FIG.
get.

従つて、本実施例の装置によれば、従来の方法
では取り除くことのできなかつた第2図Aに示す
様な印影外接枠内に入り込んだヨゴレをも取り除
くことができるようになる。
Therefore, according to the apparatus of this embodiment, it becomes possible to remove dirt that has entered the seal imprint circumscribing frame as shown in FIG. 2A, which could not be removed using conventional methods.

上記実施例では、読取パタン面上をラスタスキ
ヤンして白点から黒点に変化する点を追跡開始点
とした。ところが、上記実施例によれば、例えば
第3図に示す様な読取パタンの場合、まず点
(TX3,TY3)を追跡開始点としてP3部分が輪郭
追跡される。このP3部分の輪郭枠はWTより小さ
いので新たな追跡開始点が探査され、点(TX3
TY3+1)が次の追跡開始点とされ再度P3部分
を輪郭追跡することになる。この様にしてTY3
≦Y≦TY4の範囲では不要な輪郭追跡をくり返
すことになる。そこでこのような場合、白点から
黒点に変化する点でなおかつ現在までに輪郭追跡
されたことのない点を新たな追跡開始点とすると
不要な輪郭追跡を行なうことがなくなり、処理時
間を短縮することができる。つまり第3図の様な
読取パタンの例ではTY3+1≦Y≦TY4の範囲
内のX=TX3の各点は点(TX3,TY3)を追跡
開始点としてすでに輪郭追跡された点であるので
次の追跡開始点とはせずに、それより後の点を次
の追跡開始点として探査する。そして点(TX5
TY5)までラスタスキヤンしたとき次の追跡開
始点をみつける。このようにすれば、点(TX3
TY3)から点(TX5,TY5)をラスタスキヤン
する間に不要な輪郭追跡をすることはない。な
お、この方法をとる場合にはすでに輪郭追跡され
た点であるかどうかを記憶しておけばよい。
In the above embodiment, a point where a white point changes from a black point to a black point by raster scanning on the read pattern surface is set as the tracking start point. However, according to the above embodiment, in the case of a reading pattern as shown in FIG. 3, for example, the outline of the P 3 portion is traced using the point (TX 3 , TY 3 ) as the tracing start point. Since the contour frame of this P 3 part is smaller than W T , a new tracking starting point is searched and the point (TX 3 ,
TY 3 +1) is set as the next tracking start point, and the contour of the P 3 portion is tracked again. In this way TY 3
In the range of ≦Y≦TY 4 , unnecessary contour tracking will be repeated. Therefore, in such cases, if you set the new tracking start point to a point that changes from a white point to a black point and has not been contour traced to date, unnecessary contour tracing will be avoided and processing time will be shortened. be able to. In other words, in the example of the reading pattern shown in Fig. 3, each point of X = TX 3 within the range of TY 3 + 1 ≦ Y ≦ TY 4 has already been contour traced with the point (TX 3 , TY 3 ) as the tracing start point. Since it is a point, it is not set as the next tracking start point, but a point after it is searched as the next tracking start point. and the point (TX 5 ,
Find the next tracking start point when you raster scan up to TY 5 ). In this way, the point (TX 3 ,
No unnecessary contour tracing is performed during raster scanning from point (TX 5 , TY 5 ) to point (TX 5 , TY 5 ). Note that when using this method, it is sufficient to remember whether or not the point has already been contour traced.

又、上記実施例では、読取パタンを輪郭追跡し
たときの輪郭枠の大きさにより印影であるかどう
かを判定した。ところが、第4図に示す様に印影
枠に著しい欠けがある読取パタンの場合、P8
部分の輪郭枠が印影と判定される大きさであるの
でP8の部分のみが印影パタンとして取り出され、
印影枠の欠けた部分P5,P6,P7,P9を取り残し
てしまうことになる。そこでこのような場合、読
取パタン上の全黒点数BAと、輪郭点を塗りつぶ
した領域内にある読取パタン上の黒点数BPとの
比から読取パタンから切り出す領域を決定するこ
ととすると、著しく欠けた印影の一部を取り残し
てしまうことはなくなる。即ち黒点数比αをα=
BP/BAから求め、α≧αTのとき塗りつぶし領
域内のみを印影パタンとして取り出し、α<αT
とき読取パタンの全領域を印影パタンとする。こ
こで上記一定値αTは取り除くべきヨゴレの大きさ
に基づいて定められる値であり例えばαT=0.9と
すれば良い。
Further, in the above embodiment, whether or not it is a seal impression is determined based on the size of the outline frame when the read pattern is traced. However, in the case of a read pattern in which the seal impression frame is significantly chipped as shown in Figure 4, the outline frame of the P8 portion is large enough to be determined as a seal impression, so only the P8 portion is extracted as the seal impression pattern. ,
The missing parts P 5 , P 6 , P 7 , and P 9 of the seal impression frame will be left behind. Therefore, in such a case, if the area to be cut out from the read pattern is determined based on the ratio of the total number of black dots BA on the read pattern to the number BP of black dots on the read pattern in the area where the outline points are filled in, the area to be cut out from the read pattern may be significantly missing. This eliminates the possibility of leaving a part of the seal impression behind. That is, the sunspot number ratio α is α=
Determined from BP/BA, when α≧α T , only the area within the filled area is taken out as a seal impression pattern, and when α<α T , the entire area of the read pattern is taken as a seal impression pattern. Here, the constant value α T is a value determined based on the size of dirt to be removed, and may be set to α T =0.9, for example.

第4図の読取パタン例では、P5〜P9のいずれ
の部分の黒点数も全黒点数のαT(0.9)倍以上とな
ることはないので、読取パタンの全領域が印影パ
タンとして取り出されることになり、著しく欠け
た印影の一部を取り残してしまうことはなくな
る。
In the read pattern example shown in Figure 4, the number of black dots in any part of P5 to P9 is never greater than α T (0.9) times the total number of black dots, so the entire area of the read pattern is extracted as a stamp pattern. This eliminates the possibility of leaving behind a part of the seal that is noticeably chipped.

(発明の効果) 以上詳細に説明したように、本発明によれば、
輪郭追跡を行い、得られた輪郭点情報より輪郭枠
幅を求め、輪郭枠幅とあらかじめ定めた一定値と
を比較して切り出しをするか否かを決めるように
したので、印影情報でない不要な情報を除去する
ことができ、特に印影の枠外のノイズについては
除去することができると共に、印影の枠内の印影
情報については全て保存することができ、精密な
印影の照合を可能にする。
(Effects of the Invention) As explained in detail above, according to the present invention,
We tracked the contour, found the contour frame width from the obtained contour point information, and compared the contour frame width with a predetermined constant value to decide whether to cut out or not. Information can be removed, especially noise outside the seal imprint frame, and all seal imprint information within the seal imprint frame can be stored, allowing precise seal imprint verification.

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

第1図は本発明の一実施例の印影入力装置の構
成を示すブロツク図、第2図A,B,C,Dは第
1図の装置による印影パタン作成動作を説明する
ための図、第3図及び第4図はそれぞれ読取パタ
ン例を示す図、第5図は従来の印影入力装置の構
成を示すブロツク図である。 1…読取部、2…輪郭追跡部、3…判定部、4
…切り出し部、5…読取パタン、6…印影パタ
ン。
FIG. 1 is a block diagram showing the configuration of a seal imprint input device according to an embodiment of the present invention; FIGS. 3 and 4 are diagrams showing examples of reading patterns, respectively, and FIG. 5 is a block diagram showing the configuration of a conventional seal imprint input device. 1... Reading section, 2... Contour tracking section, 3... Judgment section, 4
...Cutout part, 5...Reading pattern, 6...Seal impression pattern.

Claims (1)

【特許請求の範囲】 1 印影を光学的に読取り、白黒の2値化された
読取パタンを得る読取部と、 該読取部が得た読取パタンを切り出す切り出し
部とを有する印影入力装置において、 前記読取パタンを所定方向に走査して白点から
黒点に変化する点を検出したときは、その点を追
跡開始点として前記読取パタンを含む全領域につ
いて輪郭追跡を行ない、輪郭点情報を求める輪郭
追跡部と、 該輪郭追跡部からの輪郭点情報より前記読取パ
タンの輪郭枠幅を求め、前記輪郭枠幅と予め定め
た値とを比較し、前記輪郭枠幅が前記予め定めた
値より小さいときは前記輪郭追跡部に新たな輪郭
追跡を指示し、前記輪郭枠幅が前記予め定めた値
以上のときは前記切り出し部に対して前記輪郭追
跡部からの前記輪郭点情報を基に読取パタンの切
り出しを指示する判定部と を設け、 前記切り出し部は 前記輪郭追跡部により求めた前記輪郭点情報の
輪郭点座標から前記読取パタンの輪郭点を黒点と
し、かつ前記輪郭点以外を白点として輪郭パタン
を作成し、 前記輪郭パタンをそのX方向に順次スキヤンし
て各X方向スキヤン毎に最初に発見した黒点と最
後に発見した黒点との間の領域を塗りつぶしてX
方向塗りつぶし点を得ると共に、 前記輪郭パタンをそのY方向に順次スキヤンし
て各Y方向スキヤン毎に最初に発見した黒点と最
後に発見した黒点との間の領域を塗りつぶしてY
方向塗りつぶし点を得て、 前記X方向及び前記Y方向塗りつぶし点により
定められた塗りつぶし領域に対応する前記読取パ
タンから印影パタンを取り出すようにした ことを特徴とする印影入力装置。
[Scope of Claims] 1. A seal imprint input device comprising: a reading section that optically reads a seal impression and obtains a black and white binary reading pattern; and a cutting section that cuts out the reading pattern obtained by the reading section, comprising: When scanning a reading pattern in a predetermined direction and detecting a point that changes from a white point to a black point, contour tracking is performed for the entire area including the reading pattern using that point as a tracking start point, and contour tracking is performed to obtain contour point information. and determining the outline frame width of the read pattern from the outline point information from the outline tracking unit, and comparing the outline frame width with a predetermined value, and when the outline frame width is smaller than the predetermined value. instructs the contour tracing unit to perform new contour tracing, and when the contour frame width is equal to or greater than the predetermined value, instructs the cutting unit to create a reading pattern based on the contour point information from the contour tracing unit. and a determination unit that instructs cutting out, and the cutting unit sets the contour points of the read pattern as black points from the contour point coordinates of the contour point information obtained by the contour tracing unit, and sets other contour points as white points to form the contour. Create a pattern, scan the contour pattern sequentially in the X direction, and fill in the area between the first black point discovered and the last black point discovered for each X direction scan, and
At the same time, the contour pattern is sequentially scanned in the Y direction, and the area between the first black point discovered and the last black point discovered is filled in for each Y direction scan, and the Y direction is filled in.
A seal imprint input device characterized in that a directional fill point is obtained, and a seal imprint pattern is extracted from the read pattern corresponding to a fill area defined by the X direction and Y direction fill points.
JP60258741A 1985-11-20 1985-11-20 Seal print input device Granted JPS62119688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60258741A JPS62119688A (en) 1985-11-20 1985-11-20 Seal print input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60258741A JPS62119688A (en) 1985-11-20 1985-11-20 Seal print input device

Publications (2)

Publication Number Publication Date
JPS62119688A JPS62119688A (en) 1987-05-30
JPH0467668B2 true JPH0467668B2 (en) 1992-10-29

Family

ID=17324435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60258741A Granted JPS62119688A (en) 1985-11-20 1985-11-20 Seal print input device

Country Status (1)

Country Link
JP (1) JPS62119688A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4729811B2 (en) * 2001-06-25 2011-07-20 沖電気工業株式会社 Seal verification method, seal verification device and program thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5647875A (en) * 1979-09-25 1981-04-30 Toshiba Corp Noise discriminating device
JPS5713581A (en) * 1980-06-27 1982-01-23 Toshiba Corp Noise removing system
JPS5962982A (en) * 1982-10-02 1984-04-10 Omron Tateisi Electronics Co Collating device of seal impression

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5647875A (en) * 1979-09-25 1981-04-30 Toshiba Corp Noise discriminating device
JPS5713581A (en) * 1980-06-27 1982-01-23 Toshiba Corp Noise removing system
JPS5962982A (en) * 1982-10-02 1984-04-10 Omron Tateisi Electronics Co Collating device of seal impression

Also Published As

Publication number Publication date
JPS62119688A (en) 1987-05-30

Similar Documents

Publication Publication Date Title
US8238686B2 (en) Image processing apparatus, method and recording medium
JPH0467668B2 (en)
US6126342A (en) Output device capable of high quality output of characters over a large range of sizes
JPH04255080A (en) Image input device
US5134687A (en) Method for converting image data into dot data
JPH07120390B2 (en) Character cutout method
JP3354629B2 (en) Image processing device
JP2743690B2 (en) How to cut out image data and cutout mask
JP2755299B2 (en) Image processing method
JP3615375B2 (en) Image processing method, apparatus, and storage medium
JP2564488B2 (en) Image filling method
JPS63208990A (en) Character pattern segmenting device
JP2954218B2 (en) Image processing method and apparatus
JP3566738B2 (en) Shaded area processing method and shaded area processing apparatus
JPH03275371A (en) Image processor
JP3566363B2 (en) Image processing apparatus and method
JP3039287B2 (en) Vector font drawing method and apparatus
JPH0785264B2 (en) Imprint input device
JPH0266681A (en) Drawing processor
JPH0390971A (en) Character background processor
JPS6214263A (en) Document picture processing system
JPH03100883A (en) Pattern normalizing device
JPH09218960A (en) Printer
JPH06223176A (en) Division point setting system
JPS62125480A (en) Seal print input device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees