JP2924896B1 - Picture postcard judgment method and picture postcard judgment apparatus - Google Patents

Picture postcard judgment method and picture postcard judgment apparatus

Info

Publication number
JP2924896B1
JP2924896B1 JP10167562A JP16756298A JP2924896B1 JP 2924896 B1 JP2924896 B1 JP 2924896B1 JP 10167562 A JP10167562 A JP 10167562A JP 16756298 A JP16756298 A JP 16756298A JP 2924896 B1 JP2924896 B1 JP 2924896B1
Authority
JP
Japan
Prior art keywords
processed
postcard
line segment
total length
mail
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP10167562A
Other languages
Japanese (ja)
Other versions
JP2000000524A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP10167562A priority Critical patent/JP2924896B1/en
Application granted granted Critical
Publication of JP2924896B1 publication Critical patent/JP2924896B1/en
Publication of JP2000000524A publication Critical patent/JP2000000524A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

【要約】 【課題】 コストの上昇を抑制しながら高速で高精度な
判定を行うことができる絵はがき判定方法及び絵はがき
判定装置を提供する。 【解決手段】 処理対象郵便物の画像中の横方向に延び
る1本以上の線分を画像走査装置を使用して検出する。
次に、前記線分の中から前記処理対象郵便物の右半分の
みに描かれているものの全長を算出する。次いで、前記
全長を所定値と比較する。そして、前記全長が前記所定
値より大きい場合に前記処理対象郵便物が絵はがきであ
ると判定する。
A postcard determination method and a postcard determination device capable of performing high-speed and high-precision determination while suppressing an increase in cost. SOLUTION: One or more line segments extending in a lateral direction in an image of a postal matter to be processed are detected using an image scanning device.
Next, the total length of the line drawn on only the right half of the mail to be processed is calculated. Next, the total length is compared with a predetermined value. Then, when the total length is larger than the predetermined value, it is determined that the postal matter to be processed is a postcard.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は処理対象郵便物が絵
はがきであるか否かを判定する絵はがき判定方法及び絵
はがき判定装置に関し、特に、高速かつ高精度で判定を
行うことができる絵はがき判定方法及び絵はがき判定装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a picture postcard judging method and a picture postcard judging method for judging whether or not a mail to be processed is a postcard, and more particularly to a picture postcard judging method capable of making a judgment with high speed and high accuracy. The present invention relates to a postcard determination device.

【0002】[0002]

【従来の技術】絵はがき、官製はがき及び封書等の郵便
物の宛名が記載された領域である宛名領域の検出が郵便
物宛名自動読取区分機に具備された宛名領域検出装置に
より行われている。郵便物宛名自動読取区分機の構成及
び動作等の説明は、石川壽夫等による「日本郵政省向け
郵便物あて名自動読取区分機(NEC技報、Vol. 44, No.
3, pp. 25-30, 1991.3)」等に記載されている。また、
宛名領域検出装置の構成及び動作等の説明は、T.Ishika
wa等による「Address Block Location and Format Iden
tification of Japanese Address Reading/Letter Sort
ing Machine (NECResearch & Development, Vol. 33, N
o. 2, pp. 217-225, April 1992)」等に記載されてい
る。一般的に、絵はがきの宛名領域は普通の官製はがき
のものと相違するので、処理対象郵便物が絵はがきであ
るか否かを判定した情報を得ることができれば、全体的
な検出精度及び処理速度を改善する効果が得られる。
2. Description of the Related Art An address area detecting device provided in a mail address automatic reading / sorting machine detects an address area in which an address of a postal matter such as a postcard, an official postcard, and a sealed letter is described. For a description of the configuration and operation of the mail address automatic reading / sorting machine, see Toshio Ishikawa et al., "Postal mail address automatic reading / sorting machine for Japan Ministry of Posts and Telecommunications (NEC Technical Report, Vol. 44, No.
3, pp. 25-30, 1991.3) ”. Also,
For a description of the configuration and operation of the address area detection device, see T.Ishika
Address Block Location and Format Iden by wa et al.
tification of Japanese Address Reading / Letter Sort
ing Machine (NECResearch & Development, Vol. 33, N
o. 2, pp. 217-225, April 1992) ”. In general, the address area of a postcard differs from that of an ordinary government-made postcard, so if it is possible to obtain information that determines whether or not the mail to be processed is a postcard, the overall detection accuracy and processing speed will be reduced. The effect of improving is obtained.

