JP2995342B2 - Area detection method - Google Patents

Area detection method

Info

Publication number
JP2995342B2
JP2995342B2 JP2340409A JP34040990A JP2995342B2 JP 2995342 B2 JP2995342 B2 JP 2995342B2 JP 2340409 A JP2340409 A JP 2340409A JP 34040990 A JP34040990 A JP 34040990A JP 2995342 B2 JP2995342 B2 JP 2995342B2
Authority
JP
Japan
Prior art keywords
frame
pixel
signal
area
level signal
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 - Fee Related
Application number
JP2340409A
Other languages
Japanese (ja)
Other versions
JPH04205680A (en
Inventor
直史 山本
祐三 小池
和彦 樋口
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.)
Toshiba Corp
Toshiba TEC Corp
Original Assignee
Toshiba Corp
Toshiba TEC 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 Toshiba Corp, Toshiba TEC Corp filed Critical Toshiba Corp
Priority to JP2340409A priority Critical patent/JP2995342B2/en
Publication of JPH04205680A publication Critical patent/JPH04205680A/en
Application granted granted Critical
Publication of JP2995342B2 publication Critical patent/JP2995342B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は画像処理装置に係り、特に画像の編集・加工
の対象となる領域を枠線により指定するために、画像の
枠線で囲まれた領域(枠内領域)を検出する枠内領域検
出方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial application field) The present invention relates to an image processing apparatus, and particularly to an image processing apparatus for designating an area to be edited / processed with a frame line. The present invention relates to an in-frame area detection method for detecting an area (in-frame area) surrounded by a frame line.

(従来の技術) 画像の加工・編集のための領域指定の方法として、枠
線による方法が知られている(例えば文献1:西村他、画
電誌vol.17,PP328−336,1988参照)。これは領域の境界
を表す枠線を作成し、この枠線の内部を領域として指定
するものである。この方式はタブレットや座標入力によ
る従来の領域指定方式に比べ、自由な形状の領域が容易
に指定できる、領域を原画像と同一面上で指定できるの
で、原画像との対応が分かりやすいという長所がある。
(Prior Art) As a method of designating an area for processing and editing an image, a method using a frame line is known (for example, see Document 1: Nishimura et al., Image Magazine vol. 17, PP328-336, 1988). . In this method, a frame representing the boundary of a region is created, and the inside of the frame is designated as a region. Compared with the conventional area specification method using tablet or coordinate input, this method has the advantage that the area of any shape can be easily specified and the area can be specified on the same plane as the original image, making it easy to understand the correspondence with the original image. There is.

このような領域指定方式では、枠線の内部の領域(枠
内領域)を検出する技術が不可欠である。枠内領域の検
出方法としては、例えば次の様な方法が知られている。
まず画像の最も外側部分を枠外部分とし、この枠外部分
と隣接する画素の有無を順次調べる。枠外部分と隣接す
る画素を枠外画素とし、枠外画素と判定されなかった画
素を枠内画素として、枠内画素の領域を枠内領域として
検出する。この方法は画像上をラスタ走査して得られた
画像信号から、簡単な処理により枠内領域を検出でき
る。しかし、検出できる枠線は位相的にかなり単純な図
形に限られ、いわゆる下凹(画面上で下側に凹部を有す
る形状)や多重枠などの複雑な形状を持つ枠線から枠内
領域を正しく検出することは困難であった。
In such an area designation method, a technique for detecting an area inside a frame line (an area within a frame) is indispensable. For example, the following method is known as a method for detecting the area in the frame.
First, the outermost portion of the image is set as an outer frame portion, and the presence or absence of a pixel adjacent to the outer frame portion is sequentially checked. A pixel adjacent to the out-of-frame portion is determined as an out-of-frame pixel, a pixel not determined as an out-of-frame pixel is determined as an in-frame pixel, and a region of the in-frame pixel is detected as an in-frame region. According to this method, an area within a frame can be detected by a simple process from an image signal obtained by raster-scanning an image. However, the frame lines that can be detected are limited to fairly simple figures in terms of topology, and the area within the frame is changed from a frame line having a complicated shape such as a so-called concave (a shape having a concave portion on the lower side on the screen) or a multiple frame. It was difficult to detect correctly.

そこで、ネストレベルを用いて枠内領域を検出する方
法も知られている。これは画像信号の枠線部分とそれ以
外の他部分にレベルの属性を与えて、2値の枠信号を発
生させるとともに、前ラスタとの連結関係より順次現ラ
スタの各画素のネストレベルを示すレベル信号を計算し
て行き、このレベル信号からその画素について枠内/枠
外の判定を行う方法である。この方法によれば、下凹や
多重枠などの形状の枠線からも、簡易なラスタ単位の処
理で正しく枠内領域を検出することができ、また枠線の
ひげに対する検出の安定性も高い。しかし、この方法で
は現ラスタのレベル信号の計算と、枠信号の値が等しく
連続する連結領域(ランという)単位のレベル信号への
変換とを同時に行う必要があり、処理が複雑である。枠
内検出は通常、ラスタ走査により得られた画像信号に対
し適用されるため、このような処理の複雑さはそのまま
回路規模の増大につながる。
Therefore, a method of detecting an in-frame area using a nest level is also known. This applies a level attribute to the frame portion of the image signal and other portions to generate a binary frame signal, and sequentially indicates the nesting level of each pixel of the current raster from the connection with the previous raster. In this method, a level signal is calculated, and a determination is made as to whether the pixel is inside or outside the frame from the level signal. According to this method, even in the case of a frame line having a shape such as a concave bottom or a multi-frame, a region within the frame can be correctly detected by a simple raster-based process, and the detection stability for the whiskers of the frame line is also high. . However, in this method, it is necessary to simultaneously perform the calculation of the level signal of the current raster and the conversion to the level signal of a connected area (run) unit in which the value of the frame signal is equal and continuous, and the processing is complicated. Since in-frame detection is usually applied to an image signal obtained by raster scanning, such complexity of processing directly leads to an increase in circuit size.

(発明が解決しようとする課題) 上述したように、従来のネストレベルを用いて枠線領
域を検出する方法では、下凹や多重枠などの複雑な形状
の枠線からも枠内領域を比較的容易に検出できる半面、
レベル信号の計算と連結領域単位へのレベル信号の変換
とを同時に行うという複雑な処理を必要とするため、回
路規模が増大するという問題があった。
(Problems to be Solved by the Invention) As described above, in the conventional method of detecting a frame region using a nest level, regions within a frame are compared even from a frame line having a complicated shape such as a concave bottom or a multi-frame. On the other hand,
A complicated process of simultaneously performing the calculation of the level signal and the conversion of the level signal into the unit of the connection area is required, and there is a problem that the circuit scale is increased.

本発明は、下凹や多重枠などの複雑な形状の枠線から
も枠内領域を容易に検出でき、また処理を単純化できる
枠内領域検出方法を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a method for detecting an in-frame area that can easily detect an in-frame area from a frame line having a complicated shape such as a concave bottom or a multi-frame, and can simplify the processing.

[発明の構成] (課題を解決するための手段) 本発明では、枠を構成する枠線部分とそれ以外の部分
である地部分の両方にレベルの属性を与えて枠信号と
し、前ラスタとの連結関係により順次ネストレベルを示
すレベル信号を計算して行き、計算されたレベル信号に
従って地または枠のネストの深さを検出することによ
り、枠内領域の検出を行う。さらに、レベル信号の計算
を前ラスタの隣接する画素のみを参照する仮レベル信号
の計算と同一ラスタ内でのレベル信号(代表レベル信
号)の計算とに分けて行う。
[Configuration of the Invention] (Means for Solving the Problems) In the present invention, a frame signal is obtained by assigning a level attribute to both a frame line portion constituting a frame and a ground portion which is a portion other than the frame line portion. The level signal indicating the nest level is sequentially calculated according to the connection relationship of the above, and the depth of the nest of the ground or the frame is detected according to the calculated level signal, thereby detecting the area within the frame. Further, the calculation of the level signal is divided into the calculation of the provisional level signal referring only to the adjacent pixels of the previous raster and the calculation of the level signal (representative level signal) in the same raster.

すなわち、本発明は枠線を含む画像を例えば走査(ラ
スタ走査)して得られた入力画像信号から、画像上の枠
線で囲まれた枠内領域を検出する枠内領域検出方法にお
いて、入力画像信号について画素毎に枠線部分か否かを
判定して2値の枠信号を生成し、入力画像信号の現画素
(現ラスタの画素)について、該現画素に隣接する前画
素(前ラスタの画素)の枠信号と該前画素のレベル信号
および該現画素の枠信号から仮レベル信号を計算し、該
仮レベル信号が計算された現画素列について、枠信号の
値が等しく連続する連結領域を検出し、該連結領域内の
各画素の仮レベル信号の値から該連結領域内の画素のレ
ベル信号(代表レベル信号)を計算し、該連結領域内の
画素のレベル信号の値から枠線の内外を判定して枠内領
域を検出することを特徴とする。
That is, the present invention relates to an in-frame area detection method for detecting an in-frame area surrounded by a frame on an image from an input image signal obtained by, for example, scanning (raster scanning) an image including the frame. It is determined whether or not the image signal is a frame line portion for each pixel, and a binary frame signal is generated. With respect to the current pixel (pixel of the current raster) of the input image signal, a previous pixel (previous raster) adjacent to the current pixel is generated. Pixel), a tentative level signal is calculated from the level signal of the previous pixel and the frame signal of the current pixel, and for the current pixel column in which the tentative level signal has been calculated, the connection of the frame signals having the same and continuous values is performed. A region is detected, a level signal (representative level signal) of a pixel in the connected region is calculated from a value of a temporary level signal of each pixel in the connected region, and a frame is calculated from a value of the level signal of a pixel in the connected region. Judging the inside and outside of the line and detecting the area inside the frame And butterflies.

