JP2000339460A - Region of interest setting device and region of interest setting method - Google Patents

Region of interest setting device and region of interest setting method

Info

Publication number
JP2000339460A
JP2000339460A JP11145999A JP14599999A JP2000339460A JP 2000339460 A JP2000339460 A JP 2000339460A JP 11145999 A JP11145999 A JP 11145999A JP 14599999 A JP14599999 A JP 14599999A JP 2000339460 A JP2000339460 A JP 2000339460A
Authority
JP
Japan
Prior art keywords
image
area
attention area
partial
data
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
JP11145999A
Other languages
Japanese (ja)
Inventor
Junji Yoshioka
純治 吉岡
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.)
Sharp Corp
Sharp Manufacturing Systems Corp
Original Assignee
Sharp Corp
Sharp Manufacturing Systems 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 Sharp Corp, Sharp Manufacturing Systems Corp filed Critical Sharp Corp
Priority to JP11145999A priority Critical patent/JP2000339460A/en
Publication of JP2000339460A publication Critical patent/JP2000339460A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To automate the setting of a region of interest and to improve setting precision. SOLUTION: A sweeping part 3 adopts picture data of partial areas D1-n in respective shift positions while the partial areas D1-n which are set in a picture E are shifted in the picture E. Picture data of the partial areas D1-n during shift are frequency-analyzed by an analysis part 4. A reference data storage part 5 compares frequency analysis reference data of picture data in a noticed area C, which is stored in the reference data storage part 5, with the frequency analysis results fp1-n of respective partial areas D1-n during shift, which are analyzed in the analysis part 4. A judgment part 6 sets the noticed area C from the partial areas D1-n moved in the picture E based on the compared result.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像中から注目領
域を自動的に分離抽出して設定する装置および方法に関
する。
[0001] 1. Field of the Invention [0002] The present invention relates to an apparatus and a method for automatically separating and extracting an attention area from an image and setting it.

【0002】[0002]

【従来の技術】近年、OA、FA等の実用化に伴って、
画像を認識する技術の重要性が高まってきている。この
ような画像認識処理を行うためには、その前処理とし
て、入力された画像情報から、例えば、文字の領域とい
った注目領域を抽出する必要がある。
2. Description of the Related Art In recent years, with the commercialization of OA, FA, etc.,
The importance of image recognition technology is increasing. In order to perform such image recognition processing, it is necessary to extract, for example, a region of interest such as a character region from input image information as preprocessing.

【0003】注目領域は、作業者が画像中の特徴点を判
断して、手動で設定することが行われていたが、これで
は、注目領域の設定精度は作業者の経験や能力により依
存するうえに、無人化システムを構築できないという不
都合がある。
The attention area has been manually set by an operator by judging a feature point in an image, but in this case, the setting accuracy of the attention area depends on the experience and ability of the operator. In addition, there is a disadvantage that an unmanned system cannot be constructed.

【0004】そこで、従来から、注目領域の自動設定技
術が開発されている。その例を以下、説明する。
Therefore, techniques for automatically setting a region of interest have been developed. An example will be described below.

【0005】この注目領域設定方法は、要するに、注目
領域と注目領域以外の領域とは濃度に比較的大きな差が
あることに着目し、画像中の濃度差を検出することで、
注目領域と注目領域以外の領域との境目を検出して、注
目領域を設定する方法である。以下、この従来の方法を
図4を参照して説明する。図4は、文字データと画像デ
ータとが混在する書籍の各頁の画像を取り込んだ頁画像
データの一例であり、図中A1,A2,A3は、取り込ん
だ頁画像データA中に存在する文字・画像データ領域を
示している。ここでは、文字・画像データ領域A1を注
目領域として設定する場合を例にして説明する。
In this attention area setting method, in short, attention is paid to the fact that there is a relatively large difference in density between the attention area and the area other than the attention area, and the density difference in the image is detected.
In this method, a boundary between the attention area and an area other than the attention area is detected, and the attention area is set. Hereinafter, this conventional method will be described with reference to FIG. FIG. 4 shows an example of page image data obtained by capturing an image of each page of a book in which character data and image data are mixed. In the figure, A 1 , A 2 , and A 3 represent the captured page image data A. An existing character / image data area is shown. Here it will be described with a case of setting the character or image data area A 1 as the target area as an example.