【0003】そこで、搬送されてくるはがきが絵はがき
であるか否かを検知する絵はがき検知装置が提案されて
いる(特開昭56−51274号公報)。この公報に記
載された従来の絵はがき検知装置には、被検知はがきに
光を照射する光源と、被検知はがきからの正反射光を受
光する第1の受光部と、被検知はがきからの乱反射光を
受光する第2の受光部と、第1の受光部又は第2の受光
部に受光された正反射光と乱反射光との強度を比較する
比較回路とが設けられている。そして、比較回路による
比較結果により、被検知はがきが絵はがきであるか否か
が判定されている。
Therefore, a postcard detecting device for detecting whether a conveyed postcard is a postcard has been proposed (JP-A-56-51274). The conventional postcard detection device described in this publication includes a light source that irradiates light to the postcard to be detected, a first light receiving unit that receives specularly reflected light from the postcard to be detected, and irregularly reflected light from the postcard to be detected. And a comparison circuit for comparing the intensity of the specularly reflected light and the irregularly reflected light received by the first light receiving unit or the second light receiving unit. Then, it is determined whether or not the detected postcard is a picture postcard based on the comparison result by the comparison circuit.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記公
報に記載された検知装置には、専用の光源及び受光部を
設ける必要があり装置が大きくなると共に、コストが高
くなるという問題点がある。また、絵はがきであるか否
かの判定が正しく行われないものが多いという問題点も
ある。更に、その検知速度は十分なものではない。
However, the detection device described in the above-mentioned publication requires the provision of a dedicated light source and a light receiving unit, and has a problem that the size of the device is increased and the cost is increased. In addition, there is also a problem that determination of whether or not it is a postcard is not correctly performed in many cases. Furthermore, the detection speed is not sufficient.

【0005】本発明はかかる問題点に鑑みてなされたも
のであって、コストの上昇を抑制しながら高速で高精度
な判定を行うことができる絵はがき判定方法及び絵はが
き判定装置を提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a picture postcard judging method and a picture postcard judging apparatus capable of performing high-speed and high-accuracy judgment while suppressing an increase in cost. And

【0006】[0006]

【課題を解決するための手段】本発明に係る絵はがき判
定方法は、処理対象郵便物の画像中の横方向に延びる1
本以上の線分を画像走査装置を使用して検出する工程
と、前記線分の中から前記処理対象郵便物の右半分のみ
に描かれているものの全長を算出する工程と、前記全長
を所定値と比較する工程と、前記全長が前記所定値より
大きい場合に前記処理対象郵便物が絵はがきであると判
定する工程とを有することを特徴とする。
According to the present invention, there is provided a method for judging a postcard, the method comprising the steps of:
A step of detecting more than one line segment using an image scanning device; a step of calculating the total length of only the right half of the mail to be processed from the line segments; Comparing the postal matter to be processed as a postcard if the total length is greater than the predetermined value.

【0007】前記全長を算出する工程は、全ての前記線
分の左端の位置を得る工程と、前記線分の中から前記左
端の位置が前記処理対象郵便物の右半分にあるものを前
記処理対象郵便物の右半分にあると判別する工程と、右
半分にあると判別された全ての前記線分の長さの和を算
出する工程とを有することができる。
The step of calculating the total length includes the step of obtaining the left end position of all the line segments, and the step of processing the line segment whose left end position is in the right half of the mail to be processed among the line segments. The method may include a step of determining that the line is located in the right half of the target mail, and a step of calculating the sum of the lengths of all the line segments determined to be in the right half.

【0008】また、前記線分を検出する工程は、前記画
像中の黒画素の分布を示すヒストグラムを作成する工程
と、前記ヒストグラムのピークを検出する工程と、前記
ピークの高さ及び幅に基づいてそのピークを示す位置に
前期横方向に延びる線分があるか否かを判別する工程と
を有してもよい。
[0008] The step of detecting the line segment includes a step of generating a histogram indicating a distribution of black pixels in the image, a step of detecting a peak of the histogram, and a step of detecting a peak and a width of the peak. Determining whether there is a line segment extending in the horizontal direction at the position indicating the peak.

【0009】本発明に係る絵はがき判定装置は、処理対
象郵便物の画像を読み込み画像データを作成する画像走
査装置と、前記画像データの中から前記処理対象郵便物
の画像中の横方向に延びる1本以上の線分を検出する線
分検出手段と、この線分検出手段により検出された前記
線分の中から前記処理対象郵便物の右半分のみに描かれ
ているものの全長を算出し前記全長を所定値と比較し前
記全長が前記所定値より大きい場合に前記処理対象郵便
物が絵はがきであると判定する線分長さ比較手段とを有
することを特徴とする。
A picture postcard determining apparatus according to the present invention comprises: an image scanning device for reading an image of a postal object to be processed to create image data; and an image scanning device extending from the image data in a lateral direction in the image of the postal object to be processed. Line segment detecting means for detecting more than one line segment, and calculating the total length of the line drawn on only the right half of the mail to be processed from among the line segments detected by the line segment detecting means. Is compared with a predetermined value, and when the total length is larger than the predetermined value, a line segment length comparing means for judging that the postal matter to be processed is a postcard is provided.

【0010】前記線分は宛名書きのためのアンダーライ
ンであってもよい。
[0010] The line segment may be an underline for address writing.

【0011】本発明においては、画像走査装置により処
理対象郵便物の画像が読み込まれ画像データが作成され
る。そして、処理対象郵便物の画像中の横方向に延びる
1本以上の線分が検出され、この線分の位置及び長さに
基づいてその処理対象郵便物が絵はがきであるか否かが
判定される。このとき、処理対象郵便物の右半分にある
線分のみの長さの総和が算出されるので、通常文面領域
となる左半分に描かれた線分は処理対象とならない。従
って、絵はがきであるか否かの判定を高速かつ高精度で
行うことが可能である。
In the present invention, the image of the postal matter to be processed is read by the image scanning device to create image data. Then, one or more line segments extending in the horizontal direction in the image of the mail to be processed are detected, and it is determined whether or not the mail to be processed is a postcard based on the position and length of the line. You. At this time, since the sum of the lengths of only the line segments in the right half of the mail to be processed is calculated, the line segments drawn in the left half, which is a normal text region, are not to be processed. Therefore, it is possible to determine whether a picture is a postcard at high speed and with high accuracy.

【0012】なお、ここでいう線分は、破線、点線、一
点鎖線及び2点鎖線等のその線上の空白部分を、例え
ば、黒で補間すれば連続した線分となる不連続で直線状
の有限線も含むものである。
The line segment referred to here is a discontinuous linear shape that becomes a continuous line segment by interpolating a blank portion on the line such as a broken line, a dotted line, a one-dot chain line and a two-dot chain line. It also includes finite lines.

【0013】[0013]

【発明の実施の形態】本願発明者等が前記課題を解決す
べく、鋭意実験研究を重ねた結果、通常、絵はがきの宛
名領域はその右半分に設けられ、この宛名領域にアンダ
ーラインとして横方向に延びる線分が描かれており、こ
の線分を検出してその長さを基準とすることにより、高
速かつ高精度で絵はがきであるか否かの判定を行うこと
ができることを見い出した。
BEST MODE FOR CARRYING OUT THE INVENTION As a result of intensive experiments and research conducted by the present inventors in order to solve the above-mentioned problems, an address area of a postcard is usually provided in the right half of the address area. Are drawn, and it has been found that by detecting this line segment and using its length as a reference, it is possible to determine at high speed and high accuracy whether or not a postcard is a postcard.

【0014】以下、本発明の実施例に係る絵はがき判定
装置について、添付の図面を参照して具体的に説明す
る。図1は本発明の実施例に係る絵はがき判定装置を示
すブロック図である。
Hereinafter, an apparatus for determining a postcard according to an embodiment of the present invention will be specifically described with reference to the accompanying drawings. FIG. 1 is a block diagram showing a picture postcard determining apparatus according to an embodiment of the present invention.

【0015】本実施例には、絵はがきであるか否かを判
定される処理対象郵便物の画像を読み込み入力画像デー
タを作成するイメージスキャナ1が設けられている。ま
た、イメージスキャナ1により作成された入力画像デー
タを蓄積する画像メモリ2がイメージスキャナ1に接続
されている。更に、コンピュータ3が画像メモリ2に接
続されている。なお、このコンピュータ3内には、入力
画像データ中のアンダーライン等の横方向に延びる線分
を検出する線分検出部3a及びこの線分検出部3aによ
り検出された線分の全長を(処理対象郵便物の幅)×
0.8と比較する線分長さ比較部3bが設けられてい
る。
In this embodiment, there is provided an image scanner 1 which reads an image of a postal matter to be processed which is to be judged as a picture postcard and creates input image data. Further, an image memory 2 for storing input image data created by the image scanner 1 is connected to the image scanner 1. Further, a computer 3 is connected to the image memory 2. In the computer 3, a line segment detecting section 3a for detecting a line segment extending in the horizontal direction such as an underline in the input image data and the total length of the line segment detected by the line segment detecting section 3a are processed (processed). Target mail width) ×
A line segment length comparison unit 3b for comparing with 0.8 is provided.

【0016】なお、イメージスキャナ1及び画像メモリ
2のより詳細な構成及び動作等の説明はY.Itamoto等に
よる「New OCR Engine Architecture (NEC Research &
Development, Vol. 35, No. 1, pp. 80-88, January 19
94)」に記載されている。また、コンピュータ3に関し
ては、線分検出部及び線分長さ比較部に関する説明を除
いて上記文献に記載されている。
A more detailed description of the configuration, operation, and the like of the image scanner 1 and the image memory 2 can be found in "New OCR Engine Architecture (NEC Research &
Development, Vol. 35, No. 1, pp. 80-88, January 19
94) ". The computer 3 is described in the above document except for the description of the line segment detection unit and the line segment length comparison unit.

【0017】また、線分検出部3aは、前述のように、
アンダーライン等の処理対象郵便物の横方向に延びる線
分を検出するものであるが、ここでいう線分は、破線、
点線、一点鎖線及び2点鎖線等のその線上の空白部分
を、例えば、黒で補間すれば連続した線分となる不連続
で直線状の有限線も含むものである。
Further, as described above, the line segment detector 3a
A line segment extending in the horizontal direction of the postal object to be processed, such as an underline, is detected.
A blank portion on the line such as a dotted line, a one-dot chain line, and a two-dot chain line includes a discontinuous linear finite line which becomes a continuous line segment when interpolated in black, for example.

【0018】ここで、線分検出部3aの動作について、
更に説明する。線分検出部3aは、処理対象郵便物の横
方向に補間を行いながら、入力画像データの、例えば、
黒画素の分布を示すヒストグラムを作成する。これによ
り、線分だけでなく破線等の不連続で直線状の有限線も
連続した黒画素の集合として検出される。次に、ヒスト
グラム中のピークを検出し、その幅及び高さからそのピ
ークを示す位置に線分があるか否かを判別する。そし
て、この結果から、線分検出結果データを作成する。
Here, the operation of the line segment detector 3a will be described.
Further explanation will be given. The line segment detection unit 3a performs, for example, interpolation on the input image data while performing interpolation in the horizontal direction of the mail to be processed.
Create a histogram showing the distribution of black pixels. Thus, not only a line segment but also a discontinuous linear finite line such as a broken line is detected as a set of continuous black pixels. Next, a peak in the histogram is detected, and it is determined from the width and height whether or not a line segment exists at a position indicating the peak. Then, line segment detection result data is created from this result.

【0019】図2は線分検出結果データの例を示す模式
図である。処理対象郵便物には、宛名及び文面等の文字
等が複雑に描かれているが、線分検出部3aにより得ら
れる線分検出結果データは、図2に示すように、ヒスト
グラム中のピークの幅及び高さから線分であると判別さ
れたもののみを示すので、極めて単純化されたものとな
る。
FIG. 2 is a schematic diagram showing an example of line segment detection result data. Although characters such as an address and text are drawn in a complicated manner on the postal object to be processed, the line segment detection result data obtained by the line segment detection unit 3a has the peaks in the histogram as shown in FIG. Since only the line segment determined from the width and the height is shown, it is extremely simplified.

【0020】次に、このように構成された本実施例の絵
はがき判定装置の動作について説明する。図3は処理対
象郵便物の例を示す模式図である。図3に示すように、
通常、絵はがきの宛名領域はその右半分に設けられてお
り、そこには、横方向に延びる線分が描かれている。
Next, the operation of the picture-postcard judging device of the embodiment constructed as described above will be described. FIG. 3 is a schematic diagram showing an example of a postal object to be processed. As shown in FIG.
Usually, the address area of a postcard is provided in the right half thereof, and a line extending in the horizontal direction is drawn there.

【0021】図4は本実施例の絵はがき判定装置の動作
を示すフローチャートである。先ず、イメージスキャナ
1が処理対象郵便物4の画像を読み込み入力画像データ
を作成する(ステップS1)。
FIG. 4 is a flow chart showing the operation of the picture postcard judging device of this embodiment. First, the image scanner 1 reads an image of a mail 4 to be processed and creates input image data (step S1).

【0022】次に、画像メモリ2が入力画像データを蓄
積する(ステップS2)。
Next, the image memory 2 stores the input image data (step S2).

【0023】その後、線分検出部3aが画像メモリ2に
蓄積された入力画像データから線分の検出を行う。そし
て、線分検出部3aは線分検出結果データを作成し、こ
れを出力する(ステップS3)。
Thereafter, the line segment detector 3a detects a line segment from the input image data stored in the image memory 2. Then, the line segment detection unit 3a creates line segment detection result data and outputs it (step S3).

【0024】そして、この線分検出結果データが線分長
さ比較部3bに入力される。線分長さ比較部3bでは、
先ず、線分検出結果データから線分の本数N及び夫々の
線分の座標(XL(I)、XY(I)、Y(I))(I
=1、2、3・・・・・・、N)を数値化する。なお、
この座標の原点は処理対象郵便物の左下端である。図5
は座標の設定方法を示す模式図である。図5に示すよう
に、線分の処理対象郵便物の縦方向における座標をY
(I)、横方向における左端の座標をXL(I)、右端
の座標をXR(I)とする。次いで、数値化されたデー
タを使用して線分検出部3aにより検出された線分の全
長を算出し処理対象郵便物が絵はがきであるか否かを判
定し、これを判定結果データとして出力する(ステップ
S4)。
Then, the line segment detection result data is input to the line segment length comparing section 3b. In the line length comparison unit 3b,
First, from the line segment detection result data, the number N of line segments and the coordinates (XL (I), XY (I), Y (I)) (I
= 1, 2, 3,..., N). In addition,
The origin of these coordinates is the lower left corner of the mail to be processed. FIG.
FIG. 3 is a schematic diagram showing a method of setting coordinates. As shown in FIG. 5, the vertical coordinate of the postal matter to be processed is Y.
(I), the leftmost coordinate in the horizontal direction is XL (I), and the rightmost coordinate is XR (I). Next, using the digitized data, the total length of the line segment detected by the line segment detection unit 3a is calculated, and it is determined whether or not the postal matter to be processed is a postcard, and this is output as determination result data. (Step S4).

【0025】図6は線分長さ比較部3bの判定工程を示
すフローチャートである。
FIG. 6 is a flow chart showing the judgment process of the line segment length comparing section 3b.

【0026】線分長さ比較部3bの判定工程では、先
ず、評価値Rを0で初期化する(ステップS11)。
In the determination step of the line segment length comparing section 3b, first, the evaluation value R is initialized to 0 (step S11).

【0027】次に、変数Iを1で初期化する(ステップ
S12)。
Next, the variable I is initialized with 1 (step S12).

【0028】次いで、XL(I)が(処理対象郵便物の
幅)/2より大きいか否かを判別する(ステップS1
3)。これにより、座標(XL(I)、XY(I)、Y
(I))で示される線分の左端が処理対象郵便物の横方
向の中心より右側にあるか否かが判別される。これは、
前述のように、絵はがきに描かれている線分は、通常、
その右半分にあるので、左端が処理対象郵便物の横方向
の中心より右側にない線分は絵はがきに特有の宛名領域
に描かれた線分とは判別しないようにするためである。
Next, it is determined whether or not XL (I) is larger than (width of mail to be processed) / 2 (step S1).
3). Thereby, the coordinates (XL (I), XY (I), Y
It is determined whether or not the left end of the line segment indicated by (I)) is on the right side of the horizontal center of the mail to be processed. this is,
As mentioned above, the lines drawn on a postcard are usually
Since the line segment is located on the right half thereof, the line segment whose left end is not on the right side of the horizontal center of the mail to be processed is not to be distinguished from the line segment drawn in the address area unique to the postcard.

【0029】この判別の結果、XL(I)が(処理対象
郵便物の幅)/2より大きい場合、評価値Rに(XR
(I)−XR(I))を加える(ステップS14)。
As a result of this determination, when XL (I) is larger than (width of postal matter to be processed) / 2, the evaluation value R is set to (XR
(I) -XR (I)) is added (step S14).

【0030】その後、変数Iに1を加える(ステップS
15)。なお、ステップS13の判別の結果、XL
(I)が(処理対象郵便物の幅)/2より大きくない場
合には、評価値Rに(XR(I)−XR(I))を加え
ることなく、変数Iに1を加える(ステップS15)。
Thereafter, 1 is added to the variable I (step S
15). Note that as a result of the determination in step S13, XL
If (I) is not larger than (width of mail to be processed) / 2, 1 is added to variable I without adding (XR (I) -XR (I)) to evaluation value R (step S15). ).

【0031】次に、変数Iが線分本数Nより大きいか否
かを判別する(ステップS16)。
Next, it is determined whether or not the variable I is greater than the number N of line segments (step S16).

【0032】この判別の結果、変数Iが線分本数Nより
大きくない場合、ステップS13に戻る。一方、ステッ
プS16の判別の結果、変数Iが線分本数Nより大きい
場合、つまり、線分検出部により検出された全ての線分
に対する演算が完了した場合、評価値Rが(処理対象郵
便物の幅)×0.8より大きいか否かを判別する(ステ
ップS17)。
If the result of this determination is that the variable I is not greater than the number N of line segments, the flow returns to step S13. On the other hand, as a result of the determination in step S16, if the variable I is larger than the number N of line segments, that is, if the calculation for all the line segments detected by the line segment detection unit is completed, the evaluation value R becomes It is determined whether or not it is larger than (width) × 0.8 (step S17).

【0033】この判別の結果、評価値Rが(処理対象郵
便物の幅)×0.8より大きい場合、処理対象郵便物は
絵はがきであると判別する(ステップS18)。一方、
評価値Rが(処理対象郵便物の幅)×0.8より大きく
ない場合、処理対象郵便物は絵はがきではないと判別す
る(ステップS19)。
As a result of this determination, when the evaluation value R is larger than (width of postal matter to be processed) × 0.8, it is determined that the postal matter to be processed is a postcard (step S18). on the other hand,
If the evaluation value R is not greater than (width of postal matter to be processed) × 0.8, it is determined that the postal matter to be processed is not a postcard (step S19).

【0034】このように、本実施例においては、絵はが
きに特有の郵便物の左半分に設けられ文面が記載される
領域に描かれた線分が宛名領域の検出対象から除外され
る。このため、文面が記載されている領域を宛名領域と
誤って検出することが防止される。つまり、検出精度が
向上する。また、文面が記載されている領域の解析に余
計な処理時間が費やされないので、宛名領域の検出速度
が向上する。
As described above, in this embodiment, the line segment provided on the left half of the postal matter peculiar to the postcard and in which the text is described is excluded from the detection of the address area. For this reason, it is possible to prevent the area where the text is described from being erroneously detected as the destination area. That is, the detection accuracy is improved. Further, since no extra processing time is spent analyzing the area in which the text is described, the detection speed of the destination area is improved.

【0035】なお、本実施例においては、線分の全長が
(処理対象郵便物の幅)×0.8より大きい場合に処理
対象郵便物が絵はがきと判定したが、線分の全長が(処
理対象郵便物の幅)×0.8以上である場合に処理対象
郵便物が絵はがきと判定してもよい。また、全長と比較
する対象となる値は(処理対象郵便物の幅)×0.8に
限定されるものではなく、処理対象郵便物の幅以外の値
を基準としてもよいし、それに乗じる値を0.8以外と
してもよい。
In this embodiment, the postal matter to be processed is determined to be a postcard if the total length of the line segment is larger than (width of postal matter to be processed) × 0.8. When the width is equal to or more than (the width of the target mail) × 0.8, the mail to be processed may be determined to be a postcard. Further, the value to be compared with the total length is not limited to (width of postal matter to be processed) × 0.8, but may be a value other than the width of postal matter to be processed, or a value to be multiplied by the value. May be set to a value other than 0.8.

【0036】[0036]

【発明の効果】以上詳述したように、本発明によれば、
文面が記載されている文面領域を宛名領域と誤って検出
することを防止することが可能であり、検出精度を向上
させることができる。また、文面領域の解析に余計な処
理時間を費やす必要がないので、宛名領域の検出速度を
向上させることができる。更に、専用の光源及び受光部
等は不要であるため、コストの上昇を抑制することがで
きる。
As described in detail above, according to the present invention,
It is possible to prevent the text area in which the text is described from being erroneously detected as the destination area, and it is possible to improve the detection accuracy. In addition, since it is not necessary to spend extra processing time on the analysis of the text area, the detection speed of the destination area can be improved. Further, since a dedicated light source and a light receiving unit are not required, an increase in cost can be suppressed.

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

【図1】本発明の実施例に係る絵はがき判定装置を示す
ブロック図である。
FIG. 1 is a block diagram illustrating a picture postcard determination device according to an embodiment of the present invention.

【図2】線分検出結果データの例を示す模式図である。FIG. 2 is a schematic diagram illustrating an example of line segment detection result data.

【図3】処理対象郵便物の例を示す模式図である。FIG. 3 is a schematic diagram showing an example of a postal object to be processed.

【図4】本実施例の絵はがき判定装置の動作を示すフロ
ーチャートである。
FIG. 4 is a flowchart illustrating the operation of the picture postcard determination device according to the present embodiment.

【図5】座標の設定方法を示す模式図である。FIG. 5 is a schematic diagram showing a method for setting coordinates.

【図6】線分長さ比較部3bの判定工程を示すフローチ
ャートである。
FIG. 6 is a flowchart illustrating a determination process of a line segment length comparison unit 3b.

【符号の説明】[Explanation of symbols]

1;イメージスキャナ 2;画像メモリ 3;コンピュータ 3a;線分検出部 3b;線分長さ比較部 DESCRIPTION OF SYMBOLS 1; Image scanner 2; Image memory 3; Computer 3a; Line segment detection part 3b; Line segment length comparison part

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 処理対象郵便物の画像中の横方向に延び
る1本以上の線分を画像走査装置を使用して検出する工
程と、前記線分の中から前記処理対象郵便物の右半分の
みに描かれているものの全長を算出する工程と、前記全
長を所定値と比較する工程と、前記全長が前記所定値よ
り大きい場合に前記処理対象郵便物が絵はがきであると
判定する工程とを有することを特徴とする絵はがき判定
方法。
1. A step of detecting one or more line segments extending in a horizontal direction in an image of a postal object to be processed by using an image scanning device, and a right half of the postal item to be processed out of the line segments. Calculating the total length of only those drawn only, comparing the total length with a predetermined value, and determining that the mail to be processed is a postcard if the total length is greater than the predetermined value. A method for determining a postcard, comprising:
【請求項2】 前記全長を算出する工程は、全ての前記
線分の左端の位置を得る工程と、前記線分の中から前記
左端の位置が前記処理対象郵便物の右半分にあるものを
前記処理対象郵便物の右半分にあると判別する工程と、
右半分にあると判別された全ての前記線分の長さの和を
算出する工程とを有することを特徴とする請求項1に記
載の絵はがき判定方法。
2. The step of calculating the total length includes obtaining a position of a left end of all the line segments, and determining a position of the left end of the line segments in a right half of the mail to be processed. A step of determining that the mail is in the right half of the mail to be processed;
Calculating the sum of the lengths of all the line segments determined to be in the right half. The method according to claim 1, further comprising the steps of:
【請求項3】 前記線分を検出する工程は、前記画像中
の黒画素の分布を示すヒストグラムを作成する工程と、
前記ヒストグラムのピークを検出する工程と、前記ピー
クの高さ及び幅に基づいてそのピークを示す位置に前期
横方向に延びる線分があるか否かを判別する工程とを有
することを特徴とする請求項1又は2に記載の絵はがき
判定方法。
3. The step of detecting a line segment includes the steps of: creating a histogram indicating a distribution of black pixels in the image;
Detecting a peak of the histogram, and determining whether there is a line segment extending in the horizontal direction at a position indicating the peak based on the height and width of the peak. The method for determining a postcard according to claim 1.
【請求項4】 前記線分は宛名書きのためのアンダーラ
インであることを特徴とする請求項1乃至3のいずれか
1項に記載の絵はがき判定方法。
4. The method according to claim 1, wherein the line segment is an underline for address writing.
【請求項5】 処理対象郵便物の画像を読み込み画像デ
ータを作成する画像走査装置と、前記画像データの中か
ら前記処理対象郵便物の画像中の横方向に延びる1本以
上の線分を検出する線分検出手段と、この線分検出手段
により検出された前記線分の中から前記処理対象郵便物
の右半分のみに描かれているものの全長を算出し前記全
長を所定値と比較し前記全長が前記所定値より大きい場
合に前記処理対象郵便物が絵はがきであると判定する線
分長さ比較手段とを有することを特徴とする絵はがき判
定装置。
5. An image scanning apparatus for reading an image of a postal object to be processed and generating image data, and detecting one or more line segments extending in a lateral direction in the image of the postal object to be processed from the image data. And calculating the total length of a line drawn only in the right half of the mail to be processed from among the line segments detected by the line segment detecting unit, and comparing the total length with a predetermined value. A postcard determining apparatus comprising: a line segment length comparing unit that determines that the postal matter to be processed is a postcard when the total length is larger than the predetermined value.
【請求項6】 前記線分は宛名書きのためのアンダーラ
インであることを特徴とする請求項5に記載の絵はがき
判定装置。
6. The postcard judging device according to claim 5, wherein the line segment is an underline for address writing.
JP10167562A 1998-06-15 1998-06-15 Picture postcard judgment method and picture postcard judgment apparatus Expired - Lifetime JP2924896B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10167562A JP2924896B1 (en) 1998-06-15 1998-06-15 Picture postcard judgment method and picture postcard judgment apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10167562A JP2924896B1 (en) 1998-06-15 1998-06-15 Picture postcard judgment method and picture postcard judgment apparatus

