[go: up one dir, main page]

JP3193135B2 - Dot pattern dot position detection method - Google Patents

Dot pattern dot position detection method

Info

Publication number
JP3193135B2
JP3193135B2 JP20552292A JP20552292A JP3193135B2 JP 3193135 B2 JP3193135 B2 JP 3193135B2 JP 20552292 A JP20552292 A JP 20552292A JP 20552292 A JP20552292 A JP 20552292A JP 3193135 B2 JP3193135 B2 JP 3193135B2
Authority
JP
Japan
Prior art keywords
dot
pattern
image
small area
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP20552292A
Other languages
Japanese (ja)
Other versions
JPH0652310A (en
Inventor
真也 中尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP20552292A priority Critical patent/JP3193135B2/en
Publication of JPH0652310A publication Critical patent/JPH0652310A/en
Application granted granted Critical
Publication of JP3193135B2 publication Critical patent/JP3193135B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、画像情報をもとにドッ
トパターンのドット位置を検出する方法に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting a dot position of a dot pattern based on image information.

【0002】[0002]

【従来の技術】従来のドットパターン識別方法の一例に
ついて図を参照しながら説明する。
2. Description of the Related Art An example of a conventional dot pattern identification method will be described with reference to the drawings.

【0003】ドットパターンの識別は、大きく分けて図
1に示す4つの手段を用いて行なわれる。
[0003] The identification of the dot pattern is roughly performed using four means shown in FIG.

【0004】第1番目の、画像入力手段は、図2に示す
ように、カメラより入力されたドットパターンの画像
を、A/D変換器により、x,y方向にそれぞれ画素分
割を行い、各画素は離散的な濃度値をもつディジタル画
像に変換し、画像メモリに格納する。以下の手段では、
このメモリに格納された画像データに対して、処理を施
すことにより、ドットパターンの識別を行う。
The first image input means, as shown in FIG. 2, divides an image of a dot pattern input from a camera into pixels in the x and y directions by an A / D converter. The pixels are converted into digital images having discrete density values and stored in an image memory. In the following means,
By processing the image data stored in the memory, the dot pattern is identified.

【0005】第2番目の、各パターンの切り出し手段と
しては、図3に示すように、x方向の直線上の画素濃度
を合計していく投影処理により、その投影値(濃度値の
合計値)が連続してあるしきい値以上である部分の長さ
が、ほぼパターンのy方向の長さに等しいときパターン
が存在する部分であるとし、パターンの上下端を決定す
る。同様に、y方向の投影値が連続してあるしきい値以
上である部分の長さが、ほぼパターンのx方向の長さに
等しいときパターンが存在する部分であるとし、各パタ
ーンの左右端を決定する。図3の例では、y方向切り出
しの投影しきい値はthy、パターンの上端位置はy1
、下端位置はy2で示される。x方向の切り出しの投
影しきい値はthx、各パターンの左端位置はx11、
x12、x13、右端位置はxr1、xr2、xr3で
示される。各パターンの上下、左右端より図4に示すよ
うにその外接矩形が得られる。
As a second means for cutting out each pattern, as shown in FIG. 3, the projection value (total value of density values) is obtained by a projection process of summing pixel densities on a straight line in the x direction. If the length of a portion where is continuously equal to or more than a threshold value is substantially equal to the length of the pattern in the y direction, it is determined that the pattern exists and the upper and lower ends of the pattern are determined. Similarly, when the length of the portion where the projection value in the y direction is continuously equal to or greater than a certain threshold is substantially equal to the length of the pattern in the x direction, it is assumed that the pattern exists and the left and right ends of each pattern are determined. To determine. In the example of FIG. 3, the projection threshold for the y-direction clipping is thy, and the upper end position of the pattern is y1.
, The lower end position is indicated by y2. The projection threshold for the cutout in the x direction is thx, the left end position of each pattern is x11,
x12, x13 and the right end position are indicated by xr1, xr2, xr3. The circumscribed rectangle is obtained from the upper, lower, left and right ends of each pattern as shown in FIG.

【0006】第3番目の、ドット検出手段について述べ
る。各パターンの切り出し手段により得られた外接矩形
を、図5に示すように各ドットが1つのメッシュに入る
ようにメッシュ分割する。次に、各メッシュ内のドット
の有無を決定するわけであるが、その方法は、各メッシ
ュ内で、ある濃度しきい値以上である画素が、ある判定
数以上である場合はメッシュ内にドットが存在するもの
とする。例えば、1つのメッシュ内の各画素の濃度値
が、図6のとおりである場合、濃度しきい値が50、判
定数が8であるならば、このメッシュにはドットが存在
するが、濃度しきい値を70、判定数を8としたなら
ば、このメッシュにはドットは存在しない。
The third dot detecting means will be described. The circumscribed rectangle obtained by the cutting means of each pattern is mesh-divided such that each dot is included in one mesh as shown in FIG. Next, the presence or absence of dots in each mesh is determined. The method is as follows. In each mesh, if a pixel having a density threshold or more is equal to or more than a certain determination number, a dot is included in the mesh. Shall exist. For example, when the density value of each pixel in one mesh is as shown in FIG. 6, if the density threshold value is 50 and the number of determinations is 8, there are dots in this mesh, If the threshold value is 70 and the number of determinations is 8, there are no dots in this mesh.

【0007】ドットの存在するメッシュを1、存在しな
いメッシュを0としたとき、図5に示した画像に対し
て、図7に示すように圧縮された形式の、0/1のデー
タが得られる。
Assuming that a mesh where dots exist is 1 and a mesh which does not exist is 0, 0/1 data in a compressed format as shown in FIG. 7 is obtained for the image shown in FIG. .

【0008】第4番目の、パターン識別手段は、識別パ
ターンについて、それぞれ上記の0/1の参照データを
予め持っておき、切り出された各区パターンより得られ
た0/1のデータが、どの識別パターンの参照データと
よく一致するかを参照することによって、パターンの識
別を行う。
The fourth pattern identification means has the above-mentioned 0/1 reference data for each identification pattern in advance, and determines which 0/1 data obtained from each segmented pattern corresponds to which identification data. The pattern is identified by referring to whether it matches well with the reference data of the pattern.

【0009】[0009]

【発明が解決しようとする課題】しかしながら上記のよ
うな従来の技術では、図8に示すように、ドットの径が
大きくなった場合や画像の明るさに変化があった場合、
上記の濃度しきい値、小領域にドットが存在することを
判定する画素数、あるいは文字の外接矩形の位置の変動
があった場合など、メッシュ内でのドット検出が影響を
受け、図9に示すように正しいドット検出が行われない
場合もある。そこで本発明では、上記のドット検出に影
響を及ぼすとされる、各種変動量の影響を受けにくいド
ットの検出を可能とすることを目的とする。
However, in the above-mentioned conventional technique, as shown in FIG. 8, when the dot diameter becomes large or when the brightness of the image changes,
The dot detection in the mesh is affected by the density threshold, the number of pixels for determining the presence of a dot in the small area, or the position of the circumscribed rectangle of the character. As shown, correct dot detection may not be performed. In view of the above, an object of the present invention is to enable detection of a dot which is considered to affect the above-described dot detection and is not easily affected by various fluctuation amounts.

【0010】[0010]

【課題を解決するための手段】本願の第1発明は上記目
的を達成するため、画像中の画素の濃度がその周囲の画
素と対比してピークとなる点の検出を行い、このピーク
となる点が各小領域内に存在するか否かをもって各小領
域でのドットの存在の有無を判定してドットの位置を検
出することを特徴とする。
In order to achieve the above object, the first invention of the present application detects a point where the density of a pixel in an image becomes a peak in comparison with surrounding pixels, and this peak is detected. It is characterized in that the presence or absence of a dot in each small area is determined based on whether or not a point exists in each small area, and the position of the dot is detected.

【0011】本願の第2発明は上記目的を達成するた
め、画像中の画素に対して、その画素と周囲の画素との
演算結果をもって置き換える処理を施すことにより、ド
ット径の縮小を行い、ドット径の縮小されたデータの各
小領域に対する属性により各小領域でのドットの存在の
有無を判定してドットの位置を検出することを特徴とす
る。
In order to achieve the above object, the second invention of the present application reduces the dot diameter by performing a process of replacing a pixel in an image with an operation result of the pixel and surrounding pixels, thereby reducing a dot diameter. It is characterized in that the presence or absence of a dot in each small area is determined based on the attribute of each data of the reduced diameter data for each small area to detect the position of the dot.

【0012】本願の第3の発明は上記目的を達成するた
め、各小領域内にこの小領域より更に小さなドット検出
領域を設け、そのドット検出領域のみでドット存在の有
無を判定し、これに基き各小領域でのドットの存在の有
無を判定してドットの位置を検出することを特徴とす
る。
According to a third aspect of the present invention, in order to achieve the above object, a dot detection area smaller than the small area is provided in each small area, and the presence or absence of a dot is determined only by the dot detection area. It is characterized in that the presence or absence of a dot in each small area is determined based on the detected position of the dot.

【0013】[0013]

【作用】本願の第1発明によれば、ドットの中央付近に
ドットの濃度のピークがあるという現象を利用して、画
素の濃度がその周囲の画素と対比してピークとなる点の
各小領域に対する属性により各小領域でのドットの存在
の有無を判定しているので、ドットの径や位置、画像の
明るさ、ドット部分をその背景から分離する際の濃度し
きい値、小領域にドットが存在することを判定する画素
数、パターンを含む領域の位置の変動等の影響を受けに
くいドット検出が可能となる。
According to the first aspect of the present invention, utilizing the phenomenon that the dot density peaks in the vicinity of the center of the dot, each pixel at the point where the pixel density peaks in comparison with the surrounding pixels. The presence or absence of a dot in each small area is determined based on the attribute for the area, so the dot diameter and position, the brightness of the image, the density threshold for separating the dot part from its background, the small area It is possible to perform dot detection that is not easily affected by a change in the number of pixels for determining the presence of a dot, the position of an area including a pattern, or the like.

【0014】本願の第2発明によれば、ドット中央付近
にドットの濃度のピークがあるという現象を利用して、
ドット径の縮小されたデータの各小領域に対する属性に
より各小領域でのドットの存在の有無を判定しているの
で、ドットの径や位置、画像の明るさ、ドット部分をそ
の背景から分離する際の濃度しきい値、小領域にドット
が存在することを判定する画素数、パターンを含む領域
の位置の変動等の影響を受けにくいドット検出が可能と
なる。
According to the second aspect of the present invention, utilizing the phenomenon that the dot density peaks near the center of the dot,
Since the presence / absence of a dot in each small area is determined based on the attribute for each small area of the data with the reduced dot diameter, the dot diameter and position, the brightness of the image, and the dot portion are separated from the background. In this case, it is possible to perform dot detection that is not easily affected by the density threshold value, the number of pixels for determining the presence of a dot in a small area, and the position of the area including the pattern.

【0015】本願の第3の発明によれば、各小領域内に
この小領域より更に小さなドット検出領域を設け、その
ドット検出領域のみでドット存在の有無を判定し、これ
に基き各小領域でのドットの存在の有無を判定している
ので、ドットの濃度のピーク点と前記ドット検出領域を
一致させるようにすれば、ドットの径や位置、画像の明
るさ、ドット部分をその背景から分離する際の濃度しき
い値、小領域にドットが存在することを判定する画素
数、パターンを含む領域の位置の変動等の影響を受けに
くいドット検出が可能となる。
According to the third aspect of the present invention, a dot detection area smaller than the small area is provided in each small area, and the presence or absence of a dot is determined only by the dot detection area. Since the presence / absence of a dot is determined, if the peak point of the dot density and the dot detection area are made to match, the dot diameter and position, the brightness of the image, the dot portion can be determined from the background. It is possible to perform dot detection that is not easily affected by a density threshold value at the time of separation, the number of pixels for determining that a dot exists in a small area, a change in the position of an area including a pattern, and the like.

【0016】[0016]

【実施例】以下本発明の実施例について、図面を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】図10は読み取り対象のドットパターンで
あり縦5列、横5列のドットで文字を表現する。判別す
るパターンはアラビア数字の0から9までの10種類の
文字である。また、ここではドット部分の濃度はその背
景部分に比べて明るいものとするが、ドット部分の濃度
が背景に比べて暗い場合も、同様の考え方で実施するこ
とができる。
FIG. 10 shows a dot pattern to be read. Characters are represented by dots in five rows and five columns. The patterns to be discriminated are 10 kinds of characters from Arabic numerals 0 to 9. Further, here, the density of the dot portion is assumed to be brighter than that of the background portion, but the same concept can be applied to the case where the density of the dot portion is darker than the background portion.

【0018】以下、文字を読み取る手順を示す。Hereinafter, a procedure for reading characters will be described.

【0019】(1)テレビカメラより入力された文字の
画像を画素分割してディジタル画像とする。この時、各
画素の濃度は明るい部分が大きい値と成るように0から
255まで整数値に量子化されるものとする。得られた
画像に前処理としてフィルタリング処理によるシェーデ
ィング補正を施すことにより照明のむら等を除去する。
(1) An image of a character input from a television camera is divided into pixels to obtain a digital image. At this time, it is assumed that the density of each pixel is quantized to an integer value from 0 to 255 so that a bright portion has a large value. The obtained image is subjected to a shading correction by a filtering process as a pre-process, thereby removing illumination unevenness and the like.

【0020】(2)前処理を行った画像に対して縦、横
の各方向に投影値を計算し、投影値が連続して大きい部
分を文字部分であるとして文字に外接する矩形の切り出
しを行う。矩形の切り出しを行った例を図11に示す。
(2) Projection values are calculated for the preprocessed image in the vertical and horizontal directions, and a portion where the projection value is continuously large is regarded as a character portion, and a rectangular cutout circumscribing the character is cut out. Do. FIG. 11 shows an example in which a rectangle is cut out.

【0021】(3)切り出された矩形をドットパターン
の各ドットに対応させて縦5、横5の小矩形に分割す
る。図11に示した矩形に対して、小矩形に分割した例
を図12に示す。各小矩形にてドットの検出を行い、ド
ットが存在する小矩形を1、存在しない小矩形を0とす
ることによって図13に示すように圧縮された形のパタ
ーンのデータが得られる。
(3) The cut-out rectangle is divided into 5 vertical and 5 small rectangles corresponding to each dot of the dot pattern. FIG. 12 shows an example in which the rectangle shown in FIG. 11 is divided into small rectangles. By detecting a dot in each small rectangle, and setting a small rectangle in which a dot exists as 1 and a small rectangle in which no dot exists as 0, pattern data in a compressed form as shown in FIG. 13 is obtained.

【0022】(4)識別パターンについてそれぞれこの
形式の1/0のデータを予め持っておき、得られたパタ
ーンが、どの識別パターンのデータとよく一致するかを
参照することによって文字の識別を行う。参照の方法
は、識別したいパターンより予め得られた0/1のデー
タと、参照データとの間で、各メッシュ位置に対応する
値同士で排他的論理和をとり、得られた値の和が0に最
も近い時、識別したいパターンは、その時の参照データ
に対応するパターンであるとする。例えば、識別パター
ン「2」、「3」、「4」のそれぞれに対する参照デー
タが、図14の通りであり、画像中のパターンより得ら
れたデータが図15の通りであった場合、図15のパタ
ーンと、識別パターン「2」、「3」、「4」との間の
排他的論理和のデータは図16の通りとなり、それぞれ
のパターン毎の値の和は、4、2、12となる。したが
って図15のデータは「3」と識別される。
(4) For each of the identification patterns, data of 1/0 of this format is stored in advance, and characters are identified by referring to which identification pattern data the obtained pattern matches well. . In the reference method, an exclusive OR is performed between values corresponding to each mesh position between 0/1 data obtained in advance from a pattern to be identified and reference data, and the sum of the obtained values is calculated. When it is closest to 0, it is assumed that the pattern to be identified is a pattern corresponding to the reference data at that time. For example, if the reference data for each of the identification patterns “2”, “3”, and “4” is as shown in FIG. 14 and the data obtained from the pattern in the image is as shown in FIG. And the data of the exclusive OR between the pattern “1” and the identification patterns “2”, “3”, and “4” are as shown in FIG. 16, and the sum of the values for each pattern is 4, 2, 12, Become. Therefore, the data in FIG. 15 is identified as “3”.

【0023】本発明は、上記(3)のドットの検出方法
に関するものである。ドット検出方法を図示したものが
図17であり、(第1発明に対応)、(第2発明に
対応)、(第3発明に対応)の3つの方法のいずれか
を実施する。以下ドット検出の3つの実施例を分けて説
明する。
The present invention relates to the dot detecting method (3). FIG. 17 illustrates a dot detection method, which implements one of three methods (corresponding to the first invention), (corresponding to the second invention), and (corresponding to the third invention). Hereinafter, three embodiments of dot detection will be described separately.

【0024】第1の実施例においては、ドット部分の画
素濃度が図18に示すように、中央付近にピークがある
場合で、文字に外接する矩形内で濃度がピークとなる点
の検出を行う。検出の方法としては、1画素毎に近接す
る8画素との大小関係を調べていき、それらの近接する
画素のいずれよりも小さくない画素がピーク点であると
する。図19にドット文字の画像を濃度値で示す。図中
実線は、上記の方法で分割を行った小矩形である。図1
9で示した画像に対して、この方法で検出されたピーク
を図20に丸印で示す。
In the first embodiment, when the pixel density of the dot portion has a peak near the center as shown in FIG. 18, a point where the density is peak in a rectangle circumscribing the character is detected. . As a detection method, it is assumed that the magnitude relationship between eight pixels adjacent to each other is examined, and a pixel which is not smaller than any of those adjacent pixels is a peak point. FIG. 19 shows an image of a dot character by a density value. The solid line in the figure is a small rectangle divided by the above method. FIG.
Peaks detected by this method for the image shown in FIG. 9 are indicated by circles in FIG.

【0025】次に、これらのピーク点の濃度値の検定を
行う。つまり、予め設定された、ある濃度しきい値より
も濃度値が小さいピーク点は除外する。しきい値を80
としたときの、残ったピーク点を図21に丸印で示す。
Next, the concentration values at these peak points are tested. That is, a peak point whose density value is smaller than a predetermined density threshold value is excluded. Threshold 80
In FIG. 21, the remaining peak points are indicated by circles.

【0026】最後に、残ったピーク点の、小矩形に対す
る属性より、ドットが存在する小矩形と存在しない小矩
形とを決定する。図19に示した例について、ドットが
存在する小矩形を1、存在しない小矩形を0とすること
によって得られる、圧縮された形のパターンのデータを
図22に示す。
Finally, a small rectangle having a dot and a small rectangle not having a dot are determined from the attributes of the remaining peak points for the small rectangle. In the example shown in FIG. 19, FIG. 22 shows data of a pattern in a compressed form obtained by setting a small rectangle having dots to 1 and a small rectangle not to exist to 0.

【0027】第2の実施例においては、ドット部分の濃
度が図18に示すように、中央付近にピークがある場合
で、ピーク部分の濃度を保存したまま、その周辺部の濃
度を小さくすることにより、ドット径の縮小を行う。以
下、その方法について述べる。まず、処理対象の画素を
中心とする縦m画素×横n素の合計m×n画素の濃度値
の最大値をもって、処理対象の画素濃度を置き換える最
大値フィルタ処理を施し、処理前の画像とは別の画像メ
モリに保存する(ここでm、nは整数)。図18に示し
た処理前の画像に対し、m=n=3としたときの最大値
フィルタ処理後の画像を図23に示す。得られた画像を
用いて、式(1)の画像間演算処理を行うことにより、
ピーク部分の濃度を保存したまま、その周辺部の濃度を
小さくすることができる。式(1)の画像間演算後の画
像を図24に示す。
In the second embodiment, when the density of the dot portion has a peak near the center as shown in FIG. 18, the density of the peripheral portion is reduced while keeping the density of the peak portion. Thereby reducing the dot diameter. Hereinafter, the method will be described. First, a maximum value filter process is performed to replace the pixel density of the processing target with the maximum value of the density value of the total m × n pixels of vertical m pixels × horizontal n pixels centering on the processing target pixel, and Is stored in another image memory (where m and n are integers). FIG. 23 shows an image after the maximum value filter processing when m = n = 3 with respect to the image before the processing shown in FIG. By performing an inter-image calculation process of Expression (1) using the obtained image,
The density of the peripheral portion can be reduced while maintaining the density of the peak portion. FIG. 24 shows an image after the image-to-image calculation of Expression (1).

【0028】 g (x,y) =f(x,y)×2 −fma(x,y) (f(x,y) ×2 >fmax(x,y) =0 (f(x,y) ×2 ≦fmax(x,y) ・・・(1) ただし、g (x,y) は処理後の画像、f(x,y)は処理前の画
像、fmax(x,y) は最大値フィルタ処理後の画像である。
また、x,yは画像中の平面座標を示している。
G (x, y) = f (x, y) × 2−fma (x, y) (f (x, y) × 2> fmax (x, y) = 0 (f (x, y) × 2 ≦ fmax (x, y) (1) where g (x, y) is the image after processing, f (x, y) is the image before processing, and fmax (x, y) is the maximum value. It is an image after filter processing.
Also, x and y indicate plane coordinates in the image.

【0029】最終的に得られた画像に対して、予め設定
された、ある濃度しきい値よりも濃度値が大きい画素
の、小矩形に含まれる数が、ある判定数以上である場合
は小矩形内にドットが存在するものとして、ドットが存
在する小矩形と存在しない小矩形とを決定する。図24
に示した画像について、濃度しきい値を80、判定数を
1としたときに、ドットが存在する小矩形を1、存在し
ない小矩形を0とすることによって得られる、圧縮され
た形式のパターンの1/0データを図25に示す。
In the finally obtained image, if the number of pixels included in a small rectangle of a pixel whose density value is larger than a predetermined density threshold value is greater than a predetermined judgment number, a small value is set. Assuming that a dot exists in the rectangle, a small rectangle in which the dot exists and a small rectangle in which the dot does not exist are determined. FIG.
In the image shown in (1), when the density threshold value is 80 and the number of judgments is 1, the compressed rectangular pattern is obtained by setting the small rectangle having dots to 1 and the small rectangle not to exist to 0. 1/0 data is shown in FIG.

【0030】第2の実施例は、第1の実施例に比べて、
一般によく使われるフィルタリングのモジュールの組み
合わせで実現できるうえに、明るい点状のノイズなどの
影響を受けにくいという利点がある。
The second embodiment is different from the first embodiment in that
In addition to being realized by a combination of commonly used filtering modules, there is an advantage that it is hardly affected by bright dot-like noise and the like.

【0031】第3の実施例においては、小矩形の中で、
図26にて斜線で示すようなドットを検出する領域を設
ける。つまりこの検出領域の中でのみ小矩形に含まれる
ドットの有無の判定を行う。ドットの有無の判別は、検
出領域内で、予め設定された、ある濃度しきい値よりも
濃度値が大きい画素の数が、ある判定数以上である場合
は小矩形内にドットが存在するものとして、ドットが存
在する小矩形と存在しない小矩形とを決定する。例え
ば、図19に示した画像に対して、ドット検出領域を、
小矩形に含まれる縦3×横3画素の、中央の1画素のみ
とする。これに対し、濃度しきい値を80、判定数を1
として、ドットが存在する小矩形を1、存在しない小矩
形を0とすることによって得られる、圧縮された形式の
パターンの1/0のデータを図27に示す。
In the third embodiment, in a small rectangle,
An area for detecting a dot indicated by oblique lines in FIG. 26 is provided. That is, it is determined whether or not there is a dot included in the small rectangle only in this detection area. The determination of the presence / absence of a dot is based on the presence of a dot in a small rectangle if the number of pixels having a density value greater than a predetermined density threshold within a detection area is equal to or greater than a certain determination number. Is determined, a small rectangle in which a dot exists and a small rectangle in which a dot does not exist. For example, for the image shown in FIG.
Only one pixel at the center of 3 × 3 pixels included in the small rectangle is set. On the other hand, the density threshold is 80 and the number of judgments is 1
FIG. 27 shows data of 1/0 of a pattern in a compressed format obtained by setting a small rectangle having a dot to 1 and a small rectangle not having a dot to 0.

【0032】[0032]

【発明の効果】本発明によれば、ドットの径や位置、ド
ット部分をその背景から分離する際の濃度しきい値、小
領域にドットが存在することを判定する画素数、パター
ンを含む領域の位置の変動等の影響を受けにくいドット
の検出が可能となり、正確なドット位置検出が可能とな
る。
According to the present invention, the diameter and position of a dot, the density threshold for separating a dot portion from its background, the number of pixels for judging the presence of a dot in a small region, and an area including a pattern , It is possible to detect a dot that is not easily affected by a change in the position of the dot, and to detect the dot position accurately.

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

【図1】ドットパターン識別装置の構成図である。FIG. 1 is a configuration diagram of a dot pattern identification device.

【図2】画像入力手段を示す構成図である。FIG. 2 is a configuration diagram showing an image input unit.

【図3】識別対象となる各パターンの切り出し手段を示
す図である。
FIG. 3 is a diagram showing cutout means for each pattern to be identified.

【図4】ドットパターンを外接矩形にて切り出した状態
の説明図である。
FIG. 4 is an explanatory diagram of a state where a dot pattern is cut out by a circumscribed rectangle.

【図5】外接矩形にて切り出されたドットパターンを更
に小矩形にて分割した状態の説明図である。
FIG. 5 is an explanatory diagram of a state in which a dot pattern cut out from a circumscribed rectangle is further divided into small rectangles.

【図6】1つの小矩形内の画素濃度の例を示す図であ
る。
FIG. 6 is a diagram illustrating an example of a pixel density in one small rectangle.

【図7】ドット検出の結果得られる圧縮された形式デー
タの例を示す図である。
FIG. 7 is a diagram illustrating an example of compressed format data obtained as a result of dot detection.

【図8】ドット径の不均一が見られる例を示す図であ
る。
FIG. 8 is a diagram showing an example in which the dot diameter is uneven.

【図9】図8のドットを従来例で検出した結果得られる
圧縮された形式のデータを示す図である。
FIG. 9 is a diagram showing data in a compressed format obtained as a result of detecting the dots of FIG. 8 in a conventional example.

【図10】識別対象のドット文字の説明図である。FIG. 10 is an explanatory diagram of dot characters to be identified.

【図11】ドットパターンを外接矩形にて切り出した状
態の説明図である。
FIG. 11 is an explanatory diagram of a state where a dot pattern is cut out by a circumscribed rectangle.

【図12】図11にて外接矩形にて切り出されたドット
パターンを更に小矩形にて分割した状態の説明図であ
る。
12 is an explanatory diagram of a state where the dot pattern cut out by the circumscribed rectangle in FIG. 11 is further divided into small rectangles.

【図13】図12の小矩形内でのドット検出の結果得ら
れる圧縮された形式の1/0のデータを示す図である。
FIG. 13 is a diagram showing 1/0 data in a compressed format obtained as a result of dot detection in the small rectangle of FIG. 12;

【図14】文字識別に用いられる参照データの説明図で
ある。
FIG. 14 is an explanatory diagram of reference data used for character identification.

【図15】画像データよりドット検出を行った結果得ら
れた1/0のデータを示す図である。
FIG. 15 is a diagram showing 1/0 data obtained as a result of performing dot detection from image data.

【図16】図14と図15の各要素間の排他的論理和を
示す図である。
FIG. 16 is a diagram showing an exclusive OR between the elements shown in FIGS. 14 and 15;

【図17】本発明のドット位置検出方法の概要説明図で
ある。
FIG. 17 is a schematic explanatory diagram of a dot position detecting method of the present invention.

【図18】ドット中心付近にピークがある画像の説明図
である。
FIG. 18 is an explanatory diagram of an image having a peak near a dot center.

【図19】本発明の第1実施例における読み取り対象の
文字の画素の濃度の説明図である。
FIG. 19 is an explanatory diagram of the density of pixels of a character to be read in the first embodiment of the present invention.

【図20】図19の画像の濃度ピーク点の検出状態の説
明図である。
20 is an explanatory diagram of a detection state of a density peak point of the image of FIG. 19;

【図21】図20で検出された濃度ピーク点を更にしき
い値処理した結果残った点の説明図である。
21 is an explanatory diagram of points remaining as a result of further performing threshold processing on the density peak points detected in FIG. 20;

【図22】図21で残った点のメッシュ属性より検出さ
れたドット位置より得られた1/0のデータを示す図で
ある。
22 is a diagram showing 1/0 data obtained from a dot position detected from a mesh attribute of a point remaining in FIG. 21.

【図23】本発明の第2実施例における最大値フィルタ
処理後の画像濃度の説明図である。
FIG. 23 is an explanatory diagram of the image density after the maximum value filter processing in the second embodiment of the present invention.

【図24】第2実施例における画像濃度の説明図であ
る。
FIG. 24 is an explanatory diagram of an image density in the second embodiment.

【図25】図24の画像よりドット検出して得られる1
/0のデータを示す図である。
25 is a diagram showing a dot obtained from the image of FIG. 24 by dot detection.
It is a figure which shows the data of / 0.

【図26】本発明の第3の実施例におけるドット検出領
域の説明図である。
FIG. 26 is an explanatory diagram of a dot detection area according to the third embodiment of the present invention.

【図27】図26のドット検出領域内でドット検出して
得られる1/0のデータを示す図である。
FIG. 27 is a diagram showing 1/0 data obtained by dot detection in the dot detection area of FIG. 26;

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ドットで構成されるパターンの画像情報
より、ドットパターンを含む領域を、基準となるドット
パターンのドットにより定まる複数の小領域に分割し、
次いで各小領域に対するドットの属性より、ドットの位
置を検出するドットパターンのドット位置検出方法にお
いて、画像中の画素の濃度がその周囲の画素と対比して
ピークとなる点の検出を行い、このピークとなる点が各
小領域内に存在するか否かをもって各小領域における
ットの存在の有無を判定してドットの位置を検出するこ
とを特徴とするドットパターンのドット位置検出方法。
1. An image processing method according to claim 1, wherein an area including a dot pattern is determined based on image information of a pattern composed of dots.
Divide into multiple small areas determined by the dots of the pattern ,
Next, in the dot position detection method of the dot pattern that detects the position of the dot from the attribute of the dot for each small area, the point where the density of the pixel in the image becomes a peak in comparison with the surrounding pixels is detected. Each peak point is
A dot position detection method for a dot pattern, wherein the presence or absence of a dot in each small area is determined based on whether or not the dot exists in the small area to detect the position of the dot.
【請求項2】 ドットで構成されるパターンの画像情報
より、ドットパターンを含む領域を、基準となるドット
パターンのドットにより定まる複数の小領域に分割し、
次いで各小領域に対するドットの属性より、ドットの位
置を検出するドットパターンのドット位置検出方法にお
いて、画像中の画素に対して、その画素と周囲の画素と
の演算結果をもって置き換える処理を施すことにより、
ドット径の縮小を行い、ドット径の縮小されたデータの
各小領域に対する属性により各小領域でのドットの存在
の有無を判定してドットの位置を検出することを特徴と
するドットパターンのドット位置検出方法。
2. An area including a dot pattern is defined as a reference dot based on image information of a pattern composed of dots.
Divide into multiple small areas determined by the dots of the pattern ,
Then over attributes of dot for each small area, the dot position detection method of the dot pattern for detecting the position of the dot, is subjected to the pixels in the image, processing for replacing with the calculation result of its pixel and surrounding pixels By
A dot of a dot pattern, characterized in that the dot diameter is reduced, the presence or absence of a dot in each small area is determined based on the attribute of the reduced data for each small area, and the position of the dot is detected. Position detection method.
【請求項3】 ドットで構成されるパターンの画像情報
より、ドットパターンを含む領域を、基準となるドット
パターンのドットにより定まる複数の小領域に分割し、
次いで各小領域に対するドットの属性より、ドットの位
置を検出するドットパターンのドット位置検出方法にお
いて、各小領域内にこの小領域より更に小さなドット検
出領域を設け、そのドット検出領域のみでドット存在の
有無を判定し、これに基き各小領域でのドットの存在の
有無を判定してドットの位置を検出することを特徴とす
るドットパターンのドット位置検出方法。
3. An area including a dot pattern is defined as a reference dot based on image information of a pattern composed of dots.
Divide into multiple small areas determined by the dots of the pattern ,
Next, in a dot position detection method of a dot pattern for detecting a dot position from a dot attribute for each small area, a dot detection area smaller than this small area is provided in each small area, and a dot exists only in the dot detection area. A dot position detecting method for a dot pattern, comprising: judging the presence or absence of a dot and detecting the presence or absence of a dot in each small area based on the judgment to detect the position of the dot.
JP20552292A 1992-07-31 1992-07-31 Dot pattern dot position detection method Expired - Fee Related JP3193135B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20552292A JP3193135B2 (en) 1992-07-31 1992-07-31 Dot pattern dot position detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20552292A JP3193135B2 (en) 1992-07-31 1992-07-31 Dot pattern dot position detection method

Publications (2)

Publication Number Publication Date
JPH0652310A JPH0652310A (en) 1994-02-25
JP3193135B2 true JP3193135B2 (en) 2001-07-30

Family

ID=16508277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20552292A Expired - Fee Related JP3193135B2 (en) 1992-07-31 1992-07-31 Dot pattern dot position detection method

Country Status (1)

Country Link
JP (1) JP3193135B2 (en)

Also Published As

Publication number Publication date
JPH0652310A (en) 1994-02-25

Similar Documents

Publication Publication Date Title
US7054485B2 (en) Image processing method, apparatus and system
US7738734B2 (en) Image processing method
US6798906B1 (en) Image processing apparatus and method including line segment data extraction
US5335086A (en) Method of and apparatus for eliminating pin holes
US5075895A (en) Method and apparatus for recognizing table area formed in binary image of document
JPH02162475A (en) Picture contour correcting method
US6493470B1 (en) Image processing method and apparatus for detecting the tilt amount of input image data
JP3438440B2 (en) Image processing device
US5050229A (en) Method and apparatus for thinning alphanumeric characters for optical character recognition
JP3659426B2 (en) Edge detection method and edge detection apparatus
EP0949801B1 (en) Image process apparatus, image process method and storage medium
JP3772262B2 (en) How to identify the type of an image
JP3193135B2 (en) Dot pattern dot position detection method
JP3698867B2 (en) Circular pattern determination method, apparatus and recording medium
JP2868134B2 (en) Image processing method and apparatus
JP2001222683A (en) Method and device for processing picture, device and method for recognizing character and storage medium
JP2957729B2 (en) Line direction determination device
JP3359377B2 (en) Background concentration detector
JP3989647B2 (en) Image processing method, apparatus, and recording medium
JP2998443B2 (en) Character recognition method and device therefor
US7373015B2 (en) Image processing device and method
JP3618926B2 (en) Document image tilt detection method
JP2957739B2 (en) Line direction determination device
JP2000331118A (en) Image processor and recording medium
JPH0573718A (en) Area attribute identifying system

Legal Events

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