JPH04205680A - Intra-frame area detection device - Google Patents

Intra-frame area detection device

Info

Publication number
JPH04205680A
JPH04205680A JP34040990A JP34040990A JPH04205680A JP H04205680 A JPH04205680 A JP H04205680A JP 34040990 A JP34040990 A JP 34040990A JP 34040990 A JP34040990 A JP 34040990A JP H04205680 A JPH04205680 A JP H04205680A
Authority
JP
Japan
Prior art keywords
frame
pixel
signal
level signal
level
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.)
Granted
Application number
JP34040990A
Other languages
Japanese (ja)
Other versions
JP2995342B2 (en
Inventor
Tadashi Yamamoto
直史 山本
Yuzo Koike
小池 祐三
Kazuhiko Higuchi
和彦 樋口
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
Original Assignee
Toshiba 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 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)

Abstract

PURPOSE:To rationally detect an intra-frame area as against a double frame and the frame of a lower recessed part by calculating the level signals of the frame and ground and detecting the nest level of the frame, namely, how many numbered fold frame against the outermost side. CONSTITUTION:An intra-frame area detection device consists of a picture input part 1, a binarization circuit 2, a temporary level signal calculation circuit 3, a representative level signal calculation circuit 4 and an in-frame/out-frame judgement circuit 5. The attributes of levels are given to both the frame line part constituting the frame and a around part being a part excepting the above part and they are set to be frame signals. The level signal showing the nest level are sequentially calculated by connection relation with a former raster and the depth of the ground or the frame is detected in accordance with the calculated level signal. Thus, the intra-frame area is detected. Thus, the intra- frame area can easily be detected from the frame line of a complicated shape such as the lower recessed part and the multiplex frame, and a processing becomes simple, whereby a circuit scale can be reduced.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は画像処理装置に係り、特に画像の編集・加工の
対象となる領域を枠線により指定するために、画像の枠
線で囲まれた領域(枠内領域)を検出する枠内領域検出
装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to an image processing device, and in particular, the present invention relates to an image processing device, and particularly to an image processing device for specifying an area to be edited or processed using a frame line. The present invention relates to a frame area detection device that detects an area surrounded by a frame line (frame area).