また、連結領域内の画素のレベル信号を隣接する連結
領域内の画素のレベル信号と枠信号の関係を用いて修正
し、この修正されたレベル信号の値から枠線の内外を判
定して枠内領域を検出するようにしてもよい。
Further, the level signal of the pixel in the connected area is corrected using the relationship between the level signal of the pixel in the adjacent connected area and the frame signal, and the inside and outside of the frame are determined from the corrected level signal value. The inner region may be detected.

また、各画素の代表レベル信号の計算は、画像走査開
始端からの下方距離を画素毎に計算することと等価であ
るので、この下方距離の値からその画素の枠線の内外を
判定してもよい。ここで、「画像走査開始端からの下方
距離」とは画像走査開始端から隣接する画素を順次下方
に辿る経路のうち、枠線部分の画素から枠線部分でない
画素への移動数が最少の経路での前記移動数で定義され
る。「下方に辿る」とは枠画素から枠画素、または地画
素から地画素へ移動する場合は副走査方向の逆方向以外
のいずれかの方向へ辿り、枠画素から地画素または地画
素から枠画素へ移動する場合は副走査方向へ辿ることを
意味する。
Also, since the calculation of the representative level signal of each pixel is equivalent to calculating the lower distance from the image scanning start end for each pixel, the inside and outside of the frame line of the pixel are determined from the value of the lower distance. Is also good. Here, the “downward distance from the image scanning start end” means that the number of movements from the pixels of the frame portion to the pixels that are not the frame line portion in the path that sequentially traces the adjacent pixels from the image scanning start end downward is the smallest. It is defined by the number of movements on the route. "Following down" means moving from a frame pixel to a frame pixel, or from a ground pixel to a ground pixel, in any direction other than the reverse direction of the sub-scanning direction, and moving from the frame pixel to the ground pixel or from the ground pixel to the frame pixel. When moving to, this means tracing in the sub-scanning direction.

(作用) このように枠および地のレベル信号を計算することに
より、その枠のネストレベル、すなわち最も外側に対し
ての何重目の枠であるかが検出され、これにより2重枠
や下凹などの枠に対しても、合理的な枠内領域の検出が
行われるとともに、手書きの枠を形成する際に生ずる
「ひげ」などの影響も除去される。さらに、レベル信号
の計算に際して前ラスタを参照する仮レベル信号の計算
と、同一ラスタを参照するレベル信号の計算とを分離し
て行うことにより、計算処理が単純化され、高速化が図
られる。また、処理をハードウェアで実現する場合には
回路規模が小さくなる。
(Operation) By calculating the level signals of the frame and the ground in this manner, the nest level of the frame, that is, the number of the frame with respect to the outermost frame, is detected, whereby the double frame or the lower frame is detected. For a frame such as a concave frame, a reasonable in-frame area detection is performed, and an influence such as a "whisker" generated when a handwritten frame is formed is also removed. In addition, when calculating the level signal, the calculation of the provisional level signal referring to the previous raster and the calculation of the level signal referring to the same raster are performed separately, thereby simplifying the calculation process and increasing the speed. Further, when the processing is realized by hardware, the circuit scale is reduced.

(実施例) 第1図は本発明の第1の実施例に係る枠内領域検出装
置の概略構成を示すブロック図である。この枠内領域検
出装置は、画像入力部1、2値化回路2、仮レベル信号
計算回路3、代表レベル信号計算回路4および枠内/枠
外判定回路5によって構成される。
(Embodiment) FIG. 1 is a block diagram showing a schematic configuration of an in-frame area detecting apparatus according to a first embodiment of the present invention. The in-frame area detection device includes an image input unit 1, a binarization circuit 2, a temporary level signal calculation circuit 3, a representative level signal calculation circuit 4, and an in-frame / out-of-frame determination circuit 5.

画像入力部1は原稿上の画像をラインイメージセンサ
でラスタ走査により読み取り、得られた画像信号をA/D
変換した後、シェーディング補正などの補正処理を経て
出力する装置である。枠信号発生回路2は画像入力部1
からの画像信号を濃度または色度などの適当な基準に基
づいて枠線部分とそれ以外の地部分に分け、枠線の部分
で“1"、地の部分で“0"の値をとる2値信号からなる枠
信号P(x,y)を出力する。但し、枠線部分とは枠線の
描かれている部分であり、地部分とはそれ以外の部分で
ある。また、x,yは座標を表す。仮レベル信号計算回路
3、代表レベル信号計算回路4および枠内/枠外判定回
路5は、以下のアルゴリズムにより枠信号から枠内領
域、つまり原稿上に例えば特定の色で記入された枠線で
囲まれた領域を検出する。
The image input unit 1 reads an image on a document by raster scanning with a line image sensor and converts the obtained image signal into an A / D signal.
After the conversion, the device outputs the data through correction processing such as shading correction. The frame signal generating circuit 2 includes an image input unit 1
Is divided into a frame portion and a ground portion other than the frame signal based on an appropriate standard such as density or chromaticity, and a value of “1” is taken in the frame portion and “0” is taken in the ground portion. A frame signal P (x, y) composed of a value signal is output. However, the frame portion is the portion where the frame is drawn, and the ground portion is the other portion. X and y represent coordinates. The provisional level signal calculation circuit 3, the representative level signal calculation circuit 4, and the in-frame / out-of-frame determination circuit 5 are surrounded by a frame signal from a frame signal by a following algorithm, that is, a frame line written in a specific color on a document, for example. Detected area.

第2図および第3図は本実施例における枠内領域検出
処理のアルゴリズムを示している。説明の便宜上、第4
図に示すように、画像の上左隅を原点とし、左右方向を
x軸(右を正)、上下方向をy軸(下を正)とし、画像
の範囲を1≦x≦x max,1≦y≦y maxとする。また、x
軸方向の1ラインをラスタと呼び、y座標がy0のラスタ
12を第y0ラスタと呼ぶ。また、画像の上端にy座標が0
のラスタ11を仮想的に考え、これを画像の上端部と呼
ぶ。以下、説明に用いる図は全てこの座標軸を用いるも
のとする。
FIG. 2 and FIG. 3 show the algorithm of the in-frame area detection processing in this embodiment. For convenience of explanation, the fourth
As shown in the figure, the origin is the upper left corner of the image, the x axis is right (positive on the right), the y axis is positive (down on the right), and the range of the image is 1 ≦ x ≦ x max, 1 ≦ Let y ≦ y max. Also, x
One line in the axial direction is called a raster, and the raster whose y coordinate is y0
12 is called a y0th raster. Also, the y coordinate is 0 at the top of the image.
Of the image is referred to as the upper end of the image. Hereinafter, all the drawings used in the description use this coordinate axis.

第2図に示すように本アルゴリズムでは、画像の各画
素にネストレベルを表わすレベル信号L(x,y)を定義
し、枠信号および既に計算された領域のレベル信号を用
いて、再帰的に第1ラスタから順次レベル信号L(x,
y)を計算して行く。すなわち、まずラスタ11のレベル
信号L(x,0)を0とし(ステップS11)、枠信号P(x,
1),P(x,0)およびレベル信号L(x,0)より、レベル
信号L(x,1)を計算する(ステップS12〜S13)。但
し、画像の上端部の枠信号P(x,0)は全て0、すなわ
ち地画素とし、上端部のレベル信号L(x,0)も0とし
ておく。次に、計算したレベル信号L(x,1)および枠
信号P(x,1)より、画素Qについて枠内/枠外の判定
を行う(ステップS14)。次に、計算したレベル信号L
(x,1)および枠信号P(x,1),P(x,2)を参照して、
レベル信号L(x,2)を計算する。以下、同様にレベル
信号L(x,y−1)と枠信号P(x,y−1),P(x,y)を
参照してレベル信号L(x,y)を計算し、枠内/枠外判
定するという手順をyを1ずつ増しながら、y=y max
まで順次繰り返していく(ステップS13〜S16)。
As shown in FIG. 2, in the present algorithm, a level signal L (x, y) representing a nest level is defined for each pixel of the image, and the frame signal and the level signal of the already calculated area are recursively used. Level signals L (x,
Calculate y). That is, first, the level signal L (x, 0) of the raster 11 is set to 0 (step S11), and the frame signal P (x, 0) is set.
1) The level signal L (x, 1) is calculated from P (x, 0) and the level signal L (x, 0) (steps S12 to S13). However, the frame signal P (x, 0) at the upper end of the image is all 0, that is, a ground pixel, and the level signal L (x, 0) at the upper end is also 0. Next, based on the calculated level signal L (x, 1) and the frame signal P (x, 1), it is determined whether the pixel Q is inside or outside the frame (step S14). Next, the calculated level signal L
(X, 1) and frame signals P (x, 1) and P (x, 2),
Calculate the level signal L (x, 2). Hereinafter, similarly, the level signal L (x, y) is calculated with reference to the level signal L (x, y-1) and the frame signals P (x, y-1), P (x, y), and the Y = y max while incrementing y by 1
(Steps S13 to S16).

ラスタ内でのレベル信号計算、すなわち第y−1ラス
タの枠信号P(x,y−1)およびレベル信号L(x,y−
1)と第yラスタの枠信号P(x,y)からレベル信号L
(x,y)を計算するアルゴリズム(ステップS13)の詳細
を第3図に示す。この計算は大きく分けて2つのメイン
ステップよりなる。まず第1のメインステップとして、
座標(x,y)の画素Qの枠信号と画素Qの上に隣接する
座標(x,y−1)の画素Q0の枠信号を比較し、その組合
わせ(第5図参照)により下記の<規則1>に従って座
標(x,y)の仮のネストレベルを表わす仮レベル信号L
(x,y)を計算する。これをx軸方向の各画素について
行う(ステップS21〜S24)。
Calculation of the level signal in the raster, that is, the frame signal P (x, y-1) and the level signal L (x, y-
1) and the level signal L from the frame signal P (x, y) of the y-th raster
FIG. 3 shows details of the algorithm (step S13) for calculating (x, y). This calculation is roughly divided into two main steps. First, as the first main step,
The frame signal of the pixel Q at the coordinates (x, y) is compared with the frame signal of the pixel Q0 at the coordinates (x, y-1) adjacent to the pixel Q, and the combination (see FIG. 5) A provisional level signal L representing a provisional nesting level of coordinates (x, y) according to <Rule 1>
Calculate (x, y). This is performed for each pixel in the x-axis direction (steps S21 to S24).

<規則1> (a)画素Qが枠でかつ、隣接する画素Q0も枠の場
合、画素Q0のネストレベルを画素Qのネストレベルとす
る。
<Rule 1> (a) When the pixel Q is a frame and the adjacent pixel Q0 is also a frame, the nest level of the pixel Q0 is set as the nest level of the pixel Q.

if P(x,y)=1,P0(x,y−1)=1 then L(x,y)=L(x,y−1) (b)画素Qが枠でかつ、隣接する画素Q0が地の場
合、画素Q0のネストレベルを画素Qのネストレベルとす
る。
if P (x, y) = 1, P0 (x, y-1) = 1 then L (x, y) = L (x, y-1) (b) Pixel Q is a frame and adjacent pixel Q0 Is the ground, the nest level of the pixel Q0 is set as the nest level of the pixel Q.

if P(x,y)=1,P0(x,y−1)=0 then L(x,y)=L(x,y−1) (c)画素Qが地でかつ、隣接する画素Q0が枠の場
合、画素Q0のネストレベル+1を画素Qのネストレベル
とする。
if P (x, y) = 1, P0 (x, y-1) = 0 then L (x, y) = L (x, y-1) (c) Pixel Q is ground and adjacent pixel Q0 Is a frame, the nest level of the pixel Q0 + 1 is set as the nest level of the pixel Q.

if P(x,y)=0,P0(x,y−1)=1 then L(x,y)=L(x,y−1)+1 (d)画素Qが地でかつ、隣接する画素Q0も地の場
合、画素Q0のネストレベルを画素Qのネストレベルとす
る。
if P (x, y) = 0, P0 (x, y-1) = 1 then L (x, y) = L (x, y-1) +1 (d) Pixel Q is ground and adjacent pixel When Q0 is also the ground, the nest level of the pixel Q0 is set as the nest level of the pixel Q.

if P(x,y)=0,P0(x,y−1)=0 then L(x,y)=L(x,y−1) 上記の処理により、第yラスタの各画素の仮レベル信
号L(x,y)が決定したら、第2のメインステップとし
て、以下の<規則2>によりラスタyの中で、横方向に
隣接する画素の枠信号と仮レベル信号の関係(第6図参
照)により、代表レベル信号の計算を行う(ステップS2
5〜S26)。
if P (x, y) = 0, P0 (x, y-1) = 0 then L (x, y) = L (x, y-1) By the above processing, the provisional level of each pixel of the y-th raster When the signal L (x, y) is determined, as a second main step, the relationship between the frame signal of the pixel adjacent in the horizontal direction and the provisional level signal in the raster y according to the following <Rule 2> (FIG. 6) (See step S2).
5 to S26).

<規則2> 第yラスタの中で条件1を満たす隣接画素の組(x,
y),(x+1,y)があれば、それらの画素に対し処理1
を行う。これを条件1を満たす画素の組がなくなるま
で、繰り返す。
<Rule 2> A set of adjacent pixels (x,
y), (x + 1, y), processing 1 for those pixels
I do. This is repeated until there is no pixel set satisfying the condition 1.

条件1:画素Q1と横に隣接する画素Q2が枠に枠画素また
は地画素で、かつそのレベルが異なる。
Condition 1: The pixel Q2 horizontally adjacent to the pixel Q1 is a frame pixel or a ground pixel, and their levels are different.

処理2:画素Q1,Q2のうちレベル信号の大きい方の画素
のレベル信号を小さい方のレベル信号に変更する。
Process 2: The level signal of the pixel having the larger level signal of the pixels Q1 and Q2 is changed to the smaller level signal.

この処理は1ラスタを枠信号の値が等しい連結領域
(ラン)に分割し、各連結領域内の各画素のレベル信号
の最小値を、その連結領域の各画素のネストレベルを表
わす代表レベル信号とすることに相当する。
In this processing, one raster is divided into connected areas (runs) having the same frame signal value, and the minimum value of the level signal of each pixel in each connected area is represented by a representative level signal representing the nest level of each pixel in the connected area. Is equivalent to

最後に、計算された代表レベル信号L(x,y)の値か
ら、次の<規則3>によりその画素が枠の内か外かを判
定する(第3図のステップS14)。
Finally, from the calculated value of the representative level signal L (x, y), it is determined whether the pixel is inside or outside the frame by the following <Rule 3> (Step S14 in FIG. 3).

<規則3> 画素Qが地画素でかつ、そのレベルが偶数ならば画
素Qは枠外領域 画素Qが地画素でかつ、そのレベルが奇数ならば画
素Qは枠内領域 画素Qが枠画素ならば、画素Qは枠内領域 但し、の場合、枠線上を枠内と見なすかどうかによ
り、枠外領域と判定してもよい。ここでは、枠線上を枠
内と見なすとしている。
<Rule 3> If the pixel Q is a ground pixel and its level is an even number, the pixel Q is an area outside the frame. If the level of the pixel Q is an odd number, the pixel Q is an area inside the frame. If the pixel Q is a frame pixel, In this case, the pixel Q may be determined as an out-of-frame area depending on whether or not the frame line is regarded as being in the frame. Here, it is assumed that the portion on the frame is regarded as inside the frame.

<本アルゴリズムによる枠内検出の説明および処理例> (距離および下方距離の定義) まず、地画素Pと地画素Qの間の「距離」を次のよう
に定義する。地画素Pから隣接画素を順次辿って画素Q
に至る経路のうち、枠線を越える回数が最少の経路を最
少枠越え経路と呼び、この場合の枠を越える回数を2点
P,Q間の距離と定義する。ここで、「枠を越える回数」
とは枠画素から地画素へ移る回数を意味する。例えば、
第18図で画素P1から画素Q1への最少枠越え経路はL1とな
り、この経路は枠線部分を越えないから、画素P0,Q0の
間の距離は0となる。また、画素P2から画素Q2への最少
枠越え経路はL2となり、その距離はL2が枠を1回越える
から1となる。同様に、画素P3から画素Q3への最少枠越
え経路および距離はL3および2となる。
<Description of In-Frame Detection by This Algorithm and Processing Example> (Definition of Distance and Downward Distance) First, the “distance” between the ground pixel P and the ground pixel Q is defined as follows. Pixel Q by sequentially tracing adjacent pixels from ground pixel P
Of the routes that lead to, the route with the least number of crossings over the frame is called the minimum oversize route, and the number of times over the frame in this case is two points
Defined as the distance between P and Q. Here, "number of times exceeding the frame"
Means the number of transitions from the frame pixel to the ground pixel. For example,
In FIG. 18, the minimum crossing path from the pixel P1 to the pixel Q1 is L1, and since this path does not exceed the frame portion, the distance between the pixels P0 and Q0 is 0. In addition, the minimum frame passing path from the pixel P2 to the pixel Q2 is L2, and the distance is 1 because L2 crosses the frame once. Similarly, the minimum crossing path and the distance from the pixel P3 to the pixel Q3 are L3 and L2.

枠線図形の内外の定義として、ここでは画像の最も外
側のある基準点から見て距離が偶数の画素を枠外領域、
距離が奇数の画素を枠内領域と考える。これによると、
単純な閉曲線の内側は枠内領域となり、複数の枠で多重
に囲まれている領域は外側の枠から交互に枠内領域、枠
外領域となる。この定義は枠の内外の定義として妥当で
あると考えられる。
As the definition of the inside and outside of the frame figure, here, pixels having an even number of pixels when viewed from an outermost reference point of the image are defined as an area outside the frame,
Pixels with an odd number of distances are considered as an area within the frame. according to this,
The area inside the simple closed curve is the area inside the frame, and the area multiplexed by a plurality of frames is the area inside the frame and the area outside the frame alternately from the outside frame. This definition is considered valid as a definition inside and outside the box.