【0006】まず、作業者により、注目領域とする文字
・画像データ領域A1を含んだ比較的大きな設定領域
(以下、注目領域手動設定領域という)Bを手動で設定
する。注目領域手動設定領域Bは、その中に注目領域
(ここでは、文字・画像データ領域A1)を含んでおれ
ばよいので、割合容易に設定することができる。注目領
域手動設定領域Bを設定したのち、作業者が動作開始ス
イッチを入操作する。すると、濃淡差検出装置(図示省
略)が注目領域手動設定領域Bの外枠から内側に向けて
濃度変化点を連続的に検出する。そして、このようにし
て濃度変化点を検出したのち、検出した濃度変化点で囲
まれた領域Cを注目領域として設定する。
First, an operator manually sets a relatively large setting area B (hereinafter, referred to as an attention area manual setting area) including a character / image data area A 1 as an attention area. Since the attention area manually set area B only needs to include the attention area (here, the character / image data area A 1 ), it can be set easily. After setting the attention area manually set area B, the operator turns on the operation start switch. Then, a density difference detection device (not shown) continuously detects a density change point from the outer frame of the attention area manually set area B toward the inside. After detecting the density change point in this way, the area C surrounded by the detected density change point is set as the attention area.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うにして注目領域を設定する従来例にも、次のような課
題があった。すなわち、作業者により、初期設定とし
て、注目領域手動設定領域Bを手動設定しなければなら
ず、完全な自動設定とはいえない。また、図に示すよう
に、作業者が誤って、複数の文字・画像データ領域(図
では二つの領域)に跨がって注目領域手動設定領域B’
を設定した場合には、濃度変化点も、複数の文字・画像
データ領域に跨がって検出されることになり、これで
は、正確に注目領域を設定することができない。
However, the prior art in which the attention area is set in this way has the following problems. That is, the operator must manually set the attention area manually set area B as an initial setting, which is not completely automatic setting. As shown in the figure, the operator mistakenly straddles a plurality of character / image data areas (two areas in the figure) and sets the attention area manually set area B ′.
Is set, the density change point is also detected over a plurality of character / image data areas, and thus, the attention area cannot be set accurately.

【0008】したがって、本発明においては、注目領域
の設定においては、自動化と設定精度の向上を図ること
を目的としている。
Accordingly, an object of the present invention is to automate the setting of the attention area and improve the setting accuracy.

【0009】[0009]

【課題を解決するための手段】本発明は、次のような手
段によって、上述した課題を解決している。
The present invention has solved the above-mentioned problems by the following means.

【0010】請求項1では、画像内に注目領域を設定す
る注目領域設定装置であって、画像内に複数設定した部
分領域それぞれを画像処理により検査する検査手段と、
各部分領域の検査結果に基づいて注目領域に適した部分
領域を抽出する抽出手段とを有することに特徴を有して
おり、これにより次のような作用を有する。すなわち、
検査手段および抽出手段の動作を自動的に行うことがで
きるので、注目領域の設定を作業者の手を借りることな
く、自動的に行えるようになる。
According to a first aspect of the present invention, there is provided an attention area setting device for setting an attention area in an image, wherein inspection means for inspecting each of a plurality of partial areas in the image by image processing;
It is characterized by having extraction means for extracting a partial area suitable for the attention area based on the inspection result of each partial area, thereby having the following operation. That is,
Since the operations of the inspection unit and the extraction unit can be automatically performed, the attention area can be automatically set without the help of the operator.

【0011】請求項2では、請求項1に係る注目領域設
定装置であって、前記検査手段は、前記部分領域それぞ
れの画像データを周波数解析するものであることに特徴
を有しており、これにより次のような作用を有する。す
なわち、周波数解析による部分領域の検査は、精度の高
いものとなるので、このような検査手段による検査結果
に基づいて行う注目領域の設定精度は高いものとなる。
According to a second aspect of the present invention, in the attention area setting apparatus according to the first aspect, the inspection means performs a frequency analysis of the image data of each of the partial areas. Has the following effects. That is, since the inspection of the partial region by the frequency analysis has high accuracy, the setting accuracy of the attention region performed based on the inspection result by such an inspection means becomes high.

【0012】請求項3では、請求項2に係る注目領域設
定装置であって、前記検査手段は、画像内に設定した部
分領域を画像内で移動させながら、各移動位置での部分
領域の画像データを採取する掃引部と、移動中の部分領
域それぞれの画像データを周波数解析する解析部とを備
えており、前記抽出手段は、注目領域の画像データの周
波数解析基準データを記憶する記憶部と、前記解析部で
解析した移動中の各部分領域の周波数解析結果と、前記
周波数解析基準データとを比較した比較結果に基づい
て、画像中で移動させた部分領域の中から注目領域を設
定する判定部とを備えていることに特徴を有しており、
これにより次のような作用を有する。すなわち、注目領
域設定装置を構成する掃引部、解析部、および判定部に
よる動作はすべて、作業者の手を借りることなく自動的
に行うことができるので、注目領域の設定を自動化する
ことができるようになる。また、掃引部により移動させ
る部分領域それぞれの画像データの周波数解析結果や、
注目領域の画像データの周波数解析基準データは、対応
する部分領域の画像状態や注目領域の画像状態に忠実に
対応したものとなる。そのため、各部分領域の周波数解
析結果と注目領域の周波数解析基準データとの比較結果
に基づいて注目領域を設定することにより、精度の高い
注目領域の設定を行うことができるようになる。
According to a third aspect of the present invention, in the attention area setting apparatus according to the second aspect, the inspection means moves the partial area set in the image within the image while moving the image of the partial area at each movement position. A sweep unit for collecting data, and an analyzing unit for frequency-analyzing the image data of each moving partial region, wherein the extracting unit stores a frequency analysis reference data of the image data of the region of interest; Setting an attention area from the partial areas moved in the image based on a frequency analysis result of each moving partial area analyzed by the analysis unit and a comparison result obtained by comparing the frequency analysis reference data. It is characterized by having a judgment unit,
This has the following effect. That is, all operations by the sweeping unit, the analyzing unit, and the determining unit that constitute the attention area setting device can be automatically performed without the help of an operator, so that the attention area setting can be automated. Become like In addition, the frequency analysis result of the image data of each partial area moved by the sweep unit,
The frequency analysis reference data of the image data of the attention area faithfully corresponds to the image state of the corresponding partial area and the image state of the attention area. Therefore, by setting the attention area based on the comparison result between the frequency analysis result of each partial area and the frequency analysis reference data of the attention area, the attention area can be set with high accuracy.

【0013】請求項4では、画像内に注目領域を設定す
る注目領域設定方法であって、前記注目領域の画像デー
タを周波数解析した際の基準データを予め記憶したうえ
で、画像内に設定した部分領域を画像内で移動させなが
ら、各移動位置での部分領域の画像データを採取したう
えで、異動中のそれぞれの画像データを周波数解析し、
解析した各部分領域の周波数解析結果と前記基準データ
とを比較し、その比較結果に基づいて、画像内で移動さ
せた部分領域の中から注目領域を設定することに特徴を
有しており、これにより、次のような作用を有する。す
なわち、掃引操作、解析操作、比較操作、および判定操
作はすべて、作業者の手を借りることなく自動的に行う
ことができるので、注目領域の設定を自動化することが
できる。また、画像中で移動させる部分領域それぞれの
画像データの周波数解析結果や、注目領域の画像データ
の周波数解析基準データは、対応する部分領域の画像状
態や注目領域の画像状態に忠実に対応したものとなる。
そのため、各部分領域の周波数解析結果と注目領域の周
波数解析基準データとの比較結果に基づいて注目領域を
設定することにより、精度の高い注目領域の設定を行う
ことができるようになる。
According to a fourth aspect of the present invention, there is provided an attention area setting method for setting an attention area in an image, wherein reference data when frequency-analyzing the image data of the attention area is stored in advance and set in the image. While moving the partial area in the image, after collecting the image data of the partial area at each moving position, frequency analysis of each image data during transfer,
Compare the frequency analysis result of each analyzed partial region and the reference data, based on the comparison result, has a feature to set a region of interest from among the partial regions moved in the image, This has the following operation. That is, since the sweep operation, the analysis operation, the comparison operation, and the determination operation can all be performed automatically without the help of the operator, the setting of the attention area can be automated. In addition, the frequency analysis result of the image data of each partial area to be moved in the image and the frequency analysis reference data of the image data of the attention area faithfully correspond to the image state of the corresponding partial area and the image state of the attention area. Becomes
Therefore, by setting the attention area based on the comparison result between the frequency analysis result of each partial area and the frequency analysis reference data of the attention area, the attention area can be set with high accuracy.

【0014】[0014]

【発明の実施の形態】以下、本発明の一実施の形態を図
面を参照して詳細に説明する。図1は、本発明の一実施
の形態の注目領域設定装置を組み込んだ乱丁検出装置の
構成を示すブロック図である。この乱丁検出装置は、例
えば次のような用途に用いられる。すなわち、製本工程
においては、各頁の印刷物(以下、頁印刷物という)の
積層体(通常、頁毎に複数枚積層配置されている)か
ら、1枚ずつ頁順に取り出して積層して製本するように
なっているが、この乱丁検出装置は、各頁の頁印刷物の
積層体中に乱丁がないかどうかを、画像処理に基づいて
検出している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a misaligned page detection device incorporating an attention area setting device according to an embodiment of the present invention. This random page detection device is used for the following applications, for example. That is, in the bookbinding process, bookbinding is performed by taking out one sheet at a time in a page order from a stacked body of printed matter (hereinafter, referred to as a page printed matter) of each page (a plurality of printed matter are usually stacked and arranged for each page). However, this misalignment detection device detects whether there is any misalignment in the stack of page prints of each page based on image processing.

【0015】この乱丁検出装置1は、画像撮像手段2
と、掃引部3と、解析部4と、基準データ記憶部5と、
判定部6と、注目領域記憶部7と、画像照合手段8と、
頁変更指示手段9とを備えている。
This misaligned page detecting device 1 includes an image pickup means 2
A sweep unit 3, an analysis unit 4, a reference data storage unit 5,
A determination unit 6, an attention area storage unit 7, an image matching unit 8,
And a page change instructing means 9.

【0016】画像撮像手段2は、CCD等の撮像装置に
より構成されており、頁印刷物の表面画像を撮像してい
る。
The image pickup means 2 is constituted by an image pickup device such as a CCD and picks up a surface image of a printed page.

【0017】掃引部3は、画像撮像手段2で撮像した画
像のデータ中で部分領域を移動させながら、移動中の部
分領域の画像データである輝度データを採取している。
The sweep section 3 moves the partial area in the data of the image picked up by the image pick-up means 2 and collects luminance data which is image data of the moving partial area.