Publications (2)

Publication Number Publication Date
JP2924896B1 true JP2924896B1 (en) 1999-07-26
JP2000000524A JP2000000524A (en) 2000-01-07

Family

ID=15852038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10167562A Expired - Lifetime JP2924896B1 (en) 1998-06-15 1998-06-15 Picture postcard judgment method and picture postcard judgment apparatus

Country Status (1)

Country Link
JP (1) JP2924896B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007222746A (en) * 2006-02-22 2007-09-06 Toshiba Corp Mail processing apparatus and mail processing method
JP2010073047A (en) * 2008-09-19 2010-04-02 Toshiba Corp Information processor and program
JP2011086178A (en) * 2009-10-16 2011-04-28 Toshiba Corp Postal indicium detection method and postal indicium detection apparatus
JP5451540B2 (en) * 2009-10-16 2014-03-26 日立オムロンターミナルソリューションズ株式会社 Biometric authentication device and biometric authentication method

Also Published As

Publication number Publication date
JP2000000524A (en) 2000-01-07

Similar Documents

Publication Publication Date Title
US5444793A (en) Method for detecting machine printed monetary amounts in binary images
JP4000488B2 (en) System and method for evaluating outline of document image
JP3246432B2 (en) Address reader and mail sorting machine
JP2986383B2 (en) Method and apparatus for correcting skew for line scan images
US6798906B1 (en) Image processing apparatus and method including line segment data extraction
JP2001109895A (en) Processing method for digital images
JPH0757051A (en) Pattern recognition device
JP2001101426A (en) Digital image processing method
JP2924896B1 (en) Picture postcard judgment method and picture postcard judgment apparatus
JP3006466B2 (en) Character input device
JP3268552B2 (en) Area extraction method, destination area extraction method, destination area extraction apparatus, and image processing apparatus
JPH06103411A (en) Document reader
JP2827960B2 (en) Address line extraction device
JP2861860B2 (en) Address line extraction device
JP4242962B2 (en) Character extractor
JPH07230525A (en) Method for recognizing ruled line and method for processing table
JP2714012B2 (en) Address area detection device
JP3186712B2 (en) Document reading device
JP2002366893A (en) Document recognizing method
JP3062025B2 (en) Postal address reading apparatus and method
JP2714003B2 (en) Address area detection device
JP2022019257A (en) Information processing device, information processing method, and program
JP2882056B2 (en) How to identify specific patterns
JP4230478B2 (en) Document processing apparatus, method and program
CA2186611A1 (en) Automatic determination of landscape scan in binary images

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090507

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100507

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110507

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110507

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120507

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120507

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130507

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140507

Year of fee payment: 15

EXPY Cancellation because of completion of term