しかし、上記のような定義を一般の枠線画像について
計算するのは、計算量が膨大になる上、ラスタ走査信号
に適用することが困難である。そこで、本処理では上記
の最少枠越え経路および距離に準じた概念として、下方
最少枠越え経路および下方距離を次のように定義する。
すなわち、画素Pから画素Pより下にある(y座標の大
きい)画素Qへ「下方に」辿る経路のうち、枠線を越え
る回数が最少の経路を下方最少枠越え経路とし、その経
路が枠線を越える回数を下方距離とする。ここで、「下
方に」辿る経路とは下記の定義1に従う経路とする。
However, calculating the above definition for a general frame image requires a huge amount of calculation and is difficult to apply to a raster scanning signal. Therefore, in this processing, as a concept based on the above-described minimum frame passing route and distance, the lower minimum frame passing route and lower distance are defined as follows.
That is, of the paths that follow “downward” from the pixel P to the pixel Q below the pixel P (having a large y coordinate), the path with the least number of crossing the frame line is defined as the lower minimum frame crossing path. The number of times exceeding the line is defined as the downward distance. Here, the path that follows “downward” is a path that follows definition 1 below.

定義1:下方への経路とは同種の画素(地画素同士また
は枠画素同士)では隣接する左右方向または下方向へ、
異種の画素(地画素と枠画素)では隣接する下方向の画
素に辿る経路とする。
Definition 1: A downward path is the same type of pixels (ground pixels or frame pixels) adjacent to the horizontal direction or downward,
In the case of different types of pixels (ground pixel and frame pixel), the path is taken to an adjacent downward pixel.

そして、画像の上端からの下方距離が偶数の画素を枠
外、奇数の画素を枠内と定義する。この定義による下方
距離は距離と似た概念となる。特に、枠線が閉曲線なら
ば下方距離による枠内、枠外は前記の距離による枠内、
枠外の判定と同じになる。実際の枠線図形について下方
最少枠越え経路および下方距離の例を第19図に示す。同
図で画素P1から画素Q1への下方最少枠越え経路がL1とな
り、その下方距離は「0」となる。同様に画素P2から画
素Q2へについてはそれぞれ、L2および「1」となる。
Then, pixels whose even distance from the upper end of the image is even are defined outside the frame, and odd pixels are defined as inside the frame. The downward distance according to this definition has a concept similar to the distance. In particular, if the frame line is a closed curve, inside the frame by the downward distance, outside the frame is within the frame by the above distance,
It becomes the same as the judgment outside the frame. FIG. 19 shows an example of the lower minimum frame passing path and the lower distance for the actual frame figure. In the figure, the lower minimum frame passing path from the pixel P1 to the pixel Q1 is L1, and the lower distance is “0”. Similarly, L2 and “1” are obtained from the pixel P2 to the pixel Q2, respectively.

(レベルと下方距離の同値性の説明) 本処理で計算された各画素のレベル信号は、画像の上
端部からの下方距離と等価となる。その理由について説
明する。まず、画像の上端部からの下方距離がnの画素
Pを考える。第7図にn=1の場合の例を示す。同図
で、各升目が1画素に相当し、斜線で囲まれた部分が枠
画素、その他の部分が地画素を表す。定義より、画像の
上端の画素22から画素21(P)へ枠線をn回越えて到達
する経路が存在する(図上、矢印列で示す)。経路上の
各画素のレベルを考える。前提により、経路の始点22の
レベルは“0"である。この経路を辿って行く上で同種類
の画素を左右方向に辿る場合23は、<規則2>により前
の画素のレベルと同じまたは小さくなる。また、おなじ
種類の画素を下方向にたどる場合24は<規則1>の
(a)(d)によりレベルは前の画素と同じになる。ま
た、経路が地画素から枠画素にうつる場合25は定義1よ
り必ず下方向へであるから、<規則1>の(b)によ
り、レベルは前の画素と変わらない。また、経路が枠画
素から地画素へ移る場合26は、<規則1>の(c)によ
り画素のレベルは前の画素より1大きくなる。従って、
経路上の各画素のレベルは枠画素から地画素に移る場合
だけ1増え、それ以外の場合は変わらないか、または小
さくなるので、枠線部分をn回越えた後のレベルは高々
nとなる。従って、上端からの下方距離がnの地画素P
のレベルはn以下となる。同図上で画素の中の数字が計
算されたレベルを示す。
(Explanation of Equivalence of Level and Downward Distance) The level signal of each pixel calculated in this process is equivalent to the downward distance from the upper end of the image. The reason will be described. First, consider a pixel P whose distance from the upper end of the image is n below. FIG. 7 shows an example where n = 1. In the figure, each cell corresponds to one pixel, a portion surrounded by oblique lines represents a frame pixel, and the other portions represent ground pixels. By definition, there is a path that reaches the pixel 21 (P) from the pixel 22 at the upper end of the image over the frame line n times (indicated by an arrow column in the figure). Consider the level of each pixel on the path. By assumption, the level of the start point 22 of the route is “0”. In the case where the same type of pixel is traced in the left-right direction on this route 23, the level is equal to or smaller than the level of the previous pixel according to <Rule 2>. In the case where the same type of pixel is traced downward, the level becomes the same as that of the preceding pixel according to (a) and (d) of <Rule 1>. Also, when the route is from the ground pixel to the frame pixel 25, the level is always lower than the definition 1, so that the level does not change from the previous pixel according to (b) of <Rule 1>. When the route moves from the frame pixel to the ground pixel 26, the pixel level becomes 1 higher than the previous pixel by (c) of <Rule 1>. Therefore,
The level of each pixel on the path increases by 1 only when moving from the frame pixel to the ground pixel, and otherwise does not change or decreases, so the level after n times over the frame line portion becomes n at most. . Therefore, the ground pixel P whose distance below the upper end is n
Is n or less. In the figure, the numbers in the pixels indicate the calculated levels.

逆に、地画素Pのレベルがnならば、上端部から地画
素Pへの下方距離がn以下であることを第8図を用いて
示す。そのため、上端部から地画素Qへの枠画素をn回
越えて到達する経路が存在することを示す。まず、ある
地画素31(Q)を含んで同一ラスタ内に連結した地画素
の連結領域32を考える。この領域32内に先のステップS2
5,S26による修正処理前のレベルがnである画素Rが存
在する。この画素Qの上に隣接する画素Q2を画素Qの上
位画素と定義する。画素Q2が地画素の場合、<規則1>
の(d)により画素Q2のレベルはnとなる。また、画素
Q2が枠画素の場合、<規則1>の(c)により画素Q2の
レベルはn−1となる。但し、レベルnが0の場合は画
素Q2は必ずレベル0の地画素となる。また、同様に枠画
素Sを含んで同一ラスタ内に連結した枠画素の連結領域
を考える。前記と同様に、この連結領域内にはステップ
S25,S26による修正処理前のレベルがnの画素Tが存在
する。画素Tの上に隣接する画素S2を画素Sの上位画素
と定義する。<規則1>の(a),(b)によりS2が枠
画素か地画素かによらず、S2のレベルはnとなる。
Conversely, if the level of the ground pixel P is n, the lower distance from the upper end to the ground pixel P is n or less, as shown in FIG. Therefore, it indicates that there is a path from the upper end to the ground pixel Q that reaches the frame pixel n times more than n times. First, consider a connected area 32 of ground pixels including a certain ground pixel 31 (Q) and connected in the same raster. In this area 32, the previous step S2
5. There is a pixel R whose level is n before the correction processing by S26. The pixel Q2 adjacent above the pixel Q is defined as an upper pixel of the pixel Q. When the pixel Q2 is a ground pixel, <Rule 1>
(D), the level of the pixel Q2 becomes n. Also, the pixel
When Q2 is a frame pixel, the level of the pixel Q2 is n-1 according to (c) of <Rule 1>. However, when the level n is 0, the pixel Q2 is always a ground pixel at the level 0. Similarly, consider a connected region of frame pixels including the frame pixel S and connected in the same raster. As before, the steps in this connection area
There is a pixel T whose level is n before the correction processing in S25 and S26. The pixel S2 adjacent above the pixel T is defined as an upper pixel of the pixel S. According to (a) and (b) of <Rule 1>, the level of S2 is n regardless of whether S2 is a frame pixel or a ground pixel.

画素Pの上位画素をP2とし、さらにP2の上位画素をP3
として順次繰り返すことにより、画像の上端に到達す
る。これらの画素を辿った経路は、地から枠に移る度に
レベルが1ずつ低くなる。上端のレベルは“0"であるか
ら、この経路は枠線部分をn回越える。従って、上端か
ら画素Pへの下方距離はnとなる。
The upper pixel of the pixel P is P2, and the upper pixel of P2 is P3.
To reach the upper end of the image. The level of the path following these pixels decreases by one each time the path moves from the ground to the frame. Since the level at the upper end is “0”, this path crosses the frame portion n times. Therefore, the lower distance from the upper end to the pixel P is n.

このように、地画素Pのレベルがnであることと、画
像上端から地画素Pへの下方距離がnであることは等価
となる。すなわち、本処理により決定されたレベルは、
画像上端からの下方距離を表す。
As described above, the fact that the level of the ground pixel P is n is equivalent to the fact that the downward distance from the upper end of the image to the ground pixel P is n. That is, the level determined by this processing is
Represents the downward distance from the top of the image.

次に、第9図〜第14図を参照していくつかの形状の枠
線について、本処理によるネストレベル計算および枠内
/枠外判定の具体例を挙げ、本処理の効果と、直観的な
枠内領域との整合性があることを示す。
Next, with reference to FIGS. 9 to 14, specific examples of nest level calculation and in-frame / out-of-frame determination for the frame lines of some shapes will be described with reference to FIGS. Indicates that there is consistency with the area within the frame.

(円形の枠線の場合) まず、単純な円形枠(第9図)の例を説明する。図
中、実線またはハッチングした部分が枠線部分を表し、
○で囲んだ数字が地画素のレベル、□で囲んだ数字が枠
画素のレベルを表す。以下の例も同様に表す。枠線41の
外側の画素は全て画像の上端から枠を越えずに到達する
経路を持つので、レベルは“0"となり、枠外領域とな
る。また、枠線の内側は画像の上端から少なくとも1回
枠線を越える必要があるので、レベルは“1"となり、枠
内領域と判定される。
(Circle Frame Line) First, an example of a simple circular frame (FIG. 9) will be described. In the figure, the solid line or hatched portion represents the frame portion,
The number surrounded by ○ represents the level of the ground pixel, and the number surrounded by □ represents the level of the frame pixel. The following examples are similarly represented. Since all the pixels outside the frame line 41 have a path that reaches from the upper end of the image without passing through the frame, the level is “0”, and the area is outside the frame. Further, since the inside of the frame line needs to cross the frame line at least once from the upper end of the image, the level is "1", and it is determined that the area is within the frame.

(下凹形状の場合) 次に、下側に凹部を有する形状の枠線(第10図)の例
を説明する。枠線51の外側の画素のうちラス52と枠線51
に挟まれた領域以外のレベルは“0"となる。枠線51の内
部の領域に到達するには、上端より枠線を最低1回越え
る必要があるので、この領域のレベルは“1"となる。ま
た、枠線51とラスタ52に挟まれた領域に到達するには、
枠線を2回越える必要があるので、この領域のレベルは
“2"となる。従って、レベルが奇数である枠線の内側の
み、枠内領域と判定される。
Next, an example of a frame (FIG. 10) having a concave portion on the lower side will be described. Of the pixels outside the frame 51, the lath 52 and the frame 51
The level other than the area sandwiched between the bits is “0”. To reach the area inside the frame 51, it is necessary to cross the frame at least once from the upper end, so that the level of this area is "1". To reach the area between the frame 51 and the raster 52,
Since it is necessary to cross the frame twice, the level of this area is "2". Therefore, only the inside of the frame line whose level is an odd number is determined to be a region within the frame.

(多重枠の場合) 複数の枠線が多重に重なっている場合は、以下のよう
に判定される。第11図に示す3重枠の場合を例にとって
説明する。1本の枠の場合と同様に、最も外側の枠61の
外側のレベルは“0"となる。最も外側の枠61と2番目の
枠62の間の領域64は上端から枠を少なくとも1個は越え
る必要があるので、この領域の画素のレベルは“1"とな
る。同様に、2番目の枠線62と3番目の枠線63の間の領
域65のレベルは、“2"、3番目の枠線の内側の領域66の
レベルはそれぞれ“3"となる。従って、レベルが奇数で
ある領域64,66が枠内領域と判定される。この例は3重
枠の例であるが、さらに枠の重なりが多い場合は1つ内
側の枠に入る毎にレベルは1ずつ増加し、交互にそれぞ
れ枠内領域、枠外領域と判定される。これにより斜線部
に示すドーナツ状の領域や、さらにドーナツの穴の中に
さらに孤立した島を持つ領域などについても、枠線によ
り簡単に領域指定をすることができる。
(In the case of multiple frames) When a plurality of frame lines are multiplexed, it is determined as follows. The case of the triple frame shown in FIG. 11 will be described as an example. Similarly to the case of one frame, the level outside the outermost frame 61 is “0”. Since the area 64 between the outermost frame 61 and the second frame 62 needs to exceed at least one frame from the upper end, the pixel level in this area is "1". Similarly, the level of the area 65 between the second frame line 62 and the third frame line 63 is “2”, and the level of the area 66 inside the third frame line is “3”. Therefore, the regions 64 and 66 whose levels are odd are determined to be regions within the frame. This example is an example of a triple frame. However, when the number of frames further overlaps, the level is increased by one each time the next inner frame is entered, and the areas are alternately determined as the in-frame area and the out-of-frame area, respectively. As a result, a donut-shaped region indicated by a hatched portion and a region having a further isolated island in a hole of the donut can be easily designated by a frame line.

(理想的な枠線でない場合) 上記の例ではいずれも枠線の形状が理想的な閉曲線の
場合であったが、実際に手で描いた枠線には「ひげ」、
「かすれ」などのノイズが加わる場合が多い。本処理で
は、これらのノイズのうちのあるものに対して安定に検
出できる。次に、ノイズの例として枠線に「ひげ」、
「巣」などの生じた場合の例を示す。
(In the case where the frame is not an ideal frame) In the above examples, the shape of the frame is an ideal closed curve.
In many cases, a noise such as "blurring" is added. In this processing, it is possible to stably detect some of these noises. Next, as an example of noise, "whiskers"
An example of a case where a “nest” or the like occurs will be described.

第12図は枠線の外部に「ひげ」72の生じた場合であ
る。前記の例と同様に枠線の外側の領域のレベル、枠線
の内側の領域のレベルはそれぞれ“0",“1"となる。ま
た、枠線の「ひげ」の部分と枠線および枠線の「ひげ」
の最下点のラスタ(図中破線で示す)で囲まれた領域73
は画像の上端から少なくとも枠線を1本越える必要があ
るので、レベルは“1"となる。従って、本来は枠外領域
と見なすのが妥当な領域73も枠内領域と判定される。し
かし、このような領域73は「ひげ」と枠線の間で、かつ
「ひげ」の最下点より上の微小な領域に限られるため、
この判定エラーについては実用上問題はない。
FIG. 12 shows a case where a “whisker” 72 occurs outside the frame line. As in the above example, the level of the area outside the frame line and the level of the area inside the frame line are “0” and “1”, respectively. In addition, the "beard" part of the border, the border and the "beard" of the border
73 surrounded by the raster at the lowest point (shown by a broken line in the figure)
Needs to exceed at least one frame line from the upper end of the image, so the level is "1". Therefore, the area 73 that is originally appropriate to be regarded as the outside area is also determined as the inside area. However, since such an area 73 is limited to a small area between the “whisker” and the frame line and above the lowest point of the “whisker”,
There is no practical problem with this determination error.

また、第13図に示すように枠線の内部に地と判断され
た小さな穴(以下、巣と称する)81,82が生ずる場合も
あり得る。これは例えば枠線を書く上でのむらなどによ
り生じる。なお、第13図では斜線部分が枠線の部分を表
す。小さい巣81では巣の内部のレベルが“1"となって枠
内領域と判定されるだけで、他の部分には影響を与えな
い。また、巣が極端に大きく、例えば巣82のように巣の
最下部が枠線の内部領域の最上部より下の場合は、枠線
の内側でかつ巣の最下部のラスタ83より上の領域85のレ
ベルは“2"となり、枠外と判定される。しかし、ラスタ
83より下の領域は上端より枠線を1回しか越えない経路
84が存在するので、レベルは“1"となり、この部分は枠
内領域と判定される。このような巣は通常大きくなく、
誤判定の領域は巣の大きさ以上にはならないため、実用
上は問題ない。
Further, as shown in FIG. 13, small holes (hereinafter, referred to as nests) 81 and 82 determined to be the ground may occur inside the frame line. This is caused by, for example, unevenness in writing a frame line. Note that, in FIG. 13, the hatched portion represents a frame line portion. In the small nest 81, the level inside the nest becomes “1” and is determined only as an area within the frame, but does not affect other parts. In addition, when the nest is extremely large, for example, when the lowermost part of the nest is lower than the uppermost part of the inner area of the frame like the nest 82, the area inside the frame and above the raster 83 at the lowermost part of the nest. The level of 85 is "2", and is determined to be out of the frame. But raster
The area below 83 is a route that does not cross the border line only once from the upper end
Since 84 exists, the level becomes “1”, and this portion is determined to be a region within the frame. Such nests are usually not large,
The area of the erroneous determination does not exceed the size of the nest, so there is no practical problem.

このように本実施例の枠内検出処理によれば、次の利
点がある。
As described above, according to the in-frame detection processing of the present embodiment, there are the following advantages.

(1)基本的に通常の枠線であれば、下凹でも多重枠
でも枠内領域を検出できる。
(1) Basically, if the frame is a normal frame, the in-frame area can be detected whether the frame is downwardly concave or multiple frames.

(2)枠線を書き込む上で生じる各種ノイズのうち、
ひげ、巣などにはほとんど影響を受けない。
(2) Among various noises generated in writing the frame line,
Beard, nest, etc. are hardly affected.

(3)枠線の切れについても、枠線の下部にある場合
は正しく枠内領域が検出される。
(3) Regarding the break of the frame line, if it is below the frame line, the area within the frame is correctly detected.