【0018】解析部4は、掃引部3から入力される部分
領域の輝度データを波形データに変換したうえで、その
波形データを周波数解析(フーリエ変換)し、得られた
周波数分布のピーク周波数を検出して判定部6に出力し
ている。
The analysis section 4 converts the luminance data of the partial area input from the sweep section 3 into waveform data, performs frequency analysis (Fourier transform) on the waveform data, and calculates the peak frequency of the obtained frequency distribution. Detected and output to the determination unit 6.

【0019】基準データ記憶部5は、注目領域の画像デ
ータを周波数解析した際に得られるピーク周波数の基準
データ(請求項における周波数解析基準データに相当す
る)を記憶している。
The reference data storage unit 5 stores peak frequency reference data (corresponding to frequency analysis reference data in the claims) obtained when frequency analysis is performed on the image data of the attention area.

【0020】判定部6は、解析部4から入力される移動
位置それぞれにおける部分領域のピーク周波数データ
と、基準データ記憶部5から入力される基準データ(注
目領域のピーク周波数データ)とを比較して、その比較
結果に基づいて注目領域を抽出している。
The determination unit 6 compares the peak frequency data of the partial area at each moving position input from the analysis unit 4 with the reference data (peak frequency data of the attention area) input from the reference data storage unit 5. Then, a region of interest is extracted based on the comparison result.

【0021】画像照合手段8は、乱丁の検査対象となる
頁印刷物の頁画像データ中に設定された注目領域の画像
データと予め記憶している注目領域の画像データとを、
既存のパターンマッチング等の手法により照合して、両
注目領域の画像データが合致するか否かを判定してい
る。
The image collating means 8 compares the image data of the attention area set in the page image data of the page print of the page to be inspected for irregularity with the image data of the attention area stored in advance.
The matching is performed by an existing method such as pattern matching or the like, and it is determined whether or not the image data of both attention areas match.

【0022】頁変更指示手段9は、乱丁の検出動作を行
う印刷物が変更になったことを受けて、頁変更指示を掃
引部3に出力している。
The page change instructing means 9 outputs a page change instruction to the sweeping section 3 in response to a change in the printed material for which the operation of detecting the incorrect page is changed.

【0023】この乱丁検出装置は、掃引部3と、解析部
4とから請求項における検査手段が構成されており、基
準データ記憶部5と、判定部6とから請求項における抽
出手段が構成されている。そして、検査手段(掃引部
3、解析部4)と、検査手段(基準データ記憶部5、判
定部6)とによって注目領域設定装置が構成されてい
る。
In the apparatus for detecting irregular pages, the sweeping section 3 and the analyzing section 4 constitute inspection means in the claims, and the reference data storage section 5 and the judging section 6 constitute extraction means in the claims. ing. The inspection unit (the sweep unit 3 and the analysis unit 4) and the inspection unit (the reference data storage unit 5 and the determination unit 6) constitute an attention area setting device.

【0024】以下、この乱丁検出装置1の動作を、図
2、図3を参照して説明する。
Hereinafter, the operation of the incorrect page detecting device 1 will be described with reference to FIGS.

【0025】まず、乱丁の検査対象となる印刷物の見本
となる頁印刷物(以下、見本頁印刷物という)を画像撮
像手段2の撮像位置に載置したうえで、頁変更指示手段
9に対して頁変更指示を出す。そうすると、頁変更指示
手段9は、画像撮像手段2にに対して撮像指令を出力す
る。これにより画像撮像手段2は、見本頁印刷物を撮像
して、その画像データを、掃引部3と画像照合手段8と
に出力する。
First, a page printed matter (hereinafter, referred to as a sample page printed matter) which is a sample of a printed matter to be inspected for irregular pages is placed at the image pickup position of the image pickup means 2, and the page change instruction means 9 is sent to the page change instruction means 9. Issue a page change instruction. Then, the page change instructing means 9 outputs an image capturing command to the image capturing means 2. Accordingly, the image capturing unit 2 captures an image of the sample page printed matter, and outputs the image data to the sweep unit 3 and the image matching unit 8.

【0026】掃引部3では、画像撮像手段2で撮像した
見本頁印刷物の画像データ(以下、見本頁画像データE
という)から切り取る部分領域Dの大きさを予め設定し
て記憶している。部分領域Dは、設定する注目領域と同
等の大きさに設定されている。
In the sweeping unit 3, image data of a sample page printed matter (hereinafter, sample page image data E
) Is set in advance and stored. The partial area D is set to the same size as the attention area to be set.

【0027】掃引部3では、以上のような部分領域Dの
初期設定が行われているのであるが、頁変更指示手段9
から上述した撮像指令が入力されると次のような動作を
行う。すなわち、図2に示すように、入力された見本頁
画像データE内において、掃引処理(画像データ中で移
動しながら各画素の輝度データを検出する動作であっ
て、例えば、画像データ中の左上から右下に向けて行
う)を行いながら、予め設定しておいた部分領域Dの輝
度データを抽出する。そして、このようにして輝度デー
タを抽出する部分領域Dを、頁画像データE中で掃引処
理方向に沿って移動させる。
In the sweeping section 3, the initial setting of the partial area D is performed as described above.
The following operation is performed when the above-described imaging command is input from. That is, as shown in FIG. 2, in the input sample page image data E, a sweeping process (an operation of detecting luminance data of each pixel while moving in the image data, for example, While performing from the upper left to the lower right), the luminance data of the preset partial area D is extracted. Then, the partial area D from which the luminance data is extracted is moved along the sweep processing direction in the page image data E.

【0028】さらに掃引部3は、上述した掃引/切り取
り操作により見本頁画像データE中から輝度データを抽
出しつつ移動させる各部分領域D(以下、移動により複
数の部分領域Dが見本頁画像データE内で設定されるの
で部分領域D1〜nと記載する)の各移動位置での輝度デ
ータを取り込んで解析部4に出力する。なお、掃引部3
の掃引時に切り取られて移動する部分領域D1〜nの移動
ピッチ(つまり、輝度データの抽出ピッチ)は、この掃
引部3の掃引処理速度により左右されるが、1画素ピッ
チや4画素ピッチといった比較的短いピッチ間隔に設定
すれば、注目領域の設定精度を向上させるうえで都合が
よい。
Further, the sweep section 3 moves each of the partial areas D (hereinafter, a plurality of partial areas D are moved by moving the sample pages) while extracting luminance data from the sample page image data E by the above-described sweep / cut operation. It is set in the image data E and is described as a partial area D 1 to n ). Note that the sweep unit 3
The moving pitch (that is, the brightness data extraction pitch) of the partial areas D 1 to n cut and moved at the time of the sweeping depends on the sweep processing speed of the sweeping unit 3, such as a one-pixel pitch or a four-pixel pitch. Setting a relatively short pitch interval is convenient for improving the setting accuracy of the attention area.

【0029】解析部4では、掃引部3から入力される移
動位置それぞれにおける部分領域D1〜nの輝度データを
波形データに変換したうえで、その波形データを周波数
解析(フーリエ変換)する。周波数解析により得られる
波形データの周波数分布の例を図3に示す。さらに、解
析部4は、得られた周波数分布のピーク周波数Fpを検
出して判定部6に出力する。これにより、解析部4は、
移動ピッチ毎の部分領域D1〜nのピーク周波数データF
p1〜nを検出して判定部6に出力する。
The analysis section 4 converts the luminance data of the partial areas D 1 to n at each of the movement positions input from the sweep section 3 into waveform data, and then performs a frequency analysis (Fourier transform) on the waveform data. FIG. 3 shows an example of the frequency distribution of the waveform data obtained by the frequency analysis. Further, the analysis unit 4 detects the peak frequency Fp of the obtained frequency distribution and outputs it to the determination unit 6. Thereby, the analysis unit 4
Peak frequency data F of partial areas D 1 to n for each moving pitch
Detects p 1 to n and outputs them to the determination unit 6.

【0030】基準データ記憶部5は、注目領域(この実
施の形態では、文字が記載された領域となる)の画像デ
ータを周波数解析した際に得られるピーク周波数の基準
データfs(請求項における周波数解析基準データに相
当する)を記憶している。本実施の形態の乱丁検出装置
のように、主として文字データが記入され、しかも、そ
の文字データのフォントサイズがほぼ同一となる書籍等
の検査対象では、同倍率で抽出した注目領域(文字記入
領域)の輝度データを周波数解析した際に得られるピー
ク周波数fsは、文字記入領域の位置を変化させてもほ
ぼ一定となる。そこで、基準データ記憶部5では、予
め、検査対象となる書籍で文字記入領域の所定領域(注
目領域と同等の大きさ)の画像を、落丁検査時と同倍率
で採取したうえで周波数解析を行うことでピーク周波数
の基準データfsを測定し、その基準データfsを記憶し
ている。なお、フォントサイズデータ等から計算等によ
り一義的に基準データfsを算出するようにしていもよ
い。基準データ記憶部5は、このようにして、記憶して
いるピーク周波数の基準データfsを判定部6に出力し
ている。
The reference data storage unit 5 stores reference data fs (frequency in the claims) of the peak frequency obtained when the frequency analysis is performed on the image data of the target area (in this embodiment, the area in which the character is described). (Corresponding to analysis reference data). In the case of an inspection target such as a book in which character data is mainly written and the font size of the character data is almost the same as in the incorrect page detection device of the present embodiment, the attention area (character writing area) extracted at the same magnification is used. The peak frequency fs obtained when the frequency analysis of the luminance data is performed becomes substantially constant even when the position of the character entry area is changed. Therefore, in the reference data storage unit 5, an image of a predetermined area of the character entry area (the same size as the attention area) of the book to be inspected is collected at the same magnification as that of the missing page inspection, and then subjected to frequency analysis. By doing so, the reference data fs of the peak frequency is measured, and the reference data fs is stored. Note that the reference data fs may be uniquely calculated from the font size data or the like by calculation or the like. The reference data storage unit 5 outputs the stored peak frequency reference data fs to the determination unit 6 in this manner.