(従来の技術) 画像の加工・編集のための領域指定の方法として、枠線
による□方法が知られている(例えば文献1:西村他、
画電誌vo1.17. PP328−338 。
(Prior art) As a method for specifying an area for image processing and editing, the □ method using frame lines is known (for example, Document 1: Nishimura et al.
Picture magazine vol1.17. PP328-338.

1988参照)。これは領域の境界を表す枠線を作成し
、この枠線の内部を領域として指定するものである。こ
の方式はタブレットや座標入力による従来の領域指定方
式に比べ、自由な形状の領域が容易に指定できる、領域
を原画像と同一面上で指定できるので、原画像との対応
が分かりやすいという長所かある。
(see 1988). This creates a frame line that represents the boundary of an area, and specifies the area inside this frame line. Compared to the conventional area specification method using a tablet or coordinate input, this method has the advantage that a free-shaped area can be specified easily, and since the area can be specified on the same plane as the original image, it is 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 (intra-frame area) is essential. For example, the following method is known as a method for detecting a frame area. First, the outermost part of the image is defined as an out-of-frame part, and the presence or absence of pixels adjacent to this out-of-frame part is sequentially checked. Pixels adjacent to the outside-of-frame portion are determined to be outside-of-frame pixels, pixels that are not determined to be outside-of-frame pixels are determined to be within-frame pixels, and areas of pixels within the frame are detected as within-frame regions. With this method, a frame area can be detected by simple processing from an image signal obtained by raster scanning an image.

しかし、検出できる枠線は位相的にかなり単純な図形に
限られ、いわゆる下問(画面上で下側に四部を有する形
状)や多重枠などの複雑な形状を持つ枠線から枠内領域
を正しく検出することは困難であった。
However, the frame lines that can be detected are limited to figures that are topologically quite simple, and the area within the frame can be detected from frames with complex shapes such as so-called lower parts (shapes with four parts at the bottom on the screen) and multiple frames. It was difficult to detect correctly.

そこで、ネストレベルを用いて枠内領域を検出する方法
も知られている。これは画像信号の枠線部分とそれ以外
の地部分にレベルの属性を与えて、2値の枠信号を発生
させるとともに、前ラスタとの連結関係より順次現ラス
タの各画素のネストレベルを示すレベル信号を計算して
行き、このレベル信号からその画素について枠内/枠外
の判定を行う方法である。この方法によれば、下問や多
重枠などの形状の枠線からも、簡易なラスタ単位の処理
で正しく枠内領域を検出することができ、また枠線のひ
げに対する検出の安定性も高い。しかし、この方法では
現ラスタのレベル信号の計算と、枠信号の値が等しく連
続する連結領域(ランという)単位のレベル信号への変
換とを同時に行う必要があり、処理が複雑である。枠内
検出は通常、ラスタ走査により得られた画像信号に対し
適用されるため、このような処理の複雑さはそのまま回
路規模の増大につながる。
Therefore, a method of detecting a frame area using a nesting level is also known. This gives a level attribute to the frame line part and other ground parts of the image signal, generates a binary frame signal, and also indicates the nesting level of each pixel of the current raster sequentially based on the connection relationship with the previous raster. In this method, a level signal is calculated, and based on this level signal, it is determined whether the pixel is inside the frame or outside the frame. According to this method, it is possible to correctly detect the area within the frame using simple raster-based processing even from frames with shapes such as question marks or multiple frames, and the detection stability for frame lines is also highly stable. . However, in this method, it is necessary to simultaneously calculate the level signal of the current raster and convert the frame signal into a level signal in units of connected regions (runs) in which the values are equal and continuous, and the processing is complicated. Since within-frame detection is usually applied to image signals obtained by raster scanning, the complexity of such processing directly leads to an increase in circuit scale.

(発明が解決しようとする課8) 上述したように、従来のネストレベルを用いて枠線領域
を検出する方法では、下問や多重枠などの複雑な形状の
枠線からも枠内領域を比較的容易に検出できる半面、レ
ベル信号の計算と連結領域単位へのレベル信号の変換と
を同時に行うという複雑な処理を必要とするため、回路
規模が増大するという問題があった。
(Question 8 to be solved by the invention) As mentioned above, in the conventional method of detecting frame line areas using nest levels, it is difficult to detect frame areas even from frames with complex shapes such as lower questions and multiple frames. Although it is relatively easy to detect, it requires complex processing of simultaneously calculating the level signal and converting the level signal into connected area units, resulting in an increase in circuit scale.

本発明は下問や多重枠などの複雑な形状の枠線からも枠
内領域を容易に検出でき、また処理が単純で回路規模を
小さくできる枠内領域検出装置を提供することを目的と
する。
SUMMARY OF THE INVENTION An object of the present invention is to provide an in-frame area detection device that can easily detect an in-frame area even from a frame line with a complicated shape such as a question mark or multiple frames, and can perform simple processing and reduce the circuit scale. .

[発明の構成] (課題を解決するための手段) 本発明では、枠を構成する枠線部分とそれ以外の部分で
ある地部分の両方にレベルの属性を与えて枠信号とし、
前ラスタとの連結関係により順次ネストレベルを示すレ
ベル信号を計算して行き、計算されたレベル信号に従っ
て地または枠のネストの深さを検出することにより、枠
内領域の検出を行う。さらに、レベル信号の計算を前ラ
スタの隣接する画素のみを参照する仮レベル信号の計算
と同一ラスク内でのレベル信号(代表レベル信号)の計
算とに分けて行う。
[Structure of the Invention] (Means for Solving the Problems) In the present invention, level attributes are given to both the frame line portion constituting the frame and the ground portion which is the other portion to form a frame signal,
A level signal indicating the nest level is sequentially calculated based on the connection relationship with the previous raster, and the nest depth of the ground or 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 calculation of a temporary level signal that refers only to adjacent pixels of the previous raster, and calculation of a level signal (representative level signal) within the same raster.

すなわち、本発明は枠線を含む画像をラスタ走査して得
られた入力画像信号から、前記画像上の枠線で囲まれた
枠内領域を検出する装置において、入力画像信号につい
て画素毎に枠線部分か否かを判定し、判定結果として2
値の枠信号を発生する枠信号発生手段と、入力画像信号
の現ラスタの画素について隣接する前ラスタの画素の枠
信号とレベル信号および該現ラスタの画素の枠信号より
仮レベル信号を計算する仮レベル信号計算手段と、この
手段により仮レベル信号が計算された現ラスタ上の画素
列から枠信号の値が等しく連続する連結領域を検出し、
この連結領域内の各画素の仮レベル信号の値から連結領
域内の全画素のレベル信号(代表レベル信号)を計算す
るレベル信号計算手段と、この手段により計算されたレ
ベル信号の値から枠線の内外を判定する手段とを具備す
ることを特徴とする。
That is, the present invention provides an apparatus for detecting a frame area surrounded by a frame line on an image from an input image signal obtained by raster scanning an image including a frame line. Determine whether it is a line part or not, and the determination result is 2.
a frame signal generating means for generating a frame signal of a value, and calculating a temporary level signal from a frame signal and a level signal of an adjacent pixel of a previous raster and a frame signal of a pixel of the current raster for a pixel of the current raster of the input image signal. a temporary level signal calculation means; detecting a connected area in which the value of the frame signal is continuous and equal from the pixel row on the current raster for which the temporary level signal has been calculated by the means;
A level signal calculation means for calculating the level signal (representative level signal) of all pixels in the connected region from the value of the temporary level signal of each pixel in the connected region, and a frame line from the value of the level signal calculated by this means. The device is characterized by comprising a means for determining whether it is inside or outside.

レベル信号計算手段により計算されたレベル信号を互い
に隣接する連結領域のレベル信号と枠信号の関係を用い
て修正するレベル信号修正手段を付加し、この手段によ
り修正されたレベル信号の値から枠線の内外を判定する
ようにしてもよい。
Level signal correction means for correcting the level signal calculated by the level signal calculation means using the relationship between the level signal and frame signal of mutually adjacent connected areas is added, and the frame line is calculated from the value of the level signal corrected by this means. It may also be possible to determine whether the object is inside or outside.

また、各画素の代表レベル信号の計算は、画像走査開始
端からの下方距離を画素毎に計算することと等価である
ので、この下方距離の値からその画素の枠線の内外を判
定してもよい。ここで、「画像走査開始端からの下方距
離」とは画像走査開始端から隣接する画素を順次下方に
辿る経路のうち、枠線部分の画素から枠線部分でない画
素への移動数が最少の経路での前記移動数で定義される
。「下方に辿る」とは枠画素から枠画素、または他画素
から他画素へ移動する場合は副走査方向の逆方向以外の
いずれかの方向へ辿り、枠画素から他画素または他画素
から枠画素へ移動する場合は副走査方向へ辿ることを意
味する。
In addition, calculating the representative level signal of each pixel is equivalent to calculating the downward distance from the image scanning start edge for each pixel, so from the value of this downward distance, it is determined whether the pixel is inside or outside the frame line. Good too. Here, "downward distance from the image scanning start edge" refers to the path that sequentially traces adjacent pixels downward from the image scanning start edge, the one that has the least number of movements from a pixel in the frame line area to a pixel that is not in the frame line area. Defined by the number of movements on the route. "Tracing downward" means to move from a frame pixel to a frame pixel, or from another pixel to another pixel, in any direction other than the reverse direction of the sub-scanning direction, from a frame pixel to another pixel or from another pixel to a frame pixel. When moving to , it means tracing in the sub-scanning direction.

(作用) このように枠および地のレベル信号を計算することによ
り、その枠のネストレベル、すなわち最も外側に対して
の何重目の枠であるかが検出され、これにより2重枠や
下回などの枠に対しても、合理的な枠内領域の検出が折
割れるとともに、手書きの枠を形成する際に生ずる「ひ
げ」などの影響も除去される。さらに、レベル信号の計
算に際して前ラスタを参照する仮レベル信号の計算と、
同一ラスタを参照するレベル信号の計算とを分離して行
うことにより、計算処理が単純化され、ひいては回路規
模が小さくなる。
(Function) By calculating the frame and ground level signals in this way, the nest level of the frame, that is, how many layers of the frame it is in relation to the outermost frame, is detected, which allows for double frames and lower For frames such as ``times'', it is possible to rationally detect areas within the frame, and the effects of "whiskers" that occur when forming handwritten frames are also removed. Furthermore, calculating a temporary level signal by referring to the previous raster when calculating the level signal;
By performing the calculation of the level signal that refers to the same raster separately, the calculation process is simplified and the circuit scale is reduced.

(実施例) 第1図は本発明の第1の実施例に係る枠内領域検出装置
の概略構成を示すブロック図である。
(Embodiment) FIG. 1 is a block diagram showing a schematic configuration of an in-frame area detection device according to a first embodiment of the present invention.

この枠内領域検出装置は、画像入力部1.2値化回路2
、仮レベル信号計算回路3、代表レベル信号計算回路4
および枠内/枠外判定回路5によって構成される。
This in-frame area detection device includes an image input section 1, a binarization circuit 2
, temporary level signal calculation circuit 3, 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)を出力する。
An 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 converter.
This is a device that performs correction processing such as shading correction after conversion and then outputs it. The frame signal generation circuit 2 is the image input section 1
The image signal from 2 is divided into the frame line part and the other ground part based on appropriate criteria such as density or chromaticity, and the value is "1" for the frame line part and "0" for the ground part2. A frame signal P (x, y) consisting of value signals is output.

但し、枠線部分とは枠線の描かれている部分であり、地
部分とはそれ以外の部分である。また、X、yは座標を
表す。仮レベル信号計算回路3、代表レベル信号計算回
路4および枠内/枠外判定回路5は、以下のアルゴリズ
ムにより枠信号から枠内領域、つまり原稿上に例えば特
定の色で記入された枠線で囲まれた領域を検出する。
However, the frame line part is the part where the frame line is drawn, and the ground part is the other part. Moreover, X and y represent coordinates. The temporary level signal calculation circuit 3, the representative level signal calculation circuit 4, and the inside/outside-frame determination circuit 5 use the following algorithm to calculate the area within the frame from the frame signal, that is, to surround the document with a frame line drawn in a specific color, for example. Detect areas where

第2図および第3図は本実施例における枠内領域検出処
理のアルゴリズムを示している。説明の便宜上、第4図
に示すように、画像の上左隅を原点とし、左右方向をX
軸(右を正)上下方向をy軸(下を正)とし、画像の範
囲を1≦−10= X≦xmax、1≦y≦y maxとする。また、X軸
方向の1ラインをラスタと呼び、y座標かyOのラスタ
12を第yOラスタと呼ぶ。また、画像の上端にy座標
がOのラスタ11を仮想的に考え、これを画像の上端部
と呼ぶ。以下、説明に用いる図は全てこの座標軸を用い
るものとする。
FIG. 2 and FIG. 3 show an algorithm for in-frame area detection processing in this embodiment. For convenience of explanation, as shown in Figure 4, the upper left corner of the image is taken as the origin, and the left and right direction is
The axis (right is positive), the vertical direction is the y-axis (bottom is positive), and the range of the image is 1≦−10=X≦xmax, 1≦y≦ymax. Further, one line in the X-axis direction is called a raster, and the raster 12 at the y coordinate or yO is called the yO-th raster. Furthermore, a raster 11 with a y-coordinate of O at the top end of the image is hypothetically considered, and this is called the top end of the image. Hereinafter, all the figures used for explanation use this coordinate axis.

第2図に示すように本アルゴリズムでは、画像の各画素
にネストレベルを表わすレベル信号L (x、y)を定
義し、枠信号および既に計算された領域のレベル信号を
用いて、再帰的に第1ラスクから順次レベル信号L (
x、y)を計算して行く。すなわち、まずラスタ11の
レベル信号L (x、0)を0としくステップ511)
、枠信号P (x、1) 、  P (X、0)および
レベル信号L (X、0)より、レベル信号L(x、l
)を計算する(ステップ312〜813)。但し、画像
の上端部の枠信号P (x、0)は全て0、すなわち他
画素とし、上端部のレベル信号L (x、0)もOとし
ておく。
As shown in Figure 2, this algorithm defines a level signal L (x, y) representing the nest level for each pixel of the image, and recursively uses the frame signal and the level signal of the already calculated area. The level signal L (
x, y). That is, first, the level signal L (x, 0) of raster 11 is set to 0 (step 511).
, from the frame signals P (x, 1), P (X, 0) and the level signal L (X, 0), the level signal L (x, l
) is calculated (steps 312-813). However, the frame signal P (x, 0) at the upper end of the image is set to all 0, that is, other pixels, and the level signal L (x, 0) at the upper end is also set to O.

次に、計算したレベル信号L(X、1)および枠信−1
] − 号P(x、I)より、画素Qについて枠内/枠外の判定
を行う(ステップ514)。次に、計算したレベル信号
L(X、l)および枠信号P(x、l)。
Next, the calculated level signal L (X, 1) and frame signal -1
] - Based on the number P(x, I), it is determined whether the pixel Q is inside the frame or outside the frame (step 514). Next, the calculated level signal L(X, l) and frame signal P(x, l).

P(X’、2)を参照して、レベル信号L (X、2)
を計算する。以下、同様にレベル信号L (x、y−1
)と枠信号P (x、y−1) 、 P (x、y)を
参照してレベル信号L (x、y)を計算し、枠内/枠
外判定するという手順をyを1ずつ増しながら、Y =
 ymaXまで順次繰り返していく (ステップ813
〜516)。
With reference to P(X', 2), the level signal L (X, 2)
Calculate. Below, level signal L (x, y-1
) and the frame signals P (x, y-1) and P (x, y) to calculate the level signal L (x, y) and determine whether it is inside the frame or outside the frame while increasing y by 1. , Y =
Repeat sequentially up to ymaX (step 813
~516).

ラスタ内でのレベル信号計算、すなわち第y−1ラスク
の枠信号P (x、y−1)およびレベル信号L (x
、y−1)と第yラスタの枠信号P (x、y)からレ
ベル信号L (x、y)を計算するアルゴリズム(ステ
ップ813)の詳細を第3図に示す。
Level signal calculation within the raster, that is, the frame signal P (x, y-1) and level signal L (x
, y-1) and the frame signal P (x, y) of the y-th raster to calculate the level signal L (x, y) (step 813) in detail in FIG.

この計算は大きく分けて2つのメインステップよりなる
。まず第1のメインステップとして、座標(x、y)の
画素Qの枠信号と画素Qの上に隣接する座標(x、y−
])の画素QOの枠信号を比較し、その組合わせ(第5
図参照)により下記のく規則1〉に従って座標(x、y
)の仮のネストレベルを表わす仮レベル信号L (x、
y)を計算する。
This calculation consists of two main steps. First, as the first main step, the frame signal of pixel Q at coordinates (x, y) and the coordinates (x, y-
]), and compare the frame signals of the pixel QO of
(see figure), the coordinates (x, y
) A temporary level signal L (x,
y).

これをX軸方向の各画素について行う(ステップ821
〜524)。
This is done for each pixel in the X-axis direction (step 821
~524).

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

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