すなわち、下凹、多重枠などの複雑な枠線に対しても
対応できるとともに、枠線を書込む上でのノイズにも強
い。人間が枠線を書く上で、始点と終点を正確に合わせ
て理想的な閉曲線(切れもひげもない)を作成するのは
困難である。本実施例の枠内検出処理は、枠線の切れが
生じないようにさえ注意すれば少々のひげ、巣などのノ
イズには強いので、枠線を書込む上での制約が少なくな
り、使い勝手が向上する。
That is, it is possible to cope with a complicated frame line such as a concave frame or a multiple frame, and is resistant to noise in writing the frame line. It is difficult for a human to draw an outline, and to create an ideal closed curve (without cuts and whiskers) by precisely matching the start and end points. The in-frame detection processing of the present embodiment is resistant to noise such as small whiskers and nests if care is taken so as not to cause breakage of the frame line. Is improved.

次に、本実施例に基づく枠内領域検出装置の具体的な
構成を説明する。第15図は第2図および第3図に示した
アルゴリズムを実現する枠内領域検出装置の回路構成例
であり、第16図はその動作を説明するための各部のタイ
ムチャートである。
Next, a specific configuration of the in-frame area detection device according to the present embodiment will be described. FIG. 15 is an example of a circuit configuration of the in-frame area detecting device that realizes the algorithm shown in FIGS. 2 and 3, and FIG. 16 is a time chart of each part for explaining the operation.

第15図において、端子100には第1図の枠信号発生回
路2からの枠信号(P)101が入力される。この枠信号1
01は第1図の画像入力部1において画像の左上から右方
向に1ラスタずつ下方向にラスタ走査して得られた入力
画像信号から、画像の枠線部分か否かを判定して得られ
た信号であり、枠線部分を“1"、それ以外の部分を“0"
とする2値信号である。この枠信号101はクロック信号
(CLK)102に同期して入力される。
15, a frame signal (P) 101 from the frame signal generating circuit 2 in FIG. 1 is input to a terminal 100. This frame signal 1
01 is obtained by determining from the input image signal obtained by raster scanning one raster at a time from the upper left to the right in the image input unit 1 in FIG. Signal is “1” in the frame and “0” in the other
Is a binary signal. The frame signal 101 is input in synchronization with a clock signal (CLK) 102.

この枠信号101の否定と1ラスタ前の枠信号(P0)103
との論理積がゲート回路104でとられ、その結果が加算
器105により1ラスタ前のレベル信号(L0)106に加算さ
れる。この加算器105の出力信号107は、第1図および第
2図で説明した枠内検出アルゴリズムの第1のメインス
テップにより計算される仮レベル信号に対応している。
Negation of the frame signal 101 and the frame signal (P0) 103 one raster before.
Is obtained by the gate circuit 104, and the result is added to the level signal (L0) 106 one raster before by the adder 105. The output signal 107 of the adder 105 corresponds to the provisional level signal calculated by the first main step of the in-frame detection algorithm described with reference to FIGS.

次に、枠信号101とこれをラッチ108により1画素分遅
延させた信号との排他的論理和がゲート回路109でとら
れる。このゲート回路109の出力信号110は連結領域の終
端を表わすので、以後領域終端信号という。そして、ク
ロック信号102に同期してカウントアップするカウンタ1
10の出力である座標信号112がラッチ回路113で領域終端
信号110が“1"の時にラッチされ、領域位置信号114とし
て出力される。領域終端信号110は枠から地、または地
から枠への境界を表し、領域位置信号114はその境界の
位置(x座標)を表す。
Next, an exclusive OR of the frame signal 101 and a signal obtained by delaying the frame signal 101 by one pixel by the latch 108 is obtained by the gate circuit 109. Since the output signal 110 of the gate circuit 109 indicates the end of the connection area, it is hereinafter referred to as an area end signal. The counter 1 counts up in synchronization with the clock signal 102.
The coordinate signal 112, which is the output of 10, is latched by the latch circuit 113 when the area end signal 110 is "1", and is output as the area position signal 114. The region end signal 110 indicates a boundary from the frame to the ground or from the ground to the frame, and the region position signal 114 indicates the position (x coordinate) of the boundary.