【0031】判定部6は、解析部4から入力される移動
位置それぞれにおける部分領域D1〜nのピーク周波数デ
ータfp1〜nと、基準データ記憶部5から入力される基
準データ(注目領域のピーク周波数データ)fsとを比
較し、見本頁画像データE中で複数設定される部分領域
1〜nの中から、そのピーク周波数fpxが基準データf
sに一致する、もしくは、ピーク周波数fpが最も基準デ
ータfsに近接する部分領域Dxを注目領域Cとして判定
する。判定された注目領域Cの位置情報は注目領域記憶
部7と画像照合手段8に出力される。
The determination unit 6 includes the peak frequency data fp 1 -n of the partial areas D 1 -n at each of the movement positions input from the analysis unit 4, and the reference data (the area of interest) input from the reference data storage unit 5. comparing the peak frequency data) fs, from among the partial regions D 1 to n, which is more set in sample page image data E, the peak frequency fp x reference data f
matching s, or determines partial area D x of peak frequency fp is closest to the reference data fs as the target area C. The position information of the determined region of interest C is output to the region of interest storage unit 7 and the image matching unit 8.

【0032】注目領域記憶部7では、入力される注目領
域Cの位置情報を記憶する。一方、画像照合手段8は、
入力される注目領域Cの位置情報に基づいて、設定した
注目領域Cの画像データを見本頁画像データE(画像撮
像手段2から入力されている)から抽出して記憶する。
The attention area storage unit 7 stores the input position information of the attention area C. On the other hand, the image matching means 8
Based on the input position information of the region of interest C, the image data of the set region of interest C is extracted from the book page image data E (input from the image capturing means 2) and stored.

【0033】図2の例では、見本頁画像データE中に、
写真画像データ領域(文字データ領域とはフォントサイ
ズの異なる見出し領域でもよい)E1、文字データ領域
2、E3が設定されているが、これらデータ領域E1〜3
のうち、面積的に多数を占めるデータ領域であって基準
データfsに対応するピーク周波数fpが得られる文字デ
ータ領域E2、E3中に存在する適当な部分領域Dxが注
目領域Cとして抽出される。
In the example of FIG. 2, in the sample page image data E,
A photographic image data area (a heading area having a different font size from the character data area) E 1 and character data areas E 2 and E 3 are set, and these data areas E 1 to E 3 are set.
Of extraction area to the character data area E 2 of the peak frequency fp is obtained a data area occupying the number corresponding to the reference data fs, suitable partial area D x present in the E 3 is the region as a region of interest C Is done.

【0034】注目領域記憶部7は、入力される注目領域
Cの位置情報を記憶する。画像照合手段8は、設定され
た注目領域Cの画像データを見本頁画像データEから抽
出して記憶する。
The attention area storage unit 7 stores the input position information of the attention area C. The image matching means 8 extracts the image data of the set attention area C from the book page image data E and stores it.

【0035】このように、本実施の形態の乱丁検出装置
では、注目領域の検出するに要するすべての操作を自動
的に行うことができるので、注目領域の設定を作業者の
手を借りることなく、自動的に行える。
As described above, the misaligned page detecting apparatus according to the present embodiment can automatically perform all the operations required for detecting the region of interest, so that the setting of the region of interest can be performed without the help of the operator. Can be done automatically.

【0036】また、掃引部3により掃引する部分領域D
1〜nそれぞれの画像データの周波数解析結果であるピー
ク周波数fp1〜nのデータや、注目領域Cの基準データ
fsは、対応する部分領域D1〜nの画像状態や注目領域
Cの画像状態に忠実に対応したものとなる。そのため、
ピーク周波数fp1〜nと基準データfsとの比較結果に基
づいて設定される注目領域Cは精度の高いものとなる。
The partial area D swept by the sweep unit 3
The data of the peak frequencies fp 1 to n , which are the frequency analysis results of the respective image data 1 to n , and the reference data fs of the attention area C are the image states of the corresponding partial areas D 1 to n and the image state of the attention area C Will be faithfully compatible with for that reason,
The attention area C set based on the comparison result between the peak frequencies fp 1 to n and the reference data fs has high accuracy.

【0037】このようにして一枚の見本頁印刷物の注目
領域Cの位置情報と、その画像データを記憶したのち、
頁見本印刷物を画像撮像手段2の撮像位置から取り除
き、今度は、落丁を検査する頁印刷物の積層体を前記撮
像位置に配置する。そして、図示しない頁送り装置によ
り積層体から各頁印刷物を自動的に頁送りしながら、各
頁印刷物の画像データを画像撮像手段2で撮像し、撮像
した各頁印刷物の画像データを画像照合手段8に出力す
る。画像照合手段8では、画像撮像手段2から入力され
る各頁印刷物の画像データから注目領域Cの画像データ
を抽出したうえで、抽出した注目領域Cの画像データ
と、見本頁印刷物の注目領域画像データとを、既存のパ
ターンマッチング等の手法により照合して、その照合結
果を出力する。
After the position information of the attention area C of one sample page printed matter and its image data are stored in this way,
The page sample printed matter is removed from the image pickup position of the image pickup means 2, and a stack of page printed matter to be inspected for missing pages is arranged at the image pickup position. The image data of each page printed matter is picked up by the image pickup means 2 while automatically feeding each page printed matter from the laminate by a page feeder (not shown). 8 is output. The image collating means 8 extracts the image data of the attention area C from the image data of each page printed matter input from the image pickup means 2, and then extracts the image data of the extracted attention area C and the attention area of the sample page printed matter. The image data is collated with an existing method such as pattern matching, and the collation result is output.