B   P (x、y) = 1 、  P O(x、
y−1)= 0then  L (x、y) = L 
(x、y−1>(C)画素Qが地でかっ、隣接する画素
QOが枠の場合、画素QOのネストレベル+1を画素Q
のネストレベルとする。
B P (x, y) = 1, P O (x,
y-1) = 0then L (x, y) = L
(x, y-1>(C) If pixel Q is large and the adjacent pixel QO is a frame, set the nesting level of pixel QO + 1 to pixel Q
Let the nesting level be .

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

i[P (X、!/) = O、P O(x、y−1)
= 0ihen  L (x、y) = L (x、y
−1)上記の処理により、第yラスタの各画素の仮レベ
ル信号L(x、y)が決定したら、第2のメインステッ
プとして、以下のく規則2〉によりラスタyの中で、横
方向に隣接する画素の枠信号と仮レベル信号の関係(第
6図参照)により、代表レベル信号の計算を行う(ステ
ップ825〜526)。
i[P (X,!/) = O, P O(x, y-1)
= 0ihen L (x, y) = L (x, y
-1) After the temporary level signal L(x, y) of each pixel of the y-th raster is determined by the above processing, as a second main step, the A representative level signal is calculated based on the relationship between the frame signal of the pixel adjacent to and the temporary level signal (see FIG. 6) (steps 825 to 526).

〈規則2〉 第yラスタの中で条件1を満たす隣接画素の組(x、y
) 、 (x+1.y)かあれば、それらの画素に対し
処理1を行う。これを条件1を満たす画素の組がなくな
るまで、繰り返す。
<Rule 2> A set of adjacent pixels (x, y
), (x+1.y), process 1 is performed on those pixels. This process is repeated until there are no more pairs of pixels that satisfy condition 1.

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

処理2:画素Ql、Q2のうちレベル信号の大きい方の
画素のレベル信号を小さい方のレベル信号に変更する。
Process 2: Change the level signal of the pixel with the larger level signal among the pixels Ql and Q2 to the smaller level signal.

ifP (x、y) = [P (x+l、y)]an
d[L (x、y)≠L (x+1.y)]この処理は
1ラスタを枠信号の値が等しい連結領域(ラン)に分割
し、各連結領域内の各画素のレベル信号の最小値を、そ
の連結領域の各画素のネストレベルを表わす代表レベル
信号とすることに相当する。
ifP (x, y) = [P (x+l, y)]an
d[L (x, y)≠L (x+1.y)] This process divides one raster into connected regions (runs) with equal frame signal values, and calculates the minimum value of the level signal of each pixel in each connected region. This corresponds to making the signal a representative level signal representing the nest level of each pixel in the connected region.

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

く規則3〉 ■画素Qか他画素でかつ、そのレベルが偶数ならば画素
Qは枠外領域 ■画素Qが他画素でかつ、そのレベルが奇数ならば画素
Qは枠内領域 ■画素Qが枠画素ならば、画素Qは枠内領域但し、■の
場合、枠線上を枠内と見なすかどうかにより、枠外領域
と判定してもよい。ここでは、枠線上を枠内と見なすと
している。
Rule 3: ■If pixel Q is another pixel and its level is an even number, then pixel Q is an area outside the frame.■If pixel Q is another pixel and its level is an odd number, then pixel Q is an area within the frame.■Pixel Q is an area within the frame. If it is a pixel, the pixel Q is an area within the frame; however, in the case of ■, it may be determined to be an area outside the frame depending on whether or not the area on the frame line is considered to be within the frame. Here, the area on the frame line is considered to be within the frame.

く本アルゴリズムによる枠内検出の説明および処理例〉 (距離および下方距離の定義) まず、他画素Pと他画素Qの間の「距離」を次のように
定義する。他画素Pから隣接画素を順次辿って画素Qに
至る経路のうち、枠線を越える回数が最少の経路を最少
枠越え経路と呼び、この場合の枠を越える回数を2点P
、Q間の距離と定義する。ここで、「枠を越える回数」
とは枠画素から他画素へ移る回数を意味する。例えば、
第18図で画素P1から画素Q1への最少枠越え経路は
Llとなり、この経路は枠線部分を越えないから、画素
PO,QOの間の距離は0となる。また、画素P2から
画素Q2への最少枠越え経路はL2となり、その距離は
L2が枠を1回越えるから1となる。同様に、画素P3
から画素Q3への最少枠越え経路および距離はL3およ
び2となる。
Description and processing example of frame detection using this algorithm> (Definition of distance and downward distance) First, the "distance" between another pixel P and another pixel Q is defined as follows. Among the routes that lead from other pixels P to pixel Q by sequentially tracing adjacent pixels, the route that crosses the frame line the least number of times is called the minimum frame crossing route.
, Q is defined as the distance between Q. Here, "Number of times the frame is exceeded"
means the number of times a frame pixel moves to another pixel. for example,
In FIG. 18, the minimum frame-crossing path from pixel P1 to pixel Q1 is Ll, and since this path does not cross the frame line, the distance between pixels PO and QO is 0. Further, the minimum frame-crossing path from pixel P2 to pixel Q2 is L2, and the distance is 1 because L2 crosses the frame once. Similarly, pixel P3
The minimum frame crossing path and distance from to pixel Q3 are L3 and 2.

枠線図形の内外の定義として、ここでは画像の最も外側
のある基準点から見て距離が偶数の画素を枠外領域、距
離が奇数の画素を枠内領域と考える。これによると、単
純な閉曲線の内側は枠内領域となり、複数の枠で多重に
囲まれている領域は外側の枠から交互に枠内領域、枠外
領域となる。この定義は枠の内外の定義として妥当であ
ると考えられる。
As a definition of the inside and outside of a frame line figure, here, pixels with an even number of distances from a certain reference point on the outermost side of the image are considered to be outside-frame areas, and pixels with odd-numbered distances are considered to be inside-frame areas. According to this, the inside of a simple closed curve becomes an in-frame area, and the area surrounded by multiple frames becomes an in-frame area and an out-frame area alternately from the outer frame. This definition is considered to be appropriate as a definition of inside and outside the framework.

しかし、上記のような定義を一般の枠線画像について計
算するのは、計算量が膨大になる上、ラスク走査信号に
適用することが困難である。
However, calculating the above definition for a general frame line image requires an enormous amount of calculation, and it is difficult to apply it to a rask scan signal.

そこで、本処理では上記の最少枠越え経路および距離に
準じた概念として、下方最少枠越え経路および下方距離
を次のように定義する。すなわち、画素Pから画素Pよ
り下にある(y座標の大きい)画素Qへ「下方に」辿る
経路のうち、枠線を越える回数が最少の経路を下方最少
枠越え経路とし、その経路が枠線を越える回数を下方距
離とする。ここで、「下方に」辿る経路とは下記の定義
1に従う経路とする。
Therefore, in this process, a lower minimum frame-crossing route and a lower distance are defined as follows, as concepts similar to the above-mentioned minimum frame-crossing route and distance. In other words, among the routes tracing "downward" from pixel P to pixel Q below pixel P (larger y coordinate), the route that crosses the frame line the least number of times is defined as the lower minimum frame crossing route, and that route is the frame line. The number of times the line is crossed is the downward distance. Here, the route followed "downward" is a route that complies with Definition 1 below.

定義1:下方への経路とは同種の画素(他画素同士また
は枠画素同士)では隣接する左右方向または下方向へ、
異種の画素(他画素と枠画素)では隣接する下方向の画
素に辿る経路とする。
Definition 1: A downward path is a path for pixels of the same type (other pixels or frame pixels) to the adjacent left/right direction or downward direction.
For different types of pixels (other pixels and frame pixels), the path is taken to follow the adjacent pixel in the downward direction.

そして、画像の上端からの下方距離が偶数の画素を枠外
、奇数の画素を枠内と定義する。この定義による下方距
離は距離と似た概念となる。
Pixels whose downward distance from the top of the image is an even number are defined as outside the frame, and pixels whose downward distance from the top of the image is an odd number are defined as inside the frame. The downward distance according to this definition has a similar concept to distance.

特に、枠線が閉曲線ならば下方距離による枠内、枠外は
前記の距離による枠内、枠外の判定と同じになる。実際
の枠線図形について下方最少枠越え経路および下方距離
の例を第19図に示す。
In particular, if the frame line is a closed curve, determining whether it is inside or outside the frame based on the downward distance is the same as determining whether it is inside or outside the frame based on the distance described above. FIG. 19 shows an example of the minimum downward border crossing route and downward distance for an actual frame line figure.

同図で画素P1から画素Q1への下方最少枠越え経路が
Llとなり、その下方距離は「0」となる。同様に画素
P2から画素Q2へについてはそれぞれ、L2および「
1」となる。
In the figure, the minimum downward border crossing path from pixel P1 to pixel Q1 is Ll, and its downward distance is "0". Similarly, from pixel P2 to pixel Q2, L2 and "
1”.

(レベルと下方距離の同値性の説明) 本処理で計算された各画素のレベル信号は、画像の上端
部からの下方距離と等価となる。その理由について説明
する。まず、画像の上端部からの下方距離が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大きくなる。
(Explanation of equivalence between 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 for this will be explained. First, a pixel P whose downward distance from the top of the image is n
think of. FIG. 7 shows an example where n=1. In the same figure,
Each square corresponds to one pixel, the area surrounded by diagonal lines represents frame pixels, and the other areas represent other pixels. By definition, there is a path from the pixel 22 at the top of the image to the pixel 21(P) by crossing the frame line n times (indicated by a row of arrows in the figure). Consider the level of each pixel on the path. By the premise, the starting point 22 of the route
The level of is "0". When following this route, if pixels of the same type are traced in the horizontal direction 23, the level will be the same as or smaller than the previous pixel due to rule 2>. Also,
24 stripping rule 1 when tracing pixel type downwards
>(a) and (d), the level becomes the same as the previous pixel. In addition, when the path is transferred from another pixel to a frame pixel, 25 is always downward according to definition 1, so (b
), the level remains the same as the previous pixel. In addition, when the path moves from a frame pixel to another pixel, 26 is defined as (26) in Rule 1>.
C) makes the level of the pixel 1 higher than the previous pixel.

従って、経路上の各画素のレベルは枠画素から他画素に
移る場合だけ1増え、それ以外の場合は変わらないか、
または小さくなるので、枠線部分をn回越えた後のレベ
ルは高々nとなる。従って、上端からの下方距離がnの
他画素Pのレベルはn以下となる。
Therefore, the level of each pixel on the path increases by 1 only when moving from a frame pixel to another pixel, and otherwise remains unchanged, or
Otherwise, the level becomes n at most after crossing the frame line part n times. Therefore, the level of other pixels P whose downward distance from the upper end is n is equal to or less than n.

同図上で画素の中の数字が計算されたレベルを示す。In the figure, the numbers inside the pixels indicate the calculated levels.

逆に、他画素Pのレベルがnならば、上端部から他画素
Pへの下方距離がn以下であることを第8図を用いて示
す。そのため、上端部から他画素Qへの枠画素をn回越
えて到達する経路が存在することを示す。まず、ある他
画素31(Q)を含んで同一ラスク内に連結した他画素
の連結領域32を考える。この領域32内に先のステッ
プS25.S26による修正処理前のレベルがnである
画素Rが存在する。この画素Qの上に隣接する画素Q2
を画素Qの上位画素と定義する。画素Q2が他画素の場
合、く規則1〉の(d)により画素Q2のレベルはnと
なる。
Conversely, if the level of another pixel P is n, it is shown using FIG. 8 that the downward distance from the upper end to the other pixel P is less than or equal to n. This indicates that there is a path from the upper end to another pixel Q that crosses the frame pixel n times. First, consider a connected region 32 of other pixels that includes a certain other pixel 31 (Q) and is connected within the same rask. In this area 32, the previous step S25. There is a pixel R whose level is n before the correction process in S26. Pixel Q2 adjacent to this pixel Q
is defined as the upper pixel of pixel Q. When pixel Q2 is another pixel, the level of pixel Q2 becomes n according to Rule 1>(d).

また、画素Q2が枠画素の場合、く規則1〉の(C)に
より画素Q2のレベルはn−1となる。
Further, when the pixel Q2 is a frame pixel, the level of the pixel Q2 is n-1 according to Rule 1> (C).

但し、レベルnが0の場合は画素Q2は必ずレベル0の
他画素となる。また、同様に枠画素Sを含んで同一ラス
ク内に連結した枠画素の連結領域を考える。前記と同様
に、この連結領域内にはステップS25.S26による
修正処理前のレベルがnの画素Tが存在する。画素Tの
上に隣接する画素S2を画素Sの上位画素と定義する。
However, if the level n is 0, the pixel Q2 will always be another pixel at level 0. Similarly, consider a connected region of frame pixels including the frame pixel S and connected within the same rask. As before, within this connected region, step S25. There is a pixel T whose level is n before the correction process in S26. The pixel S2 above and adjacent to the pixel T is defined as the upper pixel of the pixel S.

く規則1〉の(a) 、 (b)によりS2が枠画素か
他画素かによらず、S2のレベルはnとなる。
According to (a) and (b) of Rule 1, the level of S2 is n regardless of whether S2 is a frame pixel or another pixel.

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

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

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

(円形の枠線の場合) まず、単純な円形枠(第9図)の例を説明する。図中、
実線またはハツチングした部分が枠線部分を表し、○て
囲んだ数字が他画素のレベル、口で囲んだ数字が枠画素
のレベルを表す。
(Case of Circular Frame Line) First, an example of a simple circular frame (FIG. 9) will be explained. In the figure,
The solid line or hatched part represents the frame line part, the number surrounded by a circle represents the level of other pixels, and the number surrounded by a square represents the level of the frame pixel.

以下の例も同様に表す。枠線41の外側の画素は全て画
像の上端から枠を越えずに到達する経路を持つので、レ
ベルは“0”となり、枠外領域となる。また、枠線の内
側は画像の上端から少なくとも1回枠線を越える必要が
あるので、レベルは“1″となり、枠内領域と判定され
る。
The following examples are expressed similarly. All pixels outside the frame line 41 have a path from the top of the image to reach the pixels without crossing the frame, so the level becomes "0" and becomes an area outside the frame. Further, since the area inside the frame line needs to cross the frame line at least once from the top of the image, the level is "1" and is determined to be an area within the frame.

(下回形状の場合) 次に、下側に四部を有する形状の枠線(第10図)の例
を説明する。枠線51の外側の画素のうちラス52と枠
線51に挟まれた領域以外のレベルは”0“となる。枠
線51の内部の領域に到達するには、上端より枠線を最
低1回越える必要があるので、この領域のレベルは“1
″となる。また、枠線51とラスタ52に挟まれた領域
に到達するには、枠線を2回越える必要があるので、こ
の領域のレベルは“2″となる。従って、レベルが奇数
である枠線の内側のみ、枠内領域と判定される。
(In case of lower shape) Next, an example of a frame line (FIG. 10) having four parts on the lower side will be explained. Among the pixels outside the frame line 51, the level of pixels other than the area sandwiched between the lath 52 and the frame line 51 is "0". To reach the area inside the frame line 51, it is necessary to cross the frame line at least once from the top edge, so the level of this area is "1".
''. Also, in order to reach the area between the frame line 51 and the raster 52, it is necessary to cross the frame line twice, so the level of this area is "2". Therefore, if the level is an odd number Only the area inside the frame line is determined to be an in-frame area.

(多重枠の場合) 複数の枠線が多重に重なっている場合は、以下のように
判定される。第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) If multiple frame lines overlap, the determination is made as follows. The case of the triple frame shown in FIG. 11 will be explained as an example. As in the case of one frame, the outermost frame 61
The level outside is "0". outermost frames 61 and 2
Since the area 64 between the th frame 62 needs to cross at least one frame from the top end, the level of the pixel 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, regions 64 and 66 whose levels are odd numbers are determined to be within-frame regions. This example is an example of a triple frame, but if there are many overlapping frames, the level increases by 1 each time the frame enters the inner frame, and is alternately determined to be an inside frame area and an outside frame area. As a result, it is possible to easily designate areas such as donut-shaped areas indicated by diagonal lines and areas with isolated islands inside the donut holes using the frame lines.

(理想的な枠線でない場合) 上記の例ではいずれも枠線の形状が理想的な閉曲線の場
合であったが、実際に手で描いた枠線には「ひげ」、「
かすれ」なとのノイズが加わる場合が多い。本処理では
、これらのノイズのうちのあるものに対して安定に検出
できる。
(When the frame line is not ideal) In all of the above examples, the shape of the frame line is an ideal closed curve, but the frame line actually drawn by hand has "whiskers", "
In many cases, a "faint" noise is added. This process can stably detect some of these noises.

次に、ノイズの例として枠線に「ひげ」、「巣」などの
生じた場合の例を示す。
Next, as an example of noise, an example in which "whiskers", "nests", etc. occur in the frame line will be shown.

第12図は枠線の外部に「ひげ」72の生じた場合であ
る。前記の例と同様に枠線の外側の領域のレベル、枠線
の内側の領域のレベルはそれぞれ“0″、“1″となる
。また、枠線の「ひげ」の部分と枠線および枠線の「ひ
げ」の最下点のラスタ(図中破線で示す)で囲まれた領
域73は画像の上端から少なくとも枠線を1本越える必
要があるので、レベルは“1”となる。従って、本来は
枠外領域と見なすのが妥当な領域73も枠内領域と判定
される。しかし、このような領域73は「ひげ」と枠線
の間で、かつ「ひげ」の最下点より上の微小な領域に限
られるため、この判定エラーについては実用上問題はな
い。
FIG. 12 shows a case where a "whisker" 72 occurs outside the frame line. Similar to 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, an area 73 surrounded by the "beard" part of the frame line, the frame line, and the raster of the lowest point of the "beard" of the frame line (indicated by a broken line in the figure) is at least one frame line away from the top of the image. Since it is necessary to exceed the level, the level becomes "1". Therefore, the area 73, which should originally be regarded as an out-of-frame area, is also determined to be an in-frame area. However, since such a region 73 is limited to a minute region 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が生ずる場
合もあり得る。これは例えば枠線を書く上でのむらなど
により生じる。
Moreover, as shown in FIG. 13, small holes (hereinafter referred to as nests) 81 and 82 that are determined to be ground may occur inside the frame line. This occurs, for example, due to unevenness in drawing the frame lines.

なお、第13図では斜線部分が枠線の部分を表す。小さ
い巣81では巣の内部のレベルが“1、”となって枠内
領域と判定されるだけて、他の部分には影響を与えない
。また、巣が極端に大きく、例えば巣82のように巣の
最下部が枠線の内部領域の最上部より下の場合は、枠線
の内側でかつ巣の最下部のラスタ83より上の領域85
のレベルは“2”となり、枠外と判定される。しかし、
ラスタ83より下の領域は上端より枠線を1回しか越え
ない経路84が存在するので、レベルは“1”となり、
この部分は枠内領域と判定される。このような巣は通常
大きくなく、誤判定の領域は巣の大きさ以上にはならな
いため、実用上は問題ない。
Note that in FIG. 13, the diagonal line portion represents the frame line portion. In the case of a small nest 81, the level inside the nest is "1," and it is determined that the area is within the frame, and other parts are not affected. In addition, if the nest is extremely large and the bottom of the nest is below the top of the inner area of the frame line, such as nest 82, the area inside the frame line and above the bottom raster 83 of the nest 85
The level of is "2", and it is determined that it is outside the frame. but,
In the area below the raster 83, there is a route 84 that crosses the frame line only once from the top edge, so the level is "1",
This part is determined to be an area within the frame. Such a nest is usually not large, and the region of misjudgment will not be larger than the size of the nest, so there is no problem in practice.

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

(1)基本的に通常の枠線であれば、下回でも多重枠で
も枠内領域を検出できる。
(1) Basically, if it is a normal frame line, the area inside the frame can be detected even if it is below or multiple frames.

(2)枠線を書き込む上で生じる各種ノイズのうち、ひ
げ、巣などにはほとんど影響を受けない。
(2) Of the various noises that occur when writing frame lines, whiskers, nests, etc. are hardly affected.

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

すなわち、下問、多重枠などの複雑な枠線に対しても対
応できるとともに、枠線を書込む上でのノイズにも強い
。人間が枠線を書く上で、始点と終点を正確に合わせて
理想的な閉曲線(切れもひげもない)を作成するのは困
難である。本実施例の枠内検出処理は、枠線の切れが生
じないようにさえ注意すれば少々のひげ、巣などのノイ
ズには強いので、枠線を書込む上での制約が少なくなり
、使い勝手が向上する。
That is, it can handle complex frames such as lower questions and multiple frames, and is also resistant to noise when writing frame lines. When drawing a frame line, it is difficult for humans to accurately match the start and end points to create an ideal closed curve (no breaks or whiskers). The frame detection processing of this embodiment is resistant to noise such as small whiskers and nests as long as care is taken not to break the frame line, so there are fewer restrictions on writing the frame line, making it easier to use. will improve.

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

−27= 第15図において、端子100には第1図の枠信号発生
回路2からの枠信号(P)101が入力される。この枠
信号101は第1図の画像入力部1において画像の左上
から右方向に1ラスクずつ下方向にラスク走査して得ら
れた入力画像信号から、画像の枠線部分か否かを判定し
て得られた信号であり、枠線部分を“1”、それ以外の
部分を0”とする2値信号である。
-27= In FIG. 15, a frame signal (P) 101 from the frame signal generation circuit 2 of FIG. 1 is input to a terminal 100. This frame signal 101 is determined from the input image signal obtained by scanning the image in the image input unit 1 shown in FIG. This is a binary signal in which the frame line portion is “1” and the other portions are “0”.

この枠信号101はクロック信号(CLK)102に同
期して入力される。
This frame signal 101 is input in synchronization with a clock signal (CLK) 102.

この枠信号101の否定と1ラスク前の枠信号(PO)
10Bとの論理積がゲート回路104でとられ、その結
果が加算器105により1ラスタ前のレベル信号(LO
)106に加算される。この加算器105の出力信号1
07は、第1図および第2図で説明した枠内検出アルゴ
リズムの第1のメインステップにより計算される仮レベ
ル信号に対応している。
Negation of this frame signal 101 and frame signal (PO) 1 rask before
10B is taken by the gate circuit 104, and the result is sent to the adder 105 as the level signal of the previous raster (LO
)106. Output signal 1 of this adder 105
07 corresponds to the temporary level signal calculated by the first main step of the inside-frame detection algorithm described in FIGS. 1 and 2.

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

一方、領域最小値計算回路115によりレベル信号10
7の連結領域内での最小値、すなわち代表レベル信号が
計算される。この領域最小値計算回路115は、具体的
には最小値回路116とラッチ回路117により構成さ
れ、ラッチ回路117は領域終端信号110が“1″と
なる毎に、レベル最大値(本実施例では“15”)にセ
ットされる。このラッチ回路117の出力とレベル信号
107のうち小さい方が最小値回路116により検出さ
れ、ラッチ回路117にラッチされて更新されることに
より、連結領域内のレベル信号の最小値が計算される。
On the other hand, the area minimum value calculation circuit 115 calculates the level signal 10.
The minimum value within the 7 connected regions, that is, the representative level signal is calculated. This region minimum value calculation circuit 115 is specifically composed of a minimum value circuit 116 and a latch circuit 117, and each time the region end signal 110 becomes "1", the latch circuit 117 receives the maximum level value (in this embodiment, “15”). The smaller of the output of the latch circuit 117 and the level signal 107 is detected by the minimum value circuit 116, latched by the latch circuit 117 and updated, thereby calculating the minimum value of the level signal within the connected region.

領域最小値計算回路115の出力信号118は、第1図
および第2図で説明した枠内検出アルゴリズムの第2の
メインステップにより計算される代表レベル信号に対応
している。
The output signal 118 of the area minimum value calculation circuit 115 corresponds to the representative level signal calculated by the second main step of the inside-frame detection algorithm described in FIGS. 1 and 2.

この代表レベル信号118は領域終端信号110に同期
しており、連結領域単位の信号となっている。この連結
領域単位の信号を画素単位の信号に変換するために、レ
ベル信号118は1ラスク分、メモリ部119に書き込
まれる。
This representative level signal 118 is synchronized with the region end signal 110, and is a signal for each connected region. In order to convert this signal for each connected area into a signal for each pixel, the level signal 118 for one rask is written into the memory section 119.

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

最後にゲート回路126により、メモリ部119から読
出されたレベル信号106の最下位ビットと枠信号10
3との論理和かとられ、この論理和出力が枠内/枠外判
定信号127として出力される。枠内/枠外判定信号1
27は“1″が枠内を表わし、“0”が枠外を表す。
Finally, the gate circuit 126 uses the lowest bit of the level signal 106 read from the memory section 119 and the frame signal 10.
3, and this logical sum output is output as the in-frame/out-of-frame determination signal 127. In-frame/out-of-frame determination signal 1
27, "1" indicates inside the frame, and "0" indicates outside the frame.

本実施例では枠線上を領域外と見なしているが、このゲ
ート回路126を変更することにより、枠線部分を領域
内と見なすように構成することも可能である。
In this embodiment, the area on the frame line is considered to be outside the area, but by changing the gate circuit 126, it is also possible to configure the area on the frame line to be considered as inside the area.

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

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

く規則4〉 同一ラスタの中で枠画素同士、または他画素同士が隣接
していて、それらの画素のレベル信号が異なる場合は、
そのレベル信号の小さい方をそれらの画素の代表レベル
信号とする。これまでは第1の実施例における代表レベ
ル信号の計算と同じである。そして、本実施例では代表
レベル信号の修正処理として、枠画素と他画素が隣接し
ていて枠画素のレベル信号が他画素のレベル信号より大
きければ、他画素のレベル信号を枠画素のレベル信号と
する。また、枠画素と他画素が隣接していて、他画素の
レベル信号か枠画素のレベル信号+1より大きければ、
枠画素のレベル信号+1を他画素のレベル信号とする(
第21図参照)。
Rule 4> If frame pixels or other pixels are adjacent to each other in the same raster and the level signals of those pixels are different,
The smaller of the level signals is taken as the representative level signal of those pixels. The calculation up to this point is the same as the calculation of the representative level signal in the first embodiment. In this embodiment, as a correction process for the representative level signal, if a frame pixel and another pixel are adjacent to each other and the level signal of the frame pixel is larger than the level signal of the other pixel, the level signal of the other pixel is changed to the level signal of the frame pixel. shall be. Also, if the frame pixel and another pixel are adjacent, and the level signal of the other pixel is greater than the level signal of the frame pixel + 1,
Set the level signal of the frame pixel +1 as the level signal of other pixels (
(See Figure 21).

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

jf[(P (x、y) ”” P (x+l、y)]
and[L  (x、y)  ≠ L  (X+t、y
)コthen  L (x、y) = L (x+l、
y)−旧n[L (x、y) 、 L (x+l、y)
]5f   [P (x、y)  = 1 ]  an
d[P (x+l、y)  −〇 ]and[L  (
x、y)  >  L  (x+l、y)コthen 
  L (X、y)  = L (x+L、y)if 
    [P  (x、y)  =  1  コ an
d[P  (x+1.、y)   =  0 1and
[L  (X、y)  +  1.<  L  (x+
1.、y)コ1hen   L (x+l、y)  =
 L (X、y)  + 1if   [P (x、y
)  = O]  and[P (x+l、y)  −
1]and[L  (x、y)  <  L  (x+
l、y)コthen   L (x+I 、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
+I、y)  +  1以上の条件を満たす画素の組が
当該ラスク内になくなるまで以上の処理を繰り返す。本
実施例においては、第20図の枠内/枠外判定回路7に
おける判定動作は、第1の実施例である第1図の枠内/
枠外判定回路5におけるそれとは少し異なったものとな
る。本実施例により決定された画素Pのレベル信号は画
像の上端部から画素Pへの下方距離を表すが、下方へ辿
る経路の定義が下記の定義2によるものとなっている。
jf [(P (x, y) ”” P (x+l, y)]
and[L (x, y) ≠ L (X+t, y
) then L (x, y) = L (x+l,
y) - old n[L (x, y), L (x+l, y)
]5f [P (x, y) = 1] an
d[P (x+l, y) −〇 ]and[L (
x, y) > L (x+l, y) then
L (X, y) = L (x+L, y) if
[P (x, y) = 1
d[P (x+1., y) = 0 1and
[L (X, y) + 1. < L (x+
1. , y) ko1hen L (x+l, y) =
L (X, y) + 1if [P (x, y)
) = O] and [P (x+l, y) −
1] and [L (x, y) < L (x+
l, y) then L (x+I, 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
+I, y) + The above process is repeated until there are no pairs of pixels satisfying the condition of 1 or more in the rask. In this embodiment, the determination operation in the in-frame/out-of-frame determination circuit 7 in FIG. 20 is the in-frame/out-of-frame determination circuit 7 in FIG.
This is slightly different from that in the out-of-frame determination circuit 5. The level signal of the pixel P determined according to this embodiment represents the downward distance from the upper end of the image to the pixel P, and the definition of the downward path is based on the following definition 2.

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

すなわち、第1の実施例では異種の画素間では左右方向
への経路が許されなかったのに対し、本実施例ではこの
制約がなくなっている。従って、第1の実施例では適確
に判定しにくい枠線図形の場合でも、正しい判定が可能
である。第14図の例で説明する。この例は枠線の「ひ
げ」が極端に大きい場合で、「ひげ」の部分の分かれ目
92および「ひげ」の先端93の両方が枠線の下に窄ま
っている点まで延びている。この場合、第1の実施例に
よると上端から枠線の内部の領域への経路は必ず2回以
上枠線を越える必要があるため、この枠線の内部のネス
トレベルは全て“2”となり、枠外と判定される。但し
、通常このような枠線が生ずることは希と考えられ、実
用上は大きな問題はない。これに対し、第2の実施例に
よれば例えば枠線の中でラスタ94より下の領域は枠内
と判定される。このため、第1の実施例よりさらにノイ
ズなどに強い枠内領域検出が可能となる。
That is, whereas in the first embodiment, paths in the left and right directions were not allowed between pixels of different types, this restriction is removed in the present embodiment. Therefore, in the first embodiment, correct determination is possible even in the case of a frame line figure that is difficult to accurately determine. This will be explained using the example shown in FIG. In this example, the "whisker" of the frame line is extremely large, and both the dividing line 92 of the "whisker" portion and the tip 93 of the "whisker" extend to the point below the frame line. In this case, according to the first embodiment, the path from the top end to the area inside the frame line must cross the frame line at least twice, so the nesting level inside this frame line is all "2". It is judged to be outside the frame. However, it is thought that it is rare for such a frame line to occur, and there is no major problem in practice. In contrast, according to the second embodiment, for example, the area below the raster 94 within the frame line is determined to be within the frame. Therefore, it is possible to detect the area within the frame that is more resistant to noise than in the first embodiment.

なお、第1および第2の実施例では上方向の隣接関係と
して第17図(a)に示す現ラスタの当該画素の真上の
全テスクの1画素だけを定義しているが、他の隣接関係
の例として同図(b)に示すように真上と右斜め上(ま
たは左斜め上)の2画素、同図(C)に示すように真上
と右斜め上と左斜め上の3画素という考え方をしてもよ
い。この場合の第1のメインステップにおけるレベル信
号の計算アルゴリズムは、まず複数の上隣接画素からく
規則1〉に従って当該画素の仮レベル信号を計算し、こ
れらの最小値を当該画素の代表レベル信号とすればよい
。特に、第17図(b)は枠領域と他領域が交差してい
る場合、必ずいずれか一方の領域が互いに隣接するとい
う特徴を持つ。
Note that in the first and second embodiments, only one pixel of all the tests directly above the relevant pixel in the current raster shown in FIG. 17(a) is defined as the upward adjacency relationship; Examples of relationships include two pixels directly above and diagonally above the right (or diagonally above the left) as shown in Figure (B), and three pixels directly above, diagonally above the right, and diagonally above the left as shown in Figure (C). You can also think of it as a pixel. In this case, the level signal calculation algorithm in the first main step is to first calculate a provisional level signal of the pixel from multiple upper adjacent pixels according to Rule 1>, and then use the minimum value as the representative level signal of the pixel. do it. In particular, FIG. 17(b) has a feature that when a frame area and another area intersect, one of the areas is always adjacent to each other.

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

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

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

第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・・・枠
内/枠外判定信号 出願人代理人 弁理士 鈴江武彦 >eu ε 〉h 表 詠 第9図 第10図 第13図 第14図 第18図 第19図 第 Q 第二
FIG. 1 is a block diagram showing a schematic configuration of a frame area detection device according to a first embodiment of the present invention, FIG. 2 is a diagram schematically showing an algorithm for detecting a frame in the same embodiment, and FIG. A diagram showing a part of the algorithm in Figure 2 in detail, Figure 4 is a diagram to explain the setting of coordinate axes on an image, and Figure 5 is a diagram to explain the contents of the 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 downward distance are equivalent, and FIGS. FIG. 14 is a diagram for explaining a specific example of frame area detection according to the same embodiment, FIG. 15 is a circuit diagram showing in detail the main part of the frame area detection device of FIG. 1, and FIG. Figure 17 is a diagram to explain the definition of the vertical adjacency relationship of pixels, Figure 18 is a diagram to explain the minimum frame crossing route and distance, Figure 19 is a time chart to explain the operation of the figure. 20 is a block diagram showing a schematic configuration of an in-frame area detection device according to a second embodiment of the present invention, and FIG. 21 is a diagram for explaining the minimum downward border crossing route and the downward distance. FIG. 7 is a diagram for explaining the second main step. 1... Image input section 2... Frame signal generation circuit 3... Temporary level signal calculation circuit 4... Representative level signal calculation circuit 5, 7... Frame/outside area determination circuit 6... Representative level signal correction circuit 101...Current raster frame signal 103...One raster previous frame signal 106...One raster previous representative level signal 107...
Temporary level signal 118...Representative level signal of current raster 127...Inside/outside frame determination signal Applicant's agent Patent attorney Takehiko Suzue > eu ε 〉h Table Poem Figure 9 Figure 10 Figure 13 Figure 14 Figure 18 Figure 19 Figure Q 2nd

Claims (2)

【特許請求の範囲】[Claims] (1)枠線を含む画像をラスタ走査して得られた入力画
像信号から、前記画像上の枠線で囲まれた枠内領域を検
出する装置において、 前記入力画像信号について画素毎に枠線部分か否かを判
定し、判定結果として2値の枠信号を発生する枠信号発
生手段と、 前記入力画像信号の現ラスタの画素について隣接する前
ラスタの画素の枠信号とレベル信号および該現ラスタの
画素の枠信号より仮レベル信号を計算する仮レベル信号
計算手段と、 この手段により仮レベル信号が計算された前記現ラスタ
上の画素列から前記枠信号の値が等しく連続する連結領
域を検出し、この連結領域内の各画素の仮レベル信号の
値から連結領域内の全画素のレベル信号を計算するレベ
ル信号計算手段と、 この手段により計算されたレベル信号の値から枠線の内
外を判定する手段と を具備することを特徴とする枠内領域検出装置。
(1) In a device that detects a frame area surrounded by a frame line on an image from an input image signal obtained by raster scanning an image including a frame line, the frame line is determined for each pixel of the input image signal. a frame signal generating means for determining whether or not a portion is a part, and generating a binary frame signal as a result of the determination; Temporary level signal calculating means for calculating a temporary level signal from frame signals of pixels of a raster; a level signal calculation means for detecting and calculating the level signals of all pixels in the connected region from the value of the temporary level signal of each pixel in the connected region; What is claimed is: 1. A frame area detection device comprising: means for determining.
(2)枠線を含む画像をラスタ走査して得られた入力画
像信号から、前記画像上の枠線で囲まれた枠内領域を検
出する装置において、 前記入力画像信号について画素毎に枠線部分か否かを判
定し、判定結果として2値の枠信号を発生する枠信号発
生手段と、 前記入力画像信号の現ラスタの画素について隣接する前
ラスタの画素の枠信号とレベル信号および該現ラスタの
画素の枠信号より仮レベル信号を計算する仮レベル信号
計算手段と、 この手段により仮レベルが計算された現ラスタ上の画素
列から前記枠信号の値が等しく連続する連結領域を検出
し、この連結領域内の各画素の仮レベル信号の値から連
結領域内の全画素のレベル信号を計算するレベル信号計
算手段と、この手段により計算されたレベル信号を互い
に隣接する連結領域のレベル信号と枠信号の関係を用い
て修正するレベル信号修正手段と、この手段により修正
されたレベル信号の値から枠線の内外を判定する手段と を具備することを特徴とする枠内領域検出装置。
(2) In a device that detects a frame area surrounded by a frame line on an image from an input image signal obtained by raster scanning an image including a frame line, the frame line is determined for each pixel of the input image signal. a frame signal generating means for determining whether or not a portion is a part, and generating a binary frame signal as a result of the determination; Temporary level signal calculation means for calculating a temporary level signal from frame signals of pixels of a raster; , a level signal calculation means for calculating the level signals of all pixels in the connected region from the value of the temporary level signal of each pixel in the connected region; 1. A frame area detection device comprising: a level signal correcting means for correcting the level signal using the relationship between the frame signal and the frame signal; and a means for determining whether the level signal is inside or outside the frame line from the value of the level signal corrected by the means.
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 true JPH04205680A (en) 1992-07-27
JP2995342B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115760945A (en) * 2022-11-23 2023-03-07 智慧互通科技股份有限公司 A method and system for obtaining a stable target detection frame based on target detection

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115760945A (en) * 2022-11-23 2023-03-07 智慧互通科技股份有限公司 A method and system for obtaining a stable target detection frame based on target detection

Also Published As

Publication number Publication date
JP2995342B2 (en) 1999-12-27

Similar Documents

Publication Publication Date Title
CN109146991B (en) Picture format conversion method, device, equipment and storage medium
JP6157138B2 (en) Image processing device
US8879839B2 (en) Image processing apparatus, image processing method, and storage medium
US5828794A (en) Image processing method and apparatus for enlarging and reducing image data
JPH05334427A (en) Image scaling method
CN102999931A (en) Method and device for drawing electronic handwriting
CN117058338A (en) CAD-based three-dimensional building model construction method, system, equipment and medium
JPH09259290A (en) Drawing method
CN117911444B (en) A method and system for cutting out images based on edge processing
JP2995342B2 (en) Area detection method
JP2676116B2 (en) Image data processing method and apparatus
JP2947566B2 (en) In-frame area detection device
JPS62269276A (en) Interactive graphic inputting system
CN115331091A (en) Map data processing method, computer device, and storage medium
JP5751157B2 (en) Video signal processing apparatus and video signal processing method
JPS60179877A (en) Pattern thickening system
JPS6224373A (en) Color picture processor
CN121366103B (en) A digital data processing method for facial imperfections based on convolutional neural networks
JPH07254979A (en) Image processing method
KR930008177B1 (en) Image processing device
JP2773127B2 (en) Image editing method
JPH10340337A (en) Correction method for inclination, extension and contraction of image data of drawing with drawing frame line graphic
JPS6023386B2 (en) Binary image shape conversion device
JP2614111B2 (en) A method for detecting the correlation between a straight line display element and a rectangular window
JPH0448275B2 (en)

Legal Events

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