一方、領域最小値計算回路115によりレベル信号107の
連結領域内での最小値、すなわち代表レベル信号が計算
される。この領域最小値計算回路115は、具体的には最
小値回路116とラッチ回路117により構成され、ラッチ回
路117は領域終端信号110が“1"となる毎に、レベル最大
値(本実施例では“15")にセットされる。このラッチ
回路117の出力とレベル信号107のうち小さい方が最小値
回路116により検出され、ラッチ回路117にラッチされて
更新されることにより、連結領域内のレベル信号の最小
値が計算される。領域最小値計算回路115の出力信号118
は、第1図および第2図で説明した枠内検出アルゴリズ
ムの第2のメインステップにより計算される代表レベル
信号に対応している。
On the other hand, the area minimum value calculation circuit 115 calculates the minimum value of the level signal 107 in the connected area, that is, the representative level signal. The area minimum value calculation circuit 115 is specifically composed of a minimum value circuit 116 and a latch circuit 117. Each time the area end signal 110 becomes “1”, the latch circuit 117 sets the level maximum value (in this embodiment, “15”) is set. The smaller of the output of the latch circuit 117 and the level signal 107 is detected by the minimum value circuit 116, latched and updated by the latch circuit 117, and the minimum value of the level signal in the connection region is calculated. Output signal 118 of area minimum value calculation circuit 115
Corresponds to the representative level signal calculated in the second main step of the in-frame detection algorithm described with reference to FIGS. 1 and 2.

この代表レベル信号118は領域終端信号110に同期して
おり、連結領域単位の信号となっている。この連結領域
単位の信号を画素単位の信号に変換するために、レベル
信号118は1ラスタ分、メモリ部119に書き込まれる。す
なわち、メモリ部119には領域終端信号110が“1"になる
毎に枠信号101、代表レベル信号118および領域位置信号
114が書き込まれる。従って、メモリ部119への書き込み
語数は1ラスタの領域の数となる。メモリ部119に記憶
された情報は、次ラスタ処理時に領域位置信号114を参
照しながら、画素単位の信号として読み出される。具体
的にはメモリ部119から読み出された領域位置信号124
と、カウンタ111からの座標信号112を比較器125で比較
し、両者が等しくなる毎にメモリ部119内のRAM120のア
ドレスを1つずつインクリメントする。これによりメモ
リ部119から読出される枠信号103およびレベル信号106
は画素単位の信号となる。これらの枠信号103とレベル
信号106は1ラスタ前の情報を表し、次ラスタの計算に
用いられる。ここで、メモリ部119には2ラスタ分必要
であるが、本実施例では読出し用と書込み用の2つのア
ドレスカウンタ121,122を用い、切替器123によりアドレ
スを時分割で切り替えることにより、1ラスタ分のRAM1
20で済ませている。
This representative level signal 118 is synchronized with the area end signal 110, and is a signal for each connected area. In order to convert the signal in the unit of connected area into a signal in the unit of pixel, the level signal 118 is written into the memory unit 119 for one raster. That is, each time the area end signal 110 becomes “1”, the frame signal 101, the representative level signal 118, and the area position signal are stored in the memory unit 119.
114 is written. Therefore, the number of words to be written to the memory unit 119 is the number of areas of one raster. The information stored in the memory unit 119 is read out as a pixel unit signal while referring to the area position signal 114 at the time of the next raster processing. Specifically, the area position signal 124 read from the memory unit 119
And the coordinate signal 112 from the counter 111 is compared by a comparator 125, and the address of the RAM 120 in the memory unit 119 is incremented by one each time they become equal. Thus, frame signal 103 and level signal 106 read from memory unit 119
Is a signal in pixel units. These frame signal 103 and level signal 106 represent information of one raster earlier and are used for calculation of the next raster. Here, the memory unit 119 needs two rasters, but in the present embodiment, two address counters 121 and 122 for reading and writing are used, and the address is switched in a time-division manner by the switch 123 so that one raster is used. RAM1
I'm done with 20.

最後にゲート回路126により、メモリ部119から読出さ
れたレベル信号106の最下位ビットと枠信号103との論理
和がとられ、この論理和出力が枠内/枠外判定信号127
として出力される。枠内/枠外判定信号127は“1"が枠
内を表わし、“0"が枠外を表す。本実施例では枠線上を
領域外と見なしているが、このゲート回路126を変更す
ることにより、枠線部分を領域内と見なすように構成す
ることも可能である。
Finally, the gate circuit 126 performs a logical sum of the least significant bit of the level signal 106 read from the memory unit 119 and the frame signal 103, and outputs the logical sum of the inside / outside frame determination signal 127.
Is output as In the in-frame / out-frame determination signal 127, "1" indicates the inside of the frame, and "0" indicates the outside of the frame. In the present embodiment, the frame line is regarded as being outside the region. However, by changing the gate circuit 126, the frame line portion can be regarded as being within the region.

このように本発明に基づく枠内領域検出装置は簡易な
構成で実現できる。特に、1ラスタの代表レベル信号を
連結領域単位、つまりラン形式でメモリ部119に記憶す
ることにより、ランのデコードと次のラスタでの参照の
ための1ラスタ遅延を共通化できる、メモリ部119の容
量が小さくて済むなどの利点がある。
As described above, the in-frame area detection device according to the present invention can be realized with a simple configuration. In particular, by storing a representative level signal of one raster in the memory unit 119 in a connected area unit, that is, in a run format, one raster delay for decoding a run and referring to the next raster can be shared. There is an advantage that the capacity of the device can be small.

第20図は本発明の第2の実施例に係る枠内領域検出装
置のブロック図であり、代表レベル信号計算回路4の後
段に代表レベル信号修正回路6が挿入されている。この
実施例は換言すれば、第1の実施例におけるラスタ内の
レベル決定、すなわち代表レベル信号の計算のための第
2のメインステップを下記の<規則4>のように変形し
たものである。
FIG. 20 is a block diagram of an in-frame area detecting apparatus according to a second embodiment of the present invention. A representative level signal correction circuit 6 is inserted after the representative level signal calculation circuit 4. In this embodiment, in other words, the second main step for determining the level in the raster, that is, the calculation of the representative level signal in the first embodiment is modified as in the following <Rule 4>.

<規則4> 同一ラスタの中で枠画素同士、または地画素同士が隣
接していて、それらの画素のレベル信号が異なる場合
は、そのレベル信号の小さい方をそれらの画素の代表レ
ベル信号とする。これまでは第1の実施例における代表
レベル信号の計算と同じである。そして、本実施例では
代表レベル信号の修正処理として、枠画素と地画素が隣
接していて枠画素のレベル信号が地画素のレベル信号よ
り大きければ、地画素のレベル信号を枠画素のレベル信
号とする。また、枠画素と地画素が隣接していて、地画
素のレベル信号が枠画素のレベル信号+1より大きけれ
ば、枠画素のレベル信号+1を地画素のレベル信号とす
る(第21図参照)。
<Rule 4> When frame pixels or ground pixels are adjacent to each other in the same raster and their level signals are different, the smaller of the level signals is set as the representative level signal of those pixels. . Up to now, the calculation is the same as the calculation of the representative level signal in the first embodiment. In this embodiment, as a process of correcting the representative level signal, if the frame pixel and the ground pixel are adjacent to each other and the level signal of the frame pixel is larger than the level signal of the ground pixel, the level signal of the ground pixel is changed to the level signal of the frame pixel. And If the frame pixel and the ground pixel are adjacent to each other and the level signal of the ground pixel is larger than the level signal +1 of the frame pixel, the level signal +1 of the frame pixel is set as the level signal of the ground pixel (see FIG. 21).

以上の規則を式で表すと下式のようになる。 The above rule can be expressed by the following equation.

if [(P(x,y)=P(x+1,y)] and[L(x,y)≠L(x+1,y)] then L(x,y)=L(x+1,y) =Min[L(x,y),L(x+1,y)] if [P(x,y)=1]and[P(x+1,y)=0] and[L(x,y)>L(x+1,y)] then L(x,y)=L(x+1,y) if [P(x,y)=1]and[P(x+1,y)=0] and[L(x,y)+1<L(x+1,y)] then L(x+1,y)=L(x,y)+1 if [P(x,y)=0]and[P(x+1,y)=1] and[L(x,y)<L(x+1,y)] then L(x+1,y)=L(x,y) if [P(x,y)=0]and[P(x+1,y)=1] and[L(x,y)>L(x+1,y)+1] then L(x,y)=L(x+1,y)+1 以上の条件を満たす画素の組が当該ラスタ内になくな
るまで以上の処理を繰り返す。本実施例においては、第
20図の枠内/枠外判定回路7における判定動作は、第1
の実施例である第1図の枠内/枠外判定回路5における
それとは少し異なったものとなる。本実施例により決定
された画素Pのレベル信号は画像の上端部から画素Pへ
の下方距離を表すが、下方へ辿る経路の定義が下記の定
義2によるものとなっている。
if [(P (x, y) = P (x + 1, y)] and [L (x, y) ≠ L (x + 1, y)] then L (x, y) = L (x + 1, y) = Min [ L (x, y), L (x + 1, y)] if [P (x, y) = 1] and [P (x + 1, y) = 0] and [L (x, y)> L (x + 1, y )] Then L (x, y) = L (x + 1, y) if [P (x, y) = 1] and [P (x + 1, y) = 0] and [L (x, y) +1 <L ( x + 1, y)] then L (x + 1, y) = L (x, y) +1 if [P (x, y) = 0] and [P (x + 1, y) = 1] and [L (x, y) <L (x + 1, y)] then L (x + 1, y) = L (x, y) if [P (x, y) = 0] and [P (x + 1, y) = 1] and [L (x, y) y)> L (x + 1, y) +1] then L (x, y) = L (x + 1, y) +1 The above processing is repeated until there is no pixel set satisfying the above condition in the raster. In the
The judgment operation in the inside / outside frame judgment circuit 7 in FIG.
This is slightly different from that of the in-frame / out-of-frame determination circuit 5 of FIG. The level signal of the pixel P determined according to the present embodiment indicates the downward distance from the upper end of the image to the pixel P, and the definition of the path following the downward direction is based on the definition 2 below.

定義2:下方へ経路とは隣接する左右方向または下方向
の画素へと辿る経路とする。
Definition 2: A downward path is a path that follows an adjacent pixel in the horizontal direction or downward direction.

すなわち、第1の実施例では異種の画素間では左右方
向への経路が許されなかったのに対し、本実施例ではこ
の制約がなくなっている。従って、第1の実施例では適
確に判定しにくい枠線図形の場合でも、正しい判定が可
能である。第14図の例で説明する。この例は枠線の「ひ
げ」が極端に大きい場合で、「ひげ」の部分の分かれ目
92および「ひげ」の先端93の両方が枠線の下に窄まって
いる点まで延びている。この場合、第1の実施例による
と上端から枠線の内部の領域への経路は必ず2回以上枠
線を越える必要があるため、この枠線の内部のネストレ
ベルは全て“2"となり、枠外と判定される。但し、通常
このような枠線が生ずることは希と考えられ、実用上は
大きな問題はない。これに対し、第2の実施例によれば
例えば枠線の中でラスタ94より下の領域は枠内と判定さ
れる。このため、第1の実施例よりさらにノイズなどに
強い枠内領域検出が可能となる。
That is, in the first embodiment, a path in the left-right direction is not allowed between different kinds of pixels, but in this embodiment, this restriction is eliminated. Therefore, even in the case of a frame figure that is difficult to determine accurately in the first embodiment, correct determination can be made. This will be described with reference to the example of FIG. In this example, the border of the "beard" is extremely large.
Both 92 and the tip 93 of the "whisker" extend to the point where it narrows below the border. In this case, according to the first embodiment, since the route from the upper end to the area inside the frame must necessarily cross the frame at least twice, the nesting levels inside this frame are all "2", It is determined to be out of the frame. However, it is considered rare that such a frame line usually occurs, and there is no serious problem in practical use. On the other hand, according to the second embodiment, for example, an area below the raster 94 in the frame line is determined to be inside the frame. For this reason, it is possible to detect the in-frame area that is more resistant to noise and the like than in the first embodiment.

なお、第1および第2の実施例では上方向の隣接関係
として第17図(a)に示す現ラスタの当該画素の真上の
全ラスタの1画素だけを定義しているが、他の隣接関係
の例として同図(b)に示すように真上と右斜め上(ま
たは左斜め上)の2画素、同図(c)に示すように真上
と右斜め上と左斜め上の3画素という考え方をしてもよ
い。この場合の第1のメインステップにおけるレベル信
号の計算アルゴリズムは、まず複数の上隣接画素から<
規則1>に従って当該画素の仮レベル信号を計算し、こ
れらの最小値を当該画素の代表レベル信号とすればよ
い。特に、第17図(b)は枠領域と地領域が交差してい
る場合、必ずいずれか一方の領域が互いに隣接するとい
う特徴を持つ。
In the first and second embodiments, only one pixel of the entire raster immediately above the pixel of the current raster shown in FIG. 17A is defined as the adjacent relationship in the upward direction. As an example of the relationship, two pixels right above and diagonally above right (or diagonally above left) as shown in FIG. 4B, and three pixels right above, diagonally above right and diagonally above left as shown in FIG. The concept of a pixel may be used. In this case, the algorithm for calculating the level signal in the first main step is as follows.
The provisional level signal of the pixel may be calculated according to Rule 1>, and the minimum value thereof may be used as the representative level signal of the pixel. In particular, FIG. 17 (b) has a feature that when the frame area and the ground area intersect, one of the areas is always adjacent to the other.

その他、本発明は種々変形して実施することが可能で
ある。
In addition, the present invention can be implemented with various modifications.

[発明の効果] 本発明によれば、二重以上の多重枠線や下凹形状の枠
線に囲まれた領域においても、下凹の部分や二重枠の内
部を枠の外と判定でき、また手書きにより生じる「ひ
げ」などのノイズに対しても安定に判定することが可能
である。さらに、本発明では主走査方向でのネストレベ
ルの最小値、すなわち代表レベル信号の計算に際して、
連結領域単位への変換を利用でき、簡易な回路で実現が
可能となる。従って、枠線を記入する上でユーザに対す
る制約が少なく、しかも回路規模の小さい枠内検出装置
を提供することができる。
[Effects of the Invention] According to the present invention, even in a region surrounded by a double or more multiple frame line or a lower concave frame line, the lower concave portion or the inside of the double frame can be determined to be outside the frame. It is also possible to stably determine noise such as "whiskers" generated by handwriting. Further, in the present invention, when calculating the minimum value of the nest level in the main scanning direction, that is, the representative level signal,
The conversion into the connected area unit can be used, and it can be realized with a simple circuit. Therefore, it is possible to provide an in-frame detection device that has less restrictions on the user in writing the frame line and has a small circuit scale.

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

第1図は本発明の第1の実施例に係る枠内領域検出装置
の概略構成を示すブロック図、第2図は同実施例におけ
る枠内検出のアルゴリズムの概略を示す図、第3図は第
2図のアルゴリズムの一部を詳細に示す図、第4図は画
像上の座標軸の設定を説明する図、第5図は同アルゴリ
ズムの第1のメインステップの内容を説明するための
図、第6図は同じく第2のメインステップの内容を説明
するための図、第7図および第8図はレベル信号と下方
距離とが等価であることを説明するための図、第9図〜
第14図は同実施例による枠内領域検出の具体例を説明す
るための図、第15図は第1図の枠内領域検出装置の要部
を詳細に示す回路図、第16図は第15図の動作を説明する
ためのタイムチャート、第17図は画素の上下の隣接関係
の定義を説明するための図、第18図は最小枠越え経路と
距離について説明するための図、第19図は下方最小枠越
え経路と下方距離について説明するため図、第20図は本
発明の第2の実施例に係る枠内領域検出装置の概略構成
を示すブロック図、第21図は同実施例における第2のメ
インステップを説明するための図である。 1……画像入力部 2……枠信号発生回路 3……仮レベル信号計算回路 4……代表レベル信号計算回路 5,7……枠内/枠外領域判定回路 6……代表レベル信号修正回路 101……現ラスタの枠信号 103……1ラスタ前の枠信号 106……1ラスタ前の代表レベル信号 107……仮レベル信号 118……現ラスタの代表レベル信号 127……枠内/枠外判定信号
FIG. 1 is a block diagram showing a schematic configuration of an in-frame area detecting apparatus according to a first embodiment of the present invention, FIG. 2 is a diagram showing an outline of an in-frame detection algorithm in the embodiment, and FIG. FIG. 2 is a diagram showing a part of the algorithm of FIG. 2 in detail, FIG. 4 is a diagram for explaining setting of coordinate axes on an image, FIG. 5 is a diagram for explaining contents of a first main step of the algorithm, FIG. 6 is a diagram for explaining the contents of the second main step, FIGS. 7 and 8 are diagrams for explaining that the level signal and the lower distance are equivalent, and FIGS.
FIG. 14 is a diagram for explaining a specific example of the in-frame area detection according to the embodiment, FIG. 15 is a circuit diagram showing in detail a main part of the in-frame area detection device of FIG. 1, and FIG. FIG. 17 is a time chart for explaining the operation of FIG. 15, FIG. 17 is a diagram for explaining the definition of the upper and lower adjacent relationship of the pixels, FIG. 18 is a diagram for explaining the minimum over-frame route and the distance, and FIG. FIG. 20 is a diagram for explaining a lower minimum frame passing path and a lower distance, FIG. 20 is a block diagram showing a schematic configuration of an in-frame area detecting apparatus according to a second embodiment of the present invention, and FIG. FIG. 9 is a diagram for explaining a second main step in FIG. DESCRIPTION OF SYMBOLS 1 ... Image input part 2 ... Frame signal generation circuit 3 ... Tentative level signal calculation circuit 4 ... Representative level signal calculation circuit 5,7 ... In-frame / out-frame area determination circuit 6 ... Representative level signal correction circuit 101 ... Current raster frame signal 103... One raster previous frame signal 106... One raster previous level signal 107... Temporary level signal 118... Current raster representative level signal 127...

───────────────────────────────────────────────────── フロントページの続き (72)発明者 樋口 和彦 神奈川県川崎市幸区小向東芝町1番地 株式会社東芝総合研究所内 (56)参考文献 特開 平3−17783(JP,A) 特開 平3−17787(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06T 7/40 ────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kazuhiko Higuchi 1 Toshiba Research Institute, Komukai, Kawasaki City, Kanagawa Prefecture (56) References JP-A-3-17783 (JP, A) JP Hei 3-17787 (JP, A) (58) Fields studied (Int. Cl. 6 , DB name) G06T 7/40

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】枠線を含む画像を走査して得られた入力画
像信号から、前記画像上の枠線で囲まれた枠内領域を検
出する枠内領域検出方法において、 前記入力画像信号について画素毎に枠線部分か否かを判
定して2値の枠信号を生成し、 前記入力画像信号の現画素について、該現画素に隣接す
る前画素の枠信号と該前画素のレベル信号および該現画
素の枠信号から仮レベル信号を計算し、 該仮レベル信号が計算された現画素列について、枠信号
の値が等しく連続する連結領域を検出し、該連結領域内
の各画素の仮レベル信号の値から該連結領域内の画素の
レベル信号を計算し、 該連結領域内の画素のレベル信号の値から枠線の内外を
判定して前記枠内領域を検出することを特徴とする枠内
領域検出方法。
1. An in-frame area detecting method for detecting an in-frame area surrounded by a frame line on an image from an input image signal obtained by scanning an image including the frame line. A binary frame signal is generated for each pixel by determining whether or not the pixel is a frame portion. For a current pixel of the input image signal, a frame signal of a previous pixel adjacent to the current pixel, a level signal of the previous pixel, and A tentative level signal is calculated from the frame signal of the current pixel, a connected region in which the frame signal values are equal and continuous is detected for the current pixel column in which the tentative level signal is calculated, and a temporary region of each pixel in the connected region is detected. Calculating a level signal of a pixel in the connected area from a value of the level signal, and determining an inside or outside of the frame from the value of the level signal of the pixel in the connected area to detect the area within the frame. A method for detecting the area within the frame.
【請求項2】枠線を含む画像を走査して得られた入力画
像信号から、前記画像上の枠線で囲まれた枠内領域を検
出する枠内領域検出方法において、 前記入力画像信号について画素毎に枠線部分か否かを判
定して2値の枠信号を生成し、 前記入力画像信号の現画素について、該現画素に隣接す
る前画素の枠信号と該前画素のレベル信号および該現画
素の枠信号から仮レベル信号を計算し、 該仮レベル信号が計算された現画素列について、枠信号
の値が等しく連続する連結領域を検出し、該連結領域内
の各画素の仮レベル信号の値から該連結領域内の画素の
レベル信号を計算し、 該連結領域内の画素のレベル信号を隣接する連結領域内
の画素のレベル信号と枠信号の関係を用いて修正し、 この修正されたレベル信号の値から枠線の内外を判定し
て前記枠内領域を検出することを特徴とする枠内領域検
出方法。
2. An in-frame area detection method for detecting an in-frame area surrounded by a frame on an image from an input image signal obtained by scanning an image including the frame. A binary frame signal is generated for each pixel by determining whether or not the pixel is a frame portion. For a current pixel of the input image signal, a frame signal of a previous pixel adjacent to the current pixel, a level signal of the previous pixel, and A tentative level signal is calculated from the frame signal of the current pixel, a connected region in which the frame signal values are equal and continuous is detected for the current pixel column in which the tentative level signal is calculated, and a temporary region of each pixel in the connected region is detected. Calculating the level signal of the pixel in the connected region from the value of the level signal, correcting the level signal of the pixel in the connected region using the relationship between the level signal of the pixel in the adjacent connected region and the frame signal; Judge the inside and outside of the frame from the corrected level signal value Frame area detecting method and detecting the frame region Te.
JP2340409A 1990-11-30 1990-11-30 Area detection method Expired - Fee Related JP2995342B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2340409A JP2995342B2 (en) 1990-11-30 1990-11-30 Area detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2340409A JP2995342B2 (en) 1990-11-30 1990-11-30 Area detection method

Publications (2)

Publication Number Publication Date
JPH04205680A JPH04205680A (en) 1992-07-27
JP2995342B2 true JP2995342B2 (en) 1999-12-27

Family

ID=18336670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2340409A Expired - Fee Related JP2995342B2 (en) 1990-11-30 1990-11-30 Area detection method

Country Status (1)

Country Link
JP (1) JP2995342B2 (en)

Also Published As

Publication number Publication date
JPH04205680A (en) 1992-07-27

Similar Documents

Publication Publication Date Title
JP3302147B2 (en) Document image processing method
US20020028028A1 (en) Image processing apparatus, image processing method, and storage medium
US4855933A (en) Line figure connecting apparatus
JP2995342B2 (en) Area detection method
US5119445A (en) Feature extracting method
US5014331A (en) Method of detecting an internal point within a closed area
US20090115867A1 (en) Image processing apparatus, image processing method, image processing program, and program recording medium
JPS6311832B2 (en)
JP2786355B2 (en) How to determine the attributes of text images
JP2947566B2 (en) In-frame area detection device
JPH03126181A (en) Area dividing method for document image
JPS5935270A (en) Picture element density converter
JP2881066B2 (en) How to determine the attributes of text images
JPH02130692A (en) Feature extracting circuit
JP2716894B2 (en) Labeling circuit for image processing
JPH0374071B2 (en)
JPH0546758A (en) Method for processing image
JPS60236362A (en) Picture information processing method
JPS61157158A (en) Picture processing device
JPH11328424A (en) Method and circuit for edge detection
JPH0227486A (en) Picture enlarging/reducing device
CN117010351A (en) Processing method and device for form oblique lines, electronic equipment and storage medium
JPS6253869B2 (en)
JPH0525222B2 (en)
JPS5856079A (en) Character segmenting device of optical character reader

Legal Events

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