【0038】出力される照合結果において、マッチング
しているという照合結果がでれば、その頁印刷物に落丁
はない。一方、マッチングしていないという照合結果が
でれば、その頁印刷物に落丁が生じていることになる。
In the output collation result, if there is a collation result indicating that there is a match, there is no missing page in the page printed matter. On the other hand, if the collation result indicates that there is no matching, it means that the page printed matter is missing.

【0039】以上説明した実施の形態は、本発明を乱丁
検出装置に実施した例であったが、本発明の実施対象は
このような乱丁検出装置に限定されるものではなく、入
力されるデジタル等の画像の図形・画像情報から文字等
の認識対象となる注目領域を抽出する構成であれば、ど
のような装置にも本発明を適用できるのはいうまでもな
い。
Although the embodiment described above is an example in which the present invention is applied to a misalignment detection device, the present invention is not limited to such a misalignment detection device. Needless to say, the present invention can be applied to any device as long as it is a configuration for extracting a region of interest to be recognized such as a character from graphic / image information of an image such as an image.

【0040】[0040]

【発明の効果】以上のように本発明によれば、注目領域
の設定を作業者の手を借りることなく、ほぼ自動的に行
えるようになるうえ、周波数解析により部分領域の検査
を行うことにより、注目領域を精度高く検出することも
できるようになる。
As described above, according to the present invention, the attention area can be set almost automatically without the help of the operator, and the partial area can be inspected by the frequency analysis. In addition, the attention area can be detected with high accuracy.

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

【図1】本発明の一実施の形態に係る乱丁検出装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a random page detection device according to an embodiment of the present invention.

【図2】本発明の検査対象となる見本頁画像データの構
成を記す図である。
FIG. 2 is a diagram illustrating a configuration of sample page image data to be inspected according to the present invention.

【図3】注目領域を周波数解析した結果の周波数分布を
示す図である。
FIG. 3 is a diagram showing a frequency distribution as a result of frequency analysis of a region of interest.

【図4】従来例の注目領域設定方法の説明に供する図で
ある。
FIG. 4 is a diagram provided for describing a method of setting an attention area according to a conventional example.

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

1 乱丁検出装置 2 画像撮像手段
3 掃引部 4 解析部 5 基準データ記憶部
6 判定部 7 注目領域記憶部 8 画像照合手段 9 頁変更指示手段 A1〜3 文字・画像テ゛ータ領
域 B 注目領域手動設定領域 C 注目領域 D1〜n 部分領域 E 見本頁画像データ fp ピーク周波数 fs 基準データ
DESCRIPTION OF REFERENCE NUMERALS 1 Mismatch detection device 2
3 Sweep unit 4 Analysis unit 5 Reference data storage unit
6 Judgment unit 7 Attention area storage unit 8 Image comparison means 9 Page change instruction means A 1-3 character / image data area B Attention area manual setting area C Attention area D 1- n partial area E Sample page image data fp Peak frequency fs reference data

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C082 AA01 BA27 BB15 CA54 CB01 DA87 MM05 MM09 5L096 BA17 DA01 FA23 FA37 FA44 FA45 FA69 HA08 JA03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C082 AA01 BA27 BB15 CA54 CB01 DA87 MM05 MM09 5L096 BA17 DA01 FA23 FA37 FA44 FA45 FA69 HA08 JA03

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像内に注目領域を設定する注目領域設
定装置であって、 画像内に複数設定した部分領域それぞれを画像処理によ
り検査する検査手段と、 各部分領域の検査結果に基づいて注目領域に適した部分
領域を抽出する抽出手段と、 を有することを特徴する注目領域設定装置。
An attention area setting device for setting an attention area in an image, an inspection means for inspecting each of a plurality of partial areas in the image by image processing, and an attention area based on an inspection result of each partial area. A region extracting device for extracting a partial region suitable for the region;
【請求項2】 請求項1記載の注目領域設定装置であっ
て、 前記検査手段は、前記領域それぞれの画像データを周波
数解析するものであることを特徴とする注目領域設定装
置。
2. The attention area setting device according to claim 1, wherein said inspection means performs frequency analysis on image data of each of said areas.
【請求項3】 請求項2記載の注目領域設定装置であっ
て、 前記検査手段は、画像内に設定した部分領域を画像内で
移動させながら、各移動位置での部分領域の画像データ
を採取する掃引部と、移動中の部分領域それぞれの画像
データを周波数解析する解析部とを備えており、 前記抽出手段は、注目領域の画像データの周波数解析基
準データを記憶する基準データ記憶部と、前記解析部で
解析した移動中の各部分領域の周波数解析結果と前記周
波数解析基準データとを比較した結果に基づいて、画像
中で移動させた部分領域の中から注目領域を設定する判
定部とを備えていることを特徴とする注目領域設定装
置。
3. The attention area setting device according to claim 2, wherein the inspection unit moves the partial area set in the image in the image, and collects image data of the partial area at each moving position. A sweep unit that performs a frequency analysis of the image data of each of the moving partial regions, and a reference data storage unit that stores frequency analysis reference data of the image data of the region of interest, A determination unit configured to set a region of interest from among the partial regions moved in the image based on a result of comparing the frequency analysis result of each moving partial region analyzed by the analysis unit and the frequency analysis reference data. An attention area setting device, comprising:
【請求項4】 画像内に注目領域を設定する注目領域設
定方法であって、 前記注目領域の画像データの周波数解析基準データを予
め記憶したうえで、 画像内に設定した部分領域を画像内で移動させながら、
各移動位置での部分領域の画像データを採取したうえ
で、移動中の部分領域それぞれの画像データを周波数解
析し、 解析した各部分領域の周波数解析結果と前記基準データ
とを比較し、その比較結果に基づいて、画像内で移動さ
せた部分領域の中から注目領域を設定することを特徴と
する注目領域設定方法。
4. An attention area setting method for setting an attention area in an image, wherein a frequency analysis reference data of image data of the attention area is stored in advance, and a partial area set in the image is stored in the image. While moving
After collecting the image data of the partial area at each moving position, the image data of each moving partial area is frequency-analyzed, the frequency analysis result of each analyzed partial area is compared with the reference data, and the comparison is performed. An attention area setting method, which comprises setting an attention area from among partial areas moved in an image based on a result.
JP11145999A 1999-05-26 1999-05-26 Region of interest setting device and region of interest setting method Pending JP2000339460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11145999A JP2000339460A (en) 1999-05-26 1999-05-26 Region of interest setting device and region of interest setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11145999A JP2000339460A (en) 1999-05-26 1999-05-26 Region of interest setting device and region of interest setting method

