JPH0814845B2 - Area detection method and area detection apparatus - Google Patents
Area detection method and area detection apparatusInfo
- Publication number
- JPH0814845B2 JPH0814845B2 JP63002028A JP202888A JPH0814845B2 JP H0814845 B2 JPH0814845 B2 JP H0814845B2 JP 63002028 A JP63002028 A JP 63002028A JP 202888 A JP202888 A JP 202888A JP H0814845 B2 JPH0814845 B2 JP H0814845B2
- Authority
- JP
- Japan
- Prior art keywords
- area
- value
- pixel
- image data
- coordinates
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000001514 detection method Methods 0.000 title claims description 90
- 238000004364 calculation method Methods 0.000 claims description 28
- 238000000034 method Methods 0.000 description 31
- 238000010586 diagram Methods 0.000 description 16
- 238000012545 processing Methods 0.000 description 15
- 238000006243 chemical reaction Methods 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Image Analysis (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) この発明は画像処理における領域検出(例えば原稿領
域検出や行領域検出)を行なうための検出方法及び装置
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a detection method and apparatus for performing area detection (for example, original area detection or line area detection) in image processing.
(従来の技術) 文字認識装置、電子複写機、ファクシミリ装置その他
の画像処理装置において、視野内の画像データのうち特
定領域(例えば原稿領域や行領域)の画像データのみに
着目して画像処理を行なうことは、処理速度を向上する
ための手段として又領域毎に個別の処理を行なうための
手段として、非常に有効である。この種の領域検出方法
として、例えば、特開昭60-194868号公報や特開昭58-12
3169号公報に開示される方法が従来より提案されてい
る。(Prior Art) In a character recognition device, an electronic copying machine, a facsimile device, and other image processing devices, image processing is performed by paying attention to only image data in a specific region (for example, a document region or a line region) of image data in the field of view. Doing is very effective as a means for improving the processing speed and as a means for performing individual processing for each area. Examples of this type of area detection method include, for example, JP-A-60-194868 and JP-A-58-12.
The method disclosed in Japanese Patent No. 3169 has been conventionally proposed.
前者の方法では、原稿或は帳票が配置された読取り領
域(視野)を撮像素子によって走査し、主走査方向に走
査したときの撮像素子の出力変化を検出する。そして出
力変化があった画素の座標(端縁座標)を領域を規定す
るための座標とし、複数個の端縁座標から作成される座
標系列によって、読取領域に配置された原稿或は帳票の
領域規定を行なう。In the former method, the reading area (field of view) in which the document or the form is arranged is scanned by the image sensor, and the change in the output of the image sensor when scanning in the main scanning direction is detected. Then, the coordinates of the pixel where the output has changed (edge coordinates) are used as the coordinates for defining the area, and the area of the document or the form placed in the reading area is determined by the coordinate series created from the plurality of edge coordinates. Make regulations.
また後者の方法では、まず、帳票等が配置された読取
り領域を撮像素子を以って走査すると共に、撮像素子を
介して量子化された画像データを画像メモリに格納す
る。その後、格納された画像データを分割して水平方向
又は垂直方向に走査し、分割した画像データ毎に周辺分
布を作成する。そして、周辺分布に基づいて、文字読取
装置或は認識装置の読取り或は認識対象となる文字行の
領域検出を行なう。Further, in the latter method, first, the reading area in which forms and the like are arranged is scanned by the image sensor, and the quantized image data is stored in the image memory via the image sensor. Thereafter, the stored image data is divided and scanned in the horizontal direction or the vertical direction, and a peripheral distribution is created for each of the divided image data. Then, based on the peripheral distribution, the area of the character line to be read or recognized by the character reading device or the recognition device is detected.
(発明が解決しようとする課題) しかしながら上述した前者の従来方法では、端縁座標
を検出するためのレジスタに加え、座標系列を保存する
ためのメモリが必要となり、しかも座標系列のためのメ
モリとして容量の大きなものが必要であった。これがた
め、ハードウェアの規模が大きくなるという問題点があ
った。また、読取り領域に配置された原稿等のサイズや
傾斜を検出する場合に、原稿等のエッジ(端縁)が凹凸
となっていると、これら検出が正確に行なえないという
問題点があった。(Problems to be Solved by the Invention) However, in the former conventional method described above, in addition to the register for detecting the edge coordinates, a memory for storing the coordinate series is required, and moreover, as a memory for the coordinate series. A large capacity was needed. Therefore, there is a problem that the scale of the hardware becomes large. Further, when detecting the size or inclination of a document or the like placed in the reading area, if the edge (edge) of the document or the like is uneven, there is a problem that these detections cannot be performed accurately.
さらに後者の従来方法では、画像データを格納するた
めの画像メモリに加え、周辺分布を作成し格納するため
の容量の大きなメモリが必要であった。これがためハー
ドウェア規模が大きくなるという問題点があった。ま
た、読取領域を走査して画像データを一旦メモリに格納
した後、周辺分布を作成するため、処理速度が遅いとい
う問題点があった。Furthermore, in the latter conventional method, in addition to an image memory for storing image data, a large-capacity memory for creating and storing the peripheral distribution is required. Therefore, there is a problem that the hardware scale becomes large. Further, since the reading area is scanned and the image data is temporarily stored in the memory and then the peripheral distribution is created, there is a problem that the processing speed is slow.
この発明の目的は、上述した従来の問題点を解決し、
ハードウェア規模の縮小を図りしかも高速に精度良く目
的とする領域検出を行なえる領域検出方法及びその装置
を提供することにある。An object of the present invention is to solve the conventional problems described above,
An object of the present invention is to provide an area detection method and apparatus capable of reducing the scale of hardware and at the same time performing the desired area detection with high accuracy.
(課題を解決するための手段) この目的の達成を図るため、この出願の方法発明は、 量子化された、領域検出のための画像データを二次元
座標系で表現するため、画像データの画素にX座標及び
Y座標を付与し、 X座標及びY座標と、少なくとも一組の特定のα値及
びβ値とを用いて計算値αX+βYを算出して所定の画
素値を有する画素の計算値に関して最大計算値及び最小
計算値を検出し、 最大計算値及び最小計算値を与える画素のX、Y座標
をそれぞれ領域座標とし、この領域座標を以って検出領
域を規定することを特徴とする。(Means for Solving the Problem) In order to achieve this object, the method invention of the present application uses quantized image data for area detection in a two-dimensional coordinate system, The X coordinate and the Y coordinate are given to, and the calculated value αX + βY is calculated using the X coordinate and the Y coordinate and at least one set of specific α value and β value, and the calculated value of the pixel having the predetermined pixel value is calculated. It is characterized in that the maximum calculated value and the minimum calculated value are detected, and the X and Y coordinates of the pixel giving the maximum calculated value and the minimum calculated value are set as area coordinates, and the detection area is defined by these area coordinates.
この方法発明の実施に当り、α及びβとして(α=β
=1)及び(α=1、β=−1)の少なくともいずれか
一方の組のα及びβを用いるのが好適である。In carrying out this method invention, as α and β (α = β
It is preferable to use at least one set of α and β of = 1) and (α = 1, β = −1).
またこの方法発明の実施に当り、検出領域を原稿領域
とし、この原稿領域と背景領域とが区別出来る画像デー
タを得、所定の画素値を原稿の地を意味する画素値とす
るのが好適である。Further, in carrying out the method invention, it is preferable that the detection area is a manuscript area, image data capable of distinguishing the manuscript area from the background area is obtained, and a predetermined pixel value is set to a pixel value which means a background of the manuscript. is there.
またこの方法発明の実施に当り、検出領域を行領域と
し、行領域の文字線部と背景領域とが区別出来る画像デ
ータを得、所定の画素値を文字線部を意味する画素値と
するのが好適である。Further, in implementing the method invention, the detection area is a row area, image data capable of distinguishing the character line portion of the line area from the background area is obtained, and a predetermined pixel value is set as a pixel value meaning the character line portion. Is preferred.
またこの方法発明の実施に当り、画像データの画素値
を、ノイズ画素を除去するための又は特定の図形を検出
するためのフィルタを介して決定するのが好適である。Further, in carrying out the method invention, it is preferable that the pixel value of the image data is determined through a filter for removing noise pixels or detecting a specific figure.
さらにこの出願の装置発明は、 量子化された、領域検出のための画像データを出力す
る読取部と、 画像データの二次元座標系で表現するため画像データ
の画素のX座標を発生するX座標発生手段と、 画像データの二次元座標系で表現するための画像デー
タの画素のY座標を発生するY座標発生手段と、 X座標及びY座標と、少なくとも一組の特定のα値及
びβ値とを用いて計算値αX+βYを算出して所定の画
素値を有する画素の計算値に関する最大計算値及び最小
計算値を検出する計算検出手段と、 検出領域を規定する領域座標として最大計算値を与え
る画素の座標を保存するための最大値座標保存手段と、 領域座標として前記最小計算値を与える画素の座標を
保存するための最小値座標保存手段とを備え構成となっ
ている。Further, the apparatus invention of this application is such that a reading unit for outputting quantized image data for area detection, and an X coordinate for generating an X coordinate of a pixel of the image data for expressing in a two-dimensional coordinate system of the image data. Generating means, Y coordinate generating means for generating the Y coordinate of the pixel of the image data for expressing in the two-dimensional coordinate system of the image data, X coordinate and Y coordinate, and at least one set of specific α value and β value And a calculation detecting means for calculating the calculation value αX + βY by using and to detect the maximum calculation value and the minimum calculation value regarding the calculation value of the pixel having a predetermined pixel value, and the maximum calculation value as the area coordinates defining the detection area. The maximum value coordinate storage means for storing the pixel coordinates and the minimum value coordinate storage means for storing the pixel coordinates giving the minimum calculated value as the area coordinates are provided.
またこの装置発明の実施に当り、計算検出手段は、計
算値を算出する計算手段と、所定の画素値を有する画素
の最大計算値を検出する最大値検出手段と、所定の画素
値を有する画素の最小計算値を検出する最小値検出手段
とを備える構成とするのが好適である。Further, in carrying out the present invention, the calculation detecting means includes a calculating means for calculating a calculated value, a maximum value detecting means for detecting a maximum calculated value of a pixel having a predetermined pixel value, and a pixel having a predetermined pixel value. It is preferable to have a configuration including a minimum value detecting means for detecting the minimum calculated value of.
またこの装置発明の実施に当り、α及びβとして(α
=β=1)及び(α=1、β=−1)の少なくともいず
れか一方の組のα及びβを用いるのが好適である。Further, in carrying out the invention of this device, as α and β (α
= Β = 1) and (α = 1, β = −1), it is preferable to use at least one set of α and β.
またこの装置発明の実施に当り、検出領域を原稿領域
とし、この原稿領域と背景領域とが区別出来る画像デー
タを得、所定の画素値を原稿の地を意味する画素値とす
るのが好適である。Further, in carrying out the present invention, it is preferable that the detection area is a manuscript area, image data capable of distinguishing the manuscript area from the background area is obtained, and a predetermined pixel value is set to a pixel value which means a background of the manuscript. is there.
またこの装置発明の実施に当り、検出領域を行領域と
し、行領域の文字線部と背景領域とが区別出来る画像デ
ータを得、所定の画素値を文字線部を意味する画素値と
するのが好適である。Further, in carrying out the invention of the apparatus, the detection area is set as a row area, image data capable of distinguishing the character line portion of the line area from the background area is obtained, and a predetermined pixel value is set as a pixel value meaning the character line portion. Is preferred.
またこの装置発明の実施に当り、読取部は、ノイズ画
素を除去するための又は特定の図形を検出するためのフ
ィルタを備えた構成とするのが好適である。Further, in carrying out the apparatus invention, it is preferable that the reading section is provided with a filter for removing noise pixels or for detecting a specific figure.
(作用) 上述の方法及び装置発明によれば、二次元画像データ
の画素にX、Y座標を付与し、所定の画素値を有する画
素に関する、計算値αX+βYの最大値及び最小値を検
出する。そして、最大及び最小計算値を与える画素の
X、Y座標をそれぞれ領域座標とし、この領域座標によ
って検出領域を規定する。(Operation) According to the method and apparatus invention described above, the X and Y coordinates are given to the pixel of the two-dimensional image data, and the maximum value and the minimum value of the calculated value αX + βY regarding the pixel having the predetermined pixel value are detected. Then, the X and Y coordinates of the pixel that gives the maximum and minimum calculated values are set as area coordinates, and the detection area is defined by these area coordinates.
このようにして検出領域を規定する上述の手順は、非
常に簡単な手順であり、従って装置構成の簡素化を図れ
る。The above-described procedure for defining the detection area in this way is a very simple procedure, and therefore the apparatus configuration can be simplified.
また上述の手順は、読取部の走査と並行して行なえる
ので領域検出のための処理時間が短縮出来る。Further, since the above-mentioned procedure can be performed in parallel with the scanning of the reading unit, the processing time for area detection can be shortened.
(実施例) 以下、図面を参照して、この出願の方法発明及び装置
発明の実施例につき説明する。尚、図面はこれら発明が
理解出来る程度に概略的に示してあるにすぎず、従って
各構成成分の構成、データの流れ及び数値的条件は必ず
しも図示例に限定されるものではない。(Embodiment) An embodiment of a method invention and an apparatus invention of this application will be described below with reference to the drawings. It should be noted that the drawings are only schematically shown to the extent that these inventions can be understood, and therefore the constitution of each component, the flow of data and the numerical conditions are not necessarily limited to the illustrated examples.
第一実施例 〈装置発明の説明〉 (装置構成の概略) 第1図は装置発明の実施例の説明に供する機能ブロッ
ク図である。First Embodiment <Explanation of Device Invention> (Outline of Device Configuration) FIG. 1 is a functional block diagram for explaining an embodiment of the device invention.
同図に示すように、この実施例の領域検出装置は、量
子化された、領域検出のための画像データを出力する読
取部10と、計算値αX+βY(α、βは任意の定数)を
利用して検出領域を規定するための領域座標を検出する
任意好適個数(例えば2個)の領域検出手段12、14とを
備える。この実施例では、領域検出のために例えば(α
=β=1)及び(α=1、β=−1)の二組のα及びβ
値を用いるので、2個の領域検出手段12、14を備える構
成となっている。As shown in the figure, the area detection apparatus of this embodiment uses a reading unit 10 that outputs quantized image data for area detection and a calculated value αX + βY (α and β are arbitrary constants). And an arbitrary suitable number (for example, two) of area detecting means 12 and 14 for detecting area coordinates for defining the detection area. In this embodiment, for example, (α
= Β = 1) and (α = 1, β = −1) two sets of α and β
Since the value is used, the two area detecting means 12 and 14 are provided.
尚、領域検出手段の個数は領域検出のためにα及びβ
値を何組用いるかによって任意好適に変更することが出
来、例えばn組のα及びβ値を用いる場合、n個の領域
検出手段を備えた構成とし、α及び又はβを各領域検出
手段毎に異なる任意好適な値に設定すれば良い。また、
原稿領域その他のほぼ矩形形状を有する領域の検出の場
合には、(α=β=1)及び又は(α=1、β=−1)
を用いるのが好適である。The number of area detecting means is α and β for area detection.
It can be arbitrarily changed depending on how many sets of values are used. For example, when n sets of α and β values are used, n area detection means is provided and α and / or β are set for each area detection means. It may be set to any suitable value that is different from the above. Also,
In the case of detecting a document area or other areas having a substantially rectangular shape, (α = β = 1) and / or (α = 1, β = −1)
Is preferably used.
(読取部) 読取部10の光電変換部10aは、読取り対象例えば原稿
が配置された読取領域に照射した光によって得られる、
読取り領域の濃度情報Lを入力し、この濃度情報Lを量
子化された例えば二値のディジタル信号の原画像データ
に変換する。原画像データは読取領域を例えば線順次に
走査することによって得られる。(Reading Unit) The photoelectric conversion unit 10a of the reading unit 10 is obtained by the light applied to the reading target, for example, the reading area in which the document is arranged.
The density information L of the reading area is input, and this density information L is converted into quantized original image data of, for example, a binary digital signal. The original image data is obtained by scanning the reading area line-sequentially, for example.
第2図は読取り領域の全面に関する原画像データの一
例を示す図である。同図において、20は原稿が配置され
た読取り領域全面の原画像データ、20aは原稿領域の画
像データ(原稿データ)及び20bは原稿の背景となる背
景領域の画像データ(背景データ)を示し、原画像デー
タ20は原稿データ20a及び背景データ20bとから構成され
ている。またa、b、c及びdはそれぞれほぼ矩形状の
原稿の角点を示す。尚、原稿データ20aは原画像データ2
0のうち1点鎖線で囲まれる白抜き領域の画像データ及
び背景データ20bは原画像データ20のうち原稿データを
除くハッチング領域の画像データを指している。FIG. 2 is a diagram showing an example of original image data relating to the entire surface of the reading area. In the figure, 20 is the original image data of the entire reading area in which the original is placed, 20a is the image data of the original area (original data), and 20b is the image data of the background area (background data) that is the background of the original, The original image data 20 is composed of original data 20a and background data 20b. Further, a, b, c and d respectively indicate corner points of a substantially rectangular original. The original data 20a is the original image data 2
The image data of the white area surrounded by the one-dot chain line of 0 and the background data 20b indicate the image data of the hatched area of the original image data 20 excluding the original data.
原画像データ20は、このデータ20の左上角点(左上角
の画素)を原点(0,0)とする二次元座標系(X−Y座
標系)で表現され、X軸の軸方向を主走査方向及びY軸
の軸方向を副走査方向としている。The original image data 20 is represented by a two-dimensional coordinate system (XY coordinate system) whose origin (0,0) is the upper left corner point (pixel at the upper left corner) of this data 20, and the main direction is the X axis direction. The scanning direction and the axial direction of the Y axis are the sub-scanning direction.
この実施例では読取り部10の光電変換部10aから出力
される原画像データ20を領域検出のための画像データと
して用いる。しかも検出領域を原稿領域とし、この原稿
領域の検出のために原稿領域と背景領域とが区別出来る
画像データを得る。原稿領域と背景領域とが区別出来る
画像データは、例えば、読取り領域を原稿よりも広く設
定し、原稿の地を白地として背景データ20bを黒ビット
(画素値「1」)で表現するようにすることによって、
得ることが出来る。この場合、原稿データ20aの白ビッ
ト(画素値「0」)は原稿の地を意味する地画素とな
り、原稿データ20aの黒ビットは原稿に記された文字や
図形等の情報を意味する情報画素又は原稿の汚れや折れ
や破れ等によって生ずるノイズ画素となる。In this embodiment, the original image data 20 output from the photoelectric conversion unit 10a of the reading unit 10 is used as image data for area detection. Moreover, the detection area is set as the original area, and image data that can distinguish the original area and the background area is obtained for detecting the original area. In the image data in which the original area and the background area can be distinguished, for example, the reading area is set wider than the original, and the background of the original is white and the background data 20b is represented by black bits (pixel value "1"). By
You can get it. In this case, the white bit (pixel value "0") of the original data 20a becomes a ground pixel which means the background of the original, and the black bit of the original data 20a means an information pixel which means information such as characters and figures written on the original. Or, it becomes a noise pixel caused by stains, breaks, tears, etc. of the original.
(領域検出手段) 領域検出手段12は、領域検出のための画像データを二
次元座標系で表現するため画像データの画素のX座標を
発生するX座標発生手段16と、領域検出のための画像デ
ータを二次元座標系で表現するため画像データのY座標
を発生するY座標発生手段18と、X、Y座標と特定のα
及びβ値とを用いて計算値αX+βYを算出して所定の
画素値を有する画素の計算値に関する最大計算値及び最
小計算値を検出する計算検出手段121と、検出領域を規
定する領域座標として最大計算値を与える画素の座標を
保存するための最大値座標保存手段122と、領域座標と
して最小計算値を与える画素の座標を保存するための最
小値座標保存手段123とを備える。(Area Detecting Means) The area detecting means 12 is an X-coordinate generating means 16 for generating X-coordinates of pixels of image data for expressing image data for area detection in a two-dimensional coordinate system, and an image for area detection. Y coordinate generating means 18 for generating the Y coordinate of the image data for expressing the data in the two-dimensional coordinate system, and the X, Y coordinates and a specific α.
And the β value to calculate the calculated value αX + βY to detect the maximum calculated value and the minimum calculated value regarding the calculated value of the pixel having the predetermined pixel value, and the maximum as the area coordinates defining the detection area. A maximum value coordinate storage means 122 for storing the coordinates of the pixel giving the calculated value and a minimum value coordinate storage means 123 for storing the coordinates of the pixel giving the minimum calculated value as the area coordinates.
そして領域検出手段12の計算検出手段121は、計算値
αX+βYを算出する計算手段121aと、所定の画素値を
有する画素の最大計算値を検出する最大値検出手段121b
と、所定の画素値を有する画素の最小計算値を検出する
最小値検出手段121cとを備える。Then, the calculation detecting means 121 of the area detecting means 12 calculates the calculated value αX + βY, and the maximum value detecting means 121b that detects the maximum calculated value of a pixel having a predetermined pixel value.
And a minimum value detecting means 121c for detecting the minimum calculated value of a pixel having a predetermined pixel value.
領域検出手段14は、領域検出手段12と同様にして、X
座標発生手段16と、Y座標発生手段18と、計算検出手段
141と、最大値座標保存手段142と、最小値座標保存手段
143とを備え、そして計算検出手段141は、計算手段141a
と、最大値検出手段141bと、最小値検出手段141cとを備
える。The area detecting means 14 is similar to the area detecting means 12 in that
Coordinate generating means 16, Y coordinate generating means 18, calculation detecting means
141, maximum value coordinate storage means 142, minimum value coordinate storage means
143, and the calculation detection means 141 is the calculation means 141a.
A maximum value detecting means 141b and a minimum value detecting means 141c.
領域検出手段12、14は共通の座標発生手段16及び18を
備えている。The area detecting means 12 and 14 are provided with common coordinate generating means 16 and 18.
この実施例では二組のα、β値すなわち(α=β=
1)及び(α=1、β=−1)を用いるので、計算検出
手段121において計算値X+Yに関する最大及び最小計
算値を、また計算検出手段141において計算値X−Yに
関する最大及び最小計算値を検出する。In this example, there are two sets of α and β values, ie (α = β =
1) and (α = 1, β = −1) are used, the maximum and minimum calculated values for the calculated value X + Y are calculated by the calculation detection means 121, and the maximum and minimum calculated values for the calculated value XY are calculated by the calculation detection means 141. To detect.
上述の領域検出手段12、14においては、例えば、計算
手段121aを加算回路を以って、計算手段141aを減算回路
を以って、検出手段121b、121c、141b、141cをそれぞれ
比較器及びレジスタを以って、さらに座標保存手段12
2、123、142、143をそれぞれレジスタ回路を以って構成
することが出来る。In the above-mentioned area detecting means 12 and 14, for example, the calculating means 121a is provided with an adding circuit, the calculating means 141a is provided with a subtracting circuit, and the detecting means 121b, 121c, 141b and 141c are provided as comparators and registers, respectively. In addition, the coordinate storage means 12
Each of 2, 123, 142, and 143 can be configured with a register circuit.
〈方法発明の説明及び装置発明の動作説明〉 第3図(A)〜(B)は方法発明の実施例及び装置発
明の実施例の動作説明に供する図である。<Explanation of Method Invention and Operation of Device Invention> FIGS. 3A to 3B are diagrams for explaining the operation of the embodiment of the method invention and the embodiment of the device invention.
以下、第3図(A)〜(B)に加え第1図及び第2図
を適宜参照して、この出願の方法発明を上述した装置発
明の実施例に適用した例につき説明する。Hereinafter, an example in which the method invention of the present application is applied to the above-described apparatus invention will be described with reference to FIGS. 1 and 2 in addition to FIGS. 3A and 3B.
尚、所定の画素値を有する画素に関する最大計算値及
び最小計算値を検出する方法としては、例えば次の及
びの方法が考えられる。計算手段121a、141aにおい
て領域検出のための画像データの全画素につき計算値を
算出し、検出手段121b、121c及び141b、141cにおいて手
段121a、141aから入力された計算値が所定の画素値を有
する画素のものか否かを判断しこの判断結果に基づき所
定の画素値を有する画素の計算値のみから最小及び最大
計算値を検出する方法、計算手段121a、141aにおいて
入力された画素のX、Y座標が所定の画素値を有する画
素のX、Y座標か否かを判断しこの判断結果に基づき所
定の画素値を有する画素のみについて計算値を算出し、
検出手段121b、121c及び141b、141cにおいて手段121a、
141aから入力された計算値の最大及び最小計算値を検出
し、この最大及び最小計算値を所定の画素値を有する画
素の最大及び最小計算値とする方法。方法としては前記
及びのいずれでも良いが、以下に述べる説明では前
記の方法によって検出を行なう。As a method for detecting the maximum calculated value and the minimum calculated value for a pixel having a predetermined pixel value, for example, the following methods and can be considered. The calculation means 121a, 141a calculates a calculation value for all pixels of the image data for area detection, and the calculation values input from the means 121a, 141a in the detection means 121b, 121c and 141b, 141c have a predetermined pixel value. A method of determining whether or not the pixel is a pixel and detecting the minimum and maximum calculated values only from the calculated values of pixels having a predetermined pixel value based on this determination result, X, Y of the pixels input in the calculating means 121a, 141a It is determined whether or not the coordinates are the X and Y coordinates of a pixel having a predetermined pixel value, and the calculation value is calculated only for the pixel having the predetermined pixel value based on the result of the determination.
In the detection means 121b, 121c and 141b, 141c means 121a,
A method of detecting the maximum and minimum calculated values of the calculated values input from 141a and using the maximum and minimum calculated values as the maximum and minimum calculated values of a pixel having a predetermined pixel value. Although any of the above methods may be used, detection will be performed by the above method in the following description.
I:領域検出手段12に着目した説明 *ステップ(1)〜(3) 読取部10が原稿の配置された読取り領域の走査を開始
すると(ステップ(1))、読取部10は量子化された、
領域検出のための画像データとして原画像データ20を走
査順次に画素毎に出力するので、最大値検出手段121b及
び最小値検出手段121cはこの原画像データ20を画素毎に
入力する。これと共に、X座標(主走査)発生手段16及
びY座標(副走査)発生手段18は読取部10の出力と同期
させて原画像データ20の画素のX、Y座標を画素毎に発
生する。その結果、画素毎にX、Y座標が付与された原
画像データ20、すなわち二次元座標系で表現される領域
検出のための画像データが得られる。座標発生手段16、
18からのX、Y座標は計算手段121a、最大値座標保存手
段122及び最小値座標保存手段123に入力される。(ステ
ップ(2)) 計算手段121aはX、Y座標を入力するとこれらX、Y
座標から計算値X+Yを算出し、算出した計算値を最大
値検出手段121b及び最小値検出手段121cに対し出力する
(ステップ(3))。I: Description Focusing on Area Detection Means 12 * Steps (1) to (3) When the reading unit 10 starts scanning the reading region where the document is arranged (step (1)), the reading unit 10 is quantized. ,
Since the original image data 20 is output as the image data for area detection in a scanning sequence for each pixel, the maximum value detecting means 121b and the minimum value detecting means 121c input the original image data 20 for each pixel. At the same time, the X coordinate (main scanning) generating means 16 and the Y coordinate (sub scanning) generating means 18 generate the X and Y coordinates of the pixels of the original image data 20 in synchronization with the output of the reading section 10. As a result, the original image data 20 to which the X and Y coordinates are given for each pixel, that is, the image data for area detection expressed in the two-dimensional coordinate system is obtained. Coordinate generation means 16,
The X and Y coordinates from 18 are input to the calculation means 121a, the maximum value coordinate storage means 122 and the minimum value coordinate storage means 123. (Step (2)) When the calculating means 121a inputs X and Y coordinates, these X and Y coordinates are input.
The calculated value X + Y is calculated from the coordinates, and the calculated value is output to the maximum value detecting means 121b and the minimum value detecting means 121c (step (3)).
ステップ(2)〜(3)によって、最大値検出手段12
1bは原画像データ20及び計算値X+Yを、最小値検出手
段121cは原画像データ20及び計算値X+Yを、最大値座
標保存手段122はX、Y座標を、さらに最小値座標保存
手段123はX、Y座標を1画素毎に入力する。The maximum value detecting means 12 is obtained by the steps (2) to (3).
1b is the original image data 20 and the calculated value X + Y, the minimum value detection means 121c is the original image data 20 and the calculated value X + Y, the maximum value coordinate storage means 122 is the X and Y coordinates, and the minimum value coordinate storage means 123 is the X value. , Y coordinates are input for each pixel.
そして、領域検出手段12は後述のステップ(4)、
(5a)、(5b)或は(7)の判断を1画素毎に繰り返し
行ない、その判断結果に応じた動作を行なう。Then, the area detecting means 12 performs the step (4) described later,
The determination of (5a), (5b) or (7) is repeated for each pixel, and the operation according to the determination result is performed.
*ステップ(4) 最大値検出手段121b及び最小値検出手段121cは入力さ
れた原画像データ20が所定の画素値を有する画素か否か
を1画素毎に判断する。(ステップ(4)) 原稿領域を検出する場合、原稿の地を意味する画素
(地画素)であるか否か、この実施例では白ビットの画
素であるか否かを判断し、この地画素に関する最大及び
最小計算値を検出する。* Step (4) The maximum value detecting means 121b and the minimum value detecting means 121c judge for each pixel whether or not the input original image data 20 is a pixel having a predetermined pixel value. (Step (4)) When detecting the original area, it is determined whether or not it is a pixel (ground pixel) that means the background of the original, and in this embodiment, it is a white bit pixel. Find the maximum and minimum calculated values for.
所定の画素値を有さないとき 最大値検出手段121b、最大値座標保存手段122、最小
値検出手段121c及び最小値座標保存手段123は動作しな
い。When the pixel value does not have a predetermined pixel value, the maximum value detection means 121b, the maximum value coordinate storage means 122, the minimum value detection means 121c, and the minimum value coordinate storage means 123 do not operate.
検出手段121b、121cはステップ(4)の次にステップ
(7)の判断を行なう。The detecting means 121b and 121c make a judgment in step (7) after step (4).
所定の画素値を有するとき 最大値検出手段121bは、ステップ(4)の次に比較値
及び計算値の比較の判断(ステップ(5))を、及び最
小値検出手段121cは、ステップ(4)の次に比較値及び
計算値の比較の判断(ステップ(5b))を行なう。When the pixel value has a predetermined pixel value, the maximum value detection means 121b determines the comparison of the comparison value and the calculated value (step (5)) after step (4), and the minimum value detection means 121c performs the step (4). Then, the comparison value and the calculated value are compared (step (5b)).
*ステップ(5a) 計算値が比較値よりも大きいか或は比較値と等しい
とき 最大値検出手段121bは先に格納されている比較値に換
えて、比較値よりも大きいか或は比較値と等しい計算値
を新たな比較値として格納し(比較値の書換え)、これ
と共にセットパルスを最大値座標保存手段122に対し出
力する。セットパルスを入力した最大値座標保存手段12
2は、X座標発生手段16及びY座標発生手段18から出力
されるX、Y座標を格納する(X、Y座標の書換え)。
(ステップ(6)) 計算値が比較値よりも小さいとき 最大値検出手段121b及び最大値座標保存手段122は動
作しない。* Step (5a) When the calculated value is larger than or equal to the comparison value, the maximum value detecting means 121b replaces the previously stored comparison value, and is larger than or equal to the comparison value. The same calculated value is stored as a new comparison value (rewriting the comparison value), and at the same time, the set pulse is output to the maximum value coordinate storage means 122. Maximum value coordinate storage means with set pulse input 12
2 stores the X and Y coordinates output from the X coordinate generating means 16 and the Y coordinate generating means 18 (rewriting of the X and Y coordinates).
(Step (6)) When the calculated value is smaller than the comparison value, the maximum value detecting means 121b and the maximum value coordinate storing means 122 do not operate.
最大値検出手段は、のいずれの場合もステップ
(5a)の次にステップ(7)の判断を行なう。In any case, the maximum value detecting means makes the judgment of step (7) after step (5a).
尚、最大値検出手段122は格納される比較値の初期値
としては、例えば、計算値αX+βYとして取り得る値
よりも小さな値を用いれば良い。例えばα=β=1であ
り原画像データ20を2048行3072列の画素に分割した(従
って0≦X≦3071及び0≦Y≦2047となる)場合には、
例えば−1を比較値の初期値とすることが出来る。また
比較値及びX、Y座標の書換えを計算値αX+βYが比
較値よりも大きいときのみ行なうようにし、これと共に
計算値が比較値よりも小さいか或は比較値と等しいと
き、最大値検出手段121bの比較値及び最大値座標保存手
段122のX、Y座標を書換えないようにしても良い。最
大値座標保存手段122のX、Y座標の初期値としては任
意好適な数値を用いて良い。The maximum value detecting means 122 may use, as the initial value of the stored comparison value, for example, a value smaller than the value that can be taken as the calculated value αX + βY. For example, when α = β = 1 and the original image data 20 is divided into pixels of 2048 rows and 3072 columns (thus 0 ≦ X ≦ 3071 and 0 ≦ Y ≦ 2047),
For example, -1 can be set as the initial value of the comparison value. Further, the comparison value and the X and Y coordinates are rewritten only when the calculated value αX + βY is larger than the comparison value, and when the calculated value is smaller than or equal to the comparison value, the maximum value detecting means 121b. The X and Y coordinates of the comparison value and maximum value coordinate storage means 122 may not be rewritten. Any suitable numerical value may be used as the initial values of the X and Y coordinates of the maximum value coordinate storage means 122.
*ステップ(5b) 計算値が比較値よりも小さいとき 最小値検出手段121cは先に格納されている比較値に換
えて比較値よりも小さい計算値を比較値として格納する
(比較値の書換え)と共に、最小値座標保存手段123に
対しセットパルスを出力する。最小値座標保存手段123
はセットパルスを入力すると、X座標発生手段16及びY
座標発生手段18から出力されるX、Y座標を格納する
(X、Y座標の書換え)。(ステップ(6)) 計算値が比較値よりも大きいか或は比較値と等しい
とき 最小値検出手段121c及び最小値座標保存手段123は動
作しない。* Step (5b) When the calculated value is smaller than the comparison value: The minimum value detecting means 121c stores the calculated value smaller than the comparison value as the comparison value instead of the previously stored comparison value (rewriting the comparison value). At the same time, a set pulse is output to the minimum value coordinate storage means 123. Minimum value coordinate storage means 123
Receives a set pulse, the X coordinate generating means 16 and Y
The X and Y coordinates output from the coordinate generating means 18 are stored (rewriting of the X and Y coordinates). (Step (6)) When the calculated value is larger than or equal to the comparison value, the minimum value detecting means 121c and the minimum value coordinate storing means 123 do not operate.
最小値検出手段121cは、のいずれの場合にもステ
ップ(5b)の次にステップ(7)の判断を行なう。In any case, the minimum value detecting means 121c makes the judgment of step (7) after step (5b).
尚、最小値検出手段121cに格納される比較値の初期値
としては、例えば計算値αX+βYとして取り得る値よ
りも大きな値を用いれば良い。例えばα=β=1であり
原画像データ20を2048行3072列の画素に分割した(従っ
て0≦X≦3071及び0≦Y≦2047となる)場合には、例
えば5119を比較値の初期値とすることが出来る。また計
算値αX+βYが比較値よりも小さいか比較値と等しい
とき比較値及びX、Y座標の書換えを行ない、これと共
に計算値αX+βYが比較値よりも大きいとき比較値及
びX、Y座標の書換えを行なわないようにしても良い。
最小値座標保存手段123のX、Y座標の初期値としては
任意好適な数値を用いて良い。As the initial value of the comparison value stored in the minimum value detecting means 121c, for example, a value larger than the value that can be taken as the calculated value αX + βY may be used. For example, when α = β = 1 and the original image data 20 is divided into pixels of 2048 rows and 3072 columns (thus 0 ≦ X ≦ 3071 and 0 ≦ Y ≦ 2047), for example, 5119 is set as the initial value of the comparison value. Can be When the calculated value αX + βY is smaller than or equal to the comparison value, the comparison value and the X and Y coordinates are rewritten, and when the calculated value αX + βY is larger than the comparison value, the comparison value and the X and Y coordinates are rewritten. It may not be performed.
Any suitable numerical value may be used as the initial values of the X and Y coordinates of the minimum value coordinate storage means 123.
*ステップ(7) 読取り領域の走査が終了したとき 最大値検出手段121b及び最小値検出手段121cは読取り
領域の走査が終了し全ての画素につき処理を終了する
と、X、Y座標の出力信号を最大値座標保存手段122及
び最小値座標保存手段123に対し出力する。この出力信
号を入力した最大値座標保存手段122及び最小値座標保
存手段123は、格納しているX、Y座標を原稿領域を規
定するための領域座標として出力する。これと共に最大
値検出手段121b及び最小値検出手段121cは比較値の初期
化を行なう。全ての画素につき処理を終了した時点で最
大値座標保存手段122及び最小値座標保存手段123に保存
(格納)されているX、Y座標が最大及び最小計算値を
与える画素のX、Y座標すなわち領域座標である。(ス
テップ(8)) 領域検出手段12にあっては、α=β=1としたので、
全ての画素につき処理を終了した時点で最大値座標保存
手段122に格納されているX、Y座標が角点cの座標と
なり及び最小値座標保存手段123に格納されているX、
Y座標が角点aのX、Y座標となる。* Step (7) When the scanning of the reading area is completed, the maximum value detecting means 121b and the minimum value detecting means 121c complete the scanning of the reading area and complete the processing for all the pixels, and output the X and Y coordinate output signals to the maximum. It outputs to the value coordinate storage means 122 and the minimum value coordinate storage means 123. The maximum value coordinate storage means 122 and the minimum value coordinate storage means 123, which have received this output signal, output the stored X and Y coordinates as area coordinates for defining the original area. At the same time, the maximum value detecting means 121b and the minimum value detecting means 121c initialize the comparison value. When the processing is completed for all the pixels, the X and Y coordinates stored (stored) in the maximum value coordinate storage means 122 and the minimum value coordinate storage means 123 give the maximum and minimum calculated values, ie, the X and Y coordinates of the pixel. Area coordinates. (Step (8)) In the area detecting means 12, since α = β = 1,
When the processing is completed for all pixels, the X and Y coordinates stored in the maximum value coordinate storage means 122 become the coordinates of the corner point c, and the X stored in the minimum value coordinate storage means 123,
The Y coordinate is the X, Y coordinate of the corner point a.
読取り領域の走査が終了しないとき 最大値検出手段121b及び最小値検出手段121cは読取領
域の走査が終了せず従って原画像データ20の全ての画素
につき処理が終了していなければ、原画像データ20の残
りの画素につきステップ(4)、(5a)、(5b)或は
(7)の判断を行ない、その判断結果に応じて動作す
る。When the scanning of the reading area does not end, the maximum value detecting means 121b and the minimum value detecting means 121c do not end the scanning of the reading area. Therefore, if the processing has not ended for all the pixels of the original image data 20, the original image data 20 The remaining pixels are subjected to the judgment of step (4), (5a), (5b) or (7), and the operation is performed according to the judgment result.
領域検出手段14は、上述した領域検出手段12の動作と
並行して、領域検出手段12と同様の動作を行なうので、
領域検出手段14の動作については説明を省略する。Since the area detecting means 14 performs the same operation as the area detecting means 12 in parallel with the operation of the area detecting means 12 described above,
The description of the operation of the area detecting means 14 is omitted.
II:領域座料検出の原理的説明 第4図は領域座標検出の原理的説明に供する図であ
る。以下、第4図を参照して説明する。II: Principle explanation of area occupant detection FIG. 4 is a diagram for explaining the principle of area coordinate detection. Hereinafter, description will be given with reference to FIG.
原画像データ20上において原稿データ20aを通過する
直線αX+βY=Cを想定し、傾きが一定値に固定され
Cの値が種々の値となる直線群αX+βY=Cを考え
る。すると、原稿データ20aを通過する直線群の中に角
点を通過する直線を見出すことが出来、このとき角点を
通過する直線のCの値は直線群中、最小の値或は最大の
値となる。従って原稿データ20aの各画素につきCの値
すなわち計算値αX+βYを算出し、計算値αX+βY
が最大或は最小となる画素のX、Y座標を領域座標とす
れば良いことが理解出来る。Assuming a straight line αX + βY = C passing through the original data 20a on the original image data 20, consider a straight line group αX + βY = C in which the inclination is fixed to a constant value and the value of C has various values. Then, a straight line passing through the corner point can be found in the straight line group passing through the document data 20a. At this time, the value of C of the straight line passing through the corner point is the minimum value or the maximum value in the straight line group. Becomes Therefore, the value of C, that is, the calculated value αX + βY is calculated for each pixel of the document data 20a, and the calculated value αX + βY is calculated.
It can be understood that the X and Y coordinates of the pixel having the maximum value or the minimum value may be used as the area coordinates.
例えばα=β=1として原稿データ20aの領域を通過
する直線群L:X+Y=C1を考え、C1の値をより小さく
してゆくと角点aにおり近い直線が得られC1の値が最
小となるとき角点aを通過する直線L1が得られること
が理解出来る。またC1の値をより大きくしてゆくと角
点cにより近い直線が得られC1の値が最大となるとき
角点cを通過する直線Lnが得られる。従って、原稿デ
ータ20aの画素のなかで計算値X+Yの最小値を与える
座標が角点aの及び最大値を与える画素の座標が角点c
の座標すなわち領域座標となることが理解出来る。For example alpha = beta = 1 straight lines passing through the area of the document data 20a as L: X + Y = thinking C 1, smaller to Yuku the near linear cage to the corner point a value of C 1 is C 1 obtained It can be understood that a straight line L 1 passing through the corner point a is obtained when the value becomes the minimum. When the value of C 1 is further increased, a straight line closer to the corner point c is obtained, and when the value of C 1 is maximum, a straight line L n passing through the corner point c is obtained. Therefore, among the pixels of the document data 20a, the coordinate giving the minimum value of the calculated value X + Y is the corner point a and the coordinate giving the maximum value is the corner point c.
It can be understood that the coordinates become, that is, the area coordinates.
同様にして、例えばα=1、β=−1として原稿デー
タ20aの領域を通過する直線群M:X−Y=C2を考える
と、C2の値が最小となるとき角点dを通過する直線Mm
が及びC2の値が最大となるとき点bを通過する直線M1
が得られる。従って、原稿データ20aの画素のなかで計
算値X−Yの最小値を与える画素の座標が角点dの及び
最大値を与える画素の座標が角点bの座標すなわち領域
座標となることが理解出来る。Similarly, considering a straight line group M: XY = C 2 that passes through the area of the document data 20a with α = 1 and β = -1, for example, when the value of C 2 is the minimum, the angle point d is passed. Straight line M m
And a straight line M 1 passing through the point b when the value of C 2 is maximum
Is obtained. Therefore, it is understood that among the pixels of the document data 20a, the coordinates of the pixel giving the minimum value of the calculated values XY are the coordinates of the corner point d and the coordinates of the pixel giving the maximum value are the coordinates of the corner point b, that is, the area coordinates. I can.
検出領域は角点a、b、c及びdの座標によって規定
される矩形領域、すなわちこれら角点を有する矩形領域
となる。The detection area is a rectangular area defined by the coordinates of the corner points a, b, c, and d, that is, a rectangular area having these corner points.
この実施例では、座標発生手段16、18をカウンタを以
って、計算手段121aを加算器及び計算手段141aを減算器
を以って、最大値検出手段121b、141bを比較器及びレジ
スタを以って、最小値検出手段121c、141cを比較器及び
レジスタを以って、さらに座標保持手段122、123、14
2、143をレジスタを以って構成しており、従ってハード
ウェア規模を従来よりも小さく出来る。In this embodiment, the coordinate generating means 16 and 18 are counters, the calculating means 121a is an adder and the calculating means 141a is a subtracter, and the maximum value detecting means 121b and 141b are a comparator and a register. Therefore, the minimum value detecting means 121c, 141c are provided with a comparator and a register, and further the coordinate holding means 122, 123, 14 are provided.
Since 2 and 143 are configured with registers, the hardware scale can be made smaller than before.
〈変形例〉 第一実施例では、2組のα及びβ値を用いて従って傾
きが異なる2つの直線群L、Mを用いて角点検出を行な
った場合につき説明したが、3組以上のα及びβ値を用
いて従って傾きが異なる3つ以上の直線群を用いること
によってほぼ多角形形状(ほぼn角形形状)の領域を検
出することも可能である。この場合、それぞれの組のα
及びβ値につき上述と同様の原理に従って最大計算値及
び最小計算値を求め、よってn個の角点の座標(領域座
標)を検出すれば良い。検出領域は検出したn個の角点
の座標によって規定されるn角形領域、すなわちn個の
角点を有するn角形領域となる。この場合の装置構成
は、領域検出手段の配設個数を、角点検出のために用い
るα及びβ値の組の個数と同数とする他は、上述した第
一実施例と同様の構成とすれば良い。<Modification> In the first embodiment, the case where the corner point is detected by using two groups of straight lines L and M having different inclinations by using two sets of α and β values has been described. It is also possible to detect a region having a substantially polygonal shape (almost n-gonal shape) by using α and β values and thus using three or more straight line groups having different inclinations. In this case, each set of α
The maximum calculated value and the minimum calculated value for the .beta. Value and the .beta. The detection area is an n-gonal area defined by the coordinates of the detected n corner points, that is, an n-gonal area having n corner points. In this case, the device configuration may be the same as that of the above-described first embodiment except that the number of area detecting means provided is the same as the number of pairs of α and β values used for detecting the corner points. Good.
また例えば原稿領域の検出のように、ほぼ矩形形状を
有する領域の検出を行なう場合には、1組のα及びβ値
を用いて最大及び最小計算値を与える2つの画素の座標
を検出するようにしても良い。この場合に得られる角点
座標は例えば角点c及びaのように対角する位置にある
角点の座標となる。検出領域はこれら対角位置にある角
点の座標によって規定される領域、すなわち検出された
角点を結ぶ線分を対角線として備える矩形領域となる。
この場合の装置構成は、領域検出手段の配設個数を、1
個とする他は上述した第一実施例の装置構成と同様とす
れば良い。When detecting an area having a substantially rectangular shape, such as detecting an original area, the coordinates of two pixels giving the maximum and minimum calculated values are detected using one set of α and β values. You can The coordinates of the corner points obtained in this case are the coordinates of corner points at diagonal positions such as corner points c and a. The detection area is an area defined by the coordinates of the corner points at these diagonal positions, that is, a rectangular area having a line segment connecting the detected corner points as a diagonal line.
In this case, the device configuration is such that the number of area detecting means provided is 1
The configuration may be the same as that of the device of the first embodiment described above except that the number is set to one.
さらに、検出領域を行領域としても良い。この場合の
装置構成は例えば上述の第一実施例の装置構成と同様と
することが出来る。Further, the detection area may be a row area. The device configuration in this case can be similar to that of the above-described first embodiment, for example.
第5図は行領域検出の場合の画像データの一例を示す
図である。同図において22は読取部10によって帳票を走
査して得た光電変換部からの原画像データであり、この
原画像データ22は行領域24の文字線部の画像データ(文
字データ)26と、文字の背景領域の画像データ(背景デ
ータ)28とを含んでおり、文字線部と背景領域とが区別
出来る画像データとなている。図示例では、例えば帳票
の地は白地として背景データ28が白ビット(画素値
「0」)で表現されるようにし、これと共に帳票に記さ
れる文字線を黒線とし従って文字データ26が黒ビット
(画素値「1」)で表現されるようにすることによっ
て、文字線部と背景領域とが区別出来る画像データを得
ている。FIG. 5 is a diagram showing an example of image data in the case of line area detection. In the figure, 22 is original image data from the photoelectric conversion unit obtained by scanning the form by the reading unit 10, and the original image data 22 is image data (character data) 26 of the character line portion of the line area 24, The image data (background data) 28 of the character background area is included so that the character line portion and the background area can be distinguished. In the illustrated example, the background of the form is represented by white bits (pixel value "0"), for example, the background of the form is a white background, and the character line written on the form is a black line, so that the character data 26 is black. Image data in which the character line portion and the background area can be distinguished is obtained by being represented by bits (pixel value “1”).
行領域24の検出は、行を構成する文字につき領域検出
手段12、14による走査を行ない領域座標となる角点A、
B、C、Dの座標を検出すれば良い。行領域はこれら角
点A、B、C、Dによって規定される矩形領域、すなわ
ち角点A、B、C、Dを有する矩形領域となる。角点
A、B、C、Dの座標検出は、所定の画素値を有する画
素(この場合には文字データ26であることを意味する黒
ビットの画素)に関する最大及び最小計算値を検出する
ことによって、行なえる。The line area 24 is detected by scanning the area detecting means 12 and 14 with respect to the characters forming the line and using the corner points A as the area coordinates.
The coordinates of B, C and D may be detected. The line area is a rectangular area defined by these corner points A, B, C, D, that is, a rectangular area having corner points A, B, C, D. The detection of the coordinates of the corner points A, B, C, D is to detect the maximum and minimum calculated values for the pixel having a predetermined pixel value (in this case, the black bit pixel meaning the character data 26). Can be done by
検出された角点A、B、C、Dの座標は行領域24の傾
斜を表現するために用いることも出来、例えば角点A及
びCを含む直線の傾きを行領域24の傾斜量とし、或は角
点A及びCを含む直線の傾きと角点B及びDを含む直線
の傾きとを平均した値を行領域の傾斜量として用いるこ
とが出来る。The coordinates of the detected corner points A, B, C, D can also be used to express the inclination of the row area 24. For example, the inclination of a straight line including the corner points A and C is the inclination amount of the row area 24, Alternatively, a value obtained by averaging the inclination of the straight line including the corner points A and C and the inclination of the straight line including the corner points B and D can be used as the inclination amount of the row region.
第二実施例 〈装置発明の説明〉 第6図は装置発明の第二実施例の説明に供する機能ブ
ロック図である。尚、第一実施例の構成成分と同様の構
成成分については同一の符号を付して示し、その詳細な
説明を省略する。Second Embodiment <Explanation of Device Invention> FIG. 6 is a functional block diagram for explaining a second embodiment of the device invention. The same components as those of the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted.
この装置発明の第二実施例は、読取部がフィルタを備
えている他は、上述した装置発明の第一実施例と同様の
構成となっている。The second embodiment of the device invention has the same configuration as the first embodiment of the device invention described above, except that the reading unit includes a filter.
同図において、30は読取部を示し、この読取部30は光
電変換部10aとノイズ画素を除去するためのフィルタ30a
とを備える。フィルタ30aは光電変換部10aと領域検出手
段12、14との間に設けられている。フィルタ30aは、例
えば従来用いられているフィルタと同様、シフトレジス
タとROM(Read-Only Memory)とを備えている。In the figure, reference numeral 30 denotes a reading unit, which is a photoelectric conversion unit 10a and a filter 30a for removing noise pixels.
With. The filter 30a is provided between the photoelectric conversion unit 10a and the area detection means 12 and 14. Filter 30a, like the filter has been used, for example conventional, and a shift register and a ROM (R ead- O nly M emory ).
この実施例のフィルタ30aは、光電変換部10aから入力
された例えば原画像データ20の修正画像データを出力す
る。領域検出手段12、14の最大値検出手段121b、141bと
最小値検出手段121c、141cとはノイズ画素のより少ない
修正画像データを入力し、従ってこの実施例では修正画
像データを領域検出のための画像データとして用いる。The filter 30a of this embodiment outputs, for example, corrected image data of the original image data 20 input from the photoelectric conversion unit 10a. The maximum value detecting means 121b, 141b and the minimum value detecting means 121c, 141c of the area detecting means 12, 14 input the corrected image data with less noise pixels, and therefore, in this embodiment, the corrected image data is used for area detection. Used as image data.
修正画像データから領域座標を検出することによっ
て、領域検出を上述した第一実施例よりも精度良く正確
に行なえるという利点がある。By detecting the area coordinates from the corrected image data, there is an advantage that the area can be detected more accurately and accurately than in the first embodiment described above.
〈方法発明の説明及び装置発明の動作の説明〉 フィルタ30aは、原画像データ20のある一つの画素
(中心画素)の画素値を、この中心画素の周辺の任意好
適個数の画素(観測画素)の画素値を観測情報として用
いて決定する。原画像データ20の画素の画素値を中心画
素の画素値に改めた修正画像データが、領域検出のため
の画像データとなる。従って、領域検出のための画像デ
ータの画素値がフィルタ30aを介し決定される。<Explanation of Method Invention and Operation of Apparatus Invention> The filter 30a uses a pixel value of one pixel (center pixel) of the original image data 20 as an arbitrary suitable number of pixels (observation pixel) around the center pixel. The pixel value of is used as the observation information to determine. The corrected image data in which the pixel value of the pixel of the original image data 20 is changed to the pixel value of the central pixel becomes the image data for area detection. Therefore, the pixel value of the image data for area detection is determined via the filter 30a.
第7図はフィルタの一例を示す図である。フィルタ30
aは、例えば、第7図に示すように3×3の観測窓を有
し、中心画素a0を中心に配置して中心画素a0及び観測
画素an(nは1以上8以下の自然数)を3行3列に配
列し、中心画素a0の8近傍の画素の画素値を観測情報
としている。FIG. 7 is a diagram showing an example of a filter. Filter 30
a is, for example, as shown in Figure 7 has a 3 × 3 of the observation window, the central pixel a 0 and the observation pixel a n (n is 8 or less natural number 1 or more and disposed around the central pixel a 0 ) Are arranged in 3 rows and 3 columns, and the pixel values of 8 neighboring pixels of the central pixel a 0 are used as the observation information.
第8図(A)〜(B)はノイズ画素を有する原画像デ
ータの一例を示す図であり、第8図(A)点線丸で囲ま
れる領域の部分を拡大して示した図が第8図(B)であ
る。FIGS. 8A and 8B are diagrams showing an example of original image data having noise pixels, and FIG. 8A is an enlarged view of a region surrounded by a dotted circle. It is a figure (B).
これら図に示すように、例えば背景データ20b中にノ
イズ画素のデータ(ノイズデータ)20cが存在する原画
像データ20を処理して領域座標を検出すると、ノイズ画
素のX、Y座標を領域座標として検出し、その結果、目
的とする検出領域の検出を精度良く行なえない場合があ
る。このような場合に背景データ20b中のノイズ画素を
除去した修正画像データから領域座標を検出すれば、領
域検出を精度良く行なえる。As shown in these figures, for example, when the original image data 20 in which the noise pixel data (noise data) 20c exists in the background data 20b is processed to detect the area coordinates, the X and Y coordinates of the noise pixels are set as the area coordinates. In some cases, the target detection area cannot be detected accurately as a result. In such a case, if the area coordinates are detected from the corrected image data from which the noise pixels in the background data 20b are removed, the area can be detected with high accuracy.
この場合、フィルタ30aは観測画素及び中心画素の画
素値の総和又は観測画素の画素値の総和が所定の比較値
以上になると、中心画素の画素値を、この中心画素値の
値に拘らず、背景データを意味する画素値に修正して出
力する。In this case, the filter 30a, when the sum of the pixel values of the observation pixel and the center pixel or the sum of the pixel values of the observation pixel becomes a predetermined comparison value or more, the pixel value of the center pixel, regardless of the value of the center pixel value, The background data is corrected to a pixel value that means and output.
例えば、原稿データ20aが白ビット及び背景データ20b
が黒ビットで表現され、従ってノイズデータ20cは白ビ
ットとなる場合を考え、所定の比較値を5とすると、フ
ィルタ30aは中心画素値及び観測画素値の総和が5以上
となるとき中心画素値を黒ビットとして出力する。その
結果、フィルタ30aはノイズデータ20cを背景データ20b
を意味する黒ビットとして出力する。For example, the original data 20a is a white bit and the background data 20b.
Is represented by a black bit, and therefore the noise data 20c becomes a white bit, and assuming that the predetermined comparison value is 5, the filter 30a uses the central pixel value when the total sum of the central pixel value and the observed pixel value is 5 or more. Is output as a black bit. As a result, the filter 30a converts the noise data 20c into the background data 20b.
Is output as a black bit.
読取部30のフィルタ30aから出力される修正画像デー
タは、領域検出手段12、14に入力され、領域検出手段1
2、14は入力された修正画像データから領域座標を検出
する。The corrected image data output from the filter 30a of the reading unit 30 is input to the area detecting means 12 and 14, and the area detecting means 1
Reference numerals 2 and 14 detect the area coordinates from the input corrected image data.
修正画像データを処理して領域座標を検出する方法及
び動作は上述した第一実施例と同様なので説明を省略す
る。The method and operation for processing the corrected image data and detecting the area coordinates are the same as those in the above-described first embodiment, and a description thereof will be omitted.
また第一実施例の変形例で述べた行領域の検出の場合
(第5図参照)、背景データ28を白ビットで及び文字デ
ータ26を黒ビットで表現するようにしているので、背景
データ28中の黒ビットがノイズとなる。従って、フィル
タ30aは観測画素及び中心画素の画素値の総和又は観測
画素の画素値の総和が所定の比較値以上になるとき、中
心画素の画素値を、背景データ28を意味する画素値すな
わち白ビットとして出力する。Further, in the case of detecting the row area described in the modified example of the first embodiment (see FIG. 5), the background data 28 is represented by white bits and the character data 26 is represented by black bits. The black bits inside become noise. Therefore, when the sum of the pixel values of the observation pixel and the center pixel or the sum of the pixel values of the observation pixels is equal to or more than a predetermined comparison value, the filter 30a sets the pixel value of the center pixel to the pixel value meaning the background data 28, that is, white. Output as bits.
この第二実施例によれば、原画像データ20にノイズが
含まれていたとしても、フィルタ30aによってノイズを
除去した修正画像データを領域検出のための画像データ
として用いるので、ノイズに影響されない精度の良い領
域検出が行なえる。According to the second embodiment, even if the original image data 20 contains noise, since the corrected image data from which the noise is removed by the filter 30a is used as the image data for area detection, accuracy not affected by noise It is possible to detect a good area.
またフィルタ30aは例えばシフトレジスタ及びROMによ
って構成される簡単な構成なので、この第二実施例にお
いても第一実施例と同様、ハードウェア規模を従来より
小さく出来る。Further, since the filter 30a has a simple configuration including, for example, a shift register and a ROM, the hardware scale can be made smaller in the second embodiment as in the first embodiment, as in the first embodiment.
第二実施例においても、第一実施例と同様の変形を行
なうことが出来る。In the second embodiment, the same modification as the first embodiment can be performed.
この発明は上述した実施例にのみ限定されるものでは
なく、各構成成分を任意好適変更或は変形することが出
来る。The present invention is not limited to the above-described embodiments, but each constituent can be arbitrarily modified or modified.
例えば、領域検出のための画像データとして二値に処
理されたデータのみならず、多値処理された画像データ
を用いても良い。この場合、多値処理された画像データ
のうち、特定の色を有する画素であることを意味する画
素値の画素に着目し、この画素に関する最大及び最小計
算値から領域座標を検出し、よって特定の色を有する画
像領域の検出を行なっても良い。或は特定の濃度を有す
る画素であることを意味する画素値の画素に着目し、こ
の画素に関する最大及び最小計算値から領域座標を検出
し、よって特定の濃度を有する画像領域の検出を行なう
ようにしても良い。For example, not only binary-processed data but also multi-valued image data may be used as the image data for area detection. In this case, in the multi-valued image data, paying attention to a pixel having a pixel value that means that the pixel has a specific color, detecting the region coordinates from the maximum and minimum calculated values for this pixel, and thus specifying The image area having the color of may be detected. Alternatively, focusing on a pixel having a pixel value that means that the pixel has a specific density, the area coordinates are detected from the maximum and minimum calculated values of this pixel, and thus the image area having the specific density is detected. You can
またフィルタを特定の図形を検出するためのフィルタ
とし、このフィルタを用いることによって特定の図形例
えば横線や×印が含まれる画像領域の検出を行なうこと
も出来る。この場合、フィルタは、中心画素と中心画素
近傍の任意好適個数の観測画素とを観測して特定の図形
を検出すると、中心画素の画素値を特定の図形を検出し
たことを意味する画素値として出力する。従って、フィ
ルタを特定の図形を検出するためのフィルタとした場合
には、特定の図形を検出したことを意味する画素値の画
素に着目し、この画素に関する最大及び最小計算値から
領域座標を検出することによって、特定の図形が含まれ
る画像領域を検出することが出来る。Further, the filter may be a filter for detecting a specific figure, and by using this filter, it is possible to detect an image area including a specific figure, for example, a horizontal line or an X mark. In this case, when the filter detects a specific figure by observing the center pixel and an arbitrary suitable number of observation pixels in the vicinity of the center pixel, the pixel value of the center pixel is set as a pixel value indicating that the particular figure is detected. Output. Therefore, when the filter is a filter for detecting a specific figure, the pixel having the pixel value that means that the specific figure is detected is focused and the area coordinates are detected from the maximum and minimum calculated values of this pixel. By doing so, it is possible to detect the image area including the specific figure.
例えば、一例としてフィルタを3×3の観測窓を有し
横線を検出するフィルタとした場合(第7図参照)、a
8、a0及びa4が黒ビットとなり、a1、a2、a3、
a7、a6及びa5が白ビットとなったとき、フィルタは
中心画素a0の画素値を、特定の図形(例えば横線)を
検出したことを意味する画素値として、出力するように
すれば良い。或は一例としてフィルタを3×3の観測窓
を有し×印を検出するフィルタとした場合、a1、a3、
a0、a7及びa5が黒ビットとなりa2、a8、a4及びa
6が白ビットとなったとき、フィルタは中心画素a0の画
素値を、特定の図形(例えば×印)を検出したことを意
味する画素値として、出力するようにすれば良い。For example, when the filter is a filter that has a 3 × 3 observation window and detects horizontal lines (see FIG. 7), for example, a
8 , a 0 and a 4 become black bits, and a 1 , a 2 , a 3 and
When a 7 , a 6 and a 5 become white bits, the filter may output the pixel value of the central pixel a 0 as a pixel value indicating that a specific figure (for example, a horizontal line) is detected. Good. Alternatively, as an example, when the filter has a 3 × 3 observation window and detects a mark x, a 1 , a 3 ,
a 0 , a 7 and a 5 become black bits and are a 2 , a 8 , a 4 and a
When 6 becomes a white bit, the filter may output the pixel value of the central pixel a 0 as a pixel value indicating that a specific figure (for example, x mark) is detected.
また所定の画素値を有する画素に関する最大及び最小
計算値を求めるための手順(アルゴリズム)は上述した
実施例にのみ限定されず、最大及び最小値を求めるため
に従来より用いられている任意好適な手順を用いるよう
にしても良い。Further, the procedure (algorithm) for obtaining the maximum and minimum calculated values for the pixel having the predetermined pixel value is not limited to the above-described embodiment, but any suitable conventional method conventionally used for obtaining the maximum and minimum values can be used. The procedure may be used.
また領域座標によって規定される領域(規定領域)の
画像データを原画像データから切出すために、この発明
を応用しても良い。この場合、例えば上述した実施例の
装置に画像メモリ及び切出部を付加した構成とすれば良
い。そして従来行なわれる如く、読取部からの原画像デ
ータを領域検出手段と画像メモリとに入力し、領域検出
手段によって検出された領域座標を切出部に入力する。
切出部は入力された領域座標に基づき画像メモリの原画
像データから規定領域の画像データを切出し出力する。Further, the present invention may be applied to cut out the image data of the area (defined area) defined by the area coordinates from the original image data. In this case, for example, an image memory and a cutout unit may be added to the apparatus of the above-described embodiment. Then, as is conventionally done, the original image data from the reading unit is input to the area detecting unit and the image memory, and the area coordinates detected by the area detecting unit are input to the cutout unit.
The cutout unit cuts out and outputs the image data of the specified area from the original image data of the image memory based on the input area coordinates.
(発明の効果) 上述した説明からも明らかなように、この出願の領域
検出方法及び領域検出装置によれば、二次元画像データ
の画素にX、Y座標を付与し、所定の画素値を有する画
素に関する計算値αX+βYの最大値及び最小値を検出
する。そして、最大及び最小の計算値を与える画素の
X、Y座標をそれぞれ領域座標とし、この領域座標によ
って検出領域を規定する。(Effect of the invention) As is apparent from the above description, according to the area detection method and the area detection apparatus of this application, the pixels of the two-dimensional image data are given X and Y coordinates and have a predetermined pixel value. The maximum value and the minimum value of the calculated value αX + βY regarding the pixel are detected. Then, the X and Y coordinates of the pixel giving the maximum and minimum calculated values are set as area coordinates, and the detection area is defined by these area coordinates.
このようにして検出領域を規定する上述の手順は非常
に簡単な手順であるので、装置構成を非常に簡単化する
ことが出来、従ってハードウェア規模の縮小を図れると
いう利点がある。Since the above-described procedure for defining the detection area is a very simple procedure, there is an advantage that the apparatus configuration can be greatly simplified and therefore the hardware scale can be reduced.
また上述の手順は、読取部の走査と並行して行なえ、
従って単純な1回の走査で領域検出が行なうことが出来
るので、高速な領域検出が可能である。The above procedure can be performed in parallel with the scanning of the reading unit,
Therefore, since the area can be detected by a simple one-time scan, the area can be detected at high speed.
また、画像メモリを有する画像処理装置にこの出願の
発明を応用した場合、画像メモリへの画像データの書込
みを終了したと同時に領域検出を終了することが出来、
従って処理速度が非常に高速な画像処理装置を実現する
ことが出来る。When the invention of this application is applied to an image processing apparatus having an image memory, the area detection can be ended at the same time when the writing of the image data to the image memory is completed,
Therefore, it is possible to realize an image processing device having a very high processing speed.
第1図は装置発明の第一実施例の機能ブロック図、 第2図は原稿領域の検出のための画像データの説明に供
する図、 第3図(A)〜(B)は方法発明の第一実施例の説明及
び装置発明の第一実施例の動作の説明に供する図、 第4図は領域座標検出の原理的説明に供する図、 第5図は行領域の検出のための画像データの説明に供す
る図、 第6図は装置発明の第二実施例の機能ブロック図、 第7図は方法発明の第二実施例の説明及び装置発明の第
二実施例の動作説明のためのフィルタの図、 第8図(A)〜(B)はノイズを有する画像データの例
を示す図である。 10、30……読取部、12、14……領域検出手段 121、141……計算検出手段 121a、141a……計算手段 121b、141b……最大値検出手段 121c、141c……最小値検出手段 122、142……最大値座標保存手段 123、143……最小値座標保存手段 16……X座標発生手段、18……Y座標発生手段 30a……フィルタ。FIG. 1 is a functional block diagram of a first embodiment of the apparatus invention, FIG. 2 is a diagram for explaining image data for detecting an original area, and FIGS. 3A to 3B are method inventions. FIG. 4 is a diagram for explaining an embodiment and an operation of the first embodiment of the apparatus invention, FIG. 4 is a diagram for explaining the principle of region coordinate detection, and FIG. 5 is a diagram of image data for detecting a line region. FIG. 6 is a diagram for explanation, FIG. 6 is a functional block diagram of a second embodiment of the device invention, and FIG. 7 is a filter for explaining a second embodiment of the method invention and operation of the second embodiment of the device invention. FIGS. 8A to 8B are diagrams showing examples of image data having noise. 10, 30 ... Reading unit, 12, 14 ... Area detection means 121, 141 ... Calculation detection means 121a, 141a ... Calculation means 121b, 141b ... Maximum value detection means 121c, 141c ... Minimum value detection means 122 , 142 ...... maximum value coordinate storage means 123, 143 ...... minimum value coordinate storage means 16 ...... X coordinate generation means, 18 ...... Y coordinate generation means 30a ...... filter.
Claims (11)
タを二次元座標系で表現するため、前記画像データの画
素にX座標及びY座標を付与し、 前記X座標及びY座標と、少なくとも一組の特定のα値
及びβ値とを用いて計算値αX+βYを算出して所定の
画素値を有する画素の前記計算値に関して最大計算値及
び最小計算値を検出し、 前記最大計算値及び前記最小計算値を与える画素のX、
Y座標をそれぞれ領域座標とし、該領域座標を以って検
出領域を規定することを特徴とする領域検出方法。1. To express quantized image data for area detection in a two-dimensional coordinate system, X and Y coordinates are given to pixels of the image data, and the X and Y coordinates are provided. Calculating a calculated value αX + βY using at least one set of specific α value and β value to detect a maximum calculated value and a minimum calculated value with respect to the calculated value of a pixel having a predetermined pixel value; X of the pixel giving the minimum calculated value,
An area detection method, wherein each Y coordinate is set as area coordinates, and the detection area is defined by the area coordinates.
(α=1、β=−1)の少なくともいずれか一方の組の
α及びβを用いることを特徴とする特許請求の範囲第1
項に記載の領域検出方法。2. The α and β of at least one of (α = β = 1) and (α = 1, β = −1) are used as the α and β. First
The area detection method described in the item.
と背景領域とが区別出来る画像データを得、前記所定の
画素値を原稿の地を意味する画素値とすることを特徴と
する特許請求の範囲第1項又は第2項に記載の領域検出
方法。3. The detection area is a manuscript area, image data capable of distinguishing the manuscript area and the background area is obtained, and the predetermined pixel value is set as a pixel value which means a ground of the manuscript. The area detection method according to claim 1 or 2.
線部と背景領域とが区別出来る画像データを得、前記所
定の画素値を文字線部を意味する画素値とすることを特
徴とする特許請求の範囲第1項又は第2項に記載の領域
検出方法。4. The detection area is a line area, image data capable of distinguishing a character line portion of the line area from a background area is obtained, and the predetermined pixel value is set as a pixel value meaning the character line portion. The area detection method according to claim 1 or 2.
除去するための又は特定の図形を検出するためのフィル
タを介して決定することを特徴とする特許請求の範囲第
1項〜第4項のいずれか1項に記載の領域検出方法。5. The pixel value of the image data is determined through a filter for removing noise pixels or for detecting a specific figure, according to any one of claims 1 to 4. The area detection method according to any one of items.
タを出力する読取部と、 前記画像データを二次元座標系で表現するため前記画像
データの画素のX座標を発生するX座標発生手段と、 前記画像データを二次元座標系で表現するため前記画像
データの画素のY座標を発生するY座標発生手段と、 前記X座標及びY座標と、少なくとも一組の特定のα値
及びβ値とを用いて計算値αX+βYを算出して所定の
画素値を有する画素の前記計算値に関する最大計算値及
び最小計算値を検出する計算検出手段と、 検出領域を規定する領域座標として前記最大計算値を与
える画素の座標を保存するための最大値座標保存手段
と、 前記領域座標として前記最小計算値を与える画素の座標
を保存するための最小値座標保存手段とを備えて成るこ
とを特徴とする領域検出装置。6. A reading unit for outputting quantized image data for area detection, and X-coordinate generation for generating X-coordinates of pixels of the image data for expressing the image data in a two-dimensional coordinate system. Means, Y coordinate generation means for generating the Y coordinate of the pixel of the image data for expressing the image data in a two-dimensional coordinate system, the X coordinate and the Y coordinate, and at least one set of specific α value and β Calculation calculation means for calculating a calculation value αX + βY using the values and the maximum calculation value and the minimum calculation value with respect to the calculation value of a pixel having a predetermined pixel value; and the maximum calculation as area coordinates defining a detection area. A maximum value coordinate storage means for storing the coordinates of the pixel giving a value, and a minimum value coordinate storage means for storing the coordinates of the pixel giving the minimum calculated value as the area coordinates. Area detection device.
る計算手段と、前記所定の画素値を有する画素の最大計
算値を検出する最大値検出手段と、前記所定の画素値を
有する画素の最小計算値を検出する最小値検出手段とを
備えて成ることを特徴とする特許請求の範囲第6項に記
載の領域検出装置。7. The calculation detecting means includes a calculating means for calculating the calculated value, a maximum value detecting means for detecting a maximum calculated value of a pixel having the predetermined pixel value, and a pixel having the predetermined pixel value. 7. The area detecting device according to claim 6, further comprising: a minimum value detecting means for detecting the minimum calculated value of.
(α=1、β=−1)の少なくともいずれか一方の組の
α及びβを用いることを特徴とする特許請求の範囲第6
項又は第7項に記載の領域検出装置。8. The α and β of at least one of (α = β = 1) and (α = 1, β = −1) are used as the α and β. Sixth
The area detection device according to item 7 or 8.
と背景領域とが区別出来る画像データを得、前記所定の
画素値を原稿の地を意味する画素値とすることを特徴と
する特許請求の範囲第6項〜第8項のいずれか1項に記
載の領域検出装置。9. A patent document characterized in that the detection area is an original area, image data capable of distinguishing the original area from the background area is obtained, and the predetermined pixel value is set to a pixel value which means a background of the original. The area detection device according to any one of claims 6 to 8.
字線部と背景領域とが区別出来る画像データを得、前記
所定の画素値を文字線部を意味する画素値とすることを
特徴とする特許請求の範囲第6項〜第8項のいずれか1
項に記載の領域検出装置。10. The detection area is used as a line area, image data capable of distinguishing a character line portion of the line area from a background area is obtained, and the predetermined pixel value is set as a pixel value meaning the character line portion. Any one of claim 6 to claim 8
The area detection device according to item.
めの又は特定の図形を検出するためのフィルタを備えて
成ることを特徴とする特許請求の範囲第6項〜第10項の
いずれか1項に記載の領域検出装置。11. The reading section comprises a filter for removing noise pixels or for detecting a specific figure, according to any one of claims 6 to 10. The area detection device according to item 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63002028A JPH0814845B2 (en) | 1988-01-08 | 1988-01-08 | Area detection method and area detection apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63002028A JPH0814845B2 (en) | 1988-01-08 | 1988-01-08 | Area detection method and area detection apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01177681A JPH01177681A (en) | 1989-07-13 |
| JPH0814845B2 true JPH0814845B2 (en) | 1996-02-14 |
Family
ID=11517878
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63002028A Expired - Lifetime JPH0814845B2 (en) | 1988-01-08 | 1988-01-08 | Area detection method and area detection apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0814845B2 (en) |
-
1988
- 1988-01-08 JP JP63002028A patent/JPH0814845B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01177681A (en) | 1989-07-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2702928B2 (en) | Image input device | |
| JPS63158678A (en) | Inter-word space detecting method | |
| JP4392907B2 (en) | Character extraction method | |
| JPH0814845B2 (en) | Area detection method and area detection apparatus | |
| JP2501646B2 (en) | Character background processor | |
| JP2812619B2 (en) | Image processing device | |
| JP3268542B2 (en) | Enlargement method of fine character image | |
| JP2874592B2 (en) | Image processing device for distinguishing text / photo / dot area | |
| JP3020293B2 (en) | Attribute determination method | |
| JP3358133B2 (en) | Image processing device | |
| JPS61196381A (en) | Character segmenting system | |
| JPH10233930A (en) | Image processor | |
| JPH0546749B2 (en) | ||
| JP2506071B2 (en) | Contour tracking device | |
| JPH10143607A (en) | Image processor | |
| JP2522310B2 (en) | Optical character reader | |
| JP2980636B2 (en) | Character recognition device | |
| JP2753427B2 (en) | Binary threshold setting device | |
| JP2551383B2 (en) | Straight line detection and correction device | |
| JPS596419B2 (en) | Character extraction method | |
| JPH0821061B2 (en) | Feature extraction method and feature extraction apparatus | |
| JPH0338782A (en) | Detector for density of original | |
| JPH01189787A (en) | Method and device for extracting feature | |
| JPH01319872A (en) | Distortion measuring method and device by lattice picture | |
| JPH04316180A (en) | Method for discriminating attribute of document picture |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |