JP2001312695A - Device and method for detecting label area and recording medium - Google Patents

Device and method for detecting label area and recording medium

Info

Publication number
JP2001312695A
JP2001312695A JP2000130408A JP2000130408A JP2001312695A JP 2001312695 A JP2001312695 A JP 2001312695A JP 2000130408 A JP2000130408 A JP 2000130408A JP 2000130408 A JP2000130408 A JP 2000130408A JP 2001312695 A JP2001312695 A JP 2001312695A
Authority
JP
Japan
Prior art keywords
label
color
image data
image
detecting
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.)
Pending
Application number
JP2000130408A
Other languages
Japanese (ja)
Inventor
Kazuki Hirata
和樹 枚田
Katsuhiko Kondo
克彦 近藤
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
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2000130408A priority Critical patent/JP2001312695A/en
Publication of JP2001312695A publication Critical patent/JP2001312695A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a device/method for detecting a label area and a recording medium which is constituted simply and capable of detecting a label area even when a complicated marking or a pattern is on a paper surface or when a label is enclosed in a plastics seal. SOLUTION: The label area detector 1 has a color scanner part 2 for fetching the whole picture of the addressee's name of a detecting object K, whose label area has to be detected, and a picture processing part 3 for processing the picture fetched by the part 2. The part 3 has a picture memory 4 storing picture data of the object K, a label color storing part 5 for storing the color component of the label, a picture comparing part 6 for comparing the picture data stored in the memory 4 with the color component of the label stored in the part 5 and preparing picture data of only the color component of the label, and a label area detecting part 7 for detecting the label area based on picture data of only the color component of the label prepared by the part 6.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、封書、はがき、雑
誌、新聞、小包などの検出対象物に貼られた宛名ラベル
又は宛名窓の領域(以下、ラベル領域という)を検出す
るラベル領域検出装置、ラベル領域検出方法及び記録媒
体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a label area detecting apparatus for detecting an address label or an address window area (hereinafter referred to as a label area) affixed to an object to be detected such as a sealed letter, a postcard, a magazine, a newspaper, a parcel or the like. And a label area detecting method and a recording medium.

【0002】[0002]

【従来の技術】一般に、封書、はがき、雑誌、新聞、小
包などに記載された郵便番号や住所をOCR(光学式文
字読取装置)によって読み取り区分する場合、読み取り
対象となる郵便番号や住所がラベルや窓内に記載されて
いるものが多いため、このラベルや窓のラベル領域を検
出することが文字認識の前処理として有効である。
2. Description of the Related Art Generally, when a postal code or address written on a sealed letter, postcard, magazine, newspaper, parcel, or the like is read and classified by an OCR (optical character reader), the postal code or address to be read is labeled. Since many of the labels are described in the window or in the window, detecting the label or the label area of the window is effective as preprocessing for character recognition.

【0003】例えば、特許第3001019号公報に
は、郵便物上の宛名の記載位置を検出する宛名位置検出
装置において、宛名が記載されている郵便物上の窓或は
ラベルの出力レベルを検出する手段と、郵便物上の紙面
部の出力レベルを検出する手段と、窓或はラベルの出力
レベルと紙面部とのレベル差を検出する手段と、該手段
によって得られるレベル差の度合により、窓或はラベル
情報を取捨選択する手段とを具備する郵便物の宛名位置
検出装置が開示されている。
For example, Japanese Patent No. 3001019 discloses an address position detecting device for detecting the address position of an address on a mail, which detects an output level of a window or a label on the mail where the address is described. Means, a means for detecting the output level of the paper surface on the mail, a means for detecting the level difference between the output level of the window or label and the paper surface, and a window based on the level difference obtained by the means. Alternatively, there is disclosed an apparatus for detecting a destination address of a postal matter, comprising a means for selecting label information.

【0004】従来の郵便物の宛名位置検出装置によれ
ば、郵便物の紙面部と窓・ラベル部の電圧レベルの差分
を求め、この値すなわちレベル差の大きさによって正確
な宛名位置の検出が行われている郵便物と、ノイズなど
が発生して正確な宛名位置の検出が行われていない郵便
物との判断を行い、窓・ラベル検出部からの位置情報を
取捨選択することによって、郵便物の宛名記載位置の誤
検出を防ぐことができる(以下、この技術を従来例1と
いう)。
[0004] According to the conventional mail position detecting device, the difference between the voltage level of the paper and the window / label portion of the mail is obtained, and accurate detection of the mail position can be performed based on this value, that is, the magnitude of the level difference. Judgment is made between mail that is being performed and mail that has not been accurately detected due to noise, etc., and the position information from the window / label detector is discarded. It is possible to prevent erroneous detection of the address description position of an object (hereinafter, this technique is referred to as Conventional Example 1).

【0005】また、特開平9−50487号公報には、
紙葉類の表面の多色画像を取り込む手段と、前記多色画
像から、1つの色成分のみからなる指定色画像を取り出
す手段と、前記多色画像をモノクロ画像に変換する手段
と、前記指定色画像および前記モノクロ画像に基づい
て、前記紙葉類上に記載された文字を読み取るべき領域
を決定する手段と、決定された領域に記載された文字を
読み取る手段とを備えた文字読取装置が開示されてい
る。
Japanese Patent Application Laid-Open No. 9-50487 discloses that
Means for capturing a multicolor image of the surface of a sheet, means for extracting a specified color image consisting of only one color component from the multicolor image, means for converting the multicolor image into a monochrome image, and Based on the color image and the monochrome image, a character reading device including a unit that determines an area in which characters written on the sheet is to be read, and a unit that reads characters written in the determined region. It has been disclosed.

【0006】従来の文字読取装置によれば、多色画像か
ら得られる指定色成分の色画像と、その多色画像から得
られるモノクロ画像とに基づいて、紙葉類上の読み取り
領域を決定しているため、多色印刷された郵便物上に記
載された郵便番号や宛名を高速に読み取ることができる
(以下、この技術を従来例2という)。
According to the conventional character reading apparatus, a reading area on a sheet is determined based on a color image of a designated color component obtained from a multicolor image and a monochrome image obtained from the multicolor image. Therefore, it is possible to read a postal code or address written on a multicolor printed mail at high speed (hereinafter, this technique is referred to as Conventional Example 2).

【0007】[0007]

【発明が解決しようとする課題】従来例1では、画像入
力部からのビデオ信号を2値化して検出するので、ラベ
ル以外の情報が多く含まれた状態からラベルを検索する
ため、紙面が複雑な文様や図柄の場合、ラベル領域の検
出は困難である。
In the prior art 1, since the video signal from the image input unit is binarized and detected, the label is searched from a state where a lot of information other than the label is included. It is difficult to detect a label area in the case of a simple pattern or design.

【0008】また、画像入力部では検出対象物の反射光
を入力しているため、光をよく反射するビニール封(郵
便物などをビニールに入れたもの)などの中にラベルが
ある場合、ラベル領域の検出は困難である。
[0008] Further, since the reflected light of the object to be detected is input to the image input unit, if the label is in a vinyl seal (a mail or the like put in vinyl) or the like that reflects light well, Region detection is difficult.

【0009】一方、従来例2では、指定色画像とモノク
ロ画像を取り出さなければならないので、多くのメモリ
容量を必要とし、構成が複雑になる。
On the other hand, in the second conventional example, since a designated color image and a monochrome image must be taken out, a large memory capacity is required and the configuration becomes complicated.

【0010】本発明は、上記課題を解決するためになさ
れたものであり、紙面が複雑な文様や図柄の場合やビニ
ール封などの中にラベルがある場合であってもラベル領
域を検出することができ、構成が簡単なラベル領域検出
装置、ラベル領域検出方法及び記録媒体を提供すること
を目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and it is an object of the present invention to detect a label area even when the paper surface has a complicated pattern or pattern, or when there is a label in a vinyl seal or the like. It is an object of the present invention to provide a label region detecting device, a label region detecting method, and a recording medium having a simple structure.

【0011】[0011]

【課題を解決するための手段】本発明の第1のラベル領
域検出装置は、ラベル領域を検出すべき検出対象物の画
像データを記憶する画像記憶手段と、ラベルの色成分を
記憶するラベル色記憶手段と、前記画像記憶手段に記憶
された画像データと前記ラベル色記憶手段に記憶された
ラベルの色成分とを比較し、前記ラベルの色成分だけの
画像データを作成する画像比較手段と、その画像比較手
段によって作成されたラベルの色成分だけの画像データ
に基づいてラベル領域を検出するラベル領域検出手段
と、を有することを特徴とするものである。
According to a first aspect of the present invention, there is provided a label area detecting apparatus for storing image data of an object to be detected from which a label area is to be detected, and a label color storing a color component of the label. Storage means, image comparison means for comparing the image data stored in the image storage means and the color component of the label stored in the label color storage means, to create image data of only the color component of the label, And a label area detecting means for detecting a label area based on the image data of only the color component of the label created by the image comparing means.

【0012】本発明の第2のラベル領域検出装置は、ラ
ベル領域を検出すべき検出対象物の画像データを記憶す
る画像記憶手段と、複数のラベルの色成分を記憶する複
数のラベル色記憶手段と、前記画像記憶手段に記憶され
た画像データと前記各ラベル色記憶手段に記憶されたラ
ベルの色成分とを比較し、前記ラベルの色成分だけの画
像データを作成する複数の画像比較手段と、その画像比
較手段によって作成されたラベルの色成分だけの画像デ
ータに基づいてラベル領域を検出するラベル領域検出手
段と、を有することを特徴とするものである。
According to a second label area detecting device of the present invention, an image storage means for storing image data of an object to be detected for detecting a label area, and a plurality of label color storage means for storing color components of a plurality of labels. And a plurality of image comparing means for comparing the image data stored in the image storage means with the color components of the labels stored in the respective label color storage means, and creating image data of only the color components of the label. And a label area detecting means for detecting a label area based on the image data of only the color component of the label created by the image comparing means.

【0013】前記ラベル色記憶手段は、ラベルの色を示
す赤色画素、緑色画素、青色画素のそれぞれの色成分の
範囲を記憶し、前記画像比較手段は、前記ラベル色記憶
手段に記憶された各画素の色成分の範囲内にある画像デ
ータを作成する。
The label color storage means stores ranges of respective color components of a red pixel, a green pixel, and a blue pixel indicating a color of a label, and the image comparison means stores each color component stored in the label color storage means. Create image data that is within the range of pixel color components.

【0014】前記ラベル領域検出手段は、前記画像比較
手段によって作成されたラベルの色成分だけの画像デー
タの画素の有無を、画像の縦方向、横方向それぞれにつ
いてカウントすることによりヒストグラムを作成し、縦
方向、横方向それぞれの値があるしきい値以上である領
域を候補とし、その候補の大きさや位置などに基づいて
ラベル領域を検出する。
The label area detecting means generates a histogram by counting the presence or absence of pixels of the image data of only the color component of the label generated by the image comparing means in each of the vertical and horizontal directions of the image. Regions in which values in the vertical and horizontal directions are equal to or larger than a certain threshold value are set as candidates, and a label region is detected based on the size and position of the candidates.

【0015】本発明のラベル領域検出方法は、ラベル領
域を検出すべき検出対象物の画像データを記憶する工程
と、ラベルの色成分を記憶する工程と、記憶された画像
データとラベルの色成分とを比較し、前記ラベルの色成
分だけの画像データを作成する工程と、作成されたラベ
ルの色成分だけの画像データに基づいてラベル領域を検
出する工程と、を有することを特徴とするものである。
According to the label area detecting method of the present invention, a step of storing image data of a detection target from which a label area is to be detected, a step of storing a label color component, a step of storing the stored image data and a label color component And generating image data of only the color components of the label, and detecting a label region based on the image data of only the generated color components of the label. It is.

【0016】本発明の記録媒体は、ラベル領域を検出す
べき検出対象物の画像データを記憶する処理と、ラベル
の色成分を記憶する処理と、記憶された画像データとラ
ベルの色成分とを比較し、前記ラベルの色成分だけの画
像データを作成する処理と、作成されたラベルの色成分
だけの画像データに基づいてラベル領域を検出する処理
と、をコンピュータに実行させるためのプログラムを記
録したことを特徴とするものである。
A recording medium according to the present invention includes a process for storing image data of an object to be detected in which a label area is to be detected, a process for storing a color component of a label, and a process for storing the stored image data and the color component of a label. A program for causing a computer to execute a process of comparing and creating image data of only the label color component and a process of detecting a label region based on the created image data of only the color component of the label are recorded. It is characterized by having done.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照しながら説明する。図1は、本発明の第1の実施
の形態の構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of the first exemplary embodiment of the present invention.

【0018】図1に示すように、本発明の第1の実施の
形態に係るラベル領域検出装置1は、ラベル領域を検出
すべき検出対象物K(封書、はがき、雑誌、新聞、小包
など)の宛名面全体の画像を取り込むカラースキャナ部
2と、そのカラースキャナ部2で取り込んだ画像を処理
する画像処理部3とを有する。
As shown in FIG. 1, a label area detecting apparatus 1 according to a first embodiment of the present invention includes a detection target K (a sealed letter, a postcard, a magazine, a newspaper, a parcel, etc.) from which a label area is to be detected. And an image processing unit 3 for processing the image captured by the color scanner unit 2.

【0019】画像処理部3は、検出対象物Kの画像デー
タを記憶する画像メモリ4と、ラベルの色成分を記憶す
るラベル色記憶部5と、画像メモリ4に記憶された画像
データとラベル色記憶部5に記憶されたラベルの色成分
とを比較し、ラベルの色成分だけの画像データを作成す
る画像比較部6と、その画像比較部6によって作成され
たラベルの色成分だけの画像データに基づいてラベル領
域を検出するラベル領域検出部7と、を有する。
The image processing unit 3 includes an image memory 4 for storing image data of the detection target K, a label color storage unit 5 for storing label color components, and image data and label colors stored in the image memory 4. An image comparing unit 6 that compares the label color components stored in the storage unit 5 to create image data of only the label color components, and an image data of only the label color components created by the image comparing unit 6 And a label area detection unit 7 for detecting a label area based on

【0020】画像メモリ4は、カラースキャナ部2によ
って取り込んだ画像データを記憶する。
The image memory 4 stores image data captured by the color scanner unit 2.

【0021】ラベル色記憶部5は、あらかじめ設定され
たラベルの色を示すR(赤色画素)、G(緑色画素)、
B(青色画素)それぞれの色成分の範囲を例えば次式の
ように記憶している。
The label color storage unit 5 stores R (red pixel), G (green pixel), and G (green pixel) indicating preset label colors.
The range of each color component of B (blue pixel) is stored as, for example, the following equation.

【0022】 α1<R<α2 −(1) β1<G<β2 −(2) γ1<B<γ2 −(3) 画像比較部6は、ラベル色記憶部5に記憶された各画素
の色成分の範囲内にある画像データを作成する。
Α1 <R <α2− (1) β1 <G <β2− (2) γ1 <B <γ2− (3) The image comparing unit 6 stores the color component of each pixel stored in the label color storage unit 5. Create image data within the range of.

【0023】ラベル領域検出部7は、ラベルの色成分だ
けとなった画像データから、あらかじめ決められたRG
Bの各画素値の範囲による組み合わせでヒストグラムを
作成し、あらかじめ決められたしきい値と大きさなどか
らラベル領域を検出する。
The label area detecting section 7 determines a predetermined RG from the image data including only the color components of the label.
A histogram is created by a combination based on the range of each pixel value of B, and a label area is detected from a predetermined threshold and size.

【0024】次に、本発明のラベル領域検出方法の手順
を説明する。図2は、そのフローチャート、図3及び図
4は本発明のラベル領域検出方法を説明するための説明
図である。
Next, the procedure of the label area detecting method of the present invention will be described. FIG. 2 is a flowchart of the operation, and FIGS. 3 and 4 are explanatory diagrams for explaining the label area detecting method of the present invention.

【0025】まず、搬送路(図示せず)上を搬送されて
きた検出対象物Kの宛名面全体の画像をカラースキャナ
部2により取り込む(ステップS1)。検出対象物K
は、例えば図3(A)に示すように、郵便物の表面にラ
ベルLが貼られている。ここで、白色の部分はラベルL
の領域(ただし、宛名、住所などの文字は省略する)、
ラベルLの背景となる斜線の部分は、複雑な図柄や文様
の領域を示す。
First, an image of the entire destination surface of the detection target K transported on a transport path (not shown) is captured by the color scanner 2 (step S1). Detection target K
As shown in FIG. 3A, for example, a label L is affixed to the surface of a postal matter. Here, the white part is the label L
Area (however, characters such as address and address are omitted),
The hatched portion serving as the background of the label L indicates a complicated pattern or pattern area.

【0026】一方、ラベルLの色を示すR(赤色画
素)、G(緑色画素)、B(青色画素)それぞれの色成
分の範囲を設定し、ラベル色記憶部5に記憶する(ステ
ップS2)。
On the other hand, the range of each color component of R (red pixel), G (green pixel) and B (blue pixel) indicating the color of the label L is set and stored in the label color storage unit 5 (step S2). .

【0027】次いで、カラースキャナ部2により読み込
まれた画像データは、画像メモリ4に記憶される(ステ
ップS3)。
Next, the image data read by the color scanner unit 2 is stored in the image memory 4 (step S3).

【0028】次いで、記憶された画像データは画像比較
部6に送られ、画像比較部6でラベル色記憶部5が記憶
している上式(1)、(2)、(3)で表されるRGB
の各画素の設定値に基づいて、ラベルLの色だけを抽出
し、ラベルLの背景である雑誌表面の図柄や文様を除去
し、図3(B)に示されるラベルの色成分だけの画像デ
ータを作成する(ステップS4)。
Next, the stored image data is sent to the image comparing section 6, where it is expressed by the above equations (1), (2) and (3) stored in the label color storing section 5. RGB
3B, only the color of the label L is extracted, the pattern or pattern on the surface of the magazine, which is the background of the label L, is removed, and only the color components of the label shown in FIG. Data is created (step S4).

【0029】次いで、ラベル領域検出部では図4で示さ
れるように、RGBで表される1画素の有無を、画像の
縦方向、横方向それぞれについてカウントすることによ
りヒストグラムを作成し、縦方向、横方向それぞれの値
があるしきい値以上である領域を候補とし、その候補の
大きさや位置などが妥当と見なされれば、ラベル領域で
あると判定し、ラベル領域を検出する(ステップS
5)。
Next, as shown in FIG. 4, the label area detection unit creates a histogram by counting the presence or absence of one pixel represented by RGB in each of the vertical and horizontal directions of the image. An area in which each value in the horizontal direction is equal to or larger than a certain threshold value is set as a candidate. If the size and position of the candidate are considered to be valid, the area is determined to be a label area, and the label area is detected (step S
5).

【0030】第1の実施の形態によれば、カラーの画像
データによりラベルの色成分だけを取り出し、それ以外
の色成分を除去しているので、複雑な文様、図柄の上に
貼られたラベルまたは、宛名窓のラベル領域を検出する
ことができる。
According to the first embodiment, only the color components of the label are extracted from the color image data and the other color components are removed. Alternatively, the label area of the address window can be detected.

【0031】また、検出対象物Kの反射光を検出するの
ではなく、ラベルの色ブロックを検出するので、宛名面
全体がビニールのように反射する材質であってもラベル
領域を検出することができる。
Further, since the color block of the label is detected instead of detecting the reflected light of the detection object K, it is possible to detect the label area even if the entire address surface is made of a material such as vinyl which reflects. it can.

【0032】図5は、本発明の第2の実施の形態の構成
を示すブロック図である。第2の実施の形態では、ラベ
ル色記憶部5と画像比較部6とがそれぞれ2つ備えてお
り、2つのラベルの色成分をそれぞれ記憶する第1のラ
ベル色記憶部5a及び第2のラベル色記憶部5bと、画
像メモリ4に記憶された画像データと第1のラベル色記
憶部5aに記憶されたラベルの色成分とを比較し、ラベ
ルの色成分だけの画像データを作成する第1の画像比較
部6aと、画像メモリ4に記憶された画像データと第2
のラベル色記憶部5bに記憶されたラベルの色成分とを
比較し、ラベルの色成分だけの画像データを作成する第
2の画像比較部6bと、を有する。
FIG. 5 is a block diagram showing the configuration of the second embodiment of the present invention. In the second embodiment, two label color storage units 5 and two image comparison units 6 are provided, and a first label color storage unit 5a and a second label color storage unit that store color components of two labels respectively. A color storage unit 5b compares the image data stored in the image memory 4 with the label color components stored in the first label color storage unit 5a, and creates image data of only the label color components. And the image data stored in the image memory 4 and the second
And a second image comparison unit 6b that compares the color components of the label stored in the label color storage unit 5b with each other and creates image data of only the color components of the label.

【0033】第1のラベル色記憶部5a及び第2のラベ
ル色記憶部5bは、それぞれに異なった色のラベルのR
GB値を持つことにより、複数の色のラベルを抽出する
ことが可能となる。これ以外の処理は第1の実施の形態
と同様である。
The first label color storage section 5a and the second label color storage section 5b store R labels of different colors, respectively.
Having a GB value makes it possible to extract labels of a plurality of colors. Other processes are the same as those of the first embodiment.

【0034】第2の実施の形態によれば、第1の実施の
形態のように1つの色のラベルを抽出するのではなく、
同時に2つの色のラベルを抽出することにより2つのラ
ベル領域を検出することが可能となる。従って、例えば
宛名と差出人のラベルが存在していたり、民間の取り扱
い業者のラベルが貼ってある場合などにも対応すること
ができる。
According to the second embodiment, instead of extracting a label of one color as in the first embodiment,
By simultaneously extracting labels of two colors, two label areas can be detected. Therefore, for example, it is possible to cope with a case where a label of an address and a sender exists or a label of a private handling company is attached.

【0035】なお、ラベル色記憶部5及び画像比較部6
をそれぞれ3以上設ければ、同時に3以上の色のラベル
を抽出することにより3以上のラベル領域を検出するこ
とが可能となる。
The label color storage unit 5 and the image comparison unit 6
Is provided, it is possible to detect three or more label areas by simultaneously extracting labels of three or more colors.

【0036】図6は、本発明の第3の実施の形態の構成
を示すブロック図である。第3の実施の形態は、上記説
明されたラベル領域検出処理をコンピュータに実行させ
るプログラム(ラベル領域検出プログラム)を記録した
記録媒体8を有する。この記録媒体8は、磁気ディス
ク、CD−ROM、半導体メモリその他の記録媒体であ
ってもよい。
FIG. 6 is a block diagram showing the configuration of the third embodiment of the present invention. The third embodiment has a recording medium 8 on which a program (label area detection program) for causing a computer to execute the above-described label area detection processing is recorded. The recording medium 8 may be a magnetic disk, a CD-ROM, a semiconductor memory, or another recording medium.

【0037】ラベル領域検出プログラムは、記録媒体8
から画像処理部3に読み込まれ、画像処理部3は、ラベ
ル領域検出プログラムに従い、ラベル領域を検出すべき
検出対象物Kの画像データを記憶する処理と、ラベルの
色成分を記憶する処理と、記憶された画像データとラベ
ルの色成分とを比較し、ラベルの色成分だけの画像デー
タを作成する処理と、作成されたラベルの色成分だけの
画像データに基づいてラベル領域を検出する処理と、を
実行する。
The label area detecting program is stored in the recording medium 8
The image processing unit 3 reads the image data of the detection target K from which the label area is to be detected according to the label area detection program, stores the color data of the label, A process of comparing the stored image data with the label color component to create image data of only the label color component, and a process of detecting a label area based on the created image data of only the label color component. , Run.

【0038】本発明は、上記実施の形態に限定されるこ
とはなく、特許請求の範囲に記載された技術的事項の範
囲内において、種々の変更が可能である。
The present invention is not limited to the above embodiment, and various changes can be made within the scope of the technical matters described in the claims.

【0039】本発明のラベル領域検出装置1は、例えば
郵便番号や宛名を読み取り区分する装置においての構成
要素の一部となる。また、ラベル領域を検出できないも
の(例えばラベルを用いないで直接封筒に宛名が印刷さ
れたものや、白い封筒に白いラベルが貼られたもの)
は、本発明のラベル領域検出装置では検出できないた
め、文字読取装置などによって宛名を検出することにな
る。
The label area detecting apparatus 1 according to the present invention is a part of components of an apparatus for reading and sorting a postal code or an address, for example. In addition, the label area cannot be detected (for example, an address printed directly on an envelope without using a label, or a white label attached to a white envelope)
Can not be detected by the label area detecting apparatus of the present invention, so that the address is detected by a character reading apparatus or the like.

【0040】[0040]

【発明の効果】本発明によれば、カラーの画像データに
よりラベルの色成分だけを取り出し、それ以外の色成分
を除去しているので、複雑な文様、図柄の上に貼られた
宛名ラベル又は宛名窓のラベル領域を検出することがで
きる。
According to the present invention, only the color components of the label are taken out from the color image data and the other color components are removed, so that the address label or the address label attached on the complicated pattern or design is removed. The label area of the address window can be detected.

【0041】また、検出対象物の反射光を検出するので
はなく、ラベルの色ブロックを検出するので、宛名面全
体がビニールのように光を反射する材質であってもラベ
ル領域を検出することができる。
Since the color block of the label is detected instead of detecting the reflected light of the object to be detected, the label area can be detected even if the entire address surface is made of a material that reflects light such as vinyl. Can be.

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

【図1】本発明の第1の実施の形態の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】本発明のラベル領域検出方法の手順を説明する
ためのフローチャートである。
FIG. 2 is a flowchart illustrating a procedure of a label area detection method according to the present invention.

【図3】(A)及び(B)は本発明のラベル領域検出方
法を説明するための説明図である。
FIGS. 3A and 3B are explanatory diagrams for explaining a label area detection method according to the present invention.

【図4】本発明のラベル領域検出方法を説明するための
説明図である。
FIG. 4 is an explanatory diagram for explaining a label area detection method according to the present invention.

【図5】本発明の第2の実施の形態の構成を示すブロッ
ク図である。
FIG. 5 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図6】本発明の第3の実施の形態の構成を示すブロッ
ク図である。
FIG. 6 is a block diagram showing a configuration of a third exemplary embodiment of the present invention.

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

1:ラベル領域検出装置 2:カラースキャナ部 3:画像処理部 4:画像メモリ 5:ラベル色記憶部 6:画像比較部 7:ラベル領域検出部 5a:第1のラベル色記憶部 5b:第2のラベル色記憶部 6a:第1の画像比較部 6b:第2の画像比較部 8:記録媒体 1: Label area detection device 2: Color scanner section 3: Image processing section 4: Image memory 5: Label color storage section 6: Image comparison section 7: Label area detection section 5a: First label color storage section 5b: Second Label color storage section 6a: first image comparison section 6b: second image comparison section 8: recording medium

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 3F079 AA01 CA01 CB25 CB29 CB35 5B029 AA02 BB02 CC27 5L096 AA02 AA06 BA08 DA01 FA15 FA19 FA35 FA59 FA69 GA38 GA51  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 3F079 AA01 CA01 CB25 CB29 CB35 5B029 AA02 BB02 CC27 5L096 AA02 AA06 BA08 DA01 FA15 FA19 FA35 FA59 FA69 GA38 GA51

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】ラベル領域を検出すべき検出対象物の画像
データを記憶する画像記憶手段と、 ラベルの色成分を記憶するラベル色記憶手段と、 前記画像記憶手段に記憶された画像データと前記ラベル
色記憶手段に記憶されたラベルの色成分とを比較し、前
記ラベルの色成分だけの画像データを作成する画像比較
手段と、 その画像比較手段によって作成されたラベルの色成分だ
けの画像データに基づいてラベル領域を検出するラベル
領域検出手段と、 を有することを特徴とするラベル領域検出装置。
1. An image storage means for storing image data of a detection target from which a label area is to be detected, a label color storage means for storing a color component of a label, and the image data stored in the image storage means. Image comparing means for comparing the color components of the label stored in the label color storage means to generate image data of only the color components of the label, and image data of only the color components of the label generated by the image comparing means And a label region detecting means for detecting a label region based on the label region.
【請求項2】ラベル領域を検出すべき検出対象物の画像
データを記憶する画像記憶手段と、 複数のラベルの色成分を記憶する複数のラベル色記憶手
段と、 前記画像記憶手段に記憶された画像データと前記各ラベ
ル色記憶手段に記憶されたラベルの色成分とを比較し、
前記ラベルの色成分だけの画像データを作成する複数の
画像比較手段と、 その画像比較手段によって作成されたラベルの色成分だ
けの画像データに基づいてラベル領域を検出するラベル
領域検出手段と、 を有することを特徴とするラベル領域検出装置。
2. An image storage means for storing image data of an object to be detected in which a label area is to be detected; a plurality of label color storage means for storing a plurality of label color components; Comparing the image data with the color components of the labels stored in the label color storage means,
A plurality of image comparing means for creating image data of only the color components of the label, and a label area detecting means for detecting a label area based on the image data of only the color components of the label created by the image comparing means. A label region detecting device comprising:
【請求項3】前記ラベル色記憶手段は、ラベルの色を示
す赤色画素、緑色画素、青色画素のそれぞれの色成分の
範囲を記憶し、 前記画像比較手段は、前記ラベル色記憶手段に記憶され
た各画素の色成分の範囲内にある画像データを作成す
る、 ことを特徴とする請求項1又は2に記載のラベル領域検
出装置。
3. The label color storage means stores a range of each color component of a red pixel, a green pixel, and a blue pixel indicating a label color, and the image comparison means stores the label color storage means. 3. The label area detecting device according to claim 1, wherein image data within the range of the color component of each pixel is created.
【請求項4】前記ラベル領域検出手段は、前記画像比較
手段によって作成されたラベルの色成分だけの画像デー
タの画素の有無を、画像の縦方向、横方向それぞれにつ
いてカウントすることによりヒストグラムを作成し、縦
方向、横方向それぞれの値があるしきい値以上である領
域を候補とし、その候補の大きさや位置などに基づいて
ラベル領域を検出することを特徴とする請求項1乃至3
のいずれか1つの項に記載のラベル領域検出装置。
4. The label area detecting means creates a histogram by counting the presence or absence of pixels of image data of only the color component of the label created by the image comparing means in each of the vertical and horizontal directions of the image. 4. The method according to claim 1, wherein regions in which values in the vertical and horizontal directions are equal to or greater than a certain threshold value are set as candidates, and a label region is detected based on the size and position of the candidates.
The label area detecting device according to any one of the above items.
【請求項5】ラベル領域を検出すべき検出対象物の画像
データを記憶する工程と、 ラベルの色成分を記憶する工程と、 記憶された画像データとラベルの色成分とを比較し、前
記ラベルの色成分だけの画像データを作成する工程と、 作成されたラベルの色成分だけの画像データに基づいて
ラベル領域を検出する工程と、 を有することを特徴とするラベル領域検出方法。
5. A step of storing image data of an object to be detected in which a label area is to be detected, a step of storing a color component of a label, and comparing the stored image data with a color component of the label. A label area detecting method, comprising: a step of generating image data of only the color component of the label; and a step of detecting a label area based on the generated image data of only the color component of the label.
【請求項6】ラベル領域を検出すべき検出対象物の画像
データを記憶する処理と、 ラベルの色成分を記憶する処理と、 記憶された画像データとラベルの色成分とを比較し、前
記ラベルの色成分だけの画像データを作成する処理と、 作成されたラベルの色成分だけの画像データに基づいて
ラベル領域を検出する処理と、 をコンピュータに実行させるためのプログラムを記録し
た記録媒体。
6. A process for storing image data of an object to be detected in which a label area is to be detected, a process for storing a color component of a label, and comparing the stored image data with a color component of the label. A recording medium which records a program for causing a computer to execute: a process of creating image data of only the color component of the label; and a process of detecting a label region based on the image data of only the color component of the created label.
JP2000130408A 2000-04-28 2000-04-28 Device and method for detecting label area and recording medium Pending JP2001312695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000130408A JP2001312695A (en) 2000-04-28 2000-04-28 Device and method for detecting label area and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000130408A JP2001312695A (en) 2000-04-28 2000-04-28 Device and method for detecting label area and recording medium

Publications (1)

Publication Number Publication Date
JP2001312695A true JP2001312695A (en) 2001-11-09

Family

ID=18639524

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000130408A Pending JP2001312695A (en) 2000-04-28 2000-04-28 Device and method for detecting label area and recording medium

Country Status (1)

Country Link
JP (1) JP2001312695A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1921568A2 (en) 2006-11-13 2008-05-14 NEC Corporation Label area detecting apparatus, label area detecting method used in same, and label area detection control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1921568A2 (en) 2006-11-13 2008-05-14 NEC Corporation Label area detecting apparatus, label area detecting method used in same, and label area detection control program
JP2008123266A (en) * 2006-11-13 2008-05-29 Nec Corp Label area detecting apparatus, label area detection method for use in the apparatus, and label area detection control program

Similar Documents

Publication Publication Date Title
JP2575539B2 (en) How to locate and identify money fields on documents
US6014450A (en) Method and apparatus for address block location
JP2007081458A (en) Image processing apparatus and control method of image processing apparatus
AU767855B2 (en) Automatic recognition of characters on structured background by combination of the models of the background and of the characters
JP3018949B2 (en) Character reading apparatus and method
CA1316605C (en) Method of searching binary images to find search regions in which straight lines may be found
JP4409702B2 (en) Recognition device
JP3268552B2 (en) Area extraction method, destination area extraction method, destination area extraction apparatus, and image processing apparatus
JP2001312695A (en) Device and method for detecting label area and recording medium
JP6451440B2 (en) Label area detection device, label area detection method, label area detection program, and label area detection system
JP2003087562A (en) Image processor and image processing method
JPH06131495A (en) Image information extraction system
JP2001109842A (en) Optical character, reader
JPH06111057A (en) Optical character reader
JP2714012B2 (en) Address area detection device
JP3412441B2 (en) Image processing device
JP3715473B2 (en) Address reader
JPH06111060A (en) Optical character reader
JPS6394384A (en) System for deciding direction of character row
JP2000210624A (en) Mail address recognition device
JPH10162140A (en) Recognition device for stamps or the like
JP2714003B2 (en) Address area detection device
JPH05274473A (en) Optical character reader
Cracknell et al. A colour classification approach to form dropout
JP3476936B2 (en) Character line direction determination device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040420