Publications (1)

Publication Number Publication Date
JP2000339460A true JP2000339460A (en) 2000-12-08

Family

ID=15397824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11145999A Pending JP2000339460A (en) 1999-05-26 1999-05-26 Region of interest setting device and region of interest setting method

Country Status (1)

Country Link
JP (1) JP2000339460A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005292691A (en) * 2004-04-05 2005-10-20 Matsushita Electric Ind Co Ltd Moving image display device and moving image display method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58201182A (en) * 1982-05-20 1983-11-22 Nippon Telegr & Teleph Corp <Ntt> Character and graph demarcating method
JPS60153567A (en) * 1984-01-24 1985-08-13 Nippon Telegr & Teleph Corp <Ntt> Method for extracting area in printed document picture
JPH0512439A (en) * 1991-07-08 1993-01-22 A T R Tsushin Syst Kenkyusho:Kk Image area dividing device
JPH0535868A (en) * 1991-07-31 1993-02-12 Toppan Printing Co Ltd Image cutting device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58201182A (en) * 1982-05-20 1983-11-22 Nippon Telegr & Teleph Corp <Ntt> Character and graph demarcating method
JPS60153567A (en) * 1984-01-24 1985-08-13 Nippon Telegr & Teleph Corp <Ntt> Method for extracting area in printed document picture
JPH0512439A (en) * 1991-07-08 1993-01-22 A T R Tsushin Syst Kenkyusho:Kk Image area dividing device
JPH0535868A (en) * 1991-07-31 1993-02-12 Toppan Printing Co Ltd Image cutting device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005292691A (en) * 2004-04-05 2005-10-20 Matsushita Electric Ind Co Ltd Moving image display device and moving image display method

Similar Documents

Publication Publication Date Title
KR930009741B1 (en) Method and devcie for pattern matching
JP2009528580A (en) Method for digitally photographing slides and automatic digital image recording system therefor
CN106934411A (en) Electronic paper marking method based on template matches
JP2000339460A (en) Region of interest setting device and region of interest setting method
CN115494062A (en) Printing method for identifying defects based on machine vision
JPH07101048A (en) Printing inspecting method and apparatus
JP4658779B2 (en) Haze detection method, apparatus, and computer program
JP2507988B2 (en) Printed circuit board inspection equipment
CN117470872B (en) Board splitting quality detection method and device, board splitting machine and circuit board production line
EP0883287A1 (en) Image processing system with automatic image separation and alignment functions
JP4254008B2 (en) Pattern detection apparatus and method
CN111369631B (en) Sample image automatic acquisition method and device based on XYZ axis platform
JP2003004659A (en) Method and apparatus for inspection of multiple pattern work
JP3146882B2 (en) Picture inspection method
US20230260283A1 (en) Remote visual inspection guidance
JPH10206147A (en) Inspection apparatus for gear
JP3366761B2 (en) Method of identifying foreign matter in solution
JP4138943B2 (en) Plate shape recognition device
JPH07117497B2 (en) Teaching method and device in automatic substrate inspection apparatus
JP2000146788A (en) Measuring method for fracture position in tensile test
JP2564736Y2 (en) Shading image processing device
JPH07280746A (en) Apparatus for extracting flaw from metal plate surface
JP2005010008A (en) Surface flaw inspection method, and device therefor
JP4206604B2 (en) Pattern detection apparatus and method
JPS62298750A (en) Inspecting device for printed circuit board

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050426